diff --git a/CHANGELOG b/CHANGELOG index 53788c4e..c13035fd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -= master += 3.76.0 (2024-01-12) * Support :filter plugin option in error_mail and error_email for filtering parameters, environment variables, and session values (jeremyevans) (#346) diff --git a/doc/release_notes/3.76.0.txt b/doc/release_notes/3.76.0.txt new file mode 100644 index 00000000..af5841d3 --- /dev/null +++ b/doc/release_notes/3.76.0.txt @@ -0,0 +1,18 @@ += New Features + +* A break plugin has been added, allowing you to use break from + inside a routing block and continue routing after the block. This + offers the same feature as the pass plugin, but using the standard + break keyword instead of the r.pass method. + +* The error_mail and error_email features now both accept a :filter + plugin option. The value should respond to call with two arguments. + The first arguments is the key, and the second is the value, and + should return a truthy value if the value should be filtered. This + will be used for filtering parameter values, ENV values, and session + values in the generated emails. + += Other Improvements + +* On Ruby 3.3+, the middleware plugin sets a temporary class name for + the created middleware, based on the class name of the Roda app. diff --git a/lib/roda/version.rb b/lib/roda/version.rb index b13ff432..a5a755b2 100644 --- a/lib/roda/version.rb +++ b/lib/roda/version.rb @@ -4,7 +4,7 @@ class Roda RodaMajorVersion = 3 # The minor version of Roda, updated for new feature releases of Roda. - RodaMinorVersion = 75 + RodaMinorVersion = 76 # The patch version of Roda, updated only for bug fixes from the last # feature release.