arkgate 4.8.21 → 4.8.22
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 +48 -0
- package/README.md +2 -2
- package/bin/lib/analysis-engine.mjs +8 -8
- package/bin/lib/invariant-coverage.mjs +27 -3
- package/dist/{diagnosticCatalog-B7BXlet6.d.ts → diagnosticCatalog-WD2TPSwZ.d.ts} +8 -3
- package/dist/index.cjs +29 -29
- package/dist/index.d.ts +2 -2
- package/dist/index.js +30 -30
- package/dist/nestjs/index.cjs +1 -1
- package/dist/nestjs/index.js +1 -1
- package/dist/runtime/index.cjs +19 -19
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +19 -19
- package/docs/README.md +2 -1
- package/docs/product-voice.md +1 -1
- package/package.json +2 -1
- package/server.json +2 -2
- package/templates/agent-skills/README.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -96,6 +96,54 @@ in the immutable pre-2.0 archive linked below.
|
|
|
96
96
|
Existing configs keep whatever URL they already have. Editor completion
|
|
97
97
|
matches the 4.x line you just installed.
|
|
98
98
|
|
|
99
|
+
## 4.8.22 — 2026-09-27
|
|
100
|
+
|
|
101
|
+
**Patch** over **4.8.21**. Daily accumulate (2026-09-27 ART) of the ships
|
|
102
|
+
that landed after 4.8.21 published: `coverage.symbol` recognizes
|
|
103
|
+
`export const X: Type =` (including `=>` inside a function type) and a
|
|
104
|
+
cross-file comment is reported as `no declaration matched`
|
|
105
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324) /
|
|
106
|
+
[#322](https://github.com/pedroknigge/arkgate/issues/322)), test titles that
|
|
107
|
+
contain the other quote character count as coverage
|
|
108
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324) /
|
|
109
|
+
[#323](https://github.com/pedroknigge/arkgate/issues/323)), and a packed
|
|
110
|
+
journey matrix in CI
|
|
111
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324)).
|
|
112
|
+
**Write. Check. Ship.** **No required config migration.** No
|
|
113
|
+
`schemaVersion` bump. No new behavior change: both fixes only accept
|
|
114
|
+
coverage that 4.8.21 wrongly rejected. Does not close `K01` / `Z09`. This
|
|
115
|
+
mother `ark.config.json` still does **not** turn `arkOrder` on.
|
|
116
|
+
|
|
117
|
+
**Status: released** (tag `v4.8.22`). This file does not assert registry
|
|
118
|
+
state; run `npm view arkgate@4.8.22 version` to confirm the package is
|
|
119
|
+
available (#314).
|
|
120
|
+
|
|
121
|
+
### Fixed
|
|
122
|
+
- Test-title coverage accepts a `describe`/`it` title that contains the other
|
|
123
|
+
quote character, such as `it("… <input type='file'> …")`
|
|
124
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324) /
|
|
125
|
+
[#323](https://github.com/pedroknigge/arkgate/issues/323)).
|
|
126
|
+
- Const-declaration coverage accepts a type annotation between the name and
|
|
127
|
+
`=`, including `=>` inside a function type (`export const X: ReadonlyArray<…> =`,
|
|
128
|
+
`export const f: (a: A) => B =`). When that declaration does not match and the
|
|
129
|
+
only comment is in a different file, the message is `no declaration matched`,
|
|
130
|
+
not "appears only in a comment"
|
|
131
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324) /
|
|
132
|
+
[#322](https://github.com/pedroknigge/arkgate/issues/322)).
|
|
133
|
+
|
|
134
|
+
### Known limitation
|
|
135
|
+
- `coverage.symbol` still does not recognize a declaration exported through
|
|
136
|
+
an export list (`const X = …` plus `export { X }`). Declare it with
|
|
137
|
+
`export const X` (or point `coverage.symbol` at a function, class, type,
|
|
138
|
+
interface, or enum declaration) until that form is supported.
|
|
139
|
+
|
|
140
|
+
### Changed
|
|
141
|
+
- Internal: packed journey matrix (`journey(fixture, steps)`) installs the
|
|
142
|
+
npm tarball into a vendored realistic fixture (`ledgerline`) and compares
|
|
143
|
+
a JSON subset to a committed golden. CI runs one job per fixture. Unit tests and coverage
|
|
144
|
+
floors are unchanged. No product behavior change
|
|
145
|
+
([#324](https://github.com/pedroknigge/arkgate/pull/324)).
|
|
146
|
+
|
|
99
147
|
## 4.8.21 — 2026-09-26
|
|
100
148
|
|
|
101
149
|
**Patch** over **4.8.20**. Daily accumulate (2026-09-26 ART) of the ships
|
package/README.md
CHANGED
|
@@ -25,11 +25,11 @@ Design the boundary before you implement. Put a small interface in front of the
|
|
|
25
25
|
|
|
26
26
|
## Try it
|
|
27
27
|
|
|
28
|
-
One command. Preview only — no files change. Current release is **4.8.
|
|
28
|
+
One command. Preview only — no files change. Current release is **4.8.22**
|
|
29
29
|
(check npm `latest` with `npm view arkgate version`):
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
npx arkgate@4.8.
|
|
32
|
+
npx arkgate@4.8.22 start
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## What a red result looks like
|