Releases: victorgarciaesgi/regle
Releases · victorgarciaesgi/regle
v1.9.0-beta.1
⚠️ Breaking changes
flatErrors
now follow standard Issue format,path
is now Array (ex:path: "foo.0.bar"
->path: ["foo", 0, "bar"]
)
🚀 Features
- Implement Standard Schema spec - by @victorgarciaesgi (5eeca)
- use Standard Schema
~standard
property on any nested schema property useRules
for a stateless and functionnal use of RegleforceValues
parameter in$validate
method. Patch the state before validating
View changes on GitHub
v1.8.5
🐞 Bug Fixes
- Fixed type inference of non-tuple arrays in
oneOf
- by @victorgarciaesgi (872d4)
View changes on GitHub
v1.8.4
🐞 Bug Fixes
- Fixed validationGroups not accepting undefined fields - by @victorgarciaesgi (ec5e4)
View changes on GitHub
v1.8.3
🐞 Bug Fixes
- Undefined reset error when using
$key
#181 - by @victorgarciaesgi in #181 (bb37c) - DeepCompare stops at first nested property #182 - by @victorgarciaesgi in #182 (52698)
View changes on GitHub
v1.8.2
🐞 Bug Fixes
- Defining a $key for a collection errors with $name undefined #181 - by @victorgarciaesgi in #181 (ca5c9)
View changes on GitHub
v1.8.1
🐞 Bug Fixes
- Primitive arrays errors not reported correctly on schemas #177 - by @victorgarciaesgi in #177 (2cddd)
View changes on GitHub
v1.8.0
🚀 Features
- Improve DX and performances and
useRegle
andinferRules
#166 - by @victorgarciaesgi in #171 and #166 (a4da1) toOriginalState
option in$reset
- by @victorgarciaesgi (8c695)
🐞 Bug Fixes
- Nested collections not working with external errors dot paths notation #169 - by @victorgarciaesgi in #169 (bd8a2)
View changes on GitHub
v1.8.0-beta.2
🚀 Features
- Improve DX and performances and
useRegle
andinferRules
#166 - by @victorgarciaesgi in #171 and #166 (dafae) toOriginalState
option in$reset
- by @victorgarciaesgi (c0664)
🐞 Bug Fixes
- Nested collections not working with external errors dot paths notation #169 - by @victorgarciaesgi in #169 (6c205)
View changes on GitHub
v1.8.0-beta.1
🚀 Features
- Stable new version of type mismatch - by @victorgarciaesgi (a7cd6)
🐞 Bug Fixes
- Collections children errors are not working when multiple children have errors #162 - by @victorgarciaesgi in #162 (42fee)
View changes on GitHub
v1.7.2
🐞 Bug Fixes
assignIf
not working with custom config - by @victorgarciaesgi (25a62)