Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Bump to 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Jan 15, 2020
1 parent 7c0cc47 commit d93caa2
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## master
## 3.2.1 (2020-01-12)

* `derivation_endpoint` – Use `Rack::Files` constant on Rack >= 2.1 (@janko)

Expand Down
32 changes: 32 additions & 0 deletions doc/release_notes/3.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Shrine 3.2.1
---

## Ruby 2.7 compatibility

* Shrine doesn't trigger [Ruby 2.7 warnings for separation of positional and
keyword arguments][kwargs] anymore.

* Down 5.1.0 has been released, which resolves warnings and a `FrozenError`
exception on Ruby 2.7. Shrine now requires at least this version of Down.

If you're using `Down::Http`, make sure you're using http.rb 4.3.0 or newer.

* ImageProcessing 1.10.3 gem has been released which resolves Ruby 2.7 warnings
as well. If you're using it for image processing, make sure to upgrade to
this version:

```rb
gem "image_processing", ">= 1.10.3", "< 2"
```

## Rack 2.1.0 compatibility

* The `derivation_endpoint` plugin now uses `Rack::Files` on Rack 2.1.0 or
newer.

## Other improvements

* The `S3#open` method now handles empty S3 objects.

[kwargs]: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
2 changes: 1 addition & 1 deletion lib/shrine/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.version
module VERSION
MAJOR = 3
MINOR = 2
TINY = 0
TINY = 1
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
Expand Down
3 changes: 3 additions & 0 deletions website/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@
"release_notes/3.2.0": {
"title": "Shrine 3.2.0"
},
"release_notes/3.2.1": {
"title": "Shrine 3.2.1"
},
"retrieving-uploads": {
"title": "Retrieving Uploads"
},
Expand Down
1 change: 1 addition & 0 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
},
"release_notes": {
"Shrine 3.x": [
"release_notes/3.2.1",
"release_notes/3.2.0",
"release_notes/3.1.0",
"release_notes/3.0.1",
Expand Down

0 comments on commit d93caa2

Please sign in to comment.