diff --git a/CHANGELOG.md b/CHANGELOG.md index 2977ed7c..8f3e412f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 30f49e8f..f04a9fe9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/javascript/public/test/settings.js b/test/javascript/public/test/settings.js index aa59e61f..972328c9 100644 --- a/test/javascript/public/test/settings.js +++ b/test/javascript/public/test/settings.js @@ -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' })