Skip to content

0.11.1

Choose a tag to compare

@mertcanaltin mertcanaltin released this 26 Oct 20:41
· 107 commits to main since this release

Validators the plugin sees only called, never handed to other code, take the bare wrappers of ata-validator 1.61.1. A form with two validators, one reading errors and one asking for a verdict, bundles to 10.7 KB gzipped, or 3.1 KB with richErrors: false on the one that reads errors, against 16.7 KB on 0.11.0.

Verdict-only validators get modules without the error collector, and inlined modules drop the declarations nothing reads. Answers and error objects are the runtime's.

Needs ata-validator 1.61.1; with an older one the plugin keeps the wrappers it had.