Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/compiled-fast-path.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/advanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tskm/example-advanced

## 0.0.3

### Patch Changes

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

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tskm/example-advanced",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"dependencies": {
Expand Down
7 changes: 7 additions & 0 deletions examples/basic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tskm/example-basic

## 0.0.3

### Patch Changes

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

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tskm/example-basic",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"dependencies": {
Expand Down
7 changes: 7 additions & 0 deletions examples/ssot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tskm/example-ssot

## 0.0.3

### Patch Changes

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

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/ssot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tskm/example-ssot",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"dependencies": {
Expand Down
10 changes: 10 additions & 0 deletions packages/tskm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @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.

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tskm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tskm/core",
"version": "0.2.0",
"version": "0.2.1",
"description": "Standard Schema compliant, functional validation library with AOT type compilation",
"type": "module",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions playgrounds/tskm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @tskm/playground

## 0.0.1

### Patch Changes

- Updated dependencies [dfcb2a7]
- @tskm/core@0.2.1
2 changes: 1 addition & 1 deletion playgrounds/tskm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tskm/playground",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
Loading