github arktypeio/arktype @ark/aot@3.0.2

latest releases: arkregex@0.0.18, @ark/fast-check@0.0.24, @ark/fs@0.57.2...
2 hours ago
  • Cut standalone bundle sizes across presets and error modes:
    • Added stopsAtFirst so errors: "first" builds without islands skip FirstIssues (-30 to -54 B gz).
    • Enabled throwIssues for optimize: "size" assert-only validators and unwrapped private .assert-only creators (form:smallest 1,166 -> 1,091 B gz).
    • Gated pathOf on index/bracketed paths in errors: "none" builds (-38 B gz), folded withContextOf when context isn't read, pruned jsonIssueOf / failureToJson, replaced the 929-char RE2 ISO 8601 calendar table with an exact compact check (apps/shop:smallest 4,222 -> 4,004 B gz), and trimmed standalone ArkErrors.summary (-5 to -19 B gz across default and errors: "first" bundles).
  • Improved optimize: "size" throughput by 6–15% by tightening objectCheck and hoisting property lookups in checkers.ts.
  • Registered emptyMeta in unitConstants so precompiled units with empty metadata share cache entries cleanly, and included [--cwd <path>] in ark declare usage output.

Full changelog: https://github.com/arktypeio/arktype/blob/@ark/aot@3.0.2/ark/aot/CHANGELOG.md

Don't miss a new arktype release

NewReleases is sending notifications on new releases.