All Versions
34
Latest Version
Avg Release Cycle
125 days
Latest Release
1076 days ago

Changelog History
Page 1

  • v1.0.0 Changes

    November 15, 2018
    • ๐Ÿš€ Updated all dependencies. Ready for 1.0.0 release.
  • v1.0.0.pre5 Changes

    July 27, 2017
    • 0๏ธโƒฃ Log level now defaults to :warn for every environment except development, which defaults to :debug
  • v1.0.0.pre4 Changes

    July 05, 2017
    • โž• Added dispatched condition which performs a similar role to the recently removed handled condition.
  • v1.0.0.pre3 Changes

    July 04, 2017
    • APP_ENV now preferred over RACK_ENV for setting the environment.
  • v1.0.0.pre2 Changes

    July 03, 2017
    • โšก๏ธ Updated core dependencies.
  • v1.0.0.pre Changes

    • โ™ป๏ธ Refactored process method. Now named respond, and breaks out to other methods. The logic surrounding filters and halting has also been modified, as is now more intuitive in my opinion.
    • โœ‚ Removed @_handled instance variable, and the related handled condition.
    • redirect method signature has changed.
    • Scorched now depends on Rack 2.0 or above.
  • v0.27 Changes

    • ๐Ÿ›  Fixed logic surrounding when a requested is considered "handled" (i.e. matched and dispatched) and exceptions that are raised after dispatch. In simpler terms, the failed_condition condition now has better logic in the event of an exception.
  • v0.26 Changes

    • ๐Ÿ›  Fixed issue with failed_condition condition resulting in NoMethodError: undefined method '[]' for nil:NilClass
  • v0.25 Changes

    • Added symbol matchers, which are basically just named regex. Only two symbol matchers included by default, :numeric and :alpha_numeric. It's intended that users add their own as per their applications requirements. E.g. symbol_matchers[:article_id] = /[a-f][0-9]{4}/. A symbol matcher can optionally take a two-element array, where the first element is the regex, and the second is a proc for the sake of coercing the matched value into the desired form, such as an integer.
    • ๐Ÿ”„ Changed Rack::Logger to Rack::CommonLogger.
  • v0.24 Changes

    • Query string is now preserved when stripping trailing slashes with config[:strip_trailing_slash] = :redirect, e.g. /search/?query=cats now becomes /search?query=cats instead of just /search.
    • absolute method now returns as-is anything not starting with a forward slash, e.g. absolute("./view") => "./view"
    • ๐Ÿ‘Œ Improved performance by caching the Rack::Builder instance for each controller.
    • ๐Ÿ‘Œ Improved performance by caching data associated with Scorched::Options#to_hash.