File rubygem-haml.changes of Package rubygem-haml
286
1
-------------------------------------------------------------------
2
Fri Oct 13 11:42:21 UTC 2017 - mschnitzer@suse.com
3
4
- updated to version 5.0.4
5
6
Released on October 13, 2017 (diff).
7
* Fix haml -c --stdin regression in 5.0.2. #958 (thanks Timo Göllner)
8
* Ruby 2.5 support (it wasn't working due to Ripper API change). (Akira Matsuda)
9
10
-------------------------------------------------------------------
11
Thu Sep 7 12:45:54 UTC 2017 - mschnitzer@suse.com
12
13
- updated to version 5.0.3
14
15
Released on September 7, 2017 (diff).
16
* Use String#dump instead of String#inspect to generate string literal. (Takashi Kokubun)
17
* Fix Erubi superclass mismatch error. #952 (thanks Robin Daugherty)
18
19
-------------------------------------------------------------------
20
Thu Aug 3 19:20:50 UTC 2017 - coolo@suse.com
21
22
- updated to version 5.0.2
23
see installed CHANGELOG.md
24
25
## 5.0.2
26
27
Released on August 1, 2017
28
([diff](https://github.com/haml/haml/compare/v5.0.2...v5.0.1)).
29
30
* Let `haml -c` fail if generated Ruby code is syntax error. [#880](https://github.com/haml/haml/issues/880) (Takashi Kokubun)
31
* Fix `NoMethodError` bug caused with Sprockets 3 and :sass filter. [#930](https://github.com/haml/haml/pull/930) (thanks [Gonzalez Maximiliano](https://github.com/emaxi))
32
* Fix `list_of` helper with multi-line content. [#933](https://github.com/haml/haml/pull/933) (thanks [Benoit Larroque](https://github.com/zetaben))
33
* Optimize rendering performance by changing timing to fix textareas. [#941](https://github.com/haml/haml/pull/941) (Takashi Kokubun)
34
* Fix `TypeError` with empty :ruby filter. [#942](https://github.com/haml/haml/pull/942) (Takashi Kokubun)
35
* Fix inconsitent attribute sort order. (Takashi Kokubun)
36
37
-------------------------------------------------------------------
38
Tue May 23 09:57:09 UTC 2017 - coolo@suse.com
39
40
- updated to version 5.0.1
41
see installed CHANGELOG.md
42
43
## 5.0.1
44
45
Released on May 3, 2017
46
([diff](https://github.com/haml/haml/compare/v5.0.0...v5.0.1)).
47
48
* Fix parsing attributes including string interpolation. [#917](https://github.com/haml/haml/pull/917) [#921](https://github.com/haml/haml/issues/921)
49
* Stop distributing test files in gem package and allow installing on Windows.
50
* Use ActionView's Erubi/Erubis handler for erb filter only on ActionView. [#914](https://github.com/haml/haml/pull/914)
51
52
## 5.0.0
53
54
Released on April 26, 2017
55
([diff](https://github.com/haml/haml/compare/4.0.7...v5.0.0)).
56
57
Breaking Changes
58
59
* Haml now requires Ruby 2.0.0 or above.
60
* Rails 3 is no longer supported, matching the official
61
[Maintenance Policy for Ruby on Rails](http://weblog.rubyonrails.org/2013/2/24/maintenance-policy-for-ruby-on-rails/).
62
(Tee Parham)
63
* The `haml` command's debug option (`-d`) no longer executes the Haml code, but
64
rather checks the generated Ruby syntax for errors.
65
* Drop parser/compiler accessor from `Haml::Engine`. Modify `Haml::Engine#initialize` options
66
or `Haml::Template.options` instead. (Takashi Kokubun)
67
* Drop dynamic quotes support and always escape `'` for `escape_html`/`escape_attrs` instead.
68
Also, escaped results are slightly changed and always unified to the same characters. (Takashi Kokubun)
69
* Don't preserve newlines in attributes. (Takashi Kokubun)
70
* HTML escape interpolated code in filters.
71
[#770](https://github.com/haml/haml/pull/770)
72
(Matt Wildig)
73
74
:javascript
75
#{JSON.generate(foo: "bar")}
76
Haml 4 output: {"foo":"bar"}
77
Haml 5 output: {"foo":"bar"}
78
79
Added
80
81
* Add a tracing option. When enabled, Haml will output a data-trace attribute on each tag showing the path
82
to the source Haml file from which it was generated. Thanks [Alex Babkin](https://github.com/ababkin).
83
* Add `haml_tag_if` to render a block, conditionally wrapped in another element (Matt Wildig)
84
* Support Rails 5.1 Erubi template handler.
85
* Support Sprockets 3. Thanks [Sam Davies](https://github.com/samphilipd) and [Jeremy Venezia](https://github.com/jvenezia).
86
* General performance and memory usage improvements. (Akira Matsuda)
87
* Analyze attribute values by Ripper and render static attributes beforehand. (Takashi Kokubun)
88
* Optimize attribute rendering about 3x faster. (Takashi Kokubun)
89
* Add temple gem as dependency and create `Haml::TempleEngine` class.
90
Some methods in `Haml::Compiler` are migrated to `Haml::TempleEngine`. (Takashi Kokubun)
91
92
Fixed
93
94
* Fix for attribute merging. When an attribute method (or literal nested hash)
95
was used in an old style attribute hash and there is also a (non-static) new
96
style hash there is an error. The fix can result in different behavior in
97
some circumstances. See the [commit message](https://github.com/haml/haml/tree/e475b015d3171fb4c4f140db304f7970c787d6e3)
98
for detailed info. (Matt Wildig)
99
* Make escape_once respect hexadecimal references. (Matt Wildig)
100
* Don't treat the 'data' attribute specially when merging attribute hashes. (Matt Wildig and Norman Clarke)
101
* Fix #@foo and #$foo style interpolation that was not working in html_safe mode. (Akira Matsuda)
102
* Allow `@` as tag's class name. Thanks [Joe Bartlett](https://github.com/redoPop).
103
* Raise `Haml::InvalidAttributeNameError` when attribute name includes invalid characters. (Takashi Kokubun)
104
* Don't ignore unexpected exceptions on initializing `ActionView::OutputBuffer`. (Takashi Kokubun)
105
106
-------------------------------------------------------------------
107
Tue Aug 11 04:30:03 UTC 2015 - coolo@suse.com
108
109
- updated to version 4.0.7
110
see installed CHANGELOG.md
111
112
## 4.0.7
113
114
Released on August 10, 2015
115
([diff](https://github.com/haml/haml/compare/4.0.6...4.0.7)).
116
117
* Significantly improve performance of regexp used to fix whitespace handling in textareas (thanks [Stan Hu](https://github.com/stanhu)).
118
119
-------------------------------------------------------------------
120
Mon Feb 9 08:06:34 UTC 2015 - coolo@suse.com
121
122
- updated to version 4.0.6
123
* Fix warning on Ruby 1.8.7 "regexp has invalid interval" (thanks [Elia Schito](https://github.com/elia)).
124
125
-------------------------------------------------------------------
126
Tue Sep 30 11:58:40 UTC 2014 - mrueckert@suse.de
127
128
- update to new packaging scheme
129
130
-------------------------------------------------------------------
131
Thu Feb 20 13:34:26 UTC 2014 - coolo@suse.com
132
133
- remove SUSE prefix from license
134
135
-------------------------------------------------------------------
136
Mon Jan 20 09:29:44 UTC 2014 - coolo@suse.com
137
138
- updated to version 4.0.5
139
* Fix haml_concat appending unescaped HTML after a call to haml_tag.
140
* Fix for bug whereby when HAML :ugly option is "true",
141
ActionView::Helpers::CaptureHelper::capture returns the whole view buffer
142
when passed a block that returns nothing (thanks [Mircea
143
Moise](https://github.com/mmircea16)).
144
145
-------------------------------------------------------------------
146
Fri Nov 22 08:40:29 UTC 2013 - coolo@suse.com
147
148
- updated to version 4.0.4
149
* Check for Rails::Railtie rather than Rails (thanks [Konstantin Shabanov](https://github.com/etehtsea)).
150
* Parser fix to allow literal '#' with suppress_eval (Matt Wildig).
151
* Helpers#escape_once works on frozen strings (as does
152
ERB::Util.html_escape_once for which it acts as a replacement in
153
Rails (thanks [Patrik Metzmacher](https://github.com/patrik)).
154
* Minor test fix (thanks [Mircea Moise](https://github.com/mmircea16)).
155
156
-------------------------------------------------------------------
157
Fri May 24 08:30:26 UTC 2013 - coolo@suse.com
158
159
- updated to version 4.0.3
160
* Compatibility with newer versions of Rails's Erubis handler.
161
* Fix Erubis handler for compatibility with Tilt 1.4.x, too.
162
* Small performance optimization for html_escape.
163
(thanks [Lachlan Sylvester](https://github.com/lsylvester))
164
* Documentation fixes.
165
* Documented some helper methods that were left out of the reference.
166
(thanks [Shane Riley](https://github.com/shaneriley))
167
168
-------------------------------------------------------------------
169
Fri Apr 12 07:55:36 UTC 2013 - coolo@suse.com
170
171
- updated to version 4.0.2
172
* Explicitly require Erubis to work around bug in older versions of Tilt.
173
* Fix :erb filter printing duplicate content in Rails views.
174
(thanks [Jori Hardman](https://github.com/jorihardman))
175
* Replace range with slice to reduce objects created by `capture_haml`.
176
(thanks [Tieg Zaharia](https://github.com/tiegz))
177
* Correct/improve some documentation.
178
179
-------------------------------------------------------------------
180
Sat Mar 23 06:29:20 UTC 2013 - coolo@suse.com
181
182
- updated to version 4.0.1
183
* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
184
* Fix some performance regressions.
185
* Fix support for Rails 4 `text_area` helper method.
186
* Fix data attribute flattening with singleton objects.
187
(thanks [Alisdair McDiarmid](https://github.com/alisdair))
188
* Fix support for sass-rails 4.0 beta.
189
(thanks [Ryunosuke SATO](https://github.com/tricknotes))
190
* Load "haml/template" in Railtie in order to prevent user options set in a
191
Rails initializer from being overwritten
192
* Don't depend on Rails in haml/template to allow using Haml with ActionView
193
but without Rails itself. (thanks [Hunter Haydel](https://github.com/wedgex))
194
195
-------------------------------------------------------------------
196
Sun Mar 3 19:48:29 UTC 2013 - coolo@suse.com
197
198
- updated to version 4.0.0
199
long list, see CHANGELOG.md
200
201
-------------------------------------------------------------------
202
Mon Aug 27 12:18:29 UTC 2012 - cfarrell@suse.com
203
204
- license update: MIT and SUSE-WTFPL-2.0 and GPL-2.0 and Artistic-2.0
205
Package is MIT licensed (see MIT license and README.md). However, the
206
sass component under vendors has a GPL license and some of the tests are
207
WTFPL licensed
208
209
-------------------------------------------------------------------
210
Sun Aug 26 05:48:23 UTC 2012 - coolo@suse.com
211
212
- updated to version 3.1.7
213
* relicensed to SUSE-WTFPL-2.0
214
215
-------------------------------------------------------------------
216
Tue Jun 26 09:50:43 UTC 2012 - coolo@suse.com
217
218
- update to 3.1.6
219
* fix for the rails 3.2.3 fix to work with rails 3.1
220
221
-------------------------------------------------------------------
222
Tue May 8 05:11:22 UTC 2012 - coolo@suse.com
223
224
- update to 3.1.5
225
* Respect Rails’ html_safe flag when escaping attribute values
226
* Fix for Rails 3.2.3 textarea helpers
227
228
-------------------------------------------------------------------
229
Mon Apr 9 18:56:46 UTC 2012 - coolo@suse.com
230
231
- update to 3.1.4
232
Fix the use of FormBuilder#block with a label in Haml.
233
Fix indentation after a self-closing tag with dynamic attributes.
234
235
-------------------------------------------------------------------
236
Mon Feb 13 10:54:56 UTC 2012 - coolo@suse.com
237
238
- patch license to follow spdx.org standard
239
240
-------------------------------------------------------------------
241
Sun Sep 18 00:29:19 UTC 2011 - mrueckert@suse.de
242
243
- update to haml 3.1.3
244
- Fix partial layouts
245
246
-------------------------------------------------------------------
247
Thu Jun 9 17:20:12 UTC 2011 - aduffeck@novell.com
248
249
- update to haml 3.1.2
250
- many bugfixes
251
- fix incompatibility with the rails_xss security fix
252
(http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-rails-applications)
253
- Rails 3 support
254
- does not bundle sass anymore, which is now in rubygem-sass
255
256
-------------------------------------------------------------------
257
Fri Jun 18 16:00:25 UTC 2010 - mrueckert@suse.de
258
259
- use rubygems_requires
260
261
-------------------------------------------------------------------
262
Tue May 25 08:31:27 UTC 2010 - fcastelli@novell.com
263
264
- do not require explicitly rubygems version, calculate it at build time
265
266
-------------------------------------------------------------------
267
Thu May 20 13:34:48 UTC 2010 - aduffeck@novell.com
268
269
- upgrade to haml 3.0.4 ( new features: Rails3 support, more useful multiline,
270
color mixing, @extend...)
271
- incompatibilities:
272
- haml: The puts helper has been removed. Use Haml::Helpers#haml_concat instead.
273
- sass: new syntax SCSS. SASS2-files can be converted with:
274
sass-convert --from sass2 style.sass style.scss
275
276
-------------------------------------------------------------------
277
Thu Feb 18 13:50:45 UTC 2010 - aduffeck@novell.com
278
279
- upgrade to haml 2.2.20
280
281
-------------------------------------------------------------------
282
Thu Dec 17 11:23:47 CET 2009 - prusnak@suse.cz
283
284
- created package
285
286