Releases: AlexJPotter/fluentvalidation-ts
v3.2.0
v3.1.0
v3.0.0
🛠 Changes
- Switch from using TSDX to using tsup for bundling, due to TSDX no longer being maintained and it causing Content Security Policy (CSP) violations in certain situations
💥Breaking changes
- Output files have been renamed, so if you are including the package via a CDN, you will need to update your script tag to point at
/dist/index.global.js
- The global variable added when you include the package via a CDN has been renamed from
fluentvalidation-ts
tofluentvalidation
due to limitations intsup
⚠ Notes
- The library should work exactly as before, but there's always a chance that the move to a new bundler will have some unexpected consequences - please raise an issue if you notice any regression in functionality
v2.3.0
✨ New features
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:
🐛 Issues
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.
v.2.2.3
🐛 Bug fixes
- Fixed issue whereby numbers with large fractional parts were not displayed correctly in error messages
🔧 General maintenance
- Added Prettier rule for line breaks
v2.2.2
v2.2.1
v2.2.0
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 #5.
v2.1.6
- Updated packages
- Migrated documentation site URLs from alexpotter.dev/fluentvalidation-ts to fluentvalidation-ts.alexpotter.dev
v2.1.5
Migrated documentation to a new official documentation site:
https://alexpotter.dev/fluentvalidation-ts
🎉