OLD | NEW |
1 # changelog | 1 # changelog |
2 | 2 |
3 This file contains highlights of what changes on each version of the | 3 This file contains highlights of what changes on each version of the |
4 polymer_expressions package. | 4 polymer_expressions package. |
5 | 5 |
| 6 #### Pub version 0.11.0 |
| 7 * Remove faulty assert that threw when an iterable field was updated. |
| 8 |
| 9 #### Pub version 0.11.0 |
| 10 * Scopes created by templates are created less often and nested properly. The |
| 11 previous version had a bug with respect to the names visible in |
| 12 <template releat> tags without an "in" expression, and <template bind> tags. |
| 13 In those templates, names for the outer templates should not be visible. |
| 14 This may result in some breakages in templates that relied on the buggy |
| 15 behavior. |
| 16 * <template bind> now supports "as" expressions. |
| 17 * Removed warnings when attempting to assign a value to a property on null |
| 18 object, or assign a value to a non-assignable expression. Polymer binding |
| 19 initialization sometimes assigns to expressions, so this should reduce |
| 20 unecessary warnings. |
| 21 * Added the % (modulo), === (identical) and !== (not identical) operators. |
| 22 * Fast-path for eval(). eval() no longer observes expressions or creates a |
| 23 tree of observers. |
| 24 * PolymerExpressions bindings clean up expression observers when closed, |
| 25 fixing a potential memory leak. |
| 26 * Better parse errors. Unknown operators are reported, and all exceptions are |
| 27 instances of ParseException so that they can be caught independently of |
| 28 exceptions generated by calling user code. |
| 29 |
| 30 |
6 #### Pub version 0.10.0 | 31 #### Pub version 0.10.0 |
7 * package:polymer_expressions no longer declares @MirrosUsed. The package uses | 32 * package:polymer_expressions no longer declares @MirrosUsed. The package uses |
8 mirrors at development time, but assumes frameworks like polymer will | 33 mirrors at development time, but assumes frameworks like polymer will |
9 generate code that replaces the use of mirrors. If you use this directly, | 34 generate code that replaces the use of mirrors. If you use this directly, |
10 you might need to do code generation as well, or add the @MirrorsUsed | 35 you might need to do code generation as well, or add the @MirrorsUsed |
11 declaration. This can be done either explicitly or by importing the old | 36 declaration. This can be done either explicitly or by importing the old |
12 settings from 'package:observe/mirrors_used.dart' (which include | 37 settings from 'package:observe/mirrors_used.dart' (which include |
13 @reflectable and @observable by default). | 38 @reflectable and @observable by default). |
14 | 39 |
15 * Errors that occur within bindings are now thrown asycnhronously. We used to | 40 * Errors that occur within bindings are now thrown asycnhronously. We used to |
16 trap some errors and report them in a Logger, and we would let other errors | 41 trap some errors and report them in a Logger, and we would let other errors |
17 halt the rendering process. Now all errors are caught, but they are reported | 42 halt the rendering process. Now all errors are caught, but they are reported |
18 asynchornously so they are visible even when logging is not set up. | 43 asynchornously so they are visible even when logging is not set up. |
19 | 44 |
20 * Fixed several bugs, including: | 45 * Fixed several bugs, including: |
21 * propagating list changes ([18749][]). | 46 * propagating list changes ([18749][]). |
22 * precedence of ternary operators ([17805][]). | 47 * precedence of ternary operators ([17805][]). |
23 * two-way bindings ([18410][] and [18792][]). | 48 * two-way bindings ([18410][] and [18792][]). |
24 | 49 |
25 [17805]: https://code.google.com/p/dart/issues/detail?id=17805 | 50 [17805]: https://code.google.com/p/dart/issues/detail?id=17805 |
26 [18410]: https://code.google.com/p/dart/issues/detail?id=18410 | 51 [18410]: https://code.google.com/p/dart/issues/detail?id=18410 |
27 [18749]: https://code.google.com/p/dart/issues/detail?id=18749 | 52 [18749]: https://code.google.com/p/dart/issues/detail?id=18749 |
28 [18792]: https://code.google.com/p/dart/issues/detail?id=18792 | 53 [18792]: https://code.google.com/p/dart/issues/detail?id=18792 |
OLD | NEW |