File: CHANGELOG

package info (click to toggle)
ruby-erubi 1.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 148 kB
  • sloc: ruby: 1,431; makefile: 4
file content (111 lines) | stat: -rw-r--r-- 3,899 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
=== 1.13.1 (2024-12-19)

* Avoid spurious frozen string literal warnings for chilled strings when using Ruby 3.4 (jeremyevans)

=== 1.13.0 (2024-06-13)

* Define Erubi.h as a module function (jeremyevans)

* Add erubi/capture_block, supporting capturing block output via standard <%= and <%== tags (jeremyevans)

=== 1.12.0 (2022-12-22)

* Use erb/escape for faster html escaping if available (jeremyevans)

* Default :freeze_template_literals option to false if running with --enable-frozen-string-literal (casperisfine) (#35)

=== 1.11.0 (2022-08-02)

* Support :freeze_template_literals option for configuring whether to add .freeze to template literal strings (casperisfine) (#33)

* Support :chain_appends option for chaining appends to the buffer variable (casperisfine, jeremyevans) (#32)

* Avoid unnecessary defined? usage on Ruby 3+ when using the :ensure option (jeremyevans)

=== 1.10.0 (2020-11-13)

* Improve template parsing, mostly by reducing allocations (jeremyevans)

* Do not ship tests in the gem, reducing gem size about 20% (jeremyevans)

* Support :literal_prefix and :literal_postfix options for how to output literal tags (e.g. <%% code %>) (jaredcwhite) (#26, #27)

=== 1.9.0 (2019-09-25)

* Change default :bufvar from 'String.new' to '::String.new' to work with BasicObject (jeremyevans)

=== 1.8.0 (2018-12-18)

* Support :yield_returns_buffer option in capture_end for always returning the (potentially modified) buffer in <%|= tags (evanleck) (#15)

=== 1.7.1 (2018-03-05)

* Make whitespace handling for <%# %> tags more compatible with Erubis (jeremyevans) (#14)

=== 1.7.0 (2017-10-09)

* Fix escaping in erubi/capture_end, the setting was previously inverted (jeremyevans) (#10)

=== 1.6.1 (2017-06-27)

* Fix usage on newer versions of JRuby 9.1 (jeremyevans)

=== 1.6.0 (2017-02-27)

* Use cgi/escape if available for 6x faster HTML escaping (k0kubun, jeremyevans) (#4)

=== 1.5.0 (2017-01-26)

* Drop tilt/erubi file, as tilt now ships with Erubi support (jeremyevans)

* Drop erubi/capture file, Erubi::CaptureEngine support (jeremyevans)

=== 1.4.0 (2017-01-20)

* Allow postambles to depend on internal state of engine (jeremyevans)

* Allow overriding of behavior for <%= and <%== tags to depend on which indicator was used (jeremyevans)

* Make whitespace handling for <% %> tags more compatible with Erubis for subclasses overriding add_text (jeremyevans)

=== 1.3.0 (2016-12-29)

* Support :capture=>:explicit option in tilt support to use Erubi::CaptureEndEngine (jeremyevans)

* Add erubi/capture_end containing Erubi::CaptureEndEngine, allowing <%|= and <%|== for opening capture tags, and <%| for closing capture tags (jeremyevans)

=== 1.2.1 (2016-11-21)

* Don't automatically freeze template text strings on ruby 1.9 or 2.0 (jeremyevans)

=== 1.2.0 (2016-11-21)

* Engine#src now returns a frozen string (jeremyevans)

* Automatically freeze template text strings on ruby 2.1+, reducing garbage generated (jeremyevans)

* Allow overriding of behavior for <%= and <%== tags (ujifgc) (#1)

=== 1.1.0 (2016-11-14)

* Add :ensure option to supporting restoring bufvar to original value (jeremyevans)

* Don't have tilt support require erb (jeremyevans)

* Support :engine_class option in tilt support to override engine class used (jeremyevans)

* Support :capture option in tilt support to use Erubi::CaptureEngine (jeremyevans)

* Add erubi/capture file containing Erubi::CaptureEngine, allowing <%|= and <%|== for capture (and escaping) blocks in templates (jeremyevans)

* Raise ArgumentError if template source code contains indicators matched by regexp but not handled (jeremyevans)

* Add :bufval option to support arbitrary buffer values (jeremyevans)

* Add :regexp option to specify regexp used for scanning (jeremyevans)

* Add :src option to specify initial template source (jeremyevans)

=== 1.0.0 (2016-11-10)

* Initial Public Release