Debian Codegraph @

HISTORY.md

raw symbols SCIP
1 ## 1.1.2 (2026-02-24)
2
3 - [bug] Removes "warning: literal string will be frozen in the future" deprecation message (#285)
4
5 ## 1.1.1 (2019-12-03)
6
7 - [improvement] Improve yardoc documentation (#247)
8 - [bug] Fix warnings about instance variables (#246)
9
10 ## 1.1.0 (2018-10-13)
11
12 - [feat] Introduces `Mustache#escape`.
13 This method receives a non-stringified value to allow for
14 more flexibility in the escaping, like JSON. (#245)
15 - [bug] Raise correct error when closing unopened section (#240)
16 - [bug] Fix use of deprecated `File.exists?` (#241)
17 - [bug] Fix variable shadowing warning (#241)
18
19 ## 1.0.5 (2017-03-23)
20
21 - Fixes error introduced in v1.0.4. (#235)
22
23 ## 1.0.4 (2017-03-23)
24
25 - Hashes with default_procs may lazily fetch values. (#223)
26 - Relax dependency on Ruby (#232)
27
28 ## 1.0.3 (2016-03-24)
29
30 - Raise on deep context miss (#214)
31 - Allow hyphens in tags (#218)
32
33 ## 1.0.2 (2015-06-24)
34
35 - Adds benchmarks (#197)
36 - Clarify documentation around content without HTML escaping (#203)
37 - Fix some Ruby warnings (#204)
38 - Improve performance when using partials inside loops (#205)
39
40 ## 1.0.1 (2015-02-23)
41
42 - Always cast to hash on hash-like object lookups (#187)
43 - Fixed -v option in the binary (#189)
44 - Missing partial returns "" per the spec (#200)
45
46 # 1.0.0 (2015-01-11)
47
48 - Bugfixes
49 - Now requires Ruby >= 2.0
50 - Removed mustache_sinatra to separate gem
51 - Removed rack-bug-mustache_panel to separate gem
52
53 ## 0.99.6 (2014-07-22)
54
55 - Fixed and updated documentation
56 - Added license to gemspec
57 - Allows Hash default proc to work in context
58 - Avoids raising ContextMiss when testing for key presence
59 - Refactored Parser to allow for better extensibility
60 - 1.9.3+ YAML compatibility
61 - Support allowed liberal tag names in classes
62 - Removed redundant Parser#scan_tag> code
63 - Mustache command works with pure json files
64 - Enumerate any object tagged with Mustache::Enumerable
65 - Rescue NameError when Views module isn't found
66 - Adds Gemfile
67
68 ## 0.99.5 (2013-11-11)
69
70 - Added line offsets to parser ast
71 - Sinatra: `mustache` takes a View class to skip lookups
72 - Fixed warning for shadowing outer local variable
73 - Fixed typos
74
75 ## 0.99.4 (2011-05-26)
76
77 - Reverted automatically attr_accessors in Sinatra. Too much magic.
78
79 ## 0.99.3 (2011-03-06)
80
81 - Fixed method_missing support
82 - Fixed whitespace errors
83
84 ## 0.99.2 (2011-03-06)
85
86 - Added some HTML5 tags to tpl-mode.el
87 - Bugfix: {{#sections}} and whitespace
88
89 ## 0.99.1 (2011-03-01)
90
91 - Bugfix: Strings used in sections no longer enumerate.
92
93 ## 0.99.0 (2011-02-28)
94
95 - Unary methods of Mustache view can now be used in sections as procs.
96 - Added instance-level versions of all view settings.
97 - Emacs mode: Support for dot notation
98 - Sinatra: Support for `mustache "views/in/sub/directories"`
99
100 ## 0.98.0 (2011-02-24)
101
102 - Dot Notation: {{person.name}}
103 - Implicit Iterators: {{# people}} {{.}} {{/ people}}
104 - Automagic attr_readers for ivars you set in Sinatra routes.
105 - Ability to customize escaping by overriding Mustache#escapeHTML
106
107 ## 0.13.0 (2011-02-23)
108
109 - Mustache.render accepts a symbol to specify a template name.
110 - Bugfix: Struct can be used as sections again
111
112 ## 0.12.1 (2011-02-22)
113
114 - Bugfixes!
115
116 ## 0.12.0 (2010-12-10)
117
118 - Passing the full draft Mustache spec.
119 - Instance render: `@view.render(:thing => :world)`
120 - Sinatra bugfix: 'layout not found' fix
121
122 ## 0.11.2 (2010-05-13)
123
124 - Sinatra bugfix: `mustache :"TEMPLATE.atom"`
125
126 ## 0.11.1 (2010-05-12)
127
128 - mustache(1) bugfix: Render even without data.
129
130 ## 0.11.0 (2010-04-18)
131
132 - Higher Order Sections. See mustache(5) for details.
133 - Add inheritable class ivars on Mustache for @options.
134
135 ## 0.10.0 (2010-04-02)
136
137 - Added Inverted Sections (^). See mustache(5) for details.
138 - Added Template#source for accessing the template's string source.
139 - Bugfix: 1.9 encoding fix
140 - Sinatra Bugfix: 1.9 compat
141
142 ## 0.9.2 (2010-03-29)
143
144 - Sinatra: Bugfix for `mustache :view, :layout => true`
145 - Mustache class now implements `partial` so you can call `super`
146 when providing a custom `partial` method.
147 - Bugfix: Allow slashes in tags, especially partials.
148
149 ## 0.9.1 (2010-03-27)
150
151 - Bugfix: Partials use the nearest context when being rendered.
152 - Bugfix: Partials returned by the partial method are now rendered.
153
154 ## 0.9.0 (2010-03-26)
155
156 - New, cleaner parser by Magnus Holm!
157 - Improved error messages!
158 - Bugfixes!
159 - Faster runtime!
160 - Sinatra 1.0 compatibility with layout tag overriding!
161
162 ## 0.7.0 (2010-03-25)
163
164 - `Mustache.compile` for compiling a template into Ruby.
165 - `mustache -c FILE` to see a template's compiled Ruby.
166 - Recursive partial support.
167 - Added `&` as an alias for the triple mustache (unescaped HTML).
168 - Simpler examples. Old examples are now test fixtures.
169
170 ## 0.6.0 (2010-03-08)
171
172 - Ruby objects can be used in sections, not just hashes. See
173 http://github.com/defunkt/mustache/commit/9477619638
174 - As a result, `TypeError` is no longer thrown when hashes are not
175 passed.
176 - mustache(1) man page is now included
177 - mustache(5) man page is now included
178 - tpl-mode.el has been renamed mustache-mode.el
179 - Improved README
180
181 ## 0.5.1 (2009-12-15)
182
183 - Added "mail merge" functionality to `mustache` script.
184 - Support for multi-line tags (useful for comments)
185 - Sinatra Bugfix: Use Sinatra app's view path, not Sinatra base class'.
186
187 ## 0.5.0 (2009-11-23)
188
189 - Partial classes are no longer supported. Use modules!
190 - Added `mustache` script for rendering templates on the command line.
191 - ctemplate compat: Partials are indicated by >, not <
192 - Bugfix: Context miss should return nil, not empty string. Fixes 1.9.x
193
194 ## 0.4.2 (2009-10-28)
195
196 - Bugfix: Ignore bad constant names when autoloading
197
198 ## 0.4.1 (2009-10-27)
199
200 - Partials now respect the `view_namespace` setting.
201 - Added tpl-mode.el to contrib/ for us Emacs users.
202 - Rack::Bug bugfix: ensure benchmark is required before using it
203 - Rack::Bug: truncate too-large variables (click expands them)
204
205 ## 0.4.0 (2009-10-27)
206
207 - Stopped raising context miss exceptions by default
208 - Added `Mustache.raise_on_context_miss` setting (defaults to false)
209 - Throw Mustache::ContextMiss when raise_on_context_miss is true and
210 we encounter a miss.
211 - The default template extension is now "mustache" (instead of "html").
212 - Added the `view_namespace` and `view_path` settings to `Mustache`
213 - Added `Mustache.view_class` method which autoloads a class using the
214 new `view_namespace` and `view_path` settings. Should be used by
215 plugin developers.
216 - Updated the Sinatra extension to use the new `view_class` method
217 - Unclosed sections now throw a helpful error message
218 - Report line numbers on unclosed section errors
219 - Added Rack::Bug panel
220
221 ## 0.3.2 (2009-10-19)
222
223 - Bugfix: Partials in Sinatra were using the wrong path.
224
225 ## 0.3.1 (2009-10-19)
226
227 - Added mustache.vim to contrib/ (Thanks Juvenn Woo!)
228 - Support string keys in contexts (not just symbol keys).
229 - Bugfix: # and / were not permitted in tag names. Now they are.
230 - Bugfix: Partials in Sinatra needed to know their extension and path
231 - Bugfix: Using the same boolean section twice was failing
232
233 ## 0.3.0 (2009-10-14)
234
235 - Set Delimiter tags are now supported. See the README
236 - Improved error message when an enumerable section did not return all
237 hashes.
238 - Added a shortcut: if a section's value is a single hash, treat is as
239 a one element array whose value is the hash.
240 - Bugfix: String templates set at the class level were not compiled
241 - Added a class-level `compiled?` method for checking if a template
242 has been compiled.
243 - Added an instance-level `compiled?` method.
244 - Cache template compilation in Sinatra
245
246 ## 0.2.2 (2009-10-11)
247
248 - Improved documentation
249 - Fixed single line sections
250 - Broke preserved indentation (issue #2)
251
252 ## 0.2.1 (2009-10-11)
253
254 - Mustache.underscore can now be called without an argument
255 - Settings now mostly live at the class level, excepting `template`
256 - Any setting changes causes the template to be recompiled