Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ shrine (>= 2.0.0, < 3.0.0 → >= 2.0.0, <= 3.5.0) · Repo · Changelog
Release Notes
3.5.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 63 commits:
Bump to 3.5.0
Add missing changelog entries
Use single quotes for GitHub CI workflow
Fix ternary operator syntax for GitHub CI
Upgrade actions/checkout to v3
Don't use latest RubyGems for older Rubies
Use latest RubyGems on CI
Document custom signer for derivation endpoint
Don't leak derivatives versions compat setting
Add `signer` option to `derivation_endpoint` plugin (#549)
Add back showcase snippets to the home page
Fix test on JRuby
Rename "v2-website" directory to "website"
Upgrade website to Docusaurus v2
Fix removing attachments with boolean values on Ruby 3.2
Use activerecord-jdbc-adapter 70.0 on JRuby
Test on JRuby 9.4
Add Ruby 3.2 to the CI matrix
Remove duplicate from retrieving_uploads#opening (#603)
Update domain in URLs of official Shrine articles (#600)
Raise explicit exception when activesupport is not installed in instrumentation
Simplify passing encoding to `Down::ChunkedIO`
Return 400 on invalid serialized file component in download_endpoint
Define entity method without arguments without derivatives loaded
Tweak linking to GitHub Discussions
fix: deprecate references to discourse (#583)
Fix: add bug report template (#590)
Fix "warning: URI.regexp is obsolete" (#586)
Allow encoding to be specified with S3 storage class (#585)
Correct small typo (#599)
shrine-lambda plugin has been renamed to shrine-aws-lambda (#598)
Update validation_helpers.md (#591)
Fix typo (#584)
Use bundle add instead (#576)
Cas name to string when asynchronously calling PromoteJob (#575)
Allow disabling mutex in derivatives plugin
Strip URL query parameters before extracting extension
Show testing requests with cached attachment data
Skip failing tests on JRuby on CI
Bump activerecord-jdbc-adapter version specifier
Handle cached files in copy plugin replacement example
Handle unlinked tempfiles in `Shrine#upload`
Avoid generating duplicate element IDs
Customize max multipart part (#570)
S3 should use tagging_directive REPLACE on copy operation (#569)
Test on JRuby 9.3
Use nested ternary operator for AS & AR versions
Test with Ruby 3.1 (#564)
Account for different file command version
Test on Active Record 7.0
Update blog link
Mention that keep_files plugin keeps derivatives as well
Fix typo (#554)
Use existing button class in the demo app
Update demo app to Uppy 2
Update demo app to Bootstrap 5
Update broken background job links in demo README
Correct usage of #atomic_persist when backgrounding (#552)
Update derivatives code examples in comments for Ruby 3.0
Fix a typo in upgrading_to_3.md (#548)
Stricter bracket expression for hex format test (#546)
Add `infer_extension` convenience method to uploader (#547)
Reference duplicated record in duplicated attacher
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands