Skip to content

Releases: drivendataorg/cloudpathlib

v0.12.1

05 Jan 05:44
caeeb50
Compare
Choose a tag to compare
  • Fix glob logic for buckets; add regression test; add error on globbing all buckets (Issue #311, PR #312)

v0.12.0

30 Dec 22:48
Compare
Choose a tag to compare
  • API Change: S3Client supports an extra_args kwarg now to pass extra args down to boto3 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

19 Dec 05:58
Compare
Choose a tag to compare
  • API change: Add ignore parameter to CloudPath.copytree in order to match shutil API. (Issue #145, PR #272)
  • Use the V2 version for listing objects list_objects_v2 in S3Client. (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

19 Aug 00:31
Compare
Choose a tag to compare

v0.9.0

04 Jun 01:45
2e52c05
Compare
Choose a tag to compare
  • Added absolute to CloudPath (does nothing as CloudPath is always absolute) (PR #230)
  • Added resolve to CloudPath (does nothing as CloudPath is resolved in advance) (Issue #151, PR #230)
  • Added relative_to to CloudPath which returns a PurePosixPath (Issue #149, PR #230)
  • Added is_relative_to to CloudPath (Issue #149, PR #230)
  • Added is_absolute to CloudPath (always true as CloudPath is always absolute) (PR #230)
  • Accept and delegate read_text parameters to cached file (PR #230)
  • Added exist_ok parameter to touch (PR #230)
  • Added missing_ok parameter to unlink, 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

19 May 16:16
da86719
Compare
Choose a tag to compare
  • 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

07 Apr 14:43
ad40af1
Compare
Choose a tag to compare

v0.7.0

17 Feb 05:16
047eeee
Compare
Choose a tag to compare
  • Fixed glob and rglob 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 and suffixes 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

26 Jan 07:15
8c01a51
Compare
Choose a tag to compare
  • 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 the endpoint_url for S3Client. (PR #193)

v0.6.4

29 Dec 20:58
Compare
Choose a tag to compare
  • Fixed error where BlobProperties type hint causes import error if Azure dependencies not installed.