Roda 3.64.0 Released #300
jeremyevans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Roda 3.64.0 has been released!
New Features
An erb_h plugin has been added for faster HTML escaping using
erb/escape. erb 4 added erb/escape and it is included in Ruby 3.2.
The erb_h plugin is added as a separate plugin because it changes
the behavior of the h method. The h method added by the h plugin
will always return a new string, but the h method added by the
erb_h plugin will return the argument if the argument is a
string that does not need escaping. By avoiding unnecessary
string allocations, use of the erb_h plugin can speed up HTML
escaping.
Other Improvements
eagerly load the hash branches when freezing the application,
allowing the application to continue to work after being frozen.
Additionally, file paths for the hash branches will now be
automatically expanded, allowing the use of relative file paths.
Backwards Compatibility
can break applications that were providing relative paths and
expecting them to be looked up using the Ruby load path.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions