-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathCHANGELOG
More file actions
91 lines (67 loc) · 2.72 KB
/
CHANGELOG
File metadata and controls
91 lines (67 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
2.3.0
=====
* add IniConfig.parse() classmethod with strip_inline_comments parameter (fixes #55)
- by default (strip_inline_comments=True), inline comments are properly stripped from values
- set strip_inline_comments=False to preserve old behavior if needed
* IniConfig() constructor maintains backward compatibility (does not strip inline comments)
* users should migrate to IniConfig.parse() for correct comment handling
* add strip_section_whitespace parameter to IniConfig.parse() (regarding #4)
- opt-in parameter to strip Unicode whitespace from section names
- when True, strips Unicode whitespace (U+00A0, U+2000, U+3000, etc.) from section names
- when False (default), preserves existing behavior for backward compatibility
* clarify Unicode whitespace handling (regarding #4)
- since iniconfig 2.0.0 (Python 3 only), all strings are Unicode by default
- Python 3's str.strip() has handled Unicode whitespace since Python 3.0 (2008)
- iniconfig automatically benefits from this in all supported versions (Python >= 3.10)
- key names and values have Unicode whitespace properly stripped using Python's built-in methods
2.2.0
=====
* drop Python 3.8 and 3.9 support (now requires Python >= 3.10)
* add Python 3.14 classifier
* migrate from hatchling to setuptools 77 with setuptools_scm
* adopt PEP 639 license specifiers and PEP 740 build attestations
* migrate from black + pyupgrade to ruff
* migrate CI to uv and unified test workflow
* automate GitHub releases and PyPI publishing via Trusted Publishing
* include tests in sdist
* modernize code for Python 3.10+ (remove __future__ annotations, TYPE_CHECKING guards)
* rename _ParsedLine to ParsedLine
2.1.0
=====
* fix artifact building - pin minimal version of hatch
* drop eol python 3.8
* add python 3.12 and 3.13
2.0.0
======
* add support for Python 3.7-3.11
* drop support for Python 2.6-3.6
* add encoding argument defaulting to utf-8
* inline and clarify type annotations
* move parsing code from inline to extra file
* add typing overloads for helper methods
.. note::
major release due to the major changes in python versions supported + changes in packaging
the api is expected to be compatible
1.1.1
=====
* fix version determination (thanks @florimondmanca)
1.1.0
=====
- typing stubs (thanks @bluetech)
- ci fixes
1.0.1
=====
pytest 5+ support
1.0
===
- re-sync with pylib codebase
- add support for Python 3.4-3.5
- drop support for Python 2.4-2.5, 3.2
0.2
===
- added ability to ask "name in iniconfig", i.e. to check
if a section is contained.
- fix bug in "name=value" parsing where value was "x=3"
- allow for ': ' to delimit name=value pairs, so that e.g. .pypirc files
like http://docs.python.org/distutils/packageindex.html
can be successfully parsed