All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.0.1 - 2025-12-25
- Path population on ZonIssue instances for better tracking what caused an error.
3.0.0 - 2025-05-16
- Updated contribution guidelines.
- Updated CI workflow to run on Pull Request.
- Updated README.md to include more information and examples of code usage as well as corrected some old examples.
- Added contributors to the CONTRIBUTORS file.
- Removed
uuidas a dependency.
- Added explanation about chaining API to README.md.
2.0.1 - 2024-07-16
- Fixed the return type of
validate
2.0.0 - 2024-06-20
- 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
- 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
between,__eq__andequalsmethods fromZonNumber. - Removed
ZonIntegerandZonFloatin favor of new validation rules inZonNumber - Removed
trueandfalsemethods fromZonBoolean
1.1.0 - 2024-04-10
zonnow has a changelog.- Added
zon.traitsmodule for common functionality that is specific to no validator. - Added the
zon.traits.collectionfile which contains theZonCollectionclass: this is the base class for all collection types. - Added testing for
ZonCollectionand added more tests forZonString. - Scripts that automate the building and publishing of the package to PyPI.
- Added
refinemethod to the baseZonclass.
ZonStringnow inherits fromZonCollectioninstead ofZon.ZonListnow inherits fromZonCollectioninstead ofZon.- Updated
README.mdto include more information and examples of code usage.
- Removed the
lenfunction fromZonStringandZonListas it was not being used and did too much.
1.0.0 - 2023-11-26
- Added base source code files for the project.
- Base
README.mdfile.