Skip to content

release: arktype 2.2.5 + dependents - #1660

Merged
ssalbdivad merged 1 commit into
mainfrom
release/2.2.5
Sep 24, 2026
Merged

ssalbdivad merged 1 commit into
mainfrom
release/2.2.5

Conversation

@ssalbdivad

Copy link
Copy Markdown
Member

Bumps all publishable packages and documents the changes merged since 2.2.4:

#1634 changes behavior for regex literals containing \\: "/\\\\d/" previously compiled to the digit class \d, and now matches a literal backslash followed by d, the same as the equivalent RegExp instance. The changelog includes a migration note.

package from to
arktype 2.2.4 2.2.5
@ark/schema 0.56.3 0.56.4
@ark/util 0.56.3 0.56.4
@ark/fs 0.56.3 0.56.4
@ark/attest 0.56.4 0.56.5
arkregex 0.0.9 0.0.10
@ark/json-schema 0.0.8 0.0.9
@ark/fast-check 0.0.15 0.0.16
  • pnpm tsc: clean
  • pnpm test: 1748 passing, including the registry version test against the new @ark/util version
  • prettier --check on the changelog
  • Regex changelog example run against source

🤖 Generated with Claude Code

Bumps all publishable packages and documents the changes merged since 2.2.4:

- preserve escaped backslashes in regex literals (#1634, @spokodev)
- fix recursive discriminated unions referenced from a Record (#1641, @xianjianlf2)
- prevent a crash validating unions of object arrays (#1638, @xianjianlf2)
- merge index-derived props with a declared key of the same name (#1659)
- preserve parameter labels when a type.fn implementation annotates an
  optional param (#1615, @aswinsvijay)

#1634 changes behavior for regex literals that contain `\\`: `"/\\\\d/"`
previously compiled to the digit class `\d` and now matches a literal
backslash followed by "d", matching the equivalent RegExp instance. The
changelog calls this out with a migration note.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

@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

  • Version bumps — all eight publishable package.json files advance one patch: arktype 2.2.4 → 2.2.5, @ark/schema/@ark/util/@ark/fs 0.56.3 → 0.56.4, @ark/attest 0.56.4 → 0.56.5, arkregex 0.0.9 → 0.0.10, @ark/json-schema 0.0.8 → 0.0.9, @ark/fast-check 0.0.15 → 0.0.16. The util/schema/fs trio stays locked together and @ark/attest remains exactly one patch ahead, per the release convention.
  • ark/util/registry.ts — arkUtilVersion synced to 0.56.4, matching @ark/util's package version (asserted by ark/util/__tests__/registry.test.ts).
  • ark/type/CHANGELOG.md — adds the 2.2.5 section documenting the five fixes merged since 2.2.4 (#1634, #1641, #1638, #1659, #1615), including the migration note for the regex-literal behavior change.

I verified the changelog is complete and accurate: git log between the 2.2.4 release and this branch shows exactly the five commits the notes describe, all internal deps use workspace:* so no range edits are needed, and no stale old-version strings remain anywhere outside CHANGELOG.md. I also ran the regex example from the notes against source — type("/\\\\d/") now matches a literal backslash followed by d (and not 5), while type("/\\d/") still matches a digit, matching both the example comments and the migration advice.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@ssalbdivad
ssalbdivad merged commit c7c5fee into main Sep 24, 2026
7 checks passed
@ssalbdivad
ssalbdivad deleted the release/2.2.5 branch September 24, 2026 18:23
@github-project-automation github-project-automation Bot moved this from To do to Done (merged or closed) in arktypeio Sep 24, 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.

1 participant