Skip to content

Commit 6485791

Browse files
committed
Release v0.12.1
1 parent 81368ad commit 6485791

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Change History
33
==============
44

55

6-
0.12.1 (TBD)
6+
0.12.1 (2023-12-10)
77
-------------------
88

99
- Bug fixes:

README-dist.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,18 @@ a `Ruby gem`_.
169169
Change History
170170
==============
171171

172+
173+
0.12.1 (2023-12-10)
174+
-------------------
175+
176+
- Bug fixes:
177+
178+
- `Issue #84`_: PathSpec.match_file() returns None since 0.12.0.
179+
180+
181+
.. _`Issue #84`: https://github.com/cpburnz/python-pathspec/issues/84
182+
183+
172184
0.12.0 (2023-12-09)
173185
-------------------
174186

@@ -179,7 +191,7 @@ Major changes:
179191

180192
API changes:
181193

182-
- Signature of protected method `pathspec.pathspec.PathSpec._match_file()` has been changed from `def _match_file(patterns: Iterable[Pattern], file: str) -> bool` to `def _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]]`.
194+
- Signature of protected method `pathspec.pathspec.PathSpec._match_file()` (with a leading underscore) has been changed from `def _match_file(patterns: Iterable[Pattern], file: str) -> bool` to `def _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]]`.
183195

184196
New features:
185197

pathspec/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@
5555
"kurtmckee <https://github.com/kurtmckee>",
5656
]
5757
__license__ = "MPL 2.0"
58-
__version__ = "0.12.1.dev1"
58+
__version__ = "0.12.1"

0 commit comments

Comments
 (0)