Repository navigation
release: arktype 2.2.9 + dependents - #1704
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Release PR bumping every publishable package and documenting what merged since 2.2.8. I verified version/registry consistency, walked the first-parent log from the 2.2.8 commit (fe481db3) to confirm changelog coverage, and confirmed the attest TS 7.1 import change resolves both at type level (pnpm tsc --noEmit) and at runtime (new subpaths load, pnpm test passes 1810 tests).
- Version bumps —
arktype2.2.9,@ark/schema/@ark/util/@ark/fs0.56.8,arkregex0.0.14,@ark/attest0.57.1,@ark/json-schema0.0.13,@ark/fast-check0.0.20, witharkUtilVersionupdated to match. - Changelogs —
ark/type/CHANGELOG.mdcovers all seven fix/feat PRs since 2.2.8 (#1688, #1689, #1691, #1694, #1696, #1701, #1702);arkregexand@ark/attestnotes added. The CI/docs/arkdark commits in that range don't touch publishable packages, so their omission is correct. - Attest TS 7.1 API paths —
ark/attest/ts7/server.tsand the roottsconfig.jsonpathsaliases move fromtypescript/unstable/{ast,fs,sync}totypescript/{ast,fs,sync}; nounstable/*references remain anywhere, and the alias targets exist in the installed package. - TypeScript nightly — catalog,
typescript-7alias, and lockfile all move to7.1.0-dev.20261020.3.
I also re-ran the new changelog snippets against source (tuple .in/.out, NaN union rejection, Object.prototype keys, toJsonSchema $defs, ~standard.jsonSchema conversion, and the arkregex escape) and each reproduces the documented output.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Bumps all publishable packages and documents the changes merged since 2.2.8: - keep tuple elements around defaults in .in and .out (#1696, @ybai08) - reject NaN in unions discriminated by typeof (#1702, @thecotne) - don't treat Object.prototype keys as declared (#1701, @thecotne) - only emit referenced $defs in toJsonSchema (#1689, fixes #1612, #1511 and #1546, @giaBaoJS) - convert unrepresentable types in ~standard.jsonSchema instead of throwing (#1694) - arkregex: allow } to be escaped (#1691, @cpruijsen) - attest: onlyNamedTestFiles (#1688) Also moves attest to TypeScript 7.1's native API paths. Starting with 7.1.0-dev.20261009.1, typescript/unstable/{ast,sync,fs} are exported as typescript/{ast,sync,fs}, so the published 0.57.0 fails on every current 7.1 build with "Package subpath './unstable/ast' is not defined by exports". The tsconfig paths aliases for the old specifiers kept resolving them, so typecheck stayed green while attest crashed at runtime. They are renamed alongside the imports. The workspace TypeScript moves to 7.1.0-beta, which exports the same paths. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
358243a to
adc28b1
Compare

Bumps every publishable package (arktype 2.2.9, @ark/schema/util/fs 0.56.8, arkregex 0.0.14, @ark/attest 0.57.1, @ark/json-schema 0.0.13, @ark/fast-check 0.0.20) and documents what has merged since 2.2.8:
.inand.out(fix(schema): keep tuple elements around defaults in .in and .out #1696, @ybai08)NaNin unions discriminated bytypeof(fix(schema): keep the NaN check when a union discriminates on typeof #1702, @thecotne)Object.prototypekeys as declared (fix(schema): don't treat Object.prototype keys as declared for undeclared key checks #1701, @thecotne)$defsintoJsonSchema(fix(schema): only emit referenced $defs in toJsonSchema #1689, fixes toJsonSchema throws "Unexpected JSON Schema input for structure: {}" error when useRefs is true when structure is first child of intersection. #1612, toJsonSchema({ useRefs: true }) fails for partially overlapping discriminated union #1511, JSON Schema generation fails for discriminated unions in recursive scopes #1546, @giaBaoJS)~standard.jsonSchemainstead of throwing (fix(schema): convert what JSON Schema can't represent in ~standard.jsonSchema instead of throwing #1694)}to be escaped (fix(regex): allow } to be escaped #1691, @cpruijsen)onlyNamedTestFiles(feat(attest): type check only the test files named on the command line #1688)Attest fix: starting with
7.1.0-dev.20261009.1, TypeScript moved its native API fromtypescript/unstable/{ast,sync,fs}totypescript/{ast,sync,fs}. Because of that, the published@ark/attest@0.57.0fails on every current 7.1 build. This PR switches attest's imports and thetsconfig.jsonpaths aliases to the new specifiers. The workspace TypeScript also moves to7.1.0-beta.Run locally against
7.1.0-beta: typecheck, build,testTypedandtestTypedLoose(1810 each), attest's suite (63),testV8,testIntegration,testTsCompatandtestTsVersionsall pass.🤖 Generated with Claude Code