cuke-dedup 0.6.0 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to CukeDedup are documented in this file. The project follow
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.7.0] - 2026-09-21
9
+
10
+ ### Changed
11
+
12
+ - **Breaking (reports and baselines):** semantic fingerprints now use the first 128 bits of SHA-256 instead of FNV-1a-64. JSON and JSONL reports use schema version `3`, SARIF publishes `cukeDedupFingerprint/v3`, and semantic baselines use version `3`. Existing version `1` or `2` baselines are rejected for comparison and can be regenerated in place with `--update-baseline`.
13
+ - Matcher compilation now runs in bounded windows instead of retaining every compiled matcher at once, substantially reducing peak memory on large definition corpora. Complete, untruncated runs retain the same findings; a run that exhausts its matcher-scan budget may become incomplete or retain a different bounded subset than v0.6.0.
14
+
8
15
  ## [0.6.0] - 2026-09-18
9
16
 
10
17
  ### Added
@@ -277,6 +284,7 @@ Initial public release.
277
284
  - Native Cargo and npm distributions for eight supported targets.
278
285
  - A checksum-verified GitHub Action and an agent-oriented CukeDedup skill.
279
286
 
287
+ [0.7.0]: https://github.com/figueiredoluiz/cuke-dedup/compare/v0.6.0...v0.7.0
280
288
  [0.6.0]: https://github.com/figueiredoluiz/cuke-dedup/compare/v0.5.0...v0.6.0
281
289
  [0.5.0]: https://github.com/figueiredoluiz/cuke-dedup/compare/v0.4.0...v0.5.0
282
290
  [0.4.0]: https://github.com/figueiredoluiz/cuke-dedup/compare/v0.3.0...v0.4.0
package/README.md CHANGED
@@ -136,7 +136,7 @@ steps:
136
136
  with:
137
137
  fetch-depth: 0
138
138
  persist-credentials: false
139
- - uses: figueiredoluiz/cuke-dedup@v0.6.0
139
+ - uses: figueiredoluiz/cuke-dedup@v0.7.0
140
140
  with:
141
141
  path: .
142
142
  threshold: 5
package/SECURITY.md CHANGED
@@ -5,11 +5,6 @@
5
5
  Security fixes are released for the latest published minor version. Before the first
6
6
  stable release, only the latest `0.x` release is supported.
7
7
 
8
- | Version | Supported |
9
- | --- | --- |
10
- | 0.2.x | Yes |
11
- | Older versions | No |
12
-
13
8
  ## Reporting a vulnerability
14
9
 
15
10
  Please do not open a public issue for a suspected vulnerability. Use
@@ -18,7 +18,7 @@ steps:
18
18
  fetch-depth: 0
19
19
  persist-credentials: false
20
20
 
21
- - uses: figueiredoluiz/cuke-dedup@v0.6.0
21
+ - uses: figueiredoluiz/cuke-dedup@v0.7.0
22
22
  id: cuke-dedup
23
23
  with:
24
24
  path: .
@@ -101,8 +101,7 @@ cuke-dedup . --baseline .cuke-dedup-baseline.json --fail-on-new 3
101
101
 
102
102
  Baselines store sorted semantic fingerprints with multiplicity counts. Renames and unrelated line
103
103
  changes do not make a finding new, while an additional occurrence beyond the recorded count does.
104
- Version `1` baselines from CukeDedup 0.1 can be replaced by running the version `2` tool with
105
- `--update-baseline`; comparison rejects mismatched schemas.
104
+ Version `1` and `2` baselines can be replaced by running the version `3` tool with `--update-baseline`; comparison rejects mismatched schemas and names the regeneration command.
106
105
 
107
106
  Updates reject `--changed-since` and are skipped after incomplete analysis or an operational error,
108
107
  preventing a partial scan from erasing accepted findings.
package/docs/reports.md CHANGED
@@ -23,7 +23,7 @@ Rule headings are bold cyan, paths are blue, error/warning labels are red/yellow
23
23
 
24
24
  ## JSON and HTML
25
25
 
26
- JSON schema version `2` contains:
26
+ JSON schema version `3` contains:
27
27
 
28
28
  - Relative Unicode-aware source spans and severity.
29
29
  - Suppressions and semantic fingerprints.
@@ -43,7 +43,7 @@ byte-reproducible artifacts matter. The deterministic corpus census remains pres
43
43
 
44
44
  ## JSON Lines
45
45
 
46
- JSONL schema version `2` emits one compact record per finding and a final summary:
46
+ JSONL schema version `3` emits one compact record per finding and a final summary:
47
47
 
48
48
  ```sh
49
49
  cuke-dedup . --reporters jsonl \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cuke-dedup",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Static analysis for duplicate and reusable Cucumber step definitions",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,6 +24,8 @@
24
24
  "bump:version": "node scripts/release/bump-version.mjs",
25
25
  "pack:check": "npm pack --dry-run",
26
26
  "corpus:check": "node scripts/check/check-corpus.mjs",
27
+ "memory:check": "node scripts/check/check-memory.mjs target/release/cuke-dedup",
28
+ "duplication:check": "node scripts/check/check-duplication.mjs",
27
29
  "benchmark": "node scripts/benchmark/benchmark-analysis.mjs"
28
30
  },
29
31
  "engines": {
@@ -47,13 +49,13 @@
47
49
  "npm/platforms/*"
48
50
  ],
49
51
  "optionalDependencies": {
50
- "cuke-dedup-darwin-arm64": "0.6.0",
51
- "cuke-dedup-darwin-x64": "0.6.0",
52
- "cuke-dedup-linux-arm64-gnu": "0.6.0",
53
- "cuke-dedup-linux-arm64-musl": "0.6.0",
54
- "cuke-dedup-linux-x64-gnu": "0.6.0",
55
- "cuke-dedup-linux-x64-musl": "0.6.0",
56
- "cuke-dedup-windows-arm64-msvc": "0.6.0",
57
- "cuke-dedup-windows-x64-msvc": "0.6.0"
52
+ "cuke-dedup-darwin-arm64": "0.7.0",
53
+ "cuke-dedup-darwin-x64": "0.7.0",
54
+ "cuke-dedup-linux-arm64-gnu": "0.7.0",
55
+ "cuke-dedup-linux-arm64-musl": "0.7.0",
56
+ "cuke-dedup-linux-x64-gnu": "0.7.0",
57
+ "cuke-dedup-linux-x64-musl": "0.7.0",
58
+ "cuke-dedup-windows-arm64-msvc": "0.7.0",
59
+ "cuke-dedup-windows-x64-msvc": "0.7.0"
58
60
  }
59
61
  }