Skip to content

Commit 5ab4e19

Browse files
authored
Bump minimum required jQuery version (#973)
1 parent e100d7c commit 5ab4e19

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [FEATURE] Use data attributes instead of `jQuery.data()`
1010
* [FEATURE] Drop Internet Explorer and other older browsers support
1111
* [FEATURE] Drop Ruby < 3.1
12+
* [FEATURE] Drop jQuery < 3.7.1 Compatibility
1213
* [ENHANCEMENT] Update QUnit to 2.23.0
1314
* [ENHANCEMENT] Test against Ruby 3.4
1415

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"rollup-plugin-copy": "^3.5.0"
3636
},
3737
"peerDependencies": {
38-
"jquery": ">= 1.12.4 < 4.0.0"
38+
"jquery": "^3.7.1"
3939
},
4040
"main": "dist/client-side-validations.js",
4141
"module": "dist/client-side-validations.esm.js",

test/javascript/public/test/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ QUnit.config.autostart = window.location.search.search('autostart=false') < 0
33
QUnit.config.urlConfig.push({
44
id: 'jquery',
55
label: 'jQuery version',
6-
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'],
6+
value: ['3.7.1', '3.7.1.slim'],
77
tooltip: 'What jQuery Core version to test against'
88
})
99

0 commit comments

Comments
 (0)