OLD | NEW |
1 # changelog | |
2 | |
3 This file contains highlights of what changes on each version of the polymer | 1 This file contains highlights of what changes on each version of the polymer |
4 package. We will also note important changes to the polyfill packages (observe, | 2 package. We will also note important changes to the polyfill packages (observe, |
5 web_components, and template_binding) if they impact polymer. | 3 web_components, and template_binding) if they impact polymer. |
6 | 4 |
7 #### Pub version 0.13.0 | 5 #### 0.13.1-dev |
| 6 * Upgraded error messages to have a unique and stable identifier. This |
| 7 requires a version of `code_transformers` newer than `0.2.2-dev`. |
| 8 |
| 9 #### 0.13.0 |
8 * Update to match polymer 0.3.5 ([polymer-dev#5d00e4b][5d00e4b]). There was a | 10 * Update to match polymer 0.3.5 ([polymer-dev#5d00e4b][5d00e4b]). There was a |
9 breaking change in the web_components package where selecting non-rendered | 11 breaking change in the web_components package where selecting non-rendered |
10 elements doesn't work, but it shouldn't affect most people. See | 12 elements doesn't work, but it shouldn't affect most people. See |
11 https://github.com/Polymer/ShadowDOM/issues/495. | 13 https://github.com/Polymer/ShadowDOM/issues/495. |
12 | 14 |
13 #### Pub version 0.12.2+1 | 15 #### 0.12.2+1 |
14 * Small bug fix for `polymer:new_element` | 16 * Small bug fix for `polymer:new_element` |
15 | 17 |
16 #### Pub version 0.12.2 | 18 #### 0.12.2 |
17 * Fix for [20539](http://dartbug.com/20539). Log widget will now html escape | 19 * Fix for [20539](http://dartbug.com/20539). Log widget will now html escape |
18 messages. | 20 messages. |
19 * Fix for [20538](http://dartbug.com/20538). Log widget will now surface lint | 21 * Fix for [20538](http://dartbug.com/20538). Log widget will now surface lint |
20 logs from imported files. | 22 logs from imported files. |
21 * Backward compatible change to prepare for upcoming change of the user agent | 23 * Backward compatible change to prepare for upcoming change of the user agent |
22 in Dartium. | 24 in Dartium. |
23 * `pub run polymer:new_element` now supports specifying a base class. | 25 * `pub run polymer:new_element` now supports specifying a base class. |
24 **Note**: only native DOM types and custom elements written in Dart can be | 26 **Note**: only native DOM types and custom elements written in Dart can be |
25 extended. Elements adapted from Javascript (like core- and paper- elements) | 27 extended. Elements adapted from Javascript (like core- and paper- elements) |
26 cannot be extended. | 28 cannot be extended. |
27 * other bug fixes in `polymer:new_entry`. | 29 * other bug fixes in `polymer:new_entry`. |
28 | 30 |
29 #### Pub version 0.12.1 | 31 #### 0.12.1 |
30 * **New**: When running in pub-serve, any warnings and errors detected by the | 32 * **New**: When running in pub-serve, any warnings and errors detected by the |
31 polymer transformers will be displayed in the lower-right corner of your | 33 polymer transformers will be displayed in the lower-right corner of your |
32 entrypoint page. You can opt-out by adding this option to your pubspec: | 34 entrypoint page. You can opt-out by adding this option to your pubspec: |
33 | 35 |
34 transformers: | 36 transformers: |
35 - polymer: | 37 - polymer: |
36 ... | 38 ... |
37 inject_build_logs_in_output: false | 39 inject_build_logs_in_output: false |
38 | 40 |
39 * **New**: there are now two template generators in the polymer package! On | 41 * **New**: there are now two template generators in the polymer package! On |
(...skipping 25 matching lines...) Expand all Loading... |
65 inline_stylesheets: | 67 inline_stylesheets: |
66 default: false | 68 default: false |
67 web/foo.css: true | 69 web/foo.css: true |
68 packages/foo/bar.css: true | 70 packages/foo/bar.css: true |
69 | 71 |
70 | 72 |
71 * Bug fix for http://dartbug.com/20286. Bindings in url attributes will no | 73 * Bug fix for http://dartbug.com/20286. Bindings in url attributes will no |
72 longer throw an error. | 74 longer throw an error. |
73 | 75 |
74 | 76 |
75 #### Pub version 0.12.0+7 | 77 #### 0.12.0+7 |
76 * Widen the constraint on `unittest`. | 78 * Widen the constraint on `unittest`. |
77 | 79 |
78 #### Pub version 0.12.0+6 | 80 #### 0.12.0+6 |
79 * Widen the constraint on analyzer. | 81 * Widen the constraint on analyzer. |
80 * Support for `_src` and similar attributes in polymer transformers. | 82 * Support for `_src` and similar attributes in polymer transformers. |
81 | 83 |
82 #### Pub version 0.12.0+5 | 84 #### 0.12.0+5 |
83 * Raise the lower bound on the source_maps constraint to exclude incompatible | 85 * Raise the lower bound on the source_maps constraint to exclude incompatible |
84 versions. | 86 versions. |
85 | 87 |
86 #### Pub version 0.12.0+4 | 88 #### 0.12.0+4 |
87 * Widen the constraint on source_maps. | 89 * Widen the constraint on source_maps. |
88 | 90 |
89 #### Pub version 0.12.0+3 | 91 #### 0.12.0+3 |
90 * Fix a final use of `getLocationMessage`. | 92 * Fix a final use of `getLocationMessage`. |
91 | 93 |
92 #### Pub version 0.12.0+2 | 94 #### 0.12.0+2 |
93 * Widen the constraint on barback. | 95 * Widen the constraint on barback. |
94 | 96 |
95 #### Pub version 0.12.0+1 | 97 #### 0.12.0+1 |
96 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` | 98 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` |
97 class. | 99 class. |
98 | 100 |
99 #### Pub version 0.12.0 | 101 #### 0.12.0 |
100 * Updated to match polymer 0.3.4 ([polymer-dev#6ad2d61][6ad2d61]), this | 102 * Updated to match polymer 0.3.4 ([polymer-dev#6ad2d61][6ad2d61]), this |
101 includes the following changes: | 103 includes the following changes: |
102 * added @ComputedProperty | 104 * added @ComputedProperty |
103 * @published can now be written using the readValue/writeValue helper | 105 * @published can now be written using the readValue/writeValue helper |
104 methods to match the same timing semantics as Javscript properties. | 106 methods to match the same timing semantics as Javscript properties. |
105 * underlying packages are also updated. Some noticeable changes are: | 107 * underlying packages are also updated. Some noticeable changes are: |
106 * observe: path-observers syntax is slightly different | 108 * observe: path-observers syntax is slightly different |
107 * polymer_expressions: updating the value of an expression will issue a | 109 * polymer_expressions: updating the value of an expression will issue a |
108 notification. | 110 notification. |
109 * template_binding: better NodeBind interop support (for | 111 * template_binding: better NodeBind interop support (for |
110 two-way bindings with JS polymer elements). | 112 two-way bindings with JS polymer elements). |
111 * Several fixes for CSP, including a cherry-pick from polymer.js | 113 * Several fixes for CSP, including a cherry-pick from polymer.js |
112 [commit#3b690ad][3b690ad]. | 114 [commit#3b690ad][3b690ad]. |
113 * Fix for [17596](https://code.google.com/p/dart/issues/detail?id=17596) | 115 * Fix for [17596](https://code.google.com/p/dart/issues/detail?id=17596) |
114 * Fix for [19770](https://code.google.com/p/dart/issues/detail?id=19770) | 116 * Fix for [19770](https://code.google.com/p/dart/issues/detail?id=19770) |
115 | 117 |
116 #### Pub version 0.11.0+5 | 118 #### 0.11.0+5 |
117 * fixes web_components version in dependencies | 119 * fixes web_components version in dependencies |
118 | 120 |
119 #### Pub version 0.11.0+4 | 121 #### 0.11.0+4 |
120 * workaround for bug | 122 * workaround for bug |
121 [19653](https://code.google.com/p/dart/issues/detail?id=19653) | 123 [19653](https://code.google.com/p/dart/issues/detail?id=19653) |
122 | 124 |
123 #### Pub version 0.11.0+3 | 125 #### 0.11.0+3 |
124 * update readme | 126 * update readme |
125 | 127 |
126 #### Pub version 0.11.0+2 | 128 #### 0.11.0+2 |
127 * bug fix: event listeners were not in the dirty-checking zone | 129 * bug fix: event listeners were not in the dirty-checking zone |
128 * bug fix: dispatch event in auto-binding | 130 * bug fix: dispatch event in auto-binding |
129 | 131 |
130 #### Pub version 0.11.0+1 | 132 #### 0.11.0+1 |
131 * Added a workaround for bug in HTML imports (issue | 133 * Added a workaround for bug in HTML imports (issue |
132 [19650](https://code.google.com/p/dart/issues/detail?id=19650)). | 134 [19650](https://code.google.com/p/dart/issues/detail?id=19650)). |
133 | 135 |
134 #### Pub version 0.11.0 | 136 #### 0.11.0 |
135 * **breaking change**: platform.js and dart_support.js must be specified in | 137 * **breaking change**: platform.js and dart_support.js must be specified in |
136 your entry points at the beginning of `<head>`. | 138 your entry points at the beginning of `<head>`. |
137 * **breaking change**: polymer.html is not required in entrypoints, but it is | 139 * **breaking change**: polymer.html is not required in entrypoints, but it is |
138 required from files that use `<polymer-element>`. | 140 required from files that use `<polymer-element>`. |
139 * **breaking change**: enteredView/leftView were renamed to attached/detached. | 141 * **breaking change**: enteredView/leftView were renamed to attached/detached. |
140 The old lifecycle methods will not be invoked. | 142 The old lifecycle methods will not be invoked. |
141 * **breaking change**: Event bindings with `@` are no longer supported. | 143 * **breaking change**: Event bindings with `@` are no longer supported. |
142 * **breaking change**: `@published` by default is no longer reflected as an | 144 * **breaking change**: `@published` by default is no longer reflected as an |
143 attribute by default. This might break if you try to use the attribute in | 145 attribute by default. This might break if you try to use the attribute in |
144 places like CSS selectors. To make it reflected back to an attribute use | 146 places like CSS selectors. To make it reflected back to an attribute use |
145 `@PublishedProperty(reflect: true)`. | 147 `@PublishedProperty(reflect: true)`. |
146 | 148 |
147 #### Pub version 0.10.1 | 149 #### 0.10.1 |
148 * Reduce the analyzer work by mocking a small subset of the core libraries. | 150 * Reduce the analyzer work by mocking a small subset of the core libraries. |
149 | 151 |
150 #### Pub version 0.10.0+1 | 152 #### 0.10.0+1 |
151 * Better error message on failures in pub-serve/pub-build when pubspec.yaml | 153 * Better error message on failures in pub-serve/pub-build when pubspec.yaml |
152 is missing or has a wrong configuration for the polymer transformers. | 154 is missing or has a wrong configuration for the polymer transformers. |
153 | 155 |
154 #### Pub version 0.10.0 | 156 #### 0.10.0 |
155 * Interop with polymer-js elements now works. | 157 * Interop with polymer-js elements now works. |
156 * Polymer polyfills are now consolidated in package:web_components, which is | 158 * Polymer polyfills are now consolidated in package:web_components, which is |
157 identical to platform.js from http://polymer-project.org. | 159 identical to platform.js from http://polymer-project.org. |
158 * The output of pub-build no longer uses mirrors. We replace all uses of | 160 * The output of pub-build no longer uses mirrors. We replace all uses of |
159 mirrors with code generation. | 161 mirrors with code generation. |
160 * **breaking change**: Declaring a polymer app requires an extra import to | 162 * **breaking change**: Declaring a polymer app requires an extra import to |
161 `<link rel="import" href="packages/polymer/polymer.html">` | 163 `<link rel="import" href="packages/polymer/polymer.html">` |
162 * **breaking change**: "noscript" polymer-elements are created by polymer.js, | 164 * **breaking change**: "noscript" polymer-elements are created by polymer.js, |
163 and therefore cannot be extended (subtyped) in Dart. They can still be used | 165 and therefore cannot be extended (subtyped) in Dart. They can still be used |
164 by Dart elements or applications, however. | 166 by Dart elements or applications, however. |
165 * New feature: `@ObserveProperty('foo bar.baz') myMethod() {...}` will cause | 167 * New feature: `@ObserveProperty('foo bar.baz') myMethod() {...}` will cause |
166 myMethod to be called when "foo" or "bar.baz" changes. | 168 myMethod to be called when "foo" or "bar.baz" changes. |
167 * Updated for 0.10.0-dev package:observe and package:template_binding changes. | 169 * Updated for 0.10.0-dev package:observe and package:template_binding changes. |
168 * **breaking change**: @initMethod and @CustomTag are only supported on | 170 * **breaking change**: @initMethod and @CustomTag are only supported on |
169 public classes/methods. | 171 public classes/methods. |
170 | 172 |
171 #### Pub version 0.9.5 | 173 #### 0.9.5 |
172 * Improvements on how to handle cross-package HTML imports. | 174 * Improvements on how to handle cross-package HTML imports. |
173 | 175 |
174 #### Pub version 0.9.4 | 176 #### 0.9.4 |
175 * Removes unused dependency on csslib. | 177 * Removes unused dependency on csslib. |
176 | 178 |
177 #### Pub version 0.9.3+3 | 179 #### 0.9.3+3 |
178 * Removes workaround now that mirrors implement a missing feature. Requires | 180 * Removes workaround now that mirrors implement a missing feature. Requires |
179 SDK >= 1.1.0-dev.5.0. | 181 SDK >= 1.1.0-dev.5.0. |
180 | 182 |
181 #### Pub version 0.9.3+2 | 183 #### 0.9.3+2 |
182 * Fix rare canonicalization bug | 184 * Fix rare canonicalization bug |
183 [15694](https://code.google.com/p/dart/issues/detail?id=15694) | 185 [15694](https://code.google.com/p/dart/issues/detail?id=15694) |
184 | 186 |
185 #### Pub version 0.9.3+1 | 187 #### 0.9.3+1 |
186 * Fix type error in runner.dart | 188 * Fix type error in runner.dart |
187 [15649](https://code.google.com/p/dart/issues/detail?id=15649). | 189 [15649](https://code.google.com/p/dart/issues/detail?id=15649). |
188 | 190 |
189 #### Pub version 0.9.3 | 191 #### 0.9.3 |
190 * pub-build now runs the linter automatically | 192 * pub-build now runs the linter automatically |
191 | 193 |
192 #### Pub version 0.9.2+4 | 194 #### 0.9.2+4 |
193 * fix linter on SVG and MathML tags with XML namespaces | 195 * fix linter on SVG and MathML tags with XML namespaces |
194 | 196 |
195 #### Pub version 0.9.2+3 | 197 #### 0.9.2+3 |
196 * fix [15574](https://code.google.com/p/dart/issues/detail?id=15574), | 198 * fix [15574](https://code.google.com/p/dart/issues/detail?id=15574), |
197 event bindings in dart2js, by working around issue | 199 event bindings in dart2js, by working around issue |
198 [15573](https://code.google.com/p/dart/issues/detail?id=15573) | 200 [15573](https://code.google.com/p/dart/issues/detail?id=15573) |
199 | 201 |
200 #### Pub version 0.9.2+2 | 202 #### 0.9.2+2 |
201 * fix enteredView in dart2js, by using custom_element >= 0.9.1+1 | 203 * fix enteredView in dart2js, by using custom_element >= 0.9.1+1 |
202 | 204 |
203 [6ad2d61]:https://github.com/Polymer/polymer-dev/commit/6a3e1b0e2a0bbe546f6896b3
f4f064950d7aee8f | 205 [6ad2d61]:https://github.com/Polymer/polymer-dev/commit/6a3e1b0e2a0bbe546f6896b3
f4f064950d7aee8f |
204 [3b690ad]:https://github.com/Polymer/polymer-dev/commit/3b690ad0d995a7ea339ed601
075de2f84d92bafd | 206 [3b690ad]:https://github.com/Polymer/polymer-dev/commit/3b690ad0d995a7ea339ed601
075de2f84d92bafd |
OLD | NEW |