Skip to content

Releases: querkmachine/vanilla-validation

1.3.0

17 Nov 09:47

Choose a tag to compare

Adds IIFE (in-browser compatible) export.

There are now three distributed versions of Vanilla Validation available:

  • validate.min.js (IIFE, can be used directly in a browser)
  • validate.js (CommonJS/UMD, can be used with require)
  • validate.mjs (ESM, can be used with import)

v1.2.1

09 Sep 09:23

Choose a tag to compare

The build process changes in 1.2.0 inadvertently changed Vanilla Validation from using a default export to a named export, introducing a breaking change as it required the importing code to be modified appropriately.

This release corrects the issue and returns the library to using a default export.

v1.2.0

08 Sep 10:32

Choose a tag to compare

This release overhauls the build process to make Vanilla Validation easier to use when added as a dependency through npm. The library itself is functionally identical to previous versions.

There are now separate CommonJS/UMD (validate.js) and ESM (validate.mjs) versions of Vanilla Validation. Most build tools should be able to determine which version to use automatically. Both come pre-minified and with source maps provided.

v1.1.1

07 Sep 16:30

Choose a tag to compare

  • Fixed Validate class not being exported.

v1.1.0

01 Sep 14:38

Choose a tag to compare

  • Added missing support for the formnovalidate attribute. Closes #3.
  • Added [type="image"] to the default submit button selector.
  • An error is now displayed in the browser console if an input is missing a label.

v1.0.0

15 Jul 11:52

Choose a tag to compare

  • Initial release.