All Versions
34
Latest Version
Avg Release Cycle
125 days
Latest Release
2149 days ago
Changelog History
Page 1
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 removedhandled
condition.
- โ Added
-
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 namedrespond
, 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 relatedhandled
condition. redirect
method signature has changed.- Scorched now depends on Rack 2.0 or above.
- ๐จ Refactored
-
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.
- ๐ 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
-
v0.26 Changes
- ๐ Fixed issue with
failed_condition
condition resulting inNoMethodError: undefined method '[]' for nil:NilClass
- ๐ Fixed issue with
-
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.
- Added symbol matchers, which are basically just named regex. Only two symbol matchers included by default,
-
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.
- Query string is now preserved when stripping trailing slashes with