All Versions
60
Latest Version
Avg Release Cycle
118 days
Latest Release
408 days ago

Changelog History
Page 2

  • v2.0.1.rc1

    February 12, 2018
  • v2.0.0 Changes

    May 07, 2017
    • Use Mustermann for patterns #1086 by Konstantin Haase

    • Server now provides -q flag for quiet mode, which disables start/stop messages #1153 by Vasiliy.

    • Session middleware can now be specified with :session_store setting #1161 by Jordan Owens.

    • APP_ENV is now preferred and recommended over RACK_ENV for 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.

    • Unify not_found and error 404 behavior #896 by Jeremy Evans.

    • Enable Ruby 2.3 frozen_string_literal feature #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 uri method #889 by rennex.

    • Use Rack::Utils.status_code to allow status helper 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

    • Use same session_secret for 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

    • Make #has_key? also indifferent in access, can accept String or Symbol #1262 by Stephen Paul Weber

    • Add allow_if option to bypass json csrf protection #1265 by Jordan Owens

    • rack-protection: Bundle StrictTransport, CookieTossing, and CSP #1267 by Mike Pastore

    • Add :strict_paths option for managing trailing slashes #1273 by namusyaka

    • Add full IndifferentHash implementation to params #1279 by Mike Pastore

  • v2.0.0.rc5

    May 06, 2017
  • v2.0.0.rc4

    May 06, 2017
  • v2.0.0.rc3

    May 06, 2017
  • v1.4.8 Changes

    January 30, 2017
    • Fix the deprecation warning from Ruby about Fixnum. #1235 by Akira Matsuda
  • v1.4.7 Changes

    January 24, 2016
    • Add Ashley Williams, Trevor Bramble, and Kashyap Kondamudi to team Sinatra.

    • Correctly handle encoded colons in routes. (Jeremy Evans)

    • Rename CHANGES to CHANGELOG.md and update Rakefile. #1043 (Eliza Sorensen)

    • Improve documentation. #941, #1069, #1075, #1025, #1052 (Many great folks)

    • Introduce Sinatra::Ext to workaround Rack 1.6 bug to fix Ruby 1.8.7 support. #1080 (Zachary Scott)

    • Add CONTRIBUTING guide. #987 (Katrina Owen)

  • v1.4.6 Changes

    March 23, 2015
    • Improve tests and documentation. (Darío Hereñú, Seiichi Yonezawa, kyoendo, John Voloski, Ferenc-, Renaud Martinet, Christian Haase, marocchino, huoxito, Damir Svrtan, Amaury Medeiros, Jeremy Evans, Kashyap, shenqihui, Ausmarton Fernandes, kami, Vipul A M, Lei Wu, 7stud, Taylor Shuler, namusyaka, burningTyger, Cornelius Bock, detomastah, hakeda, John Hope, Ruben Gonzalez, Andrey Deryabin, attilaolah, Anton Davydov, Nikita Penzin, Dyego Costa)

    • Remove duplicate require of sinatra/base. (Alexey Muranov)

    • Escape HTML in 404 error page. (Andy Brody)

    • Refactor to method call in Stream#close and #callback. (Damir Svrtan)

    • Depend on latest version of Slim. (Damir Svrtan)

    • Fix compatibility with Tilt version 2. (Yegor Timoschenko)

    • Fix compatibility issue with Rack pretty method from ShowExceptions. (Kashyap)

    • Show date in local time in exception messages. (tayler1)

    • Fix logo on error pages when using Ruby 1.8. (Jeremy Evans)

    • Upgrade test suite to Minitest version 5 and fix Ruby 2.2 compatibility. (Vipul A M)

  • v1.4.5 Changes

    April 08, 2014
    • Improve tests and documentation. (Seiichi Yonezawa, Mike Gehard, Andrew Deitrick, Matthew Nicholas Bradley, GoGo tanaka, Carlos Lazo, Shim Tw, kyoendo, Roman Kuznietsov, Stanislav Chistenko, Ryunosuke SATO, Ben Lewis, wuleicanada, Patricio Mac Adden, Thais Camilo)

    • Fix Ruby warnings. (Vipul A M, Piotr Szotkowski)

    • Fix template cache memory leak. (Scott Holden)

    • Work around UTF-8 bug in JRuby. (namusyaka)

    • Don't set charset for JSON mime-type (Sebastian Borrazas)

    • Fix bug in request.accept? that might trigger a NoMethodError. (sbonami)

  • v1.4.4 Changes

    October 21, 2013
    • Allow setting layout to false specifically for a single rendering engine. (Matt Wildig)

    • Allow using wildcard in argument passed to request.accept?. (wilkie)

    • Treat missing Accept header like wild card. (Patricio Mac Adden)

    • Improve tests and documentation. (Darío Javier Cravero, Armen P., michelc, Patricio Mac Adden, Matt Wildig, Vipul A M, utenmiki, George Timoschenko, Diogo Scudelletti)

    • Fix Ruby warnings. (Vipul A M, Patricio Mac Adden)

    • Improve self-hosted server started by run! method or in classic mode. (Tobias Bühlmann)

    • Reduce objects allocated per request. (Vipul A M)

    • Drop unused, undocumented options hash from Sinatra.new. (George Timoschenko)

    • Keep Content-Length header when response is a Rack::File or when streaming. (Patricio Mac Adden, George Timoschenko)

    • Use reel if it's the only server available besides webrick. (Tobias Bühlmann)

    • Add disable :traps so setting up signal traps for self hosted server can be skipped. (George Timoschenko)

    • The status option passed to send_file may now be a string. (George Timoschenko)

    • Reduce file size of dev mode images for 404 and 500 pages. (Francis Go)