Skip to content

Commit ecf71a9

Browse files
committed
Release v1.1.1
1 parent 6727491 commit ecf71a9

5 files changed

Lines changed: 40 additions & 6 deletions

File tree

CHANGES.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,34 @@ Change History
22
==============
33

44

5+
1.1.1 (2026-04-26)
6+
------------------
7+
8+
Improvements:
9+
10+
- Improved type checking with mypy and pyright.
11+
12+
Bug fixes:
13+
14+
- Fixed typing on `PathSpec[TPattern]` to `PathSpec[TPattern_co]`.
15+
- Added missing variant type-hint `type[Pattern]` to `PathSpec.from_lines()` parameter `pattern_factory`.
16+
- Fixed possible type error when using `+` and `+=` operators on `PathSpec`.
17+
18+
519
1.1.0 (2026-04-22)
620
------------------
721

22+
New features:
23+
24+
- `Issue #108`_: Specialize pattern type for `PathSpec` as `PathSpec[TPattern]` for better debugging of `PathSpec().patterns`.
25+
826
Bug fixes:
927

1028
- `Issue #93`_: Git discards invalid range notation. `GitIgnoreSpecPattern` now discards patterns with invalid range notation like Git.
1129
- `Pull #106`_: Fix escape() not escaping backslash characters.
1230

1331
Improvements:
1432

15-
- `Issue #108`_: Specialize pattern type for `PathSpec` as `PathSpec[TPattern]` for better debugging of `PathSpec().patterns`.
1633
- `Pull #110`_: Nicer debug print outs (and str for regex pattern).
1734

1835

CHANGES_1.in.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
1.1.1 (TDB)
3-
-----------
2+
1.1.1 (2026-04-26)
3+
------------------
44

55
Improvements:
66

README-dist.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,17 +227,34 @@ Change History
227227
==============
228228

229229

230+
1.1.1 (2026-04-26)
231+
------------------
232+
233+
Improvements:
234+
235+
- Improved type checking with mypy and pyright.
236+
237+
Bug fixes:
238+
239+
- Fixed typing on `PathSpec[TPattern]` to `PathSpec[TPattern_co]`.
240+
- Added missing variant type-hint `type[Pattern]` to `PathSpec.from_lines()` parameter `pattern_factory`.
241+
- Fixed possible type error when using `+` and `+=` operators on `PathSpec`.
242+
243+
230244
1.1.0 (2026-04-22)
231245
------------------
232246

247+
New features:
248+
249+
- `Issue #108`_: Specialize pattern type for `PathSpec` as `PathSpec[TPattern]` for better debugging of `PathSpec().patterns`.
250+
233251
Bug fixes:
234252

235253
- `Issue #93`_: Git discards invalid range notation. `GitIgnoreSpecPattern` now discards patterns with invalid range notation like Git.
236254
- `Pull #106`_: Fix escape() not escaping backslash characters.
237255

238256
Improvements:
239257

240-
- `Issue #108`_: Specialize pattern type for `PathSpec` as `PathSpec[TPattern]` for better debugging of `PathSpec().patterns`.
241258
- `Pull #110`_: Nicer debug print outs (and str for regex pattern).
242259

243260

pathspec/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
This module defines the version.
33
"""
44

5-
__version__ = "1.1.0"
5+
__version__ = "1.1.1"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ license = {text = "MPL 2.0"}
3030
name = "pathspec"
3131
readme = "README-dist.rst"
3232
requires-python = ">=3.9"
33-
version = "1.1.0"
33+
version = "1.1.1"
3434

3535
[project.optional-dependencies]
3636
hyperscan = [

0 commit comments

Comments
 (0)