Ufolib2

Latest version: v0.16.0

Safety actively analyzes 626004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.16.0

What's Changed
* Added `tempLib` property to Font, Layer and Glyph (like defcon's) by anthrotype in https://github.com/fonttools/ufoLib2/pull/283
* Reverted "Bring guideline invariants up to spec" PR https://github.com/fonttools/ufoLib2/pull/276

**Full Changelog**: https://github.com/fonttools/ufoLib2/compare/v0.15.0...v0.16.0

0.15.0

What's Changed
* raise appropriate error when extras not installed by anthrotype in https://github.com/fonttools/ufoLib2/pull/246
* Bring guideline invariants up to spec by madig in https://github.com/fonttools/ufoLib2/pull/276


**Full Changelog**: https://github.com/fonttools/ufoLib2/compare/v0.14.0...v0.15.0

0.14.0

What's Changed
- Made lazily loaded ufoLib2.Font objects pickleable by automatically un-lazifying them in custom `__getstate__` method (e0f3d6af).
- 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**: https://github.com/fonttools/ufoLib2/compare/v0.13.1...v0.14.0

0.13.1

Hotfix release to support [cattrs v1.10.0](https://github.com/python-attrs/cattrs/blob/main/HISTORY.rst#1100-2022-01-04) and set it as the minimum required version. It changed the name of a "omit if default" parameter that is relevant for our converters.

What's Changed
* Scheduled weekly dependency update for week 06 by pyup-bot in https://github.com/fonttools/ufoLib2/pull/200


**Full Changelog**: https://github.com/fonttools/ufoLib2/compare/v0.13.0...v0.13.1

0.13.0

What's Changed
- Added ``ufoLib2.converters`` module which uses ``cattrs`` to unstructure/structure ufoLib2 objects to/from raw python objects (dict, list, str, etc.) for (de)serializing them using any compatible formats (e.g. JSON, Yaml, Toml, MsgPack, etc.).
The feature is optional: you need to install ufoLib with the 'converters' extra requirement (i.e. ``ufoLib[converters]``) which will automatically install ``cattrs`` dependency. Its API for now is experimental and may change in the future.
See the ``tests/test_converters.py`` for examples of how to use it (181).
- **ufoLib2.objects.info**: added support for the WOFF metadata fields (19, 181).

**Full Changelog**: https://github.com/fonttools/ufoLib2/compare/v0.12.1...v0.13.0

0.12.1

What's Changed

* Internal changes only, housekeeping by madig in https://github.com/fonttools/ufoLib2/pull/179

**Full Changelog**: https://github.com/fonttools/ufoLib2/compare/v0.12.0...v0.12.1

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.