Skip to content

Releases: maximkulkin/lollipop

v1.1.4

09 Jun 05:30
Compare
Choose a tag to compare
  • Add support for serializing sequences and mappings other than list and dict
  • Change Tuple type to return tuples on load()

v1.1.3

10 May 23:36
Compare
Choose a tag to compare
  • Fix exports for Date, Time and DateTime types
  • Update Object type default constructor to return object-like value

v1.1.2

10 May 22:06
Compare
Choose a tag to compare
  • Make all builtin validators context-aware
  • Make validators part of public type interface
  • Fix repr for Length validator

v1.1.1

28 Mar 19:01
Compare
Choose a tag to compare
  • Added name and description attributes to all types

v1.1

07 Feb 23:19
Compare
Choose a tag to compare
  • Improved repr() for type objects to allow figuring out schema by just printing it
  • Updated Dict type to allow transforming/validating dictionary keys
  • Fixed/updated custom type documentation

v1.0.4

02 Feb 19:45
Compare
Choose a tag to compare
  • Add support for Python 3.6
  • Fix Transform type not being exported

v1.0.3

02 Feb 19:43
Compare
Choose a tag to compare
  • Add validated_type to list of exported functions
  • Fix context awareness for manually added validators

v1.0.2

30 Nov 18:37
Compare
Choose a tag to compare
  • Improved callbacks performance by prebaking context awareness

v1.0.1

30 Nov 18:36
Compare
Choose a tag to compare
  • Fixed broken object resolved field caching thus improving performance

v1.0

30 Nov 18:36
Compare
Choose a tag to compare
  • Added inheritance of Object type settings (e.g. constructors, allow_extra_fields, etc.)
  • Added support for ordering Object type attributes
  • Updated Optional to support generating load_default/dump_default values instead of
    using fixed values. E.g. you can have your "id" field to default to auto-generated UUID.
  • Added type registry with delayed type resolving. This allows having types that
    reference each other (e.g. Person being author to multiple Books and Book having
    author)
  • Updated Object only/exclude to not affect own fields
  • Added Transform modifier type
  • Added validated_type() function to simplify creation of new types that are actually
    just existing type with an extra validator(s).
  • Fixed Object.load_into processing of None values
  • Fixed Object.load_into not annotating errors with field names
  • Fixed typos in Tuple type, added tests