Skip to content

Commit

Permalink
Release v0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cpburnz committed Dec 10, 2023
1 parent 81368ad commit 6485791
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Change History
==============


0.12.1 (TBD)
0.12.1 (2023-12-10)
-------------------

- Bug fixes:
Expand Down
14 changes: 13 additions & 1 deletion README-dist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,18 @@ a `Ruby gem`_.
Change History
==============


0.12.1 (2023-12-10)
-------------------

- Bug fixes:

- `Issue #84`_: PathSpec.match_file() returns None since 0.12.0.


.. _`Issue #84`: https://github.com/cpburnz/python-pathspec/issues/84


0.12.0 (2023-12-09)
-------------------

Expand All @@ -179,7 +191,7 @@ Major changes:

API changes:

- 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]]`.
- 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]]`.

New features:

Expand Down
2 changes: 1 addition & 1 deletion pathspec/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
"kurtmckee <https://github.com/kurtmckee>",
]
__license__ = "MPL 2.0"
__version__ = "0.12.1.dev1"
__version__ = "0.12.1"

0 comments on commit 6485791

Please sign in to comment.