client_side_validations 24.0.0 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d881931955d33c3687fb6b38218fe696d081d40c6d41f788d3201bc82a5b2da
4
- data.tar.gz: b2ca222a27708e478bd129d30eb694d6ee9cdaf8ae6547f32dad4b0ab280d199
3
+ metadata.gz: 6ab5824b9451df03da349f928c023f781eeaaf4f4fcad4b1f764b5ac1c27c4ad
4
+ data.tar.gz: c1b76dad75ed9533d4ab10f07899b1b3cfb17323619bc1d4b77acfd38da6817f
5
5
  SHA512:
6
- metadata.gz: 18e724e1e357c233d91bc16106ef5b7326f8c0b54a04a986cf488c31e1ba72cd357fce89bb3a59178e237143e05c87255a7adc6dd33e02ae9e9b7aa44ddc76e0
7
- data.tar.gz: 0b14c029231eff6401e95f37db1cb5fb0434379fb675121e704ddbb268bba77e237315d05e30e31858ea10ae7ddd6432145f96e4d09a8c43da1abaa5e145cd6d
6
+ metadata.gz: 5b71dda7c76df4b2b9a17f22a643da7cb8697c3a61265f39484f9ef86ba5de08afe04ab668dd4764e4ac16b8155036793146484c88e699399b4bbb11074fec39
7
+ data.tar.gz: 7b022b94f2d08082825437cd2616c641cc22ff20a42c6d0f0e7b3c72400cf948c75fd5482c6384785e0e330f0ebedfb837ab762a71da9c20028f42237a4dc5fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 25.0.0 / 2026-07-05
4
+
5
+ * [FEATURE] Breaking change: Remove unused JavaScript source exports
6
+ - Deep imports of `src/validators/local/*` must use named exports instead of the removed default object exports, for example `import { acceptanceLocalValidator } from '@client-side-validations/client-side-validations/src/validators/local/acceptance'`
7
+ - Remove the unused `addClass` and `removeClass` exports from `src/utils.js`
8
+ - Explicitly remove dead \`inputs\` and \`validate_inputs\` entries from \`ClientSideValidations.selectors\`; only \`forms\` is read by the runtime
9
+ * [FEATURE] Breaking change: Replace Rollup with Rolldown v1 for bundling (10–30× faster builds)
10
+ * [FEATURE] Breaking change: Replace ESLint + neostandard with Oxlint v1 for linting (50–100× faster)
11
+ * [FEATURE] Breaking change: Drop Babel — transpilation handled by Rolldown's built-in Oxc transforms (minimum browser targets are unchanged: Chrome 60+, Firefox 60+, iOS 12+, Safari 12+)
12
+ * [ENHANCEMENT] Remove 9 unused npm devDependencies (smaller install footprint)
13
+
3
14
  ## 24.0.0 / 2026-04-19
4
15
  * [FEATURE] Breaking change: Remove the jQuery runtime dependency and the old jQuery plugin aliases from the published JavaScript assets
5
16
  * [FEATURE] Breaking change: Public JavaScript APIs now work with native DOM elements and DOM collections instead of jQuery-wrapped objects
data/README.md CHANGED
@@ -71,7 +71,7 @@ Then add the following line to your `app/javascript/packs/application.js` pack:
71
71
 
72
72
  ```js
73
73
  // If you are using `import` syntax
74
- import '@client-side-validations/client-side-validations/src'
74
+ import '@client-side-validations/client-side-validations'
75
75
 
76
76
  // If you are using `require` syntax
77
77
  require('@client-side-validations/client-side-validations')
@@ -80,7 +80,7 @@ require('@client-side-validations/client-side-validations')
80
80
  ##### Heads-up for Turbo and Turbolinks users #####
81
81
 
82
82
  If you are using [Turbo](https://github.com/hotwired/turbo-rails), use the
83
- `import` syntax and make sure that `@client-side-validations/client-side-validations/src`
83
+ `import` syntax and make sure that `@client-side-validations/client-side-validations`
84
84
  is imported **after** `@hotwired/turbo-rails`, so ClientSideValidations can properly detect
85
85
  `window.Turbo` and attach its event handlers.
86
86
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '24.0.0'
4
+ VERSION = '25.0.0'
5
5
  end