👌 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 Owens
Avoid multiple errors even if
paramscontains special values #1526 by Kunpei Sakai
require 'sinatra'integration #1520 by Kunpei Sakai
TypeErrorwhen 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
Avoid FrozenError when params contains frozen value #1506 by Kunpei Sakai
➕ Add support for Erubi #1494 by @tkmru
IndifferentHashmonkeypatch warning improvements #1477 by Mike Pastore
👌 Improve development support and documentation and source code by Anusree Prakash, Jordan Owens, @ceclinux and @krororo.
content_for#1225 by Shota Iguchi
⬇️ Drop activesupport dependency from sinatra-contrib #1448
yield_contentto append default to ERB template buffer #1500 by Jordan Owens
- 0️⃣ Don't track the Accept-Language header by default #1504 by Artem Chistyakov
Don't blow up when passing frozen string to
send_filedisposition #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
Escape invalid query parameters #1432 by Kunpei Sakai
- The patch fixes CVE-2018-11627.
🛠 Fix undefined method error for
Sinatra::RequiredParamswith 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
Ship the VERSION file with the gem, to allow local unpacking #1338 by Olle Jonsson
✨ Enhanced path validation in Windows #1379 by Orange Tsai from DEVCORE
- The patch fixes CVE-2018-7212
👌 Improve development support and documentation by Faheel Ahmad, Shota Iguchi, Olle Jonsson, Manabu Niseki, John Hope, Horacio, Ice-Storm, GraniteRock, Raman Skaskevich, Carlos Azuaje, 284km, Dan Rice and Zachary Scott
v2.0.1.rc1February 12, 2018
Use Mustermann for patterns #1086 by Konstantin Haase
Server now provides
-qflag for quiet mode, which disables start/stop messages #1153 by Vasiliy.
Session middleware can now be specified with
:session_storesetting #1161 by Jordan Owens.
APP_ENVis now preferred and recommended over
RACK_ENVfor setting environment #984 by Damien Mathieu.
Add Reel support #793 by Patricio Mac Adden.
Make route params available during error handling #895 by Jeremy Evans.
error404 behavior #896 by Jeremy Evans.
Enable Ruby 2.3
frozen_string_literalfeature #1076 by Vladimir Kochnev.
Add Sinatra::ShowExceptions::TEMPLATE and patched Rack::ShowExceptions to prefer Sinatra template by Zachary Scott.
Sinatra::Runner is used internally for integration tests #840 by Nick Sutterer.
Fix case-sensitivity issue in
urimethod #889 by rennex.
statushelper to use symbol as well as numeric codes #968 by Tobias H. Michaelsen.
Improved error handling for invalid params through Rack #1070 by Jordan Owens.
Ensure template is cached only once #1021 by Patrik Rak.
Rack middleware is initialized at server runtime rather than after receiving first request #1205 by Itamar Turner-Trauring.
Improve Session Secret documentation to encourage better security practices #1218 by Glenn Rempe
Exposed global and per-route options for Mustermann route parsing #1233 by Mike Pastore
session_secretfor classic and modular apps in development #1245 by Marcus Stollsteimer
Make authenticity token length a fixed value of 32 #1181 by Jordan Owens
Modernize Rack::Protection::ContentSecurityPolicy with CSP Level 2 and 3 Directives #1202 by Glenn Rempe
Adds preload option to Rack:Protection:StrictTransport #1209 by Ed Robinson
Improve BadRequest logic. Raise and handle exceptions if status is 400 #1212 by Mike Pastore
Make Rack::Test a development dependency #1232 by Mike Pastore
Capture exception messages of raised NotFound and BadRequest #1210 by Mike Pastore
Add explicit set method to contrib/cookies to override cookie settings #1240 by Andrew Allen
Avoid executing filters even if prefix matches with other namespace #1253 by namusyaka
#has_key?also indifferent in access, can accept String or Symbol #1262 by Stephen Paul Weber
allow_ifoption to bypass json csrf protection #1265 by Jordan Owens
rack-protection: Bundle StrictTransport, CookieTossing, and CSP #1267 by Mike Pastore
:strict_pathsoption for managing trailing slashes #1273 by namusyaka
Add full IndifferentHash implementation to params #1279 by Mike Pastore
v2.0.0.rc5May 06, 2017