]> git.proxmox.com Git - rustc.git/blob - src/vendor/handlebars/CHANGELOG.md
New upstream version 1.20.0+dfsg1
[rustc.git] / src / vendor / handlebars / CHANGELOG.md
1 # Change Log
2
3 ## [0.26.1](https://github.com/sunng87/handlebars-rust/compare/0.25.3...0.26.1) - 2017-04-23
4
5 * [Changed] Updated to Serde 1.0
6 * [Changed] Dropped rustc_serialize, serde is now the default type system
7
8 ## [0.25.3](https://github.com/sunng87/handlebars-rust/compare/0.25.2...0.25.3) - 2017-04-19
9
10 * [Changed] Fixed path up [#147](https://github.com/sunng87/handlebars-rust/issues/147)
11 * [Changed] Fixed duplicated template inclusion [#146](https://github.com/sunng87/handlebars-rust/issues/146)
12
13 ## [0.25.2](https://github.com/sunng87/handlebars-rust/compare/0.25.1...0.25.2) - 2017-03-22
14
15 * [Changed] Fixed bug when including two partials with same name [#143](https://github.com/sunng87/handlebars-rust/issues/143)
16
17 ## [0.25.1](https://github.com/sunng87/handlebars-rust/compare/0.25.0...0.25.1) - 2017-02-21
18
19 * [Added] Added support for braces escaping`\{{var}}`.
20
21 ## [0.25.0](https://github.com/sunng87/handlebars-rust/compare/0.24.2...0.25.0) - 2017-01-28
22
23 * [Changed] Updated serde family to 0.9.x
24 * [Added] Added `to_json` function to convert data to `Json` or `Value`
25
26 ## [0.24.2](https://github.com/sunng87/handlebars-rust/compare/0.24.1...0.24.2) - 2017-01-28
27
28 * [Added] Added support for `{{> @partial-block}}`
29
30 ## [0.24.1](https://github.com/sunng87/handlebars-rust/compare/0.24.0...0.24.1) - 2016-12-30
31
32 * [Changed] Updated `regex` crate to 0.2, fixed WebAssembly support
33 * [Changed] Fixed error reporting in partial.
34
35 ## [0.24.0](https://github.com/sunng87/handlebars-rust/compare/0.23.0...0.24.0) - 2016-12-30
36
37 * [Added] Decorator support: change context data and helpers during rendering
38 * [Changed] (**Breaking**) Helper trait changed, `Context` parameter no longer
39 available, use `render_context.context()` instead.
40 * [Changed] (**Breaking**) Refactored Handlebars APIs, `Template` and
41 `Context` are no longer exposed in public API.
42 * [Changed] Docs updated.
43
44 ## [0.23.0](https://github.com/sunng87/handlebars-rust/compare/0.22.0...0.23.0) - 2016-12-12
45
46 * [Changed] `partial4` is now default. Use `partial_legacy` for previous version of template inheritance.
47 * [Changed] Corrected subexpression behavior. Subexpression result is treated as string.
48 * [Changed] Improved performance for render: better escape function and string writer buffer.
49
50 ## [0.22.0](https://github.com/sunng87/handlebars-rust/compare/0.21.1...0.22.0) - 2016-10-29
51
52 * [Changed] Improved error reporting. Fixed display for several error
53 types.
54 * [Changed] Dropped regex and lazystatic as dependency.
55 * [Changed] Examples refined.
56
57 ## [0.21.1](https://github.com/sunng87/handlebars-rust/compare/0.21.0...0.21.1) - 2016-10-09
58
59 * [Changed] Fixed
60 [#106](https://github.com/sunng87/handlebars-rust/issue/106), when
61 property name contains `this`, it doesn't work
62
63 ## [0.21.0](https://github.com/sunng87/handlebars-rust/compare/0.20.5...0.21.0) - 2016-09-27
64
65 * [Added] Block params support
66 [#101](https://github.com/sunng87/handlebars-rust/pull/101)
67 * [Added] New partial syntax [#103](https://github.com/sunng87/handlebars-rust/pull/103)
68 * [Changed] Rewrite path parser, better support for `../`
69 [#105](https://github.com/sunng87/handlebars-rust/pull/105)
70
71 ## [0.20.5](https://github.com/sunng87/handlebars-rust/compare/0.20.5...0.20.4) - 2016-08-27
72
73 * [Changed] Fixed issue for using [] in expression
74 [#100](https://github.com/sunng87/handlebars-rust/issue/100)
75
76 ## [0.20.4](https://github.com/sunng87/handlebars-rust/compare/0.20.4...0.20.3) - 2016-08-27
77
78 * [Changed] Fixed error message for partials
79 [#98](https://github.com/sunng87/handlebars-rust/issue/98)
80 * [Added] Added support for `else` in `each` block
81 [#99](https://github.com/sunng87/handlebars-rust/issue/99)
82
83 ## [0.20.3](https://github.com/sunng87/handlebars-rust/compare/0.20.3...0.20.2) - 2016-08-14
84
85 * [Changed] Fixed `with` used inside `each` block [#97](https://github.com/sunng87/handlebars-rust/pull/97)
86
87 ## [0.20.2](https://github.com/sunng87/handlebars-rust/compare/0.20.2...0.20.0) - 2016-08-07
88
89 * [Changed] Allowed dash character in reference
90 [#94](https://github.com/sunng87/handlebars-rust/pull/94)
91 * [Changed] Fixed path error in nested each helpers [#95](https://github.com/sunng87/handlebars-rust/pull/95)
92
93 ## [0.20.0](https://github.com/sunng87/handlebars-rust/compare/0.20.0...0.19.1) - 2016-07-31
94
95 * [Changed] Updated serde to 0.8
96
97 ## [0.19.1](https://github.com/sunng87/handlebars-rust/compare/0.19.1...0.19.0) - 2016-07-26
98
99 * [Changed] Fixed `../` path visitor bug in nested `#each`
100 [#93](https://github.com/sunng87/handlebars-rust/issues/93)
101 * [Changed] Rollback 0.19.0 change for `#if`
102
103 ## [0.19.0] - 2016-07-24
104
105 * [Changed] changed `&Path` to `AsRef<Path>`
106 * [Changed] Fixed "../" path visitor in `#each` and `#if`.
107 * [Added] `set_local_path_root` and `get_local_path_root` for
108 `RenderContext`.
109
110 ## [0.18.2] - 2016-07-11
111
112 * [Changed] Disable `rustc_type` when `serde_type` enabled.
113
114 ## [0.18.1] - 2016-07-04
115
116 * [Changed] Allow `-` char in reference.
117
118 ## [0.18.0] - 2016-06-25
119
120 * [Changed] Rewrite template parser with pest.
121
122 ## [0.17.0] - 2016-06-05
123
124 * [Added] JSON literals as helper param or hash, and subexpression
125 return value.
126 * [Added] RenderError now reports template name, line and column
127 number. Enabled by default. This behavior can be disabled via
128 `registry.source_map_enable(false)` on production.
129 * [Changed] Helper API **break change**: `param(..)` and `hash(...)`
130 now returns a `ContextJson` as value which contains path as well as
131 parsed Json value. No need to call `ctx.navigate(...)` any more.
132 * [Removed] `to_string` of `Template` and `TemplateElement` which is
133 unnecessary and contains issue
134
135 ## [0.16.1] - 2016-05-15
136
137 * [Removed] `num` crate dependency which is unnecessary
138
139 ## [0.16.0] - 2016-03-18
140
141 * [Added] new APIs to render template string/files without
142 registering to Registry
143 * [Added] new handlebars raw helper syntax
144
145 ## [0.15.0] - 2016-03-01
146
147 * [Changed] update serde libraries to 0.7.x
148
149 ## [0.14.0] - 2016-02-08
150
151 * [Added] new API: `register_template_file`