Releases: matthewhanson/boto3-utils
Releases · matthewhanson/boto3-utils
v0.4.2
v0.4.1
[v0.4.1] - 2022-11-19
Fixed
- requester pays or other additional parameters using boto3 get_object
0.4.0
[v0.4.0] - 2022-11-18
Added
- s3.download_with_metadata() downloads a file and returns both the file path and a selection of metadata about the object (e.g. ETag, Version, etc)
- s3.get_object() takes a new argument,
extra_args={}
that is passed to the underlying client - s3.download() takes a new argument,
extra_args={}
that is passed to the underlying client - s3.download() parses query parameters from the provided url, adding them to the
extra_args
passed to the underlying client - Draft S3Inventory class to replace the functions (to be deprecated) in the s3 module for using S3 Inventories
- s3.exists(), s3.find(), and s3.get_object_metadata() now support requester pays
Modified
- s3.urlparse() now supports query parameters, returning them in the
'query_params'
section of the returneddict
- added
coverage.xml
to.gitignore
0.4.0b1
drop support/testing for python 3.7, 3.8
0.3.3
[v0.3.3] - 2022-09-14
Added
- s3.latest_inventory() takes manifest_age_days argument for how far back to look for manifest
- s3.latest_inventory() takes is_latest argument for filtering on versioned files
- s3.latest_inventory() takes key_contains array argument for filtering on key containing strings of the array
Changed
- No longer testing against python 3.6
- Now testing against python 3.9 and 3.10
Fixed
- s3.delete works
- Handle bucket locations in US Standard region
0.3.2
v0.3.2 - 2021-07-15
Added
- tests for secrets
- formatting and linting added to CI tests
Removed
- Logging of error when fetching secrets (leave to caller)
Changed
- Moved from CircleCI to GitHub Actions
- test directory renamed to tests
- Update moto version
- Linting and formatting updates
0.3.1
[v0.3.1] 2020-07-29
Changed
- s3.download() now uses boto3 download_file for multipart stream downloads to avoid memory errors downloading large files
0.3.0
Merge pull request #11 from matthewhanson/develop publish 0.3.0
0.1.0
[v0.1.0] 2019-12-05
Changed
- The s3 and stepfunction modules are now a class, and the init function accepts a boto3 Session. If not provided a default session is created
- s3.upload now accepts an
http_url
keyword. If set to True it will return the https URL instead of the S3 URL - s3.find now returns complete s3 URL for each found object, not just the key
0.0.3
[v0.0.3] - 2019-11-22
Added
- s3.latest_inventory iterator function added for looping through matching files in an s3 inventory
- s3.get_presigned_url for generating a presigned URL for s3....does not use boto3