Skip to content

Version Packages - #38

Merged
ushironoko merged 1 commit into
mainfrom
changeset-release/main
Jun 17, 2026
Merged

Version Packages#38
ushironoko merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tskm/core@0.2.1

Patch Changes

  • dfcb2a7: Add an opt-in, experimental compiled validation fast path (Tier-0, no eval). safeParseCompiled compiles a schema into a closure tree at construction time, with no eval, new Function, or codegen, so it runs under a strict CSP and on edge runtimes (Cloudflare Workers, Deno Deploy, Vercel Edge) where JIT codegen is blocked.

    • It removes the interpreter's megamorphic per-node dispatch and per-value dataset allocation, winning roughly 1.1x to 2.4x on container schemas across both V8 and JSC, while staying byte-identical to safeParse on both success and error paths.
    • The interpreter stays the single source of truth. Piped, async, and non-specialized nodes fall back to ~run, and specialization dispatches on factory identity (schema.reference), so a foreign schema with a colliding type string keeps running its own ~run.
    • New exports are safeParseCompiled, getCompiledValidate, and the Cursor and Step types. A bare top-level primitive should keep using safeParse directly.

@tskm/example-advanced@0.0.3

Patch Changes

  • Updated dependencies [dfcb2a7]
    • @tskm/core@0.2.1

@tskm/example-basic@0.0.3

Patch Changes

  • Updated dependencies [dfcb2a7]
    • @tskm/core@0.2.1

@tskm/example-ssot@0.0.3

Patch Changes

  • Updated dependencies [dfcb2a7]
    • @tskm/core@0.2.1

@tskm/playground@0.0.1

Patch Changes

  • Updated dependencies [dfcb2a7]
    • @tskm/core@0.2.1

@pkg-pr-new

pkg-pr-new Bot commented Jun 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/@tskm/compiler@3a8cb4b
bun add https://pkg.pr.new/@tskm/core@3a8cb4b
bun add https://pkg.pr.new/@tskm/vite@3a8cb4b

commit: 3a8cb4b

@ushironoko
ushironoko merged commit 7d47c94 into main Jun 17, 2026
6 checks passed
@ushironoko
ushironoko deleted the changeset-release/main branch June 17, 2026 06:34
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.

1 participant