Changelog
6.0.1
-
Freeze
ERB::Compiler::TrimScanner::ERB_STAGfor Ractor compatibility
6.0.0
-
Remove
safe_leveland further positional arguments fromERB.new -
Remove deprecated constant
ERB::Revision
5.1.3
-
Release v5.1.2 with trusted publishing for JRuby
5.1.2
-
Add
changelog_urito spec metadata github.com/ruby/erb/pull/89
5.1.1
-
Fix integer overflow that is introduced at v5.1.0
5.1.0
-
html_escape: Avoid buffer allocation for strings with no escapable character github.com/ruby/erb/pull/87
5.0.3
-
Update help of erb(1) #85
5.0.2
-
Declare escape functions as Ractor-safe #63
5.0.1
-
Rescue
LoadErrorwhen failing to loaderb/escape
5.0.0
-
Bump
required_ruby_versionto Ruby 3.2+ #60 -
Drop
cgifrom runtime dependencies #59 -
Make
ERB::VERSIONpublic
4.0.4
-
Skip building the C extension for JRuby #52
4.0.3
-
Enable
frozen_string_literalin all files #49
4.0.2
-
Fix line numbers after multi-line
<%##42
4.0.1
-
Stop building the C extension for TruffleRuby #39
4.0.0
-
Optimize
ERB::Util.html_escape#27 -
No longer duplicate an argument string when nothing is escaped.
-
This makes
ERB::Util.html_escapefaster thanCGI.escapeHTMLin no-escape cases.
-
-
It skips calling to_s when an argument is already a
String. -
Define
ERB::Escape.html_escapeas an alias toERB::Util.html_escape#38 -
ERB::Util.html_escapeis known to be monkey-patched by Rails.ERB::Escape.html_escapeis useful when you want a non-monkey-patched version. -
Drop deprecated
-Soption fromerbcommand
3.0.0
-
Bump
required_ruby_versionto Ruby 2.7+ #23 -
ERB::Util.url_encodeuses a native implementation #23 -
Fix a bug that a magic comment with a wrong format could be detected #6
2.2.3
-
Bump
required_ruby_versionfrom 2.3 to 2.5 as it has never been supported #3
2.2.2
-
ERB.versionreturns just a version number -
ERB::Revisionis deprecated
2.2.1
-
ERB#initializewarnssafe_leveland later arguments even without -w
2.2.0
-
Ruby 3.0 promoted
ERBto a default gem