v4.2.1
Release highlights
This point release lowers the supported Python floor to 3.10 and adds response-header overrides to signed object URLs. Fully backward compatible with 4.2.0 — no code changes are required.
What's new
- Supported Python floor lowered to 3.10.
requires-pythonwas>=3.13since the PEP 621 packaging migration, but nothing in the codebase or its dependencies needs more than 3.10. CloudBridge now installs on Python 3.10–3.13, and CI runs the mock-provider suite on both the lowest and highest supported versions.mypytype-checks against 3.10 so newer-stdlib usage is caught at lint time. - Response-header overrides on signed URLs.
BucketObject.generate_urlnow accepts optionalcontent_dispositionandcontent_typeparameters that ask the backing store to serve the object with those response headers on GET. Honored fully by AWS, Azure and GCP; OpenStack Swift honors the filename portion of the disposition via its tempurlfilenameparameter (the content type cannot be overridden). Both are ignored for writable URLs.
Pull Requests
- Lower supported Python floor to 3.10 by @nuwang in #338
- Add response-header overrides to BucketObject.generate_url by @nuwang in #339
Full Changelog: v4.2.0...v4.2.1