Sinatra v2.1.0 Release Notes
Release Date: 2020-09-05 // over 3 years ago-
🛠 Fix additional Ruby 2.7 keyword warnings #1586 by Stefan Sundin
⬇️ Drop Ruby 2.2 support #1455 by Eloy Pérez
➕ Add Rack::Protection::ReferrerPolicy #1291 by Stefan Sundin
Add
default_content_type
setting. Fixes #1238 #1239 by Mike Pastore👍 Allow
set :<engine>
in sinatra-namespace #1255 by Christian Höppner🛠 Use prepend instead of include for helpers. Fixes #1213 #1214 by Mike Pastore
🛠 Fix issue with passed routes and provides Fixes #1095 #1606 by Mike Pastore, Jordan Owens
➕ Add QuietLogger that excludes pathes from Rack::CommonLogger 1250 by Christoph Wagner
⚡️ Sinatra::Contrib dependency updates. Fixes #1207 #1411 by Mike Pastore
👍 Allow CSP to fallback to default-src. Fixes #1484 #1490 by Jordan Owens
Replace
origin_whitelist
withpermitted_origins
. Closes #1620 #1625 by rhymes👉 Use Rainbows instead of thin for async/stream features. Closes #1624 #1627 by Ryuichi KAWAMATA
Enable EscapedParams if passed via settings. Closes #1615 #1632 by Anders Bälter
👌 Support for parameters in mime types. Fixes #1141 by John Hope
🖐 Handle null byte when serving static files #1574 by Kush Fanikiso
👌 Improve development support and documentation and source code by Olle Jonsson, Pierre-Adrien Buisson, Shota Iguchi