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