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)
Released on October 8th, 2020
- Relax
validators
dependency requirement. (c73b194)
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
notStr
. (5862375) - Remove fields.create() method. (2a54886)
- Completely rework error handling. (c95b6b3)
- Make
Tag.lookup_tag
default to module + qualname. (26963d6)
Released on January 12th, 2020
- Fix contained
Optional
field (again). (#120)
Released on December 2nd, 2019
- Add
FrozenSet
field. (1d2f0cd) - Add
Deque
field. (ec44671) - Add
default
keyword argument toField
. (#111) - Fix bug in
Uuid.normalize()
. (408bc83) - Rename
Constant
field toLiteral
. (#118)
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)
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)
Released on July 20th, 2019
Released on April 4th, 2019
- Fix some bugs in
Model
tagging. (#92)
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)
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)
Released on January 29th, 2019
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()
andlength()
validators. (#67, #69) - Add
basestring
andunicode
to built-inField
map. (#68)
Released on January 23rd, 2019
- Fix a bug where
Optional
didn't call the innerField.normalize()
. (#65) - Use 'simplejson' package if available. (#60, #63)
- Fix a bug where
Choice
field didn't callsuper().validate()
. (#62)
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)
Released on December 19th, 2018
Released on December 17th, 2018
- Fix a bug with the
Model.__repr__()
method. (#44) - Make
Bytes
an alias ofStr
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)
Released on December 9th, 2018
- Support Python 2.7. (#35)
- Add
BaseString
andUnicode
fields. (#35) - Remove extra validation options from built-in type Fields. (#34)
- Add
min()
andmax()
validation functions. (#34) - Add
inclusive
option tobetween()
validator. (#34) - Add
args
option to thefield.create()
method. (#34) - Generate built-in types using the
field.create()
method. (#34) - Add
Complex
andBytes
fields. (#34) - Do not clutter root namespace with fields. (#34)
Released on November 21th, 2018
- Fix
SerdeErrors
having incorrect context. (#32) - Add
IpAddress
,Ipv4Address
,Ipv6Address
, andMacAddress
fields. (#3, #30) - Add
DateTime
,Date
, andTime
fields. (#2, #29)
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
, andString
aliases. (#11, #14) - Add
serializers
anddeserializers
Field
options for arbitrary serializer and deserializer functions. (#6) Nested
fields now take the same options asto_dict()
andfrom_dict()
onModel
objects. (#5)
Released on October 28th, 2018
- Add support for ignoring unknown dictionary keys (#1)
Released on October 27th, 2018
- Initial release, fixed.
Released on October 27th, 2018
- Initial release, yanked.