Skip to content

Commit 8a7c8fc

Browse files
committed
Release v0.10.3
1 parent 5cd8392 commit 8a7c8fc

File tree

3 files changed

+100
-45
lines changed

3 files changed

+100
-45
lines changed

CHANGES.rst

+11-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,23 @@ Change History
33
==============
44

55

6-
0.10.3 (TDB)
7-
------------
6+
0.10.3 (2022-12-09)
7+
-------------------
88

9-
Improvements:
9+
New features:
10+
11+
- Added utility function `pathspec.util.append_dir_sep()` to aid in distinguishing between directories and files on the file-system. See `Issue #65`_.
12+
13+
Bug fixes:
1014

11-
- `Issue #65`_: Checking directories via match_file() does not work on Path objects.
1215
- `Issue #66`_/`Pull #67`_: Package not marked as py.typed.
1316
- `Issue #68`_: Exports are considered private.
1417
- `Issue #70`_/`Pull #71`_: 'Self' string literal type is Unknown in pyright.
1518

19+
Improvements:
20+
21+
- `Issue #65`_: Checking directories via match_file() does not work on Path objects.
22+
1623

1724
.. _`Issue #65`: https://github.com/cpburnz/python-pathspec/issues/65
1825
.. _`Issue #66`: https://github.com/cpburnz/python-pathspec/issues/66

README-dist.rst

+87-40
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,60 @@ Change History
172172
==============
173173

174174

175+
0.10.3 (2022-12-09)
176+
-------------------
177+
178+
New features:
179+
180+
- Added utility function `pathspec.util.append_dir_sep()` to aid in distinguishing between directories and files on the file-system. See `Issue #65`_.
181+
182+
Bug fixes:
183+
184+
- `Issue #66`_/`Pull #67`_: Package not marked as py.typed.
185+
- `Issue #68`_: Exports are considered private.
186+
- `Issue #70`_/`Pull #71`_: 'Self' string literal type is Unknown in pyright.
187+
188+
Improvements:
189+
190+
- `Issue #65`_: Checking directories via match_file() does not work on Path objects.
191+
192+
193+
.. _`Issue #65`: https://github.com/cpburnz/python-pathspec/issues/65
194+
.. _`Issue #66`: https://github.com/cpburnz/python-pathspec/issues/66
195+
.. _`Pull #67`: https://github.com/cpburnz/python-pathspec/pull/67
196+
.. _`Issue #68`: https://github.com/cpburnz/python-pathspec/issues/68
197+
.. _`Issue #70`: https://github.com/cpburnz/python-pathspec/issues/70
198+
.. _`Pull #71`: https://github.com/cpburnz/python-pathspec/pull/71
199+
200+
201+
0.10.2 (2022-11-12)
202+
-------------------
203+
204+
Bug fixes:
205+
206+
- Fix failing tests on Windows.
207+
- Type hint on *root* parameter on `pathspec.pathspec.PathSpec.match_tree_entries()`.
208+
- Type hint on *root* parameter on `pathspec.pathspec.PathSpec.match_tree_files()`.
209+
- Type hint on *root* parameter on `pathspec.util.iter_tree_entries()`.
210+
- Type hint on *root* parameter on `pathspec.util.iter_tree_files()`.
211+
- `Issue #64`_: IndexError with my .gitignore file when trying to build a Python package.
212+
213+
Improvements:
214+
215+
- `Pull #58`_: CI: add GitHub Actions test workflow.
216+
217+
218+
.. _`Pull #58`: https://github.com/cpburnz/python-pathspec/pull/58
219+
.. _`Issue #64`: https://github.com/cpburnz/python-pathspec/issues/64
220+
221+
175222
0.10.1 (2022-09-02)
176223
-------------------
177224

178225
Bug fixes:
179226

180227
- Fix documentation on `pathspec.pattern.RegexPattern.match_file()`.
181-
- `Issue #60`_: Remove redundant wheel dep from pyproject.toml.
228+
- `Pull #60`_: Remove redundant wheel dep from pyproject.toml.
182229
- `Issue #61`_: Dist failure for Fedora, CentOS, EPEL.
183230
- `Issue #62`_: Since version 0.10.0 pure wildcard does not work in some cases.
184231

@@ -187,7 +234,7 @@ Improvements:
187234
- Restore support for legacy installations using `setup.py`. See `Issue #61`_.
188235

189236

190-
.. _`Issue #60`: https://github.com/cpburnz/python-pathspec/pull/60
237+
.. _`Pull #60`: https://github.com/cpburnz/python-pathspec/pull/60
191238
.. _`Issue #61`: https://github.com/cpburnz/python-pathspec/issues/61
192239
.. _`Issue #62`: https://github.com/cpburnz/python-pathspec/issues/62
193240

@@ -221,11 +268,11 @@ Bug fixes:
221268

222269
- `Issue #19`_: Files inside an ignored sub-directory are not matched.
223270
- `Issue #41`_: Incorrectly (?) matches files inside directories that do match.
224-
- `Issue #51`_: Refactor deprecated unittest aliases for Python 3.11 compatibility.
271+
- `Pull #51`_: Refactor deprecated unittest aliases for Python 3.11 compatibility.
225272
- `Issue #53`_: Symlink pathspec_meta.py breaks Windows.
226273
- `Issue #54`_: test_util.py uses os.symlink which can fail on Windows.
227274
- `Issue #55`_: Backslashes at start of pattern not handled correctly.
228-
- `Issue #56`_: pyproject.toml: include subpackages in setuptools config
275+
- `Pull #56`_: pyproject.toml: include subpackages in setuptools config
229276
- `Issue #57`_: `!` doesn't exclude files in directories if the pattern doesn't have a trailing slash.
230277

231278
Improvements:
@@ -243,36 +290,36 @@ Improvements:
243290
.. _`Issue #35`: https://github.com/cpburnz/python-pathspec/issues/35
244291
.. _`Issue #41`: https://github.com/cpburnz/python-pathspec/issues/41
245292
.. _`Issue #47`: https://github.com/cpburnz/python-pathspec/issues/47
246-
.. _`Issue #51`: https://github.com/cpburnz/python-pathspec/pull/51
293+
.. _`Pull #51`: https://github.com/cpburnz/python-pathspec/pull/51
247294
.. _`Issue #52`: https://github.com/cpburnz/python-pathspec/issues/52
248295
.. _`Issue #53`: https://github.com/cpburnz/python-pathspec/issues/53
249296
.. _`Issue #54`: https://github.com/cpburnz/python-pathspec/issues/54
250297
.. _`Issue #55`: https://github.com/cpburnz/python-pathspec/issues/55
251-
.. _`Issue #56`: https://github.com/cpburnz/python-pathspec/pull/56
298+
.. _`Pull #56`: https://github.com/cpburnz/python-pathspec/pull/56
252299
.. _`Issue #57`: https://github.com/cpburnz/python-pathspec/issues/57
253300

254301

255302
0.9.0 (2021-07-17)
256303
------------------
257304

258-
- `Issue #44`_/`Issue #50`_: Raise `GitWildMatchPatternError` for invalid git patterns.
259-
- `Issue #45`_: Fix for duplicate leading double-asterisk, and edge cases.
305+
- `Issue #44`_/`Pull #50`_: Raise `GitWildMatchPatternError` for invalid git patterns.
306+
- `Pull #45`_: Fix for duplicate leading double-asterisk, and edge cases.
260307
- `Issue #46`_: Fix matching absolute paths.
261308
- API change: `util.normalize_files()` now returns a `Dict[str, List[pathlike]]` instead of a `Dict[str, pathlike]`.
262309
- Added type hinting.
263310

264311
.. _`Issue #44`: https://github.com/cpburnz/python-pathspec/issues/44
265-
.. _`Issue #45`: https://github.com/cpburnz/python-pathspec/pull/45
312+
.. _`Pull #45`: https://github.com/cpburnz/python-pathspec/pull/45
266313
.. _`Issue #46`: https://github.com/cpburnz/python-pathspec/issues/46
267-
.. _`Issue #50`: https://github.com/cpburnz/python-pathspec/pull/50
314+
.. _`Pull #50`: https://github.com/cpburnz/python-pathspec/pull/50
268315

269316

270317
0.8.1 (2020-11-07)
271318
------------------
272319

273-
- `Issue #43`_: Add support for addition operator.
320+
- `Pull #43`_: Add support for addition operator.
274321

275-
.. _`Issue #43`: https://github.com/cpburnz/python-pathspec/pull/43
322+
.. _`Pull #43`: https://github.com/cpburnz/python-pathspec/pull/43
276323

277324

278325
0.8.0 (2020-04-09)
@@ -293,23 +340,23 @@ Improvements:
293340
0.7.0 (2019-12-27)
294341
------------------
295342

296-
- `Issue #28`_: Add support for Python 3.8, and drop Python 3.4.
297-
- `Issue #29`_: Publish bdist wheel.
343+
- `Pull #28`_: Add support for Python 3.8, and drop Python 3.4.
344+
- `Pull #29`_: Publish bdist wheel.
298345

299-
.. _`Issue #28`: https://github.com/cpburnz/python-pathspec/pull/28
300-
.. _`Issue #29`: https://github.com/cpburnz/python-pathspec/pull/29
346+
.. _`Pull #28`: https://github.com/cpburnz/python-pathspec/pull/28
347+
.. _`Pull #29`: https://github.com/cpburnz/python-pathspec/pull/29
301348

302349

303350
0.6.0 (2019-10-03)
304351
------------------
305352

306-
- `Issue #24`_: Drop support for Python 2.6, 3.2, and 3.3.
307-
- `Issue #25`_: Update README.rst.
308-
- `Issue #26`_: Method to escape gitwildmatch.
353+
- `Pull #24`_: Drop support for Python 2.6, 3.2, and 3.3.
354+
- `Pull #25`_: Update README.rst.
355+
- `Pull #26`_: Method to escape gitwildmatch.
309356

310-
.. _`Issue #24`: https://github.com/cpburnz/python-pathspec/pull/24
311-
.. _`Issue #25`: https://github.com/cpburnz/python-pathspec/pull/25
312-
.. _`Issue #26`: https://github.com/cpburnz/python-pathspec/pull/26
357+
.. _`Pull #24`: https://github.com/cpburnz/python-pathspec/pull/24
358+
.. _`Pull #25`: https://github.com/cpburnz/python-pathspec/pull/25
359+
.. _`Pull #26`: https://github.com/cpburnz/python-pathspec/pull/26
313360

314361

315362
0.5.9 (2018-09-15)
@@ -356,21 +403,21 @@ Improvements:
356403
0.5.4 (2017-09-09)
357404
------------------
358405

359-
- `Issue #17`_: Add link to Ruby implementation of *pathspec*.
406+
- `Pull #17`_: Add link to Ruby implementation of *pathspec*.
360407
- Add sphinx documentation.
361408

362-
.. _`Issue #17`: https://github.com/cpburnz/python-pathspec/pull/17
409+
.. _`Pull #17`: https://github.com/cpburnz/python-pathspec/pull/17
363410

364411

365412
0.5.3 (2017-07-01)
366413
------------------
367414

368415
- `Issue #14`_: Fix byte strings for Python 3.
369-
- `Issue #15`_: Include "LICENSE" in source package.
416+
- `Pull #15`_: Include "LICENSE" in source package.
370417
- `Issue #16`_: Support Python 2.6.
371418

372419
.. _`Issue #14`: https://github.com/cpburnz/python-pathspec/issues/14
373-
.. _`Issue #15`: https://github.com/cpburnz/python-pathspec/pull/15
420+
.. _`Pull #15`: https://github.com/cpburnz/python-pathspec/pull/15
374421
.. _`Issue #16`: https://github.com/cpburnz/python-pathspec/issues/16
375422

376423

@@ -383,9 +430,9 @@ Improvements:
383430
0.5.1 (2017-04-04)
384431
------------------
385432

386-
- `Issue #13`_: Add equality methods to `PathSpec` and `RegexPattern`.
433+
- `Pull #13`_: Add equality methods to `PathSpec` and `RegexPattern`.
387434

388-
.. _`Issue #13`: https://github.com/cpburnz/python-pathspec/pull/13
435+
.. _`Pull #13`: https://github.com/cpburnz/python-pathspec/pull/13
389436

390437

391438
0.5.0 (2016-08-22)
@@ -410,15 +457,15 @@ Improvements:
410457
0.3.4 (2015-08-24)
411458
------------------
412459

413-
- `Issue #7`_: Fixed non-recursive links.
414-
- `Issue #8`_: Fixed edge cases in gitignore patterns.
415-
- `Issue #9`_: Fixed minor usage documentation.
460+
- `Pull #7`_: Fixed non-recursive links.
461+
- `Pull #8`_: Fixed edge cases in gitignore patterns.
462+
- `Pull #9`_: Fixed minor usage documentation.
416463
- Fixed recursion detection.
417464
- Fixed trivial incompatibility with Python 3.2.
418465

419-
.. _`Issue #7`: https://github.com/cpburnz/python-pathspec/pull/7
420-
.. _`Issue #8`: https://github.com/cpburnz/python-pathspec/pull/8
421-
.. _`Issue #9`: https://github.com/cpburnz/python-pathspec/pull/9
466+
.. _`Pull #7`: https://github.com/cpburnz/python-pathspec/pull/7
467+
.. _`Pull #8`: https://github.com/cpburnz/python-pathspec/pull/8
468+
.. _`Pull #9`: https://github.com/cpburnz/python-pathspec/pull/9
422469

423470

424471
0.3.3 (2014-11-21)
@@ -430,12 +477,12 @@ Improvements:
430477
0.3.2 (2014-11-08)
431478
------------------
432479

433-
- `Issue #5`_: Use tox for testing.
480+
- `Pull #5`_: Use tox for testing.
434481
- `Issue #6`_: Fixed matching Windows paths.
435482
- Improved documentation.
436483
- API change: `spec.match_tree()` and `spec.match_files()` now return iterators instead of sets.
437484

438-
.. _`Issue #5`: https://github.com/cpburnz/python-pathspec/pull/5
485+
.. _`Pull #5`: https://github.com/cpburnz/python-pathspec/pull/5
439486
.. _`Issue #6`: https://github.com/cpburnz/python-pathspec/issues/6
440487

441488

@@ -448,12 +495,12 @@ Improvements:
448495
0.3.0 (2014-09-17)
449496
------------------
450497

451-
- `Issue #3`_: Fixed trailing slash in gitignore patterns.
452-
- `Issue #4`_: Fixed test for trailing slash in gitignore patterns.
498+
- `Pull #3`_: Fixed trailing slash in gitignore patterns.
499+
- `Pull #4`_: Fixed test for trailing slash in gitignore patterns.
453500
- Added registered patterns.
454501

455-
.. _`Issue #3`: https://github.com/cpburnz/python-pathspec/pull/3
456-
.. _`Issue #4`: https://github.com/cpburnz/python-pathspec/pull/4
502+
.. _`Pull #3`: https://github.com/cpburnz/python-pathspec/pull/3
503+
.. _`Pull #4`: https://github.com/cpburnz/python-pathspec/pull/4
457504

458505

459506
0.2.2 (2013-12-17)

pathspec/_meta.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"bzakdd <https://github.com/bzakdd>",
4949
"haimat <https://github.com/haimat>",
5050
"Avasam <https://github.com/Avasam>",
51+
"yschroeder <https://github.com/yschroeder>",
5152
]
5253
__license__ = "MPL 2.0"
53-
__version__ = "0.10.3.dev1"
54+
__version__ = "0.10.3"

0 commit comments

Comments
 (0)