Changelog History
Page 1
-
v2.2.0 Changes
February 15, 2022π Handle EOFError raised by Rack and return Bad Request 400 status. #1743 by tamazon
π¨ Minor refactors in
base.rb
. #1640 by ceclinuxβ Add escaping to the static 404 page. #1645 by Chris Gavin
Remove
detect_rack_handler
method. #1652 by ceclinuxπ Respect content type set in superclass before filter. Fixes #1647 #1649 by Jordan Owens
βͺ Revert "Use prepend instead of include for helpers. #1662 by namusyaka
π Fix usage of inherited
Sinatra::Base
classes keyword arguments. Fixes #1669 #1670 by Cadu Ribeiroβ¬οΈ Reduce RDoc generation time by not including every README. Fixes #1578 #1671 by Eloy PΓ©rez
β Add support for per form csrf tokens. Fixes #1616 #1653 by Jordan Owens
β‘οΈ Update MAINTENANCE.md with the
stable
branch status. #1681 by Fredrik RubenssonValidate expanded path matches
public_dir
when serving static files. #1683 by cji-stripeπ Fix Delegator to pass keyword arguments for Ruby 3.0. #1684 by andrewtblake
π Fix use with keyword arguments for Ruby 3.0. #1701 by Robin Wallin
π Fix memory leaks for proc template. Fixes #1704 #1719 by Slevin
β Remove unnecessary
test_files
from the gemspec. #1712 by Masataka Pocke Kuwabaraβ Add
#select
,#reject
and#compact
methods toSinatra::IndifferentHash
. #1711 by Olivier Belloneπ Docs: Spanish documentation: Update README.es.md with removal of Thin. #1630 by Espartaco Palma
π Docs: German documentation: Fixed typos in German README.md. #1648 by Juri
π Docs: Japanese documentation: Update README.ja.md with removal of Thin. #1629 by Ryuichi KAWAMATA
π Docs: English documentation: Various minor fixes to README.md. #1663 by Yanis ZafirΓ³pulos
π Docs: English documentation: Document when
dump_errors
is enabled. Fixes #1664 #1665 by Patrik Ragnarssonπ Docs: Brazilian Portuguese documentation: Update README.pt-br.md with translation fixes. #1668 by Vitor Oliveira
CI
β Use latest JRuby 9.2.16.0 on CI. #1682 by Olle Jonsson
π· Switch CI from travis to GitHub Actions. #1691 by namusyaka
Skip the Slack action if
secrets.SLACK_WEBHOOK
is not set. #1705 by Robin Wallinπ· Small CI improvements. #1703 by Robin Wallin
β¬οΈ Drop auto-generated boilerplate comments from CI configuration file. #1728 by Olle Jonsson
sinatra-contrib
- Do not raise when key is an enumerable. #1619 by Ulysse Buonomo
Rack protection
-
v2.1.0 Changes
September 05, 2020π 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
-
v2.0.8 Changes
January 01, 2020π Lookup Tilt class for template engine without loading files #1558. Fixes #1172 by Jordan Owens
β Add request info in NotFound exception #1566 by Stefan Sundin
β Add
.yaml
support inSinatra::Contrib::ConfigFile
#1564. Fixes #1563 by Emerson Manabu Arakiπ Allow multiple hashes to be passed in
merge
andmerge!
forSinatra::IndifferentHash
#1572 by Shota Iguchiβ Remove only routing parameters from @params hash #1569. Fixes #1567 by Jordan Owens, Horacio
π Support
capture
andcontent_for
with Hamlit #1580 by Takashi Kokubunβ Eliminate warnings of keyword parameter for Ruby 2.7.0 #1581 by Osamtimizer
-
v2.0.8.1 Changes
January 02, 2020- π Allow multiple hashes to be passed in
merge
andmerge!
forSinatra::IndifferentHash
#1572 by Shota Iguchi
- π Allow multiple hashes to be passed in
-
v2.0.7 Changes
August 22, 2019- π Fix a regression #1560 by Kunpei Sakai
-
v2.0.6 Changes
August 21, 2019π Fix an issue setting environment from command line option #1547, #1554 by Jordan Owens, Kunpei Sakai
π Support pandoc as a new markdown renderer #1533 by Vasiliy
β Remove outdated code for tilt 1.x #1532 by Vasiliy
β Remove an extra logic for
force_encoding
#1527 by Jordan OwensAvoid multiple errors even if
params
contains special values #1526 by Kunpei Sakaiπ Support
bundler/inline
withrequire 'sinatra'
integration #1520 by Kunpei Sakaiπ Avoid
TypeError
when params contain a key without a value on Ruby < 2.4 #1516 by Samuel Giddinsπ Improve development support and documentation and source code by Olle Jonsson, Basavanagowda Kanur, Yuki MINAMIYA
-
v2.0.5 Changes
December 22, 2018Avoid FrozenError when params contains frozen value #1506 by Kunpei Sakai
β Add support for Erubi #1494 by @tkmru
β
IndifferentHash
monkeypatch warning improvements #1477 by Mike Pastoreπ Improve development support and documentation and source code by Anusree Prakash, Jordan Owens, @ceclinux and @krororo.
sinatra-contrib
β Add
flush
option tocontent_for
#1225 by Shota Iguchiβ¬οΈ Drop activesupport dependency from sinatra-contrib #1448
β‘οΈ Update
yield_content
to append default to ERB template buffer #1500 by Jordan Owens
rack-protection
- 0οΈβ£ Don't track the Accept-Language header by default #1504 by Artem Chistyakov
-
v2.0.4 Changes
September 15, 2018Don't blow up when passing frozen string to
send_file
disposition #1137 by Andrew Selderπ Fix ubygems LoadError #1436 by Pavel RosickΓ½
Unescape regex captures #1446 by Jordan Owens
π Slight performance improvements for IndifferentHash #1427 by Mike Pastore
π Improve development support and documentation and source code by Will Yang, Jake Craige, Grey Baker and Guilherme Goettems Schneider
-
v2.0.3 Changes
June 08, 2018- π Fix the backports gem regression #1442 by Marc-AndrΓ© Lafortune
-
v2.0.2 Changes
June 05, 2018Escape invalid query parameters #1432 by Kunpei Sakai
- The patch fixes CVE-2018-11627.
π Fix undefined method error for
Sinatra::RequiredParams
with hash key #1431 by Arpit Chauhanβ Add xml content-types to valid html_types for Rack::Protection #1413 by Reenan Arbitrario
0οΈβ£ Encode route parameters using :default_encoding setting #1412 by Brian m. Carlson
π Fix unpredictable behaviour from Sinatra::ConfigFile #1244 by John Hope
β Add Sinatra::IndifferentHash#slice #1405 by Shota Iguchi
β Remove status code 205 from drop body response #1398 by Shota Iguchi
Ignore empty captures from params #1390 by Shota Iguchi
π Improve development support and documentation and source code by Zp Yuan, Andreas Finger, Olle Jonsson, Shota Iguchi, Nikita Bulai and Joshua O'Brien