OLD | NEW |
1 # changelog | 1 # changelog |
2 | 2 |
3 This file contains highlights of what changes on each version of the observe | 3 This file contains highlights of what changes on each version of the observe |
4 package. | 4 package. |
5 | 5 |
| 6 #### Pub version 0.12.0-dev |
| 7 * Updated to match [observe-js#e212e74][e212e74] (release 0.3.4) |
| 8 * ListPathObserver has been deprecated (it was deleted a while ago in |
| 9 observe-js). We plan to delete it in a future release. You may copy the code |
| 10 if you still need it. |
| 11 * PropertyPath now uses an expression syntax including indexers. For example, |
| 12 you can write `a.b["m"]` instead of `a.b.m`. |
| 13 * **breaking change**: PropertyPath no longer allows numbers as fields, you |
| 14 need to use indexers instead. For example, you now need to write `a[3].d` |
| 15 instead of `a.3.d`. |
| 16 |
6 #### Pub version 0.11.0-dev | 17 #### Pub version 0.11.0-dev |
7 * PathObserver.value= no longer discards changes (this is in combination with | 18 * PathObserver.value= no longer discards changes (this is in combination with |
8 a change in template_binding and polymer to improve interop with JS custom | 19 a change in template_binding and polymer to improve interop with JS custom |
9 elements). | 20 elements). |
10 | 21 |
11 #### Pub version 0.10.0+3 | 22 #### Pub version 0.10.0+3 |
12 * minor changes to documentation, deprecated `discardListChages` in favor of | 23 * minor changes to documentation, deprecated `discardListChages` in favor of |
13 `discardListChanges` (the former had a typo). | 24 `discardListChanges` (the former had a typo). |
14 | 25 |
15 #### Pub version 0.10.0 | 26 #### Pub version 0.10.0 |
16 * package:observe no longer declares @MirrorsUsed. The package uses mirrors | 27 * package:observe no longer declares @MirrorsUsed. The package uses mirrors |
17 for development time, but assumes frameworks (like polymer) and apps that | 28 for development time, but assumes frameworks (like polymer) and apps that |
18 use it directly will either generate code that replaces the use of mirrors, | 29 use it directly will either generate code that replaces the use of mirrors, |
19 or add the @MirrorsUsed declaration themselves. For convinience, you can | 30 or add the @MirrorsUsed declaration themselves. For convinience, you can |
20 import 'package:observe/mirrors_used.dart', and that will add a @MirrorsUsed | 31 import 'package:observe/mirrors_used.dart', and that will add a @MirrorsUsed |
21 annotation that preserves properties and classes labeled with @reflectable | 32 annotation that preserves properties and classes labeled with @reflectable |
22 and properties labeled with @observable. | 33 and properties labeled with @observable. |
| 34 * Updated to match [observe-js#0152d54][0152d54] |
| 35 |
| 36 [0152d54]: https://github.com/Polymer/observe-js/blob/0152d542350239563d0f2cad39
d22d3254bd6c2a/src/observe.js |
| 37 [e212e74]: https://github.com/Polymer/observe-js/blob/e212e7473962067c099a3d1859
595c2f8baa36d7/src/observe.js |
OLD | NEW |