gems hanami-router 3.0.0
v3.0.0

4 hours ago

Added

  • Add #permanent_redirect and #temporary_redirect helpers for 301 and 302 responses. (@cllns in #302)

Changed

  • BREAKING: #redirect now requires an explicit code: argument. Use #permanent_redirect or #temporary_redirect for the common cases, and pass code: to #redirect for less common codes (e.g. 303, 307, 308). (@cllns in #302)
  • Upgrade mustermann to 3.1 and remove mustermann-contrib dependency. (@rkh in #300)
  • Require Ruby 3.3 or newer.

Fixed

  • Only parse the request body into params when the content type is application/x-www-form-urlencoded. Previously, with no body parser middleware in use, posting a multipart upload (or other non-form body) could raise Rack::QueryParser::InvalidParameterError. (@cllns and @timriley in #305)
  • Allow URL generation (via #path) to work with array variables. (@inouire in #304)

Compare v2.3.1 ... v3.0.0

Don't miss a new hanami-router release

NewReleases is sending notifications on new releases.