A TypeScript-first library for building strongly-typed validation rules
/dist/index.global.js
fluentvalidation-ts
to fluentvalidation
due to limitations in tsup
This release adds support for specifying validation rules on transformed values, as per the proposal outlined in Issue #11.
For more information, see the documentation pages here:
This release includes some fairly substantial changes to how the code works under-the-hood. If you spot any problems, please raise an issue on the repo.
π Bug fixes
π§ General maintenance
π Bug fixes
π§ General maintenance
Fixes issue https://github.com/AlexJPotter/fluentvalidation-ts/issues/8 which relates to ReadonlyArray
properties (in particular it enables use of .ruleForEach
).
With the release of version 2.2.0, fluentvalidation-ts
now supports async validation! π
In particular, it brings the AsyncValidator
class, which you can extend from instead of the Validator
class in order to enable access to async validation rules.
So far, the following async validation rules are available:
This release addresses issue https://github.com/AlexJPotter/fluentvalidation-ts/issues/5.
Migrated documentation to a new official documentation site: https://alexpotter.dev/fluentvalidation-ts :tada: