forked from judofyr/temple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGES
157 lines (104 loc) · 3.88 KB
/
CHANGES
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
0.6.3
* Fix HTML escaping for HTML::Pretty (Issue #69)
0.6.2
* [:html, :js, code] abstraction added
0.6.1
* HTML::Pretty improved
0.6.0
* HTML::AttributeMerger: rename option :attr_delimiter to :merge_attrs
* HTML: rename option :attr_wrapper to :attr_quote
0.5.5
* HTML pretty: Do not remove empty lines, add newline after doctype
0.5.4
* HTML::AttributeMerger fixed, it didn't remove first empty attribute values
* Add HTML::AttributeRemover back, :remove_empty_attrs must be an Array of Strings now
of the attributes to be removed if empty
* Simplify [:case] expression grammar
* Ignore parameter :outvar by sinatra since sinatra assumes also that the buffer is a String,
they should set :buffer and :generator explicitly if they need the access
0.5.3
* Only print an message if invalid options are passed to Temple filters or engines
since many libraries seem to use Slim and Temple in an incorrect way
0.5.2
* Fix the :outvar problem really
0.5.1
* Support Sinatra :outvar option in Tilt template
0.5.0
* Added exception Temple::FilterError which should be thrown by filters
* Added Temple::Parser as default base class for parsers
* escape_html doesn't escape / anymore
* HTML::AttributeSorter uses stable sorting now
* HTML::AttributeRemover removed (Was too Slim specific)
* Engine option :chain removed
* Option validation implemented (Use define_options in your filters)
* Deprecated options implemented (Use deprecated_options in your filters)
* ThreadOptions added, Method #with_options
0.4.1
* Generators: produce optimized code
* remove deprecated method EngineDSL#wildcard
* Set tilt template default_mime_type to text/html
* HTML: Support conditional comments [:html, :condcomment, ...]
0.4.0
* Split Temple::HTML::AttributeMerger in AttributeSorter,
AttributeMerger and AttributeRemover
* Fix issue #58
0.3.5
* Temple::HTML::Pretty improved
* :sort_attrs option (default: true) added to HTML::AttributeMerger;
if set to false, the attributes will appear in the insertion order
* Temple::Mixins::EngineDSL api changed ("wildcard" is deprecated, use "use" instead)
* Temple::Mixins::CompiledDispatcher supports arbitrary levels now
* Don't use gsub! on incoming strings (#57)
* Fix newlines in erb parser (#46)
0.3.4
* Bugfix release (0.3.3 was yanked)
0.3.3
* Support for rails 3.1 streaming
* Add EngineDSL#wildcard
* HTML::Fast/Pretty supports only :xhtml and :html formats from now on
* HTML::AttributeMerger extracted from HTML::Fast
0.3.1, 0.3.2
* Don't modify strings destructively with gsub! in HTML::Pretty.
This doesn't work with Rails safe buffers in version >= 3.0.8.
0.3.0
* Compiled expression dispatching
* Method temple_dispatch is obsolete
* EscapeHTML renamed to Escapable
* Control flow filter added
* HTML filter: Tag and attribute expressions changed
* Expression grammar added
* Expression validator added
* Debugger filter removed (Validator is better replacement)
0.2.0
* Add mutable/immutable hashes for option inheritance
* Rails template support added
* Rename Filter#compile to Filter#call
* Engine chain reconfiguration (append, prepend, replace, ...)
* HTML filter: Don't output empty attributes
* Escape expression changed [:escape, true/false, Expression]
0.1.8
* HTML filter: Support :format => :html (alias for :html5)
0.1.7
* HTML::Pretty indents dynamic content only if it doesn't contain
preformatted tags
0.1.6
* Flexible chain building
0.1.5
* Default options for engines
0.1.4
* HTML::Pretty added
* Tilt-based template class added
* Escaping filter added
* Filter base class added
* Fix capturing (Issue #15)
0.1.3
* Close issue #10
* Refactoring
0.1.2
* Add HTML filter
* Remove Escapable filter
* Add method for checking if expression is empty
0.1.1
* Test added
0.1.0
* Initial release