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