Releases: renchap/shrine-google_cloud_storage
Releases · renchap/shrine-google_cloud_storage
3.3.0
Added
public
option on storage, which enabled thepublicRead
default ACL, as an easier way to create public objects
Fixes
- Signed URLs were wrongly generated when
expires
was not provided - Fixed special character encoding in URLs (thanks @camiloforero)
3.2.0
3.1.0
3.0.1
3.0.0
2.0.1
2.0.0
Breaking changes
- Minimum Shrine version is now 2.11
presign
changed to match the new Shrine signature
Added
clear!
now accepts a block for conditional deletion. If a block is provided, it will only delete the files for which the block evaluates totrue
(#31 by @hwo411)
Changed
presign
has been updated to use the new Shrine 2.11 API. This is a breaking change if you usepresign
, and bumps theshrine
dependency to>= 2.11
(#25 by @janko)- This gem now uses
Shrine.with_file
, introduced in Shrine 2.11 (#29 by @janko)
Fixed
v1.0.1
v1.0.0
Added
- You can specify a project when creating a storage (#16 by @rosskevin)
- Authentication is now delegated to
google-cloud-ruby
, which enables credentials discovery #url
now supports presigning (url(expires: …)
), matching the S3 storage (#16 by @rosskevin)
Changed
- switched to
google-cloud-storage
gem (#16 by @rosskevin) - added a
test/create_test_environment.sh
script to setup a test environment automatically (#16 by @rosskevin) - use
skip_lookup: true
when instanciating a bucket object to avoid an API call. This reduces the number of API calls for most operations, making them faster. It also allows operating on buckets with a restricted Service Account that does not have access tostorage.buckets.get
but can access the files. (#21)
Removed
- removed support for
multi_delete
, as this feature has been deprecated in Shrine