Skip to content

v4.2.1

Choose a tag to compare

@nuwang nuwang released this 10 Jul 16:52
· 26 commits to main since this release
fe94710

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-python was >=3.13 since 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. mypy type-checks against 3.10 so newer-stdlib usage is caught at lint time.
  • Response-header overrides on signed URLs. BucketObject.generate_url now accepts optional content_disposition and content_type parameters 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 tempurl filename parameter (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