OLD | NEW |
1 # changelog | 1 # changelog |
2 | 2 |
3 This file contains highlights of what changes on each version of the polymer | 3 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, | 4 package. We will also note important changes to the polyfill packages (observe, |
5 web_components, and template_binding) if they impact polymer. | 5 web_components, and template_binding) if they impact polymer. |
6 | 6 |
7 #### Pub version 0.12.1-dev | 7 #### Pub version 0.12.1 |
| 8 * **New**: When running in pub-serve, any warnings and errors detected by the |
| 9 polymer transformers will be displayed in the lower-right corner of your |
| 10 entrypoint page. You can opt-out by adding this option to your pubspec: |
| 11 |
| 12 transformers: |
| 13 - polymer: |
| 14 ... |
| 15 inject_build_logs_in_output: false |
| 16 |
| 17 * **New**: there are now two template generators in the polymer package! On |
| 18 any project that depends on polymer, you can create template files for a new |
| 19 custom element by invoking: |
| 20 |
| 21 pub run polymer:new_element element-name [-o output_dir] |
| 22 |
| 23 And, if you invoke: |
| 24 |
| 25 pub run polymer:new_entry web/index.html |
| 26 |
| 27 we will create a new entry-point file and add it to your pubspec for you. |
| 28 |
8 * Added the ability to override the stylesheet inlining behavior. There is now | 29 * Added the ability to override the stylesheet inlining behavior. There is now |
9 an option exposed in the pubspec.yaml called `inline_stylesheets`. There are | 30 an option exposed in the pubspec.yaml called `inline_stylesheets`. There are |
10 two possible values, a boolean or a map. If only a boolean is supplied then | 31 two possible values, a boolean or a map. If only a boolean is supplied then |
11 that will set the global default behavior. If a map is supplied, then the | 32 that will set the global default behavior. If a map is supplied, then the |
12 keys should be file paths, and the value is a boolean. You can use the | 33 keys should be file paths, and the value is a boolean. You can use the |
13 special key 'default' to set the default value. | 34 special key 'default' to set the default value. |
14 | 35 |
15 For example, the following would change the default to not inline any | 36 For example, the following would change the default to not inline any |
16 styles, except for the foo.css file in your web folder and the bar.css file | 37 styles, except for the foo.css file in your web folder and the bar.css file |
17 under the foo packages lib directory: | 38 under the foo packages lib directory: |
18 | 39 |
19 transformers: | 40 transformers: |
20 - polymer: | 41 - polymer: |
21 ... | 42 ... |
22 inline_stylesheets: | 43 inline_stylesheets: |
23 default: false | 44 default: false |
24 web/foo.css: true | 45 web/foo.css: true |
25 packages/foo/bar.css: true | 46 packages/foo/bar.css: true |
26 | 47 |
27 * When running in pub-serve, any warnings and errors detected by the | |
28 polymer transformers will be displayed in the lower-right corner of your | |
29 entrypoint page. You can opt-out by adding this option to your pubspec: | |
30 | |
31 transformers: | |
32 - polymer: | |
33 ... | |
34 inject_build_logs_in_output: false | |
35 | 48 |
36 * Bug fix for http://dartbug.com/20286. Bindings in url attributes will no | 49 * Bug fix for http://dartbug.com/20286. Bindings in url attributes will no |
37 longer throw an error. | 50 longer throw an error. |
38 | 51 |
39 * **New**: there are now two template generators in the polymer package! On | |
40 any project that depends on polymer, you can create template files for a new | |
41 custom element by invoking: | |
42 | |
43 pub run polymer:new_element element-name [-o output_dir] | |
44 | |
45 And, if you invoke: | |
46 | |
47 pub run polymer:new_entry web/index.html | |
48 | |
49 we will create a new entry-point file and add it to your pubspec for you. | |
50 | 52 |
51 #### Pub version 0.12.0+7 | 53 #### Pub version 0.12.0+7 |
52 * Widen the constraint on `unittest`. | 54 * Widen the constraint on `unittest`. |
53 | 55 |
54 #### Pub version 0.12.0+6 | 56 #### Pub version 0.12.0+6 |
55 * Widen the constraint on analyzer. | 57 * Widen the constraint on analyzer. |
56 * Support for `_src` and similar attributes in polymer transformers. | 58 * Support for `_src` and similar attributes in polymer transformers. |
57 | 59 |
58 #### Pub version 0.12.0+5 | 60 #### Pub version 0.12.0+5 |
59 * Raise the lower bound on the source_maps constraint to exclude incompatible | 61 * Raise the lower bound on the source_maps constraint to exclude incompatible |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 #### Pub version 0.9.2+3 | 173 #### Pub version 0.9.2+3 |
172 * fix [15574](https://code.google.com/p/dart/issues/detail?id=15574), | 174 * fix [15574](https://code.google.com/p/dart/issues/detail?id=15574), |
173 event bindings in dart2js, by working around issue | 175 event bindings in dart2js, by working around issue |
174 [15573](https://code.google.com/p/dart/issues/detail?id=15573) | 176 [15573](https://code.google.com/p/dart/issues/detail?id=15573) |
175 | 177 |
176 #### Pub version 0.9.2+2 | 178 #### Pub version 0.9.2+2 |
177 * fix enteredView in dart2js, by using custom_element >= 0.9.1+1 | 179 * fix enteredView in dart2js, by using custom_element >= 0.9.1+1 |
178 | 180 |
179 [6ad2d61]:https://github.com/Polymer/polymer-dev/commit/6a3e1b0e2a0bbe546f6896b3
f4f064950d7aee8f | 181 [6ad2d61]:https://github.com/Polymer/polymer-dev/commit/6a3e1b0e2a0bbe546f6896b3
f4f064950d7aee8f |
180 [3b690ad]:https://github.com/Polymer/polymer-dev/commit/3b690ad0d995a7ea339ed601
075de2f84d92bafd | 182 [3b690ad]:https://github.com/Polymer/polymer-dev/commit/3b690ad0d995a7ea339ed601
075de2f84d92bafd |
OLD | NEW |