Releases: Naapperas/zon
Releases · Naapperas/zon
v3.0.0
What's Changed
- Merge main@v2.0.1 to develop by @Naapperas in #15
- Made CI run on PR. Update contribution guidelines. by @Naapperas in #16
- chore: remove uuid from dependencies by @almeynman in #14
- docs: fix list basic type by @cachho in #17
- docs: validate by @cachho in #18
- Added details about chaining API to Readme by @Naapperas and @cachho in #23
New Contributors
Full Changelog: v2.0.1...v3.0.0
v2.0.1
v2.0.0
Added
- Added
ValidationContextclass to keep track of current validation path and errors up until a certain point. - Added
examplesfolder - Added explanation regarding
ZonString.datetime()decisions. - Added
ZonLiteral,ZonTupleandZonEnumclasses - Added more
ZonRecordmethods - Added coverage
Changed
- Moved everything into a single file to combat circular reference issues
- Deprecated
ValidationErrorin favor ofZonError. - Simplified validation logic
- Now returns a (deep-) copy of the original data after validation. This is more useful for
ZonRecordandZonStringvalidators that can transform, while transformers are not added.
Removed
- Removed
between,__eq__andequalsmethods fromZonNumber. - Removed
ZonIntegerandZonFloatin favor of new validation rules inZonNumber - Removed
trueandfalsemethods fromZonBoolean
Full Changelog: v1.1.0...v2.0.0
v1.1.0
Extended zon functionality.
What's Changed
- Added changelog by @Naapperas in #3
- Added refine method by @Naapperas in #4
- Bump black from 23.11.0 to 24.3.0 by @dependabot in #5
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Finished developing version 1.0.0 of zon.
Present features include standard basic types and "compound" types.
Full Changelog: https://github.com/Naapperas/zon/commits/v1.0.0