@@ -172,13 +172,60 @@ Change History
172
172
==============
173
173
174
174
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
+
175
222
0.10.1 (2022-09-02)
176
223
-------------------
177
224
178
225
Bug fixes:
179
226
180
227
- 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.
182
229
- `Issue #61 `_: Dist failure for Fedora, CentOS, EPEL.
183
230
- `Issue #62 `_: Since version 0.10.0 pure wildcard does not work in some cases.
184
231
@@ -187,7 +234,7 @@ Improvements:
187
234
- Restore support for legacy installations using `setup.py `. See `Issue #61 `_.
188
235
189
236
190
- .. _`Issue #60` : https://github.com/cpburnz/python-pathspec/pull/60
237
+ .. _`Pull #60` : https://github.com/cpburnz/python-pathspec/pull/60
191
238
.. _`Issue #61` : https://github.com/cpburnz/python-pathspec/issues/61
192
239
.. _`Issue #62` : https://github.com/cpburnz/python-pathspec/issues/62
193
240
@@ -221,11 +268,11 @@ Bug fixes:
221
268
222
269
- `Issue #19 `_: Files inside an ignored sub-directory are not matched.
223
270
- `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.
225
272
- `Issue #53 `_: Symlink pathspec_meta.py breaks Windows.
226
273
- `Issue #54 `_: test_util.py uses os.symlink which can fail on Windows.
227
274
- `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
229
276
- `Issue #57 `_: `! ` doesn't exclude files in directories if the pattern doesn't have a trailing slash.
230
277
231
278
Improvements:
@@ -243,36 +290,36 @@ Improvements:
243
290
.. _`Issue #35` : https://github.com/cpburnz/python-pathspec/issues/35
244
291
.. _`Issue #41` : https://github.com/cpburnz/python-pathspec/issues/41
245
292
.. _`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
247
294
.. _`Issue #52` : https://github.com/cpburnz/python-pathspec/issues/52
248
295
.. _`Issue #53` : https://github.com/cpburnz/python-pathspec/issues/53
249
296
.. _`Issue #54` : https://github.com/cpburnz/python-pathspec/issues/54
250
297
.. _`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
252
299
.. _`Issue #57` : https://github.com/cpburnz/python-pathspec/issues/57
253
300
254
301
255
302
0.9.0 (2021-07-17)
256
303
------------------
257
304
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.
260
307
- `Issue #46 `_: Fix matching absolute paths.
261
308
- API change: `util.normalize_files() ` now returns a `Dict[str, List[pathlike]] ` instead of a `Dict[str, pathlike] `.
262
309
- Added type hinting.
263
310
264
311
.. _`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
266
313
.. _`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
268
315
269
316
270
317
0.8.1 (2020-11-07)
271
318
------------------
272
319
273
- - `Issue #43 `_: Add support for addition operator.
320
+ - `Pull #43 `_: Add support for addition operator.
274
321
275
- .. _`Issue #43` : https://github.com/cpburnz/python-pathspec/pull/43
322
+ .. _`Pull #43` : https://github.com/cpburnz/python-pathspec/pull/43
276
323
277
324
278
325
0.8.0 (2020-04-09)
@@ -293,23 +340,23 @@ Improvements:
293
340
0.7.0 (2019-12-27)
294
341
------------------
295
342
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.
298
345
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
301
348
302
349
303
350
0.6.0 (2019-10-03)
304
351
------------------
305
352
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.
309
356
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
313
360
314
361
315
362
0.5.9 (2018-09-15)
@@ -356,21 +403,21 @@ Improvements:
356
403
0.5.4 (2017-09-09)
357
404
------------------
358
405
359
- - `Issue #17 `_: Add link to Ruby implementation of *pathspec *.
406
+ - `Pull #17 `_: Add link to Ruby implementation of *pathspec *.
360
407
- Add sphinx documentation.
361
408
362
- .. _`Issue #17` : https://github.com/cpburnz/python-pathspec/pull/17
409
+ .. _`Pull #17` : https://github.com/cpburnz/python-pathspec/pull/17
363
410
364
411
365
412
0.5.3 (2017-07-01)
366
413
------------------
367
414
368
415
- `Issue #14 `_: Fix byte strings for Python 3.
369
- - `Issue #15 `_: Include "LICENSE" in source package.
416
+ - `Pull #15 `_: Include "LICENSE" in source package.
370
417
- `Issue #16 `_: Support Python 2.6.
371
418
372
419
.. _`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
374
421
.. _`Issue #16` : https://github.com/cpburnz/python-pathspec/issues/16
375
422
376
423
@@ -383,9 +430,9 @@ Improvements:
383
430
0.5.1 (2017-04-04)
384
431
------------------
385
432
386
- - `Issue #13 `_: Add equality methods to `PathSpec ` and `RegexPattern `.
433
+ - `Pull #13 `_: Add equality methods to `PathSpec ` and `RegexPattern `.
387
434
388
- .. _`Issue #13` : https://github.com/cpburnz/python-pathspec/pull/13
435
+ .. _`Pull #13` : https://github.com/cpburnz/python-pathspec/pull/13
389
436
390
437
391
438
0.5.0 (2016-08-22)
@@ -410,15 +457,15 @@ Improvements:
410
457
0.3.4 (2015-08-24)
411
458
------------------
412
459
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.
416
463
- Fixed recursion detection.
417
464
- Fixed trivial incompatibility with Python 3.2.
418
465
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
422
469
423
470
424
471
0.3.3 (2014-11-21)
@@ -430,12 +477,12 @@ Improvements:
430
477
0.3.2 (2014-11-08)
431
478
------------------
432
479
433
- - `Issue #5 `_: Use tox for testing.
480
+ - `Pull #5 `_: Use tox for testing.
434
481
- `Issue #6 `_: Fixed matching Windows paths.
435
482
- Improved documentation.
436
483
- API change: `spec.match_tree() ` and `spec.match_files() ` now return iterators instead of sets.
437
484
438
- .. _`Issue #5` : https://github.com/cpburnz/python-pathspec/pull/5
485
+ .. _`Pull #5` : https://github.com/cpburnz/python-pathspec/pull/5
439
486
.. _`Issue #6` : https://github.com/cpburnz/python-pathspec/issues/6
440
487
441
488
@@ -448,12 +495,12 @@ Improvements:
448
495
0.3.0 (2014-09-17)
449
496
------------------
450
497
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.
453
500
- Added registered patterns.
454
501
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
457
504
458
505
459
506
0.2.2 (2013-12-17)
0 commit comments