Releases: drivendataorg/cloudpathlib
Releases · drivendataorg/cloudpathlib
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)
v0.11.0
- API change: Add
ignore
parameter toCloudPath.copytree
in order to matchshutil
API. (Issue #145, PR #272) - Use the V2 version for listing objects
list_objects_v2
inS3Client
. (Issue #155, PR #302) - Add abilty to use
.exists
to check for a raw bucket/container (no additional path components). (Issue #291, PR #302) - Prevent data loss when renaming by skipping files that would be renamed to the same thing. (Issue #277, PR #278)
- Speed up common
glob
/rglob
patterns. (Issue #274, PR #276)
v0.10.0
- API change: Make
stat
on base class method instead of property to followpathlib
(Issue #234, PR #250) - Fixed "S3Path.exists() returns True on partial matches." (Issue #208, PR #244)
- Make
AnyPath
subclass ofAnyPath
(Issue #246, PR #251) - Skip docstrings if not present to avoid failing under
-00
(Issue #238, PR #249) - Add
py.typed
file so mypy runs (Issue #243, PR #248)
v0.9.0
- Added
absolute
toCloudPath
(does nothing asCloudPath
is always absolute) (PR #230) - Added
resolve
toCloudPath
(does nothing asCloudPath
is resolved in advance) (Issue #151, PR #230) - Added
relative_to
toCloudPath
which returns aPurePosixPath
(Issue #149, PR #230) - Added
is_relative_to
toCloudPath
(Issue #149, PR #230) - Added
is_absolute
toCloudPath
(always true asCloudPath
is always absolute) (PR #230) - Accept and delegate
read_text
parameters to cached file (PR #230) - Added
exist_ok
parameter totouch
(PR #230) - Added
missing_ok
parameter tounlink
, which defaults to True. This diverges from pathlib to maintain backward compatibility (PR #230) - Fixed missing root object entries in documentation's Intersphinx inventory (Issue #211, PR #237)
v0.8.0
- Fixed pickling of
CloudPath
objects not working. (Issue #223, PR #224) - Added functionality to push the MIME (media) type to the content type property on cloud providers by default. (Issue #222, PR #226)
v0.7.1
v0.7.0
- Fixed
glob
andrglob
functions by using pathlib's globbing logic rather than fnmatch. (Issue #154) - Fixed
iterdir
to not include self. (Issue #15) - Fixed error when calling
suffix
andsuffixes
on a cloud path with no suffix. (Issue #120) - Changed
parents
return type from list to tuple, to better match pathlib's tuple-like_PathParents
return type. - Remove support for Python 3.6. Issue #186
v0.6.5
- Fixed error when "directories" created on AWS S3 were reported as files. (Issue #148, PR #190)
- Fixed bug where GCE machines can instantiate default client, but we don't attempt it. (Issue #191)
- Support
AWS_ENDPOINT_URL
environment variable to set theendpoint_url
forS3Client
. (PR #193)