OLD | NEW |
| (Empty) |
1 #### 0.16.3+3 | |
2 * Inject the polyfills after any `<base>` tags in the head. | |
3 | |
4 #### 0.16.3+2 | |
5 * Fix invalid warning about missing polymer.html import from the linter. | |
6 * Update logging package to `<0.12.0`. | |
7 | |
8 #### 0.16.3+1 | |
9 * Update observe to 0.13.1. | |
10 | |
11 #### 0.16.3 | |
12 * Update analyzer to <0.26.0. | |
13 | |
14 #### 0.16.2 | |
15 * Add support for the new `link[rel="x-dart-test"]` tags from the `test` | |
16 package to the transformer. | |
17 * The `Future` returned from the default `main` method in | |
18 `package:polymer/init.dart` now guarantees that it will not complete until | |
19 all `@initMethod` and `@whenPolymerReady` functions have been executed. This | |
20 is to support writing tests inside these methods using the new `test` | |
21 package. | |
22 * Fix the bootstrap file to return the original result of main. | |
23 | |
24 #### 0.16.1+4 | |
25 * Use `polymer_interop` for everything polymer js related. Projects which only | |
26 provide/use wrappers around js elements should be able to switch to using that | |
27 package instead of this one. | |
28 | |
29 #### 0.16.1+3 | |
30 * Update polymer js version to 0.5.5. | |
31 | |
32 #### 0.16.1+2 | |
33 * Update pubspec from `html5lib` to `html`. | |
34 | |
35 #### 0.16.1+1 | |
36 * Switch `html5lib` package dependency to `html`. | |
37 | |
38 #### 0.16.1 | |
39 * Added `@whenPolymerReady` annotation for functions. This will call the | |
40 function once `Polymer.onReady` completes, reducing the boilerplate in entry | |
41 points to the following: | |
42 | |
43 import 'package:polymer/polymer.dart'; | |
44 export 'package:polymer/init.dart'; | |
45 | |
46 @whenPolymerReady | |
47 void onReady() { | |
48 /// Custom setup code here. | |
49 } | |
50 | |
51 #### 0.16.0+7 | |
52 * Switch to using `initWebComponents` internally which gives better guarantees | |
53 around development time ordering of initializers. This should fix most | |
54 issues related to element registration order. | |
55 | |
56 #### 0.16.0+6 | |
57 * Update `args` constraint. | |
58 * Pass `bindingStartDelimiters` to the `ImportInlinerTransformer` so it can | |
59 handle bindings in urls appropriately, | |
60 [#35](https://github.com/dart-lang/polymer-dart/issues/35). | |
61 | |
62 #### 0.16.0+5 | |
63 * Update `web_components` constraint. | |
64 | |
65 #### 0.16.0+4 | |
66 * Fix static configuration for exported libraries. | |
67 | |
68 #### 0.16.0+3 | |
69 * Increase upper bound of `smoke` package to `<0.4.0`. | |
70 | |
71 #### 0.16.0+2 | |
72 * Update the polyfill injector to work properly for entry points that live in | |
73 sub-folders. | |
74 | |
75 #### 0.16.0+1 | |
76 * Update analyzer and code_transformers versions and use new mock sdk from | |
77 code_transformers. | |
78 | |
79 #### 0.16.0 | |
80 * `initPolymer` now returns a `Future<Zone>` instead of a `Zone`. This will | |
81 likely affect most polymer applications. | |
82 | |
83 Given a current program: | |
84 | |
85 main() => initPolymer().run(realMain); | |
86 realMain() => ... | |
87 | |
88 This should be translated to: | |
89 | |
90 main() => initPolymer().then((zone) => zone.run(realMain)); | |
91 realMain() => ... | |
92 | |
93 Or alternatively, you can use an @initMethod: | |
94 | |
95 main() => initPolymer(); | |
96 | |
97 @initMethod | |
98 realMain() => ... | |
99 | |
100 * Dropped support for the experimental bootstrap. | |
101 * The `polymer` transformer is now integrated with the `initialize` | |
102 transformer. This means you can now use `@HtmlImport` on library directives. | |
103 This allows producers of elements to declare their own html dependencies so | |
104 consumers don't have to know about your html imports at all. See | |
105 [web_components 0.10.2](https://github.com/dart-lang/web-components/blob/mas
ter/CHANGELOG.md#0102) | |
106 for more information on @HtmlImport. | |
107 * The `startPolymer` method no longer takes a `deployMode` argument. This is | |
108 meant as an internal-only method and should not affect apps. It also now | |
109 returns a `Future`. | |
110 * The transformer has been heavily refactored and may behave slightly | |
111 differently. Please file any bugs related to this at | |
112 https://github.com/dart-lang/polymer-dart/issues/new. | |
113 | |
114 #### 0.15.5+4 | |
115 * Fix for [#23](https://github.com/dart-lang/polymer-dart/issues/23) (0.15.5+3 | |
116 missed an invocation of the observe transformer). | |
117 | |
118 #### 0.15.5+3 | |
119 * Pass more state to the observe transformer so it won't output log files in | |
120 release mode. | |
121 | |
122 #### 0.15.5+2 | |
123 * Update duplicate css file message. | |
124 | |
125 #### 0.15.5+1 | |
126 * Changes order in which CustomTags are registered to guarantee that the order | |
127 is deterministic and that within a library superclasses are registered | |
128 before subclasses. This fixes | |
129 [17](https://github.com/dart-lang/polymer-dart/issues/17). | |
130 | |
131 #### 0.15.5 | |
132 * Update to polymer js version | |
133 [0.5.2](https://github.com/Polymer/polymer/releases/tag/0.5.2). This fixes | |
134 [11](https://github.com/dart-lang/polymer-dart/issues/11). | |
135 | |
136 #### 0.15.4 | |
137 * Fix template if when using template attribute | |
138 [209](https://github.com/Polymer/TemplateBinding/issues/209). | |
139 * Renamed `injectBoundHTML` to `injectBoundHtml` and changed its signature to | |
140 use named instead of positional optional arguments. Also added support for | |
141 custom `NodeValidator` and/or `TreeSanitizer`. The old version still exists | |
142 for now with an `@deprecated` annotation. | |
143 | |
144 #### 0.15.3+1 | |
145 * Fix logic for detecting when the compiler is linting within an | |
146 `auto-binding-dart` template element. This removes some false positive | |
147 warnings. | |
148 | |
149 #### 0.15.3 | |
150 * Narrow the constraint on observe to ensure that new features are reflected | |
151 in polymer's version. | |
152 | |
153 #### 0.15.2 | |
154 * Upgraded to polymer js version | |
155 [0.5.1](https://github.com/Polymer/polymer/releases/tag/0.5.1). | |
156 **Dart Note**: Since dirty checking is only a development feature for | |
157 Polymer Dart, we did not include the functionality to stop dirty checks in | |
158 inactive windows. | |
159 * `polymer.js` is now the unminified version, and `polymer.min.js` is the | |
160 minified version. | |
161 * Fixed bug where polymer js was creating instances of extended elements in | |
162 order to check if they had been registered. All dart custom elements now get | |
163 registered with polymer js using the HTMLElement prototype. | |
164 | |
165 #### 0.15.1+5 | |
166 * Increase code_transformers lower bound and use shared transformers from it. | |
167 | |
168 #### 0.15.1+4 | |
169 * Fix double-registration bug when using exports | |
170 [21439](http://dartbug.com/21439). | |
171 | |
172 #### 0.15.1+3 | |
173 * Make sure that `dart_support.js` is always appended after `platform.js`, | |
174 [21435](http://dartbug.com/21435). | |
175 | |
176 #### 0.15.1+2 | |
177 * Handle and warn about cases where a script file is included twice from the | |
178 same entrypoint [21332](http://dartbug.com/21332). | |
179 | |
180 #### 0.15.1+1 | |
181 * Fix typo in error message polymer#42 | |
182 | |
183 #### 0.15.1 | |
184 * Upgraded to polymer [0.4.2][] | |
185 * No need to include dart_support.js in your entrypoints anymore. | |
186 | |
187 #### 0.15.0+1 | |
188 * Widen web_components version constraint. | |
189 | |
190 #### 0.15.0 | |
191 * Upgraded to polymer 0.4.1 | |
192 * Added Polymer.forceReady method. This forces a ready state regardless of | |
193 whether or not there are still polymer-element declarations waiting for | |
194 their class definitions to be loaded. | |
195 * Added Polymer.waitingFor method. This returns a list of all polymer-element | |
196 declarations that are still waiting for their class definitions to be | |
197 loaded. | |
198 * Add runtime checking of the waitingFor queue and print to the console if a | |
199 deadlock situation is suspected to help diagnose the white screen of death. | |
200 * Added injectBoundHTML instance method. This can be used to dynamically | |
201 inject html that is bound to your current element into a target element. | |
202 | |
203 #### 0.14.3 | |
204 * Warn if the same css file is inlined more than once, | |
205 [19996](http://dartbug.com/19996). | |
206 * Don't start moving elements from head to body until we find the first | |
207 import, [20826](http://dartbug.com/20826). | |
208 * Add option to not inject platform.js in the build output | |
209 [20865](http://dartbug.com/20865). To use, set `inject_platform_js` to | |
210 false in the polymer transformer config section of your pubspec.yaml: | |
211 | |
212 transformers: | |
213 - polymer: | |
214 inject_platform_js: false | |
215 ... | |
216 | |
217 #### 0.14.2+1 | |
218 * Fix findController function for js or dart wrapped elements. This fixes | |
219 event bindings when using paper-dialog and probably some other cases, | |
220 [20931](http://dartbug.com/20931). | |
221 | |
222 #### 0.14.2 | |
223 * Polymer will now create helpful index pages in all folders containing entry | |
224 points and in their parent folders, in debug mode only | |
225 [20963](http://dartbug.com/20963). | |
226 | |
227 #### 0.14.1 | |
228 * The build.dart file no longer requires a list of entry points, and you can | |
229 replace the entire file with `export 'package:polymer/default_build.dart';` | |
230 [20396](http://dartbug.com/20396). | |
231 * Inlined imports from the head of the document now get inserted inside a | |
232 hidden div, similar to the js vulcanizer [20943](http://dartbug.com/20943). | |
233 | |
234 #### 0.14.0+1 | |
235 * Small style improvements on error/warnings page. | |
236 | |
237 #### 0.14.0 | |
238 * Upgraded to polymer 0.4.0 ([polymer-dev#d66a86e][d66a86e]). | |
239 * The platform.js script is no longer required in Chrome or Dartium | |
240 (version 36). You can now remove this from your projects for development, | |
241 and it will be injected when running pub build or pub serve. If you would | |
242 like the option to not inject platform.js at all in the built output (if you | |
243 are deploying to chrome exclusively), please star this bug | |
244 http://dartbug.com/20865. | |
245 * Fixed invalid linter warning when using event handlers inside an | |
246 `auto-binding-dart` template, [20913](http://dartbug.com/20913). | |
247 | |
248 #### 0.13.1 | |
249 * Upgraded error messages to have a unique and stable identifier. This | |
250 requires a version of `code_transformers` newer than `0.2.3`. | |
251 * Upgraded minimum version constraint on `args` to `0.11.0`. | |
252 | |
253 #### 0.13.0+3 | |
254 * Added a warning about flashes of unstyled content if we can detect a | |
255 situation that would cause it [20751](http://dartbug.com/20751). | |
256 | |
257 #### 0.13.0+2 | |
258 * Update internal transformers to delete .concat.js and .map files when in | |
259 release mode, saving about 1MB of space in the built output. | |
260 | |
261 #### 0.13.0+1 | |
262 * Bug fix for http://dartbug.com/18171. Elements that extend other elements | |
263 but don't have a template will still inherit styles from those elements. | |
264 * Bug fix for http://dartbug.com/20544. Better runtime logging when attributes | |
265 are defined on an element but have no corresponding property on the class. | |
266 | |
267 #### 0.13.0 | |
268 * Update to match polymer 0.3.5 ([polymer-dev#5d00e4b][5d00e4b]). There was a | |
269 breaking change in the web_components package where selecting non-rendered | |
270 elements doesn't work, but it shouldn't affect most people. See | |
271 https://github.com/Polymer/ShadowDOM/issues/495. | |
272 | |
273 #### 0.12.2+1 | |
274 * Small bug fix for `polymer:new_element` | |
275 | |
276 #### 0.12.2 | |
277 * Fix for [20539](http://dartbug.com/20539). Log widget will now html escape | |
278 messages. | |
279 * Fix for [20538](http://dartbug.com/20538). Log widget will now surface lint | |
280 logs from imported files. | |
281 * Backward compatible change to prepare for upcoming change of the user agent | |
282 in Dartium. | |
283 * `pub run polymer:new_element` now supports specifying a base class. | |
284 **Note**: only native DOM types and custom elements written in Dart can be | |
285 extended. Elements adapted from Javascript (like core- and paper- elements) | |
286 cannot be extended. | |
287 * other bug fixes in `polymer:new_entry`. | |
288 | |
289 #### 0.12.1 | |
290 * **New**: When running in pub-serve, any warnings and errors detected by the | |
291 polymer transformers will be displayed in the lower-right corner of your | |
292 entrypoint page. You can opt-out by adding this option to your pubspec: | |
293 | |
294 transformers: | |
295 - polymer: | |
296 ... | |
297 inject_build_logs_in_output: false | |
298 | |
299 * **New**: there are now two template generators in the polymer package! On | |
300 any project that depends on polymer, you can create template files for a new | |
301 custom element by invoking: | |
302 | |
303 pub run polymer:new_element element-name [-o output_dir] | |
304 | |
305 And, if you invoke: | |
306 | |
307 pub run polymer:new_entry web/index.html | |
308 | |
309 we will create a new entry-point file and add it to your pubspec for you. | |
310 | |
311 * Added the ability to override the stylesheet inlining behavior. There is now | |
312 an option exposed in the pubspec.yaml called `inline_stylesheets`. There are | |
313 two possible values, a boolean or a map. If only a boolean is supplied then | |
314 that will set the global default behavior. If a map is supplied, then the | |
315 keys should be file paths, and the value is a boolean. You can use the | |
316 special key 'default' to set the default value. | |
317 | |
318 For example, the following would change the default to not inline any | |
319 styles, except for the foo.css file in your web folder and the bar.css file | |
320 under the foo packages lib directory: | |
321 | |
322 transformers: | |
323 - polymer: | |
324 ... | |
325 inline_stylesheets: | |
326 default: false | |
327 web/foo.css: true | |
328 packages/foo/bar.css: true | |
329 | |
330 | |
331 * Bug fix for http://dartbug.com/20286. Bindings in url attributes will no | |
332 longer throw an error. | |
333 | |
334 | |
335 #### 0.12.0+7 | |
336 * Widen the constraint on `unittest`. | |
337 | |
338 #### 0.12.0+6 | |
339 * Widen the constraint on analyzer. | |
340 * Support for `_src` and similar attributes in polymer transformers. | |
341 | |
342 #### 0.12.0+5 | |
343 * Raise the lower bound on the source_maps constraint to exclude incompatible | |
344 versions. | |
345 | |
346 #### 0.12.0+4 | |
347 * Widen the constraint on source_maps. | |
348 | |
349 #### 0.12.0+3 | |
350 * Fix a final use of `getLocationMessage`. | |
351 | |
352 #### 0.12.0+2 | |
353 * Widen the constraint on barback. | |
354 | |
355 #### 0.12.0+1 | |
356 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` | |
357 class. | |
358 | |
359 #### 0.12.0 | |
360 * Updated to match polymer 0.3.4 ([polymer-dev#6ad2d61][6ad2d61]), this | |
361 includes the following changes: | |
362 * added @ComputedProperty | |
363 * @published can now be written using the readValue/writeValue helper | |
364 methods to match the same timing semantics as Javscript properties. | |
365 * underlying packages are also updated. Some noticeable changes are: | |
366 * observe: path-observers syntax is slightly different | |
367 * polymer_expressions: updating the value of an expression will issue a | |
368 notification. | |
369 * template_binding: better NodeBind interop support (for | |
370 two-way bindings with JS polymer elements). | |
371 * Several fixes for CSP, including a cherry-pick from polymer.js | |
372 [commit#3b690ad][3b690ad]. | |
373 * Fix for [17596](https://code.google.com/p/dart/issues/detail?id=17596) | |
374 * Fix for [19770](https://code.google.com/p/dart/issues/detail?id=19770) | |
375 | |
376 #### 0.11.0+5 | |
377 * fixes web_components version in dependencies | |
378 | |
379 #### 0.11.0+4 | |
380 * workaround for bug | |
381 [19653](https://code.google.com/p/dart/issues/detail?id=19653) | |
382 | |
383 #### 0.11.0+3 | |
384 * update readme | |
385 | |
386 #### 0.11.0+2 | |
387 * bug fix: event listeners were not in the dirty-checking zone | |
388 * bug fix: dispatch event in auto-binding | |
389 | |
390 #### 0.11.0+1 | |
391 * Added a workaround for bug in HTML imports (issue | |
392 [19650](https://code.google.com/p/dart/issues/detail?id=19650)). | |
393 | |
394 #### 0.11.0 | |
395 * **breaking change**: platform.js and dart_support.js must be specified in | |
396 your entry points at the beginning of `<head>`. | |
397 * **breaking change**: polymer.html is not required in entrypoints, but it is | |
398 required from files that use `<polymer-element>`. | |
399 * **breaking change**: enteredView/leftView were renamed to attached/detached. | |
400 The old lifecycle methods will not be invoked. | |
401 * **breaking change**: Event bindings with `@` are no longer supported. | |
402 * **breaking change**: `@published` by default is no longer reflected as an | |
403 attribute by default. This might break if you try to use the attribute in | |
404 places like CSS selectors. To make it reflected back to an attribute use | |
405 `@PublishedProperty(reflect: true)`. | |
406 | |
407 #### 0.10.1 | |
408 * Reduce the analyzer work by mocking a small subset of the core libraries. | |
409 | |
410 #### 0.10.0+1 | |
411 * Better error message on failures in pub-serve/pub-build when pubspec.yaml | |
412 is missing or has a wrong configuration for the polymer transformers. | |
413 | |
414 #### 0.10.0 | |
415 * Interop with polymer-js elements now works. | |
416 * Polymer polyfills are now consolidated in package:web_components, which is | |
417 identical to platform.js from http://polymer-project.org. | |
418 * The output of pub-build no longer uses mirrors. We replace all uses of | |
419 mirrors with code generation. | |
420 * **breaking change**: Declaring a polymer app requires an extra import to | |
421 `<link rel="import" href="packages/polymer/polymer.html">` | |
422 * **breaking change**: "noscript" polymer-elements are created by polymer.js, | |
423 and therefore cannot be extended (subtyped) in Dart. They can still be used | |
424 by Dart elements or applications, however. | |
425 * New feature: `@ObserveProperty('foo bar.baz') myMethod() {...}` will cause | |
426 myMethod to be called when "foo" or "bar.baz" changes. | |
427 * Updated for 0.10.0-dev package:observe and package:template_binding changes. | |
428 * **breaking change**: @initMethod and @CustomTag are only supported on | |
429 public classes/methods. | |
430 | |
431 #### 0.9.5 | |
432 * Improvements on how to handle cross-package HTML imports. | |
433 | |
434 #### 0.9.4 | |
435 * Removes unused dependency on csslib. | |
436 | |
437 #### 0.9.3+3 | |
438 * Removes workaround now that mirrors implement a missing feature. Requires | |
439 SDK >= 1.1.0-dev.5.0. | |
440 | |
441 #### 0.9.3+2 | |
442 * Fix rare canonicalization bug | |
443 [15694](https://code.google.com/p/dart/issues/detail?id=15694) | |
444 | |
445 #### 0.9.3+1 | |
446 * Fix type error in runner.dart | |
447 [15649](https://code.google.com/p/dart/issues/detail?id=15649). | |
448 | |
449 #### 0.9.3 | |
450 * pub-build now runs the linter automatically | |
451 | |
452 #### 0.9.2+4 | |
453 * fix linter on SVG and MathML tags with XML namespaces | |
454 | |
455 #### 0.9.2+3 | |
456 * fix [15574](https://code.google.com/p/dart/issues/detail?id=15574), | |
457 event bindings in dart2js, by working around issue | |
458 [15573](https://code.google.com/p/dart/issues/detail?id=15573) | |
459 | |
460 #### 0.9.2+2 | |
461 * fix enteredView in dart2js, by using custom_element >= 0.9.1+1 | |
462 | |
463 [0.4.2]: https://github.com/Polymer/polymer-dev/commit/8c339cf8614eb65145ec1ccbd
ba7ecbadf65b343 | |
464 [6ad2d61]:https://github.com/Polymer/polymer-dev/commit/6a3e1b0e2a0bbe546f6896b3
f4f064950d7aee8f | |
465 [3b690ad]:https://github.com/Polymer/polymer-dev/commit/3b690ad0d995a7ea339ed601
075de2f84d92bafd | |
OLD | NEW |