Javaproperties

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 2

0.7.0

-------------------
- `parse()` now accepts strings as input
- **Breaking**: `parse()` now returns a generator of custom objects instead of
triples of strings
- Gave `PropertiesFile` a settable `timestamp` property
- Gave `PropertiesFile` a settable `header_comment` property
- Handle unescaping surrogate pairs on narrow Python builds

0.6.0

-------------------
- Require `javaproperties` 0.6.\*
- Use `'javapropertiesreplace'` error handler when opening output files
- Gave `javaproperties`' `format`, `select`, and `set` subcommands `--ascii`
and `--unicode` options for controlling the escaping of non-ASCII characters
in output
- Gave `properties2json` and `json2properties` `--ascii` and `--unicode`
options for controlling the escaping of non-ASCII characters in output
- `properties2json` now always outputs UTF-8
- By default, comments output by `json2properties` now have all non-ASCII
characters escaped rather than all non-Latin-1 characters

0.5.2

-------------------
- Added an example of each format to the format descriptions in the docs
- Fix building in non-UTF-8 environments

0.5.1

-------------------
- **Bugfix**: `java_timestamp()` now properly handles naïve `datetime` objects
with `fold=1`
- Include installation instructions, examples, and GitHub links in the Read the
Docs site

0.5.0

-------------------
- Include installation instructions, GitHub links, and changelog in the Read
the Docs site
- Gave `json2properties` a `--comment <comment>` option
- Support Python 3.8

0.4.1

-------------------
- Drop support for Python 2.6 and 3.3
- Support `javaproperties` 0.5.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.