Skip to content

v0.14.0

Compare
Choose a tag to compare
@anthrotype anthrotype released this 04 Nov 18:33
v0.14.0
c7281e7

What's Changed

  • Made lazily loaded ufoLib2.Font objects pickleable by automatically un-lazifying them in custom __getstate__ method (e0f3d6a).
  • Added optional support for de/serializing all ufoLib2 objects from/to JSON or MessagePack.
    You can enable this by installing additional extras: namely, pip install ufoLib[json] or ufoLib2[msgpack] (or both ufoLib[json,msgpack]).
    This uses cattrs custom converters to unstructure/structure ufoLib2 objects to/from basic serializable data structures.
    See docstring in ufoLib2.serde::serde or #230 for examples.

Full Changelog: v0.13.1...v0.14.0