Skip to content

Commit

Permalink
Bump minimum required jQuery version (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala authored Dec 28, 2024
1 parent e100d7c commit 5ab4e19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* [FEATURE] Use data attributes instead of `jQuery.data()`
* [FEATURE] Drop Internet Explorer and other older browsers support
* [FEATURE] Drop Ruby < 3.1
* [FEATURE] Drop jQuery < 3.7.1 Compatibility
* [ENHANCEMENT] Update QUnit to 2.23.0
* [ENHANCEMENT] Test against Ruby 3.4

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"rollup-plugin-copy": "^3.5.0"
},
"peerDependencies": {
"jquery": ">= 1.12.4 < 4.0.0"
"jquery": "^3.7.1"
},
"main": "dist/client-side-validations.js",
"module": "dist/client-side-validations.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion test/javascript/public/test/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ QUnit.config.autostart = window.location.search.search('autostart=false') < 0
QUnit.config.urlConfig.push({
id: 'jquery',
label: 'jQuery version',
value: ['3.7.1', '3.7.1.slim', '3.6.4', '3.6.4.slim', '3.5.1', '3.5.1.slim', '3.4.1', '3.4.1.slim', '3.3.1', '3.3.1.slim', '3.2.1', '3.2.1.slim', '3.1.1', '3.1.1.slim', '3.0.0', '3.0.0.slim', '2.2.4', '2.1.4', '2.0.3', '1.12.4', '1.11.3'],
value: ['3.7.1', '3.7.1.slim'],
tooltip: 'What jQuery Core version to test against'
})

Expand Down

0 comments on commit 5ab4e19

Please sign in to comment.