Skip to content

Releases: fonttools/openstep-plist

v0.4.0

18 Oct 15:57
v0.4.0
61dc6ac
Compare
Choose a tag to compare
  • Added escape_newlines=True option to dump/dumps function, and --no-escape-newlines flag to CLI (#24, #25).
  • [ci] Build wheels for Python 3.13.

v0.3.1

08 Sep 11:58
v0.3.1
c9acd40
Compare
Choose a tag to compare
  • Dropped support for Python 3.7, added support for Python 3.12.
  • Removed use of deprecated Py_UNICODE APIs.
  • Also build wheels for Linux 64-bit ARM architecture (manylinux-aarch64)
  • __main__: add options for indent level, pager and json output

v0.3.0.post1

16 Nov 15:35
v0.3.0.post1
fe887b0
Compare
Choose a tag to compare
  • Build wheels for Python 3.11 and universal2 wheels for macOS with Apple Silicon. No code changes.

v0.3.0

29 Sep 15:30
Compare
Choose a tag to compare

Replace use of array.array with C++ vector to make it work on pypy3 (#12)
Added wheels for CPython 3.10 and for PyPy 3.7.

v0.2.2.post1

05 Aug 14:46
56a7f6c
Compare
Choose a tag to compare

Add CPython 3.8 and 3.9 wheels, drop 2.7.

v0.2.2

01 Oct 19:20
v0.2.2
f950375
Compare
Choose a tag to compare

Write strings quoted if they can be confused with an integer or a float, or if they contain any characters that is not in the following set:

$.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz

v0.2.1

01 Oct 12:25
v0.2.1
95b46cb
Compare
Choose a tag to compare

Reverted the default value of use_numbers to False in the parser's load and loads functions. So by default the parser will treat any plist string whether quoted or unquoted as a Python unicode string.

Set it to True to enable the feature whereby unquoted plist strings are attempted to be converted to Python int or float.

v0.2.0

30 Sep 13:52
v0.2.0
d26e5b7
Compare
Choose a tag to compare

Implemeted an OpenStep plist writer. Added two new public functions dump and dumps: one writes to a file object, the other returns a unicode string.

The parser now attempts to cast unquoted plist strings to Python int or float, unless use_numbers=False is disabled.

v0.1.0

21 Sep 18:36
0.1.0
a2963e1
Compare
Choose a tag to compare

Initial release. The only two public functions exported are loads and load: one reads from a string, the other from a file object.
They parse the plist into a Python dict, list, unicode string, bytes (for binary data) or any combination of them.
A custom dict_type can also be defined (e.g. OrderedDict).