Skip to content

Latest commit

 

History

History
executable file
·
116 lines (55 loc) · 4.1 KB

CHANGELOG.md

File metadata and controls

executable file
·
116 lines (55 loc) · 4.1 KB

2.2.2 (2024-04-12)

2.2.1 (2024-04-12)

Bug Fixes

  • ObjectType: fix required message for properties not being replaced (#79) (2aab276)

2.2.0 (2024-04-11)

Features

  • add support for equalTo and proxy (#78) (d9f0e55)
  • add support for label method (#77) (9ff16c3)
  • Schema: support nested object check with checkForField and checkForFieldAsync (#76) (e315aec)
  • StringType: add alllowMailto option to isURL rule (#72) (349dc42)

2.1.3 (2023-05-06)

Bug Fixes

  • wrong error message when parameter is 0 (#69) (8b399f7)

2.1.2 (2023-03-10)

Bug Fixes

  • build: fix unpublished source code (#67) (c21ae0a)

2.1.1 (2023-03-08)

  • chore: change the compilation target of TypeScript from esnext to es2019

2.1.0 (2023-03-02)

Features

  • addAsyncRule to allow sync and async rules to run (#63) (574f9ad)

2.0.4 (2023-03-01)

Bug Fixes

  • promises where not allowed by type (#61) (9cc665c)

2.0.3 (2022-06-30)

Bug Fixes

  • ObjectType: specifies type of property object in the ObjectType check result (#46) (0571e09)

2.0.2

  • build(deps): add @babel/runtime #37

2.0.1

  • fix ArrayType.of type error #35

2.0.0

  • feat(locales): add default error messages for all checks (#27) (03e21d7)
  • refactor: refactor the project through typescript.
  • feat(MixedType): Added support for when method on all types
  • feat(MixedType): Replace Type with MixedType.
  • feat(ObjectType): Support nested objects in the shape method of ObjectType.

1.5.1

  • Update the typescript definition of addRule

1.5.0

  • Added support for isRequiredOrEmpty in StringType and ArrayType

1.4.0

  • Adding the typescript types declaration in to package

1.3.1

  • Fixed an issue where isOneOf was not valid in StringType (#18)

1.3.0

  • Added support for ESM

1.2.2

Aug 30, 2019

  • Bugfix: Fix an issue where addRule is not called

1.2.0

Aug 20, 2019

  • Feature: Support for async check. (#14)