v0.14.0
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]
orufoLib2[msgpack]
(or bothufoLib[json,msgpack]
).
This usescattrs
custom converters to unstructure/structure ufoLib2 objects to/from basic serializable data structures.
See docstring inufoLib2.serde::serde
or #230 for examples.
Full Changelog: v0.13.1...v0.14.0