eager_eye 1.2.15 → 1.3.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: 84a1f7a4156669772686b2138d5015bd82e5859ec09d5b1cce55b795a896c8fe
4
- data.tar.gz: bc45520cd998ab972ee86c6654cd6ec111846eb417512eae4d588ace8135cab0
3
+ metadata.gz: b938ac5233658e3dcec2b8e6a45a9f33248673e8a0a615d52dbbdbcb8700a9b9
4
+ data.tar.gz: dc0dff8a86a8381236e355bc65b00c589483272e3dbef07f9d8053ed2428f452
5
5
  SHA512:
6
- metadata.gz: c3a621919af0c95f005ba215d6db440504fa235e33ede88326ad1813f826f851e77bf20a7066200df993a18bc535c024142cc79930aab714b7db80995f2578f4
7
- data.tar.gz: 86702c9c9ad9b27dcd4fb0a581bdab8864f7eda953b983b4bb7c3a07e6d5f581f39544c2ddfdc0fdb3f4b7c71d84be73df608d02302df7e1db51e4c4eaa4294e
6
+ metadata.gz: 30dbbb1acb97020776653f681407ec30de7391ad186f7d6748e3ad29f902d8370b647897641ea7835d4a0974484addc6da84f0053c945d9743e23ec340ab55d6
7
+ data.tar.gz: 4e20c5b19d82859f8dba12657ebdd8eef8d8ec61b909aedf73a30268d49077bfde6bf1a3252e32393a64c66fb98af69689ad15f62c85d4387bf660764d14c680
data/CHANGELOG.md CHANGED
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.3.0] - 2026-05-20
11
+
12
+ ### Added
13
+
14
+ - **`--baseline FILE` flag** — compare the current scan against a previously
15
+ captured JSON report and surface only issues that are NOT in the baseline.
16
+ Designed for the brownfield CI workflow: accept existing N+1s as the
17
+ baseline, fail builds only on regressions (new issues introduced by a PR).
18
+ Baseline files are produced by the existing `--format json` output (the
19
+ flag accepts either the full report-shaped object or a bare array of
20
+ issues). Malformed/missing baselines exit with a clear error message.
21
+ - **`EagerEye::Issue.from_h(hash)`** — public factory that rebuilds an
22
+ `Issue` from its serialized form (e.g. a parsed JSON entry). Coerces
23
+ `detector`/`severity` strings back to symbols and defaults severity to
24
+ `:warning` when absent. Round-trips through `to_h` and `to_json`.
25
+ - **`EagerEye::Baseline`** — the helper behind `--baseline`. Loads issues
26
+ from a JSON path (`Baseline.load_issues(path)`) and filters a current
27
+ issue list against them (`Baseline.filter(issues, path)`). Useful
28
+ programmatically for projects that wrap EagerEye in their own runner.
29
+
10
30
  ## [1.2.15] - 2026-05-01
11
31
 
12
32
  ### Fixed