v2.3.1
Version 2.3.1
Changed 1
- ParsedLine.value is now a list of lines
Fixed 2
- Parsing values with many continuation lines is now linear instead of quadratic in time
- A leading UTF-8 BOM is now stripped when reading INI files
From iniconfig
Fixes
- Parsing values with many continuation lines is now linear instead of quadratic in time (#78, regarding #77).
- A leading UTF-8 BOM is now stripped when reading INI files. Files saved by Windows editors used to fail with
ParseError(#76, thanks @Pitchfork-and-Torch).
Internal
iniconfig._parse.ParsedLine.valueis now a list of lines. This is private API.
Docs
- The README example now uses
IniConfig.parse()(#79, thanks @MbappeWU). - Fixed the issue tracker link (#74, thanks @stefan6419846).
Full diff: https://github.com/pytest-dev/iniconfig/compare/v2.3.0...v2.3.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pytest-dev/iniconfig/pull/71
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pytest-dev/iniconfig/pull/72
- Fix link to issues by @stefan6419846 in https://github.com/pytest-dev/iniconfig/pull/74
- parse_lines: keep values as list of lines, join once by @RonnyPfannschmidt in https://github.com/pytest-dev/iniconfig/pull/78
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in https://github.com/pytest-dev/iniconfig/pull/73
- test: expect sorted all after ruff autofix by @RonnyPfannschmidt in https://github.com/pytest-dev/iniconfig/pull/80
- docs: use parse API in the README example by @MbappeWU in https://github.com/pytest-dev/iniconfig/pull/79
- Strip leading UTF-8 BOM when reading INI files by @Pitchfork-and-Torch in https://github.com/pytest-dev/iniconfig/pull/76
- changelog: add BOM stripping (#76) to 2.3.1 by @RonnyPfannschmidt in https://github.com/pytest-dev/iniconfig/pull/81
New Contributors
- @stefan6419846 made their first contribution in https://github.com/pytest-dev/iniconfig/pull/74
- @MbappeWU made their first contribution in https://github.com/pytest-dev/iniconfig/pull/79
- @Pitchfork-and-Torch made their first contribution in https://github.com/pytest-dev/iniconfig/pull/76
Full Changelog: https://github.com/pytest-dev/iniconfig/compare/v2.3.0...v2.3.1