- Cut standalone bundle sizes across presets and error modes:
- Added
stopsAtFirstsoerrors: "first"builds without islands skipFirstIssues(-30 to -54 B gz). - Enabled
throwIssuesforoptimize: "size"assert-only validators and unwrapped private.assert-only creators (form:smallest1,166 -> 1,091 B gz). - Gated
pathOfon index/bracketed paths inerrors: "none"builds (-38 B gz), foldedwithContextOfwhen context isn't read, prunedjsonIssueOf/failureToJson, replaced the 929-char RE2 ISO 8601 calendar table with an exact compact check (apps/shop:smallest4,222 -> 4,004 B gz), and trimmed standaloneArkErrors.summary(-5 to -19 B gz across default anderrors: "first"bundles).
- Added
- Improved
optimize: "size"throughput by 6–15% by tighteningobjectCheckand hoisting property lookups incheckers.ts. - Registered
emptyMetainunitConstantsso precompiled units with empty metadata share cache entries cleanly, and included[--cwd <path>]inark declareusage output.
Full changelog: https://github.com/arktypeio/arktype/blob/@ark/aot@3.0.2/ark/aot/CHANGELOG.md