Skip to content

Latest commit

 

History

History
420 lines (263 loc) · 8.04 KB

CHANGELOG.md

File metadata and controls

420 lines (263 loc) · 8.04 KB

@felte/validator-superstruct

1.0.8

Patch Changes

1.0.7

Patch Changes

1.0.6

Patch Changes

  • 43e1376: Add "files" field to package.json

1.0.5

Patch Changes

1.0.4

Patch Changes

  • d9e7b12: Stop bundling core/common packages to allow for code reusability

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • b007b7f: BREAKING: instead of extending Felte's config, now validators accept a configuration object directly. This allows for extending Felte with multiple schemas/suites/structs

  • b007b7f: BREAKING: Remove addWarnValidator in favour of options to addValidator.

    This gives a smaller and more unified API, as well as opening to add more options in the future.

    If you have an extender using addWarnValidator, you must update it by calling addValidator instead with the following options:

    addValidator(yourValidationFunction, { level: 'warning' });
  • b007b7f: Pass a new property stage to extenders to distinguish between setup, mount and update stages

  • b007b7f: Make type of helpers and stores looser when using a transform function

Patch Changes

  • b007b7f: Change cjs output to have an extension of .cjs
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]
  • Updated dependencies [b007b7f]

1.0.0-next.22

Patch Changes

1.0.0-next.21

Patch Changes

  • 4853b7e: Change cjs output to have an extension of .cjs
  • Updated dependencies [4853b7e]

1.0.0-next.20

Patch Changes

1.0.0-next.19

Patch Changes

1.0.0-next.18

Patch Changes

1.0.0-next.17

Patch Changes

1.0.0-next.16

Patch Changes

1.0.0-next.15

Patch Changes

1.0.0-next.14

Patch Changes

1.0.0-next.13

Patch Changes

1.0.0-next.12

Major Changes

  • 313aa5d: BREAKING: instead of extending Felte's config, now validators accept a configuration object directly. This allows for extending Felte with multiple schemas/suites/structs

Patch Changes

1.0.0-next.11

Patch Changes

1.0.0-next.10

Major Changes

  • b7ef442: BREAKING: Remove addWarnValidator in favour of options to addValidator.

    This gives a smaller and more unified API, as well as opening to add more options in the future.

    If you have an extender using addWarnValidator, you must update it by calling addValidator instead with the following options:

    addValidator(yourValidationFunction, { level: 'warning' });

Patch Changes

  • Updated dependencies [a1dbc28]
  • Updated dependencies [ec740a0]
  • Updated dependencies [34e0393]
  • Updated dependencies [b7ef442]
  • Updated dependencies [e1ad8cd]

1.0.0-next.9

Patch Changes

1.0.0-next.8

Patch Changes

1.0.0-next.7

Patch Changes

1.0.0-next.6

Patch Changes

1.0.0-next.5

Patch Changes

1.0.0-next.4

Patch Changes

1.0.0-next.3

Patch Changes

1.0.0-next.2

Patch Changes

1.0.0-next.1

Patch Changes

1.0.0-next.0

Major Changes

  • 9a48a40: Pass a new property stage to extenders to distinguish between setup, mount and update stages
  • 2c0f874: Make type of helpers and stores looser when using a transform function

Patch Changes

  • Updated dependencies [9a48a40]
  • Updated dependencies [0d22bc6]
  • Updated dependencies [3d571bb]
  • Updated dependencies [c1f32a0]
  • Updated dependencies [2c0f874]

0.3.2

Patch Changes

  • 3324788: Add support for warnings

0.3.1

Patch Changes

  • 6fe19bf: Change build output from umd to cjs, since Felte is not planned to be used as a global import, a umd build is not necessary.
  • Updated dependencies [6fe19bf]
  • Updated dependencies [6fe19bf]
  • Updated dependencies [6fe19bf]

0.3.0

Minor Changes

  • 9e6b799: coerce values before writing to data store if castValues is set.
  • 9e6b799: support superstruct coercions

Patch Changes

0.2.10

Patch Changes

0.2.9

Patch Changes

0.2.8

Patch Changes

  • de71f43: Add addValidator utility for extenders
  • Updated dependencies [a7e7e35]
  • Updated dependencies [2d3b213]
  • Updated dependencies [de71f43]

0.2.7

Patch Changes

  • 0bce41e: Fix rollup config for validators

0.2.6

Patch Changes

  • 16ff018: Export ES module as default
  • Updated dependencies [16ff018]

0.2.5

Patch Changes

0.2.4

Patch Changes

0.2.3

Patch Changes

  • f10e84b: Add exports map

0.2.2

Patch Changes

  • 76fc715: Mark as side-effect free

0.2.1

Patch Changes

  • 55c1f90: Remove lodash dependency
  • Updated dependencies [55c1f90]
  • Updated dependencies [99354f1]

0.2.0

Minor Changes

  • 52f9043: Allow validate configuration option to be an array of functions

Patch Changes