CHANGES.rst (2005B)
1 v1.2.0 2 ====== 3 4 #44: ``zipp.Path.open()`` now supports a compatible signature 5 as ``pathlib.Path.open()``, accepting text (default) or binary 6 modes and soliciting keyword parameters passed through to 7 ``io.TextIOWrapper`` (encoding, newline, etc). The stream is 8 opened in text-mode by default now. ``open`` no 9 longer accepts ``pwd`` as a positional argument and does not 10 accept the ``force_zip64`` parameter at all. This change is 11 a backward-incompatible change for that single function. 12 13 v1.1.1 14 ====== 15 16 #43: Restored performance of implicit dir computation. 17 18 v1.1.0 19 ====== 20 21 #32: For read-only zip files, complexity of ``.exists`` and 22 ``joinpath`` is now constant time instead of ``O(n)``, preventing 23 quadratic time in common use-cases and rendering large 24 zip files unusable for Path. Big thanks to Benjy Weinberger 25 for the bug report and contributed fix (#33). 26 27 v1.0.0 28 ====== 29 30 Re-release of 0.6 to correspond with release as found in 31 Python 3.8. 32 33 v0.6.0 34 ====== 35 36 #12: When adding implicit dirs, ensure that ancestral directories 37 are added and that duplicates are excluded. 38 39 The library now relies on 40 `more_itertools <https://pypi.org/project/more_itertools>`_. 41 42 v0.5.2 43 ====== 44 45 #7: Parent of a directory now actually returns the parent. 46 47 v0.5.1 48 ====== 49 50 Declared package as backport. 51 52 v0.5.0 53 ====== 54 55 Add ``.joinpath()`` method and ``.parent`` property. 56 57 Now a backport release of the ``zipfile.Path`` class. 58 59 v0.4.0 60 ====== 61 62 #4: Add support for zip files with implied directories. 63 64 v0.3.3 65 ====== 66 67 #3: Fix issue where ``.name`` on a directory was empty. 68 69 v0.3.2 70 ====== 71 72 #2: Fix TypeError on Python 2.7 when classic division is used. 73 74 v0.3.1 75 ====== 76 77 #1: Fix TypeError on Python 3.5 when joining to a path-like object. 78 79 v0.3.0 80 ====== 81 82 Add support for constructing a ``zipp.Path`` from any path-like 83 object. 84 85 ``zipp.Path`` is now a new-style class on Python 2.7. 86 87 v0.2.1 88 ====== 89 90 Fix issue with ``__str__``. 91 92 v0.2.0 93 ====== 94 95 Drop reliance on future-fstrings. 96 97 v0.1.0 98 ====== 99 100 Initial release with basic functionality.