Changelogs » Gata

PyUp Safety actively tracks 274,040 Python packages for vulnerabilities and notifies you when to upgrade.

Gata

3.3.2

Test autopublish to pypi

3.3.1

- Refactored imports
  - Fixed various bugs
  - Comprehensive list and tuple validation are not working

3.1.1

- Fixed issue with missing error details
  - added mapping support to `asdict` method
  - documentation updates

3.1.0

- added `validate_dataclass` for validating python's dataclasses
  - fix for frozen dataclasses with defined `__init__` method
  - fix for validating dataclasses with defined `__init__` method

3.0.1

- Fix broken support for enum types
  - Documentation fixes

3.0.0

- huge performance boost
  - support for `compare`, `init`, `repr` in `field`
  - support for `repr`, `init`, `frozen`, `eq` in `dataclass`
  - refactored custom type defnition
  - improved code coverage

2.8.0

- Removed dataclass usages from internal implementation
  - bugfixes

2.7.0


        

2.6.3

- Fixed problem with empty doc parsing

2.6.1

- Fixed `gata.transform` method signature

2.6.0

- added `gata.transform(obj, transform_to, mapping=None)`
  - refactored schema codebase

2.5.0

- `Any` type now is ignored during serialisation and deserialisation
  - `serialisable` and `validatable` decorator does not require `dataclass` decorator anymore

2.4.0

- Support for `bson.ObjectId`
  - added custom serialisation, deserialisation function support in meta class
  - added serialisation mapping support in `serialise` method

2.2.1


        

2.2.0


        

2.1.1

- Fixed validation of nullable references

2.1.0

- Fixed dataclass serialisation
  - Added support for union types

2.0.0