Skip to content

Release 0.0.6 - #8

Merged
eralmansouri merged 1 commit into
mainfrom
claude/v2-plan-review-e13a11
Jul 7, 2026
Merged

eralmansouri merged 1 commit into
mainfrom
claude/v2-plan-review-e13a11

Conversation

@eralmansouri

Copy link
Copy Markdown
Owner

Bumps the version to 0.0.6 — the v2 redesign ships as the next 0.0.x patch (D10).

Highlights since 0.0.5:

  • Constraints, result types, and schemas are arktype definitions; constraint matching is assignability, validated at compile time through the fluent pattern builder (operand("nmbr") is a compile error at the call) and at construction for plain JS
  • Associativity derived from the pattern's tail shape (operand() tail → left fold, rest() tail → right recursion); the associativity property and "atom" sentinel are gone
  • Binding references, overlapping(), and defs embedding references (rest("left | null")) resolved via scope extension in both engines
  • Keyword literals (true/false/null/undefined) as word-boundary-guarded const nodes; string escapes (\n \t \\ \" \' \xHH \uHHHH) in the runtime tokenizer
  • Uniform laziness: eval always receives memoized thunks
  • parser.compile(): rules become arktype Types / Standard Schemas with field-attributed ArkErrors
  • safeParse never throws (structured INVALID_SCHEMA errors); scope aliases type end-to-end with no casts
  • Docs (DESIGN.md + Starlight site) rewritten for v2 with every claim pinned by executable demonstrations; pnpm bench suite added

Verified on this commit: pnpm typecheck, pnpm test (148 tests, 5 files), pnpm build, pnpm check:package — all green (the same gate prepublishOnly runs).

After merging: npm publish from main runs the full gate again and ships 0.0.6; tag v0.0.6 can be cut on the merge commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_015Qf5rtrHafZNCm8U79iqUW


Generated by Claude Code

The v2 redesign ships as the next 0.0.x patch (D10): arktype type
expressions with assignability matching, the validated fluent pattern
builder, associativity by tail shape, keyword literals and string
escapes, uniform laziness, embedded binding references, and
parser.compile() rules as Standard Schemas.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Qf5rtrHafZNCm8U79iqUW
@eralmansouri
eralmansouri merged commit 6d6c4b9 into main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants