javaproperties
- Include changelog in the Read the Docs site
- Support Python 3.8
- When dumping a value that begins with more than one space, only escape the first space in order to better match Java's behavior
- Gave dump(), dumps(), escape(), and join_key_value() an
ensure_ascii
parameter for optionally not escaping non-ASCII characters in output - Gave dump() and dumps() an
ensure_ascii_comments
parameter for controlling what characters in thecomments
parameter are escaped - Gave to_comment() an
ensure_ascii
parameter for controlling what characters are escaped - Added a custom encoding error handler
'javapropertiesreplace'
that encodes invalid characters as\uXXXX
escape sequences
- Added an example of each format to the format descriptions in the docs
- Fix building in non-UTF-8 environments
- Bugfix: java_timestamp() now properly handles naïve ~datetime.datetime objects with
fold=1
- Include installation instructions, examples, and GitHub links in the Read the Docs site
- Breaking: Invalid
\uXXXX
escape sequences now cause an InvalidUEscapeError to be raised - Properties instances can now compare equal to dicts 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
- Split off the command-line programs into a separate package,
javaproperties-cli
_
- Added the PropertiesFile class for preserving comments in files [#1]
- The
ordereddict
package is now required under Python 2.6
- Bugfix to
javaproperties
command: Don't die horribly on missing non-ASCII keys - PyPy now supported
- Added a
javaproperties
command for basic command-line manipulating of.properties
files - Gave
json2properties
a--separator
option - Gave
json2properties
andproperties2json
--encoding
options - Exported the java_timestamp() function
- to_comment() now converts CR LF and CR line endings inside comments to LF
- Some minor documentation improvements
Initial release