Releases: octue/django-gcp
Releases · octue/django-gcp
Allow many stores and clarify storage API
Summary
This PR enables use of an unlimited number of stores, allowing users to map data to different buckets as required.
Thin helper classes for the two most common storesGoogleCloudMediaStorage
and GoogleCloudStaticStorage
have been established. Documentation has been substantially redrafted and updated (based on the docs from django-storages). The way settings are handled has been overhauled: to abstract settings logic out of the main class, to cache calculated settings values, and to
💥 The Settings API has changed to facilitate the use of many stores, since they may each require different settings.
Contents (#4)
IMPORTANT: There are 2 breaking changes.
New features
- BREAKING CHANGE: Allow multiple buckets with different settings
Fixes
- Remove invalid override of method to property
Operations
- Ignore flake8 failure incompatible with black
- Prevent random editor scrolling in rst previews
- Update version for previous feature
Refactoring
- Remove unnecessary catch of ImportError
- Settings unified and validated
- BREAKING CHANGE: Apply consistent settings naming
Other
- Fix codecov badge, missing links and typos
Add storage testing
Summary
Contents (#2)
Operations
- Allow issue hashes in branch names
- Allow branches for test development, remove review branches
- Update version
Testing
- Add tests for storages
Initial release
Contents
Features
- Django library based on the rabid-armadillo template
- Outline documentation using sphinx
- Brought in and refactored
django-storages[google]
- Apply Code Quality standards / practices
- Implement CICD workflows