Releases

0.9.0

Released on September 24th, 2022

  • Add Decimal field. (#128)

  • Drop isodate dependency and use standard library. (de5b598)

  • Drop Python 2 and Python 3.5 support. (453b7e6)

0.8.1

Released on October 8th, 2020

  • Relax validators dependency requirement. (c73b194)

0.8.0

Released on March 12th, 2020

  • Remove deprecated Constant field. (d70b044)

  • Improve ValidationError messages for container fields. (7746732)

  • Rename BaseField to _Base. (c5abc2f)

  • Add frozenset to FIELD_CLASS_MAP. (24d7c0e)

  • Add Flatten field. (9c740a5)

  • Improve Uuid field normalization. (34783b0)

  • Add IpAddress field. (667ca96)

  • Extended string types now subclass Text not Str. (5862375)

  • Remove fields.create() method. (2a54886)

  • Completely rework error handling. (c95b6b3)

  • Make Tag.lookup_tag default to module + qualname. (26963d6)

0.7.3

Released on January 12th, 2020

  • Fix contained Optional field (again). (#120)

0.7.2

Released on December 2nd, 2019

  • Add FrozenSet field. (1d2f0cd)

  • Add Deque field. (ec44671)

  • Add default keyword argument to Field. (#111)

  • Fix bug in Uuid.normalize(). (408bc83)

  • Rename Constant field to Literal. (#118)

0.7.1

Released on September 26th, 2019

  • Add Text field. (#110, #116)

  • Support annotations for specifying fields. (#99, #115)

  • Add OrderedDict field. (#114)

  • Add Set field. (#113)

  • Fix contained Optional field. (#112)

0.7.0

Released on September 8th, 2019

  • Embed serde-ext package code in serde. (#104)

  • Rework validators as classes. (#102)

  • Documentation overhaul. (#101)

  • Rework tags to subclass BaseField. (#100)

  • Remove optional extras (#97)

0.6.2

Released on July 20th, 2019

  • Add Regex field. (#95)

  • Drop Python 3.4 support. (#94)

0.6.1

Released on April 4th, 2019

  • Fix some bugs in Model tagging. (#92)

0.6.0

Released on March 30th, 2019

  • Improve base Field exception messages. (#86)

  • Add Constant field. (#58, #85)

  • Model tagging when serializing and deserializing. (#64, #81, #83)

  • Streamline sdist. (#82)

  • Better error context and handling. (#38, #80)

0.5.2

Released on February 4th, 2019

  • Add Long field in Python 2. (#79)

  • Fix a bug where validators was a required dependency. (#78)

  • Support conversion between Pickle. (#10, #76)

0.5.1

Released on January 29th, 2019

0.5.0

Released on January 29th, 2019

  • Support conversion between CBOR. (#40, #74)

  • Remove fields and validators that were moved to serde-ext package. (#66, #71)

  • Container fields now properly call inner Field methods. (#70)

  • Add equal() and length() validators. (#67, #69)

  • Add basestring and unicode to built-in Field map. (#68)

0.4.1

Released on January 23rd, 2019

  • Fix a bug where Optional didn’t call the inner Field.normalize(). (#65)

  • Use ‘simplejson’ package if available. (#60, #63)

  • Fix a bug where Choice field didn’t call super().validate(). (#62)

0.4.0

Released on January 6th, 2019

  • Fix a bug where dependencies were not pinned correctly. (#54)

  • Pluralise module names. (#52)

  • Add Optional field. (#51, #48, #49)

0.3.2

Released on December 19th, 2018

  • Fix a bug where overriding Model.__init__() method affected Model.from_dict. (#45, #46)

0.3.1

Released on December 17th, 2018

  • Fix a bug with the Model.__repr__() method. (#44)

  • Make Bytes an alias of Str in Python 2.7. (#43)

  • Fix not being able to create attributes, methods, and functions with the same name as fields on a Model. (#41, #42)

0.3.0

Released on December 9th, 2018

  • Support Python 2.7. (#35)

  • Add BaseString and Unicode fields. (#35)

  • Remove extra validation options from built-in type Fields. (#34)

  • Add min() and max() validation functions. (#34)

  • Add inclusive option to between() validator. (#34)

  • Add args option to the field.create() method. (#34)

  • Generate built-in types using the field.create() method. (#34)

  • Add Complex and Bytes fields. (#34)

  • Do not clutter root namespace with fields. (#34)

0.2.1

Released on November 21th, 2018

  • Fix SerdeErrors having incorrect context. (#32)

  • Add IpAddress, Ipv4Address, Ipv6Address, and MacAddress fields. (#3, #30)

  • Add DateTime, Date, and Time fields. (#2, #29)

0.2.0

Released on November 16th, 2018

  • Add validate module with validate functions for use with fields. (#22)

  • Support Field creation from functions. (#22)

  • General API improvements. (#17)

  • Support conversion between TOML, YAML. (#7, #8, #16)

  • Add Boolean, Dictionary, Integer, and String aliases. (#11, #14)

  • Add serializers and deserializers Field options for arbitrary serializer and deserializer functions. (#6)

  • Nested fields now take the same options as to_dict() and from_dict() on Model objects. (#5)

0.1.2

Released on October 28th, 2018

  • Add support for ignoring unknown dictionary keys (#1)

0.1.1

Released on October 27th, 2018

  • Initial release, fixed.

0.1.0

Released on October 27th, 2018

  • Initial release, yanked.