All Versions
61
Latest Version
Avg Release Cycle
143 days
Latest Release
794 days ago

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 Rubensson

    • Validate 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 to Sinatra::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

    • πŸ›  Fix broken origin_whitelist option. Fixes #1641 #1642 by Takeshi YASHIRO
  • 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 with permitted_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 in Sinatra::Contrib::ConfigFile #1564. Fixes #1563 by Emerson Manabu Araki

    • πŸ‘ Allow multiple hashes to be passed in merge and merge! for Sinatra::IndifferentHash #1572 by Shota Iguchi

    • βœ‚ Remove only routing parameters from @params hash #1569. Fixes #1567 by Jordan Owens, Horacio

    • πŸ‘Œ Support capture and content_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 and merge! for Sinatra::IndifferentHash #1572 by Shota Iguchi
  • 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 Owens

    • Avoid multiple errors even if params contains special values #1526 by Kunpei Sakai

    • πŸ‘Œ Support bundler/inline with require '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, 2018
    • Avoid 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 to content_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, 2018
    • Don'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, 2018
    • Escape invalid query parameters #1432 by Kunpei Sakai

    • πŸ›  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