Configupdater

Latest version: v3.2

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

Scan your dependencies

Page 1 of 3

3.2

===========

- Option ``prepend_newline`` in ``set_values`` to optionally avoid new lines, issue 104
- Fix square brackets not parsed in section names, issue 122

3.1.1

=============

- Preserve indentation of section when there are comments, issue 92

3.1

===========

- Prevent modifying multi-line values directly with ``value``, issue 87
- Added ``append`` method to ``Option`` for editing multi-line values
- Added ``as_list`` method to ``Option`` to handle multi-line values more easily

3.0.1

=============

- Fix error when parsing unindented comments in multi-line values, issue 73
- Fix invalid string produced when ``allow_no_value = False``, issue 68

3.0

===========

- Added type hinting, issue 16
- Fix parsing error of indented comment lines, issue 25
- Allow handling of raw section comment, issue 25
- More unit testing of optionxform, issue 55
- Allowing sections/options to be copied from one document to the other, issue 47
- New logo, issue 29
- Whole API was rechecked by abravalheri and changed for consistency, issue 19

2.0

===========

- Changes in parser, i.e. comments in multi-line option values are kept
- Issue 14 is fixed
- Parameter ``empty_lines_in_values`` is now activated by default and can be changed
- Renamed ``sections_blocks`` to ``section_blocks`` for consistency
- Renamed ``last_item`` to ``last_block`` for consistency
- Added ``first_block``
- Reworked some internal parts of the inheritance hierarchy
- Added ``remove`` to remove the current block
- Added ``next_block`` and ``previous_block`` for easier navigation in section

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.