https://github.com/huacnlee/activestorage-aliyun/releases
- Add custo_metadata args in service method for Rails 7 supports.
- Update for support Rals 6.1 permanent URL, and compatiable with Rails 6.0.
mode
config has deprecated, usepublic: true
instead.
- Fix public url generate issue. #37
- Enable chunk (2m each) upload, for imporve the big files upload performance. #35
- Fix service_url generate to includes the content-disposition and filename with the
disposition: :inline
mode. This fix for PDF inline case, to keeps the origianal filename when user do save as.
- Fix signature issue when content-type is empty.
- Fix upload method option for Rails 5.2.1.1
- Fix signature issue when config path is / #20
- Set OSS Object
content-type
on uploading.
- Implement download_chunk method for fix #10 upload a large file by directly.
- Remove config.path
/
prefix for fix #7 issue.
- Support present
params
toservice_url
to oss image url.
for example:
@photo.image.service_url(params: { 'x-oss-process' => "image/resize,h_100,w_100" })
- Add
mode
config for setup OSS ACL,mode: "private"
will always output URL that have signature info. - Support
disposition: :attachment
option forservice_url
method for download original filename.
- Add url_for_direct_upload support.
- Fix delete_prefixed error when path not exists.
- Fix streaming upload.
- Fix delete by prefixed.
- Add full test.
- First release.