Skip to content

v0.13.1

Choose a tag to compare

@mertcanaltin mertcanaltin released this 12 Nov 14:27
· 66 commits to main since this release
da70aee

One fix. Upgrade if you build with Rspack or webpack.

Fixed

  • Under Rspack and webpack a build with the plugin on failed to parse files the plugin has nothing to do with: an application's own JSON import (JavaScript parse error in a .json file) or an SVG inlined from a stylesheet. The plugin's load hook had no loadInclude, and those two bundlers turn such a hook into a rule over every module that types what it loads as JavaScript. The hook is now kept to the plugin's own virtual modules. Affected 0.11.0 through 0.13.0; the other bundlers were not affected.

Docs

  • The README said ata-validator is only used at build time. That holds for a page's build. A generated validator file that a server imports without bundling (<module>.validators.mjs, the OpenAPI validators) runs on the runtime there, so that server needs ata-validator in its dependencies.