Skip to content

chore: bump @ata-project/unplugin from 0.13.1 to 0.15.0 - #16

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ata-project/unplugin-0.15.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ata-project/unplugin-0.15.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown

Bumps @ata-project/unplugin from 0.13.1 to 0.15.0.

Release notes

Sourced from @​ata-project/unplugin's releases.

v0.15.0

One change, for projects that call compile() from a script with the zod or from option.

Changed

  • Where there are many validators, compile() writes them as plans for one small interpreter instead of as checks written out one by one, when that makes the smaller bundle. It weighs all the files it writes together, as the plugin does for an application inside a bundler, and chooses plans when they save more than the interpreter costs. Seven flat event schemas in one entry, bundled with esbuild and no plugin: 2.8 KB gzipped as plans (12 KB before compression) against 10.5 KB as written checks (139 KB). The exports, their answers and their errors are the same.
  • A page that imports one validator from a set written as plans carries the interpreter too. On the same schemas, one file each: a 10-field schema 1,254 bytes gzipped as a plan against 884 as written checks, a 43-field one 1,438 against 3,240, a 60-field one 1,512 against 3,771.
  • A plan is slower to run than written checks. On an event of 44 optional fields (Node 25, Apple M4 Pro) a valid document takes about 1.0 µs against 0.6, and a rejected one with its errors read 1.4 µs against 0.1.
  • table: false keeps written checks, table: true takes plans whatever the sizes. The result of compile() carries table, the choice made.

Not covered

  • A schema the table backend does not take stays written checks.
  • The sizes are from esbuild; other bundlers were not measured for this change.

v0.14.0

One change, for projects that call compile() from a script with the zod or from option.

Changed

  • compile() writes each <module>.validators.mjs already compiled: every export is its schema written out as checks, and the file imports only the helpers those checks use, never the validator runtime. Written as new Validator(schema), the file was small only in a build that ran the plugin; imported by a build that did not, each validator brought the runtime compiler into the bundle, and nothing in the build output said so. On a page that uses one validator, bundled with esbuild and no plugin: 3.9 KB gzipped compiled against 142.8 KB as new Validator (ata-validator 1.63.1). The exports, their answers and their errors are the same; a server can import the same file.
  • compiled: false keeps the new Validator(schema) form, for a project whose bundler runs the plugin and should make the choices it makes for a whole application (shared errors, table plans). Inside a bundler the plugin writes that form as before and compiles it in the same build.

Not covered

  • The compiled file imports helpers from ata-validator/kernels, so a server that imports it unbundled still needs ata-validator installed.
  • A file with a validator the build cannot compile is written in the previous form, with a warning that says why.
Commits
  • ea78653 release: 0.15.0
  • 731af21 feat: compile() writes many validators as plans for one interpreter when that...
  • 02019ff release: 0.14.0
  • e7a9ead feat: compile() writes validators already compiled (#2)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@ata-project/unplugin](https://github.com/ata-core/unplugin-ata) from 0.13.1 to 0.15.0.
- [Release notes](https://github.com/ata-core/unplugin-ata/releases)
- [Commits](ata-core/unplugin-ata@v0.13.1...v0.15.0)

---
updated-dependencies:
- dependency-name: "@ata-project/unplugin"
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Author

Superseded by #17.

@dependabot dependabot Bot closed this Nov 18, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/ata-project/unplugin-0.15.0 branch November 18, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants