generated from ShadowVR/AI_botter
18 KiB
18 KiB
Changelog
All notable changes to this project will be documented in this file.
3.9.6 - (2024-01-19)
🐛 Bug Fixes
- Fixed commonjs typings export mapping (#341) (a5518aa)
3.9.5 - (2023-12-15)
🐛 Bug Fixes
- Properly publish all dist files (8e925fa)
3.9.4 - (2023-12-04)
🐛 Bug Fixes
- Properly split CJS and ESM (9bb1ff9)
🧪 Testing
- Update path to global file (d03b19f)
3.9.3 - (2023-10-13)
🏠 Refactor
- Change email regex (#306) (c5d49cf)
3.9.2 - (2023-06-04)
🐛 Bug Fixes
- arrayvalidator: Fixed runaway type instantiation with TypeScript >=5.1 (#275) (f59d901)
3.9.1 - (2023-06-02)
🐛 Bug Fixes
- types: Move the
types
condition to the front (#273) (5a3e202)
3.9.0 - (2023-05-09)
🐛 Bug Fixes
- Resolve minor grammar mistake (#260) (62df609)
🚀 Features
- Add BaseValidator.describe (#267) (d9e1a2d)
3.8.2 - (2023-04-02)
🐛 Bug Fixes
3.8.1 - (2022-12-15)
🐛 Bug Fixes
- Fixed lodash esm import (#230) (63def7b)
3.8.0 - (2022-12-11)
🏠 Refactor
- Remove
NonNullObject
(#227) (04d3934)
🚀 Features
- Add
when
constraint (#223) (8eade90)
3.7.1 - (2022-11-27)
🐛 Bug Fixes
- Fixed "jump to definition" for
undefinedToOptional
going to wrong symbol (#226) (6aab6d0)
📝 Documentation
- Add @legendhimslef as a contributor (499522a)
3.7.0 - (2022-10-02)
📝 Documentation
🚀 Features
- Add
s.string.phone
(#202) (7d122d5)
3.6.0 - (2022-08-29)
🐛 Bug Fixes
- Typescript 4.8 compatibility (#179) (2281535)
🚀 Features
- Add
Validator#is
(#183) (5114f95)
3.5.1 - (2022-07-17)
🐛 Bug Fixes
- Fast deep equal import (#155) (5ce8ff6)
3.5.0 - (2022-07-10)
🏠 Refactor
- Port net module (#149) (5f26e32)
🐛 Bug Fixes
- Ensure browser compatibility (#150) (92d05d8)
- Fixed
s.array
type inference (#153) (a5948dc) - Fixed
shape#array
types (#146) (43016a0)
🚀 Features
- Lazy validator (#147) (807666e)
- Reshape finally (#148) (d3751f6)
- arrays: Add unique (#141) (ad7af34)
3.4.1 - (2022-07-03)
🏠 Refactor
- Move all type utilities to one file (#139) (61cab3d)
🐛 Bug Fixes
- Return array-validator from length* methods (#140) (75b1f9a)
🧪 Testing
- Typechecking for tests (#145) (273cdc8)
3.4.0 - (2022-06-29)
🚀 Features
- Add
required
in object validation (#137) (928f7be)
3.3.2 - (2022-06-26)
🐛 Bug Fixes
- Make keys optional in object parsing (#134) (57a3719)
3.3.1 - (2022-06-22)
🐛 Bug Fixes
- Add generic type to parse (#133) (90c91aa)
3.3.0 - (2022-06-19)
🐛 Bug Fixes
- Compile for es2020 instead of es2021 (#128) (051344d)
🚀 Features
- Allow passing functions in
setValidationEnabled
(#131) (e1991cf)
🧪 Testing
- Migrate to vitest (#126) (4d80969)
3.2.0 - (2022-06-11)
🚀 Features
- Add disabling of validators (#125) (e17af95)
3.1.0 - (2022-06-04)
🐛 Bug Fixes
- ObjectValidator: Fix #121 (#122) (ecfad7e)
📝 Documentation
- readme: Clarify the difference between validations and schemas and add table of contents (#108) (dc492a3)
🚀 Features
- StringValidator: Add date string checks (#106) (1b72907)
3.0.0 - (2022-05-06)
🏃 Performance
- Speed up object validation a LOT (#101) (817278e)
🐛 Bug Fixes
-
Expand method names (#100) (741490f)}
💥 Breaking Changes:
date.eq
has been renamed todate.equal
string.lengthLt
has been renamed tostring.lengthLessThan
string.lengthLe
has been renamed tostring.lengthLessThanOrEqual
string.lengthGt
has been renamed tostring.lengthGreaterThan
string.lengthGe
has been renamed tostring.lengthGreaterThanOrEqual
string.lengthEq
has been renamed tostring.lengthEqual
string.lengthNe
has been renamed tostring.lengthNotEqual
number.gt
has been renamed tonumber.greaterThan
number.ge
has been renamed tonumber.greaterThanOrEqual
number.lt
has been renamed tonumber.lessThan
number.le
has been renamed tonumber.lessThanOrEqual
number.eq
has been renamed tonumber.equal
number.ne
has been renamed tonumber.notEqual
bigint.gt
has been renamed tobigint.greaterThan
bigint.ge
has been renamed tobigint.greaterThanOrEqual
bigint.lt
has been renamed tobigint.lessThan
bigint.le
has been renamed tobigint.lessThanOrEqual
bigint.eq
has been renamed tobigint.equal
bigint.ne
has been renamed tobigint.notEqual
boolean.eq
has been renamed toboolean.equal
boolean.ne
has been renamed toboolean.notEqual
array.lengthLt
has been renamed toarray.lengthLessThan
array.lengthLe
has been renamed toarray.lengthLessThanOrEqual
array.lengthGt
has been renamed toarray.lengthGreaterThan
array.lengthGe
has been renamed toarray.lengthGreaterThanOrEqual
array.lengthEq
has been renamed toarray.lengthEqual
array.lengthNe
has been renamed toarray.lengthNotEqual
typedArray.lengthLt
has been renamed totypedArray.lengthLessThan
typedArray.lengthLe
has been renamed totypedArray.lengthLessThanOrEqual
typedArray.lengthGt
has been renamed totypedArray.lengthGreaterThan
typedArray.lengthGe
has been renamed totypedArray.lengthGreaterThanOrEqual
typedArray.lengthEq
has been renamed totypedArray.lengthEqual
typedArray.lengthNe
has been renamed totypedArray.lengthNotEqual
typedArray.byteLengthLt
has been renamed totypedArray.byteLengthLessThan
typedArray.byteLengthLe
has been renamed totypedArray.byteLengthLessThanOrEqual
typedArray.byteLengthGt
has been renamed totypedArray.byteLengthGreaterThan
typedArray.byteLengthGe
has been renamed totypedArray.byteLengthGreaterThanOrEqual
typedArray.byteLengthEq
has been renamed totypedArray.byteLengthEqual
typedArray.byteLengthNe
has been renamed totypedArray.byteLengthNotEqual
-
ObjectValidator: Don't run validation on arrays (#99) (c83b3d0)
🚀 Features
- Add 2 utility types inspired by yup and co (#102) (2fef902)
2.2.0 - (2022-04-29)
Bug Fixes
- Ensure
BaseError
is exported as value (#95) (335d799)
Documentation
- readme: Add todo notice for
reshape
andfunction
validations (#75) (d5f16f6)
Features
- Add Typed Array (#78) (ca5ea5f)
Performance
- Optimize
NativeEnum
(#79) (e9ae280)
@sapphire/shapeshift@2.1.0 - (2022-04-24)
Documentation
- readme: Add todo notice for
reshape
andfunction
validations (#75) (d5f16f6)
Performance
- Optimize
NativeEnum
(#79) (e9ae280)
2.0.0 (2022-03-13)
Features
- add
default
(#25) (378c51f) - add bigint methods (#32) (4c444c1)
- add MapValidator (#21) (c4d1258)
- add NativeEnum validator (#54) (7359042)
- add RecordValidator (#20) (8727427)
- add remaining string validations (#38) (1c2fd7b)
- add tuple (#39) (b7704bf)
- added number transformers (#17) (89a8ddd)
- allow the use of module: NodeNext (#55) (e6827c5)
- array: add array length Comparators (#40) (1e564c2)
- Array: generate tuple types with given length (#52) (793648b)
- ArrayValidator: add length ranges (#53) (e431d62)
- display the property that errored (#35) (fe188b0)
- improve how errors are returned (#29) (8bc7669)
- s.object: add passthrough (#66) (ee9f6f3)
Bug Fixes
- copy/paste error and
ge
(#22) (fe6505f) - fix union type and add test (#41) (fbcf8a9)
- s.union: fix union overrides (#62) (56e9b19)
1.0.0 (2022-01-16)
Features
- added more primitives (#2) (16af17b)
- added more things (7c73d82)
- added ObjectValidator (#3) (abe7ead)
Bug Fixes
- resolved install error (a5abe13)