Skip to content

Commit

Permalink
v0.5.0 — Error on invalid \uXXXX escapes
Browse files Browse the repository at this point in the history
- **Breaking**: Invalid `\uXXXX` escape sequences now cause an `InvalidUEscapeError` to be raised
- `Properties` instances can now compare equal to `dict`s and other mapping types
- Gave `Properties` a `copy` method
- Drop support for Python 2.6 and 3.3
- Fixed a `DeprecationWarning` in Python 3.7
  • Loading branch information
jwodder committed Sep 18, 2018
1 parent 1f94f7f commit 3f1d9cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
v0.5.0 (in development)
-----------------------
v0.5.0 (2018-09-18)
-------------------
- **Breaking**: Invalid `\uXXXX` escape sequences now cause an
`InvalidUEscapeError` to be raised
- `Properties` instances can now compare equal to `dict`s and other mapping
types
- Gave `Properties` a `copy` method
- Drop support for Python 2.6 and 3.3
- Fixed a `DeprecationWarning` in Python 3.7

v0.4.0 (2017-04-22)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Handle "narrow" Python builds (only for Python versions < 3.3)
- Try to include the line number (and column number and filename?) in
`InvalidUEscapeError`s
- Update `Properties` to match Java 9: <https://docs.oracle.com/javase/9/docs/api/java/util/Properties.html>
- Update `Properties` to match Java 10: <https://docs.oracle.com/javase/10/docs/api/java/util/Properties.html>

New Features
------------
Expand Down
2 changes: 1 addition & 1 deletion javaproperties/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
to_comment
from .xmlprops import load_xml, loads_xml, dump_xml, dumps_xml

__version__ = '0.5.0.dev1'
__version__ = '0.5.0'
__author__ = 'John Thorvald Wodder II'
__author_email__ = '[email protected]'
__license__ = 'MIT'
Expand Down

0 comments on commit 3f1d9cf

Please sign in to comment.