Skip to content

release: arktype 2.2.9 + dependents - #1704

Merged
ssalbdivad merged 1 commit into
mainfrom
release-2-2-9
Oct 20, 2026
Merged

ssalbdivad merged 1 commit into
mainfrom
release-2-2-9

Conversation

@ssalbdivad

@ssalbdivad ssalbdivad commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

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:

Attest fix: starting with 7.1.0-dev.20261009.1, TypeScript moved its native API from typescript/unstable/{ast,sync,fs} to typescript/{ast,sync,fs}. Because of that, the published @ark/attest@0.57.0 fails on every current 7.1 build. This PR switches attest's imports and the tsconfig.json paths aliases to the new specifiers. The workspace TypeScript also moves to 7.1.0-beta.

Run locally against 7.1.0-beta: typecheck, build, testTyped and testTypedLoose (1810 each), attest's suite (63), testV8, testIntegration, testTsCompat and testTsVersions all pass.

🤖 Generated with Claude Code

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 — arktype 2.2.9, @ark/schema/@ark/util/@ark/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, with arkUtilVersion updated to match.
  • Changelogs — ark/type/CHANGELOG.md covers all seven fix/feat PRs since 2.2.8 (#1688, #1689, #1691, #1694, #1696, #1701, #1702); arkregex and @ark/attest notes 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.ts and the root tsconfig.json paths aliases move from typescript/unstable/{ast,fs,sync} to typescript/{ast,fs,sync}; no unstable/* references remain anywhere, and the alias targets exist in the installed package.
  • TypeScript nightly — catalog, typescript-7 alias, and lockfile all move to 7.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.

Pullfrog  | View workflow run | Using 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>
@ssalbdivad
ssalbdivad merged commit cfded1a into main Oct 20, 2026
13 checks passed
@ssalbdivad
ssalbdivad deleted the release-2-2-9 branch October 20, 2026 19:07
@github-project-automation github-project-automation Bot moved this from To do to Done (merged or closed) in arktypeio Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done (merged or closed)

Development

Successfully merging this pull request may close these issues.

toJsonSchema throws "Unexpected JSON Schema input for structure: {}" error when useRefs is true when structure is first child of intersection.

1 participant