Releases: drivendataorg/cloudpathlib
Releases · drivendataorg/cloudpathlib
v0.18.1
v0.18.0 (yanked)
- Implement sliced downloads in GSClient. (Issue #387, PR #389)
- Implement
as_url
with presigned parameter for all backends. (Issue #235, PR #236) - Stream to and from Azure Blob Storage. (PR #403)
- Implement
file:
URI scheme support forAnyPath
. (Issue #401, PR #404)
Note: This version was yanked due to incompatibility with google-cloud-storage <2.7.0 that causes an import error.
v0.17.0
v0.16.0
- Add "CloudPath" as return type on
__init__
for mypy issues. (Issue #179, PR #342) - Add
with_stem
to all path types when python version supports it (>=3.9). (Issue #287, PR #290, thanks to @Gilthans) - Add
newline
parameter to thewrite_text
method to align topathlib
functionality as of Python 3.10. PR #362, thanks to @pricemg. - Add support for Python 3.12 (PR #364)
- Add
CLOUDPATHLIB_LOCAL_CACHE_DIR
env var for setting local_cache_dir default for clients (Issue #352, PR #357) - Add
CONTRIBUTING.md
instructions for contributors (Issue #213, PR #367)
v0.15.1
v0.15.0
- Changed return type for
CloudPathMeta.__call__
to fix problems with pyright/pylance (PR #330) - Make
CloudPath.is_valid_cloudpath
a TypeGuard so that type checkers can know the subclass ifis_valid_cloudpath
is called (PR #337) - Added
follow_symlinks
tostat
for 3.11.4 compatibility (see bpo 39906) - Add
follow_symlinks
tois_dir
implementation for CPythonglob
compatibility (see CPython PR #104512)
v0.14.0
- Changed to pyproject.toml-based build.
- Changed type hints from custom type variable
DerivedCloudPath
totyping.Self
(PEP 673). This adds a dependency on the typing-extensions backport package from Python versions lower than 3.11. - Fixed a runtime key error when an S3 object does not have the
Content-Type
metadata set. (Issue #331, PR #332)
v0.13.0
v0.12.1
v0.12.0
- API Change:
S3Client
supports anextra_args
kwarg now to pass extra args down toboto3
functions; this enables Requester Pays bucket access and bucket encryption. (Issues #254, #180; PR #307) - Speed up glob! (Issue #274, PR #304)
- Ability to list buckets/containers a user has access to. (Issue #48, PR #307)
- Remove overly specific status check and assert in production code on remove. (Issue #212, PR #307)
- Update docs, including accessing public buckets. (Issue #271, PR #307)