|
1 | | -## 3.0.0-beta+2 |
| 1 | +## 3.0.0 |
2 | 2 |
|
3 | | -* `@View` will be removed in `3.0.0` final, only use `@Component` instead. |
4 | | -* `EventEmitter` is now `@Deprecated`: Use `Stream` and `StreamController`. |
5 | | -* `ElementRef.nativeElement` is now `final` (no setter). |
6 | | -* Updated various documentation to make cleaner and use Dart, not TS, samples. |
7 | | -* Perf: Added performance improvments around generated code and type inference. |
8 | | -* Fix: Key-value differ now detects removals when first key moves. |
9 | | -* Fix: `<ng-content select="...">` does not emit incorrect code (regression). |
10 | | -* Perf: Optimized how reflective providers are resolved on application startup. |
11 | | - |
12 | | -## 3.0.0-beta+1 |
| 3 | +### New features |
13 | 4 |
|
14 | | -* Require at least Dart SDK `1.23.0-dev.7.0`. Required for a JS-interop fix. |
| 5 | +* `composeValidators` and `composeAsyncValidators` now part of the public API. |
| 6 | +* `angular2/testing.dart` includes a test-only `isDebugMode` function. |
| 7 | +* (Forms) `AbstractControl.markAsDirty` now emits a status change event. |
15 | 8 |
|
16 | 9 | ### Breaking changes |
17 | 10 |
|
18 | | -* Injecting null no longer supported. |
| 11 | +* Requires at least Dart SDK `1.23.0`. |
| 12 | + |
| 13 | +* Injecting `null` is no longer supported. |
| 14 | + |
19 | 15 | * Remove unused `useProperty` argument in DI `Provider` api. |
| 16 | + |
20 | 17 | * `ReflectionCapabilities.isReflectionEnabled` renamed to `reflectionEnabled`. |
| 18 | + |
21 | 19 | * Malformed CSS warnings are errors now. |
22 | 20 |
|
23 | 21 | * Removed forms async validators. Alternative: |
|
30 | 28 | }); |
31 | 29 | ``` |
32 | 30 |
|
33 | | -## 3.0.0-beta |
34 | | - |
35 | | -### New features |
36 | | - |
37 | | -* `composeValidators` and `composeAsyncValidators` now part of the public API. |
38 | | -* `angular2/testing.dart` includes a test-only `isDebugMode` function. |
39 | | - |
40 | | -### Breaking changes |
41 | | - |
42 | 31 | * Removed `TitleService`. To update the title, use `dart:html`: |
43 | 32 |
|
44 | 33 | ```dart |
|
51 | 40 | always creates the component root node instead of hoisting into an existing |
52 | 41 | node. |
53 | 42 |
|
54 | | -### Bug fixes and deprecations |
55 | | - |
56 | | -* `ngSwitchWhen` now properly compares identity in Dartium. |
57 | | -* `ngSwitchCase` replaces `ngSwitchWhen` (soft deprecation). |
58 | | -* `Component/Directive#selector` is now a `@required` property. |
59 | | -* Angular warns in the console if using Dartium without _checked_ mode. |
60 | | -* Various performance improvements for both code size and runtime. |
61 | | -* Various Dart idiomatic/style guide updates to the codebase. |
62 | | -* `ngIf` now throws again if the bound value changes during change detection. |
63 | | -* `XHR` is deprecated, along with the runtime/reflective compiler. |
64 | | - |
65 | | -## 3.0.0-alpha+1 |
66 | | - |
67 | | -### New features |
68 | | - |
69 | | -* We now use the formal `<T>` generic type syntax for methods, not `/*<T>*/`. |
70 | | - |
71 | | -* Re-enabled `strong-mode` analysis within the project, and fixed some errors. |
72 | | - |
73 | | -### Breaking changes |
74 | | - |
75 | 43 | * Removed `viewBindings` from `Component`. This has been interchangeable with |
76 | 44 | `viewProviders` for a while now. |
77 | 45 |
|
|
96 | 64 | prints exceptions to the console. If you don't want this behavior (i.e. |
97 | 65 | releasing to production), make sure to override it. |
98 | 66 |
|
99 | | -### Bug fixes and deprecations |
100 | | - |
101 | | -* When setting up a new `NgControl`, `valueAccessor` no longer can throw an NPE |
102 | | - |
103 | | -* ngSwitchCase replaces soft deprecated ngSwitchWhen |
104 | | - |
105 | | -## 3.0.0-alpha |
106 | | - |
107 | | -This is the first _pre-release_ of AngularDart `3.0.0`. This code is considered |
108 | | -production quality, but additional breaking changes and features are planned |
109 | | -before releasing a final version. |
110 | | - |
111 | | -### New features |
112 | | - |
113 | | -* (Forms) `AbstractControl.markAsDirty` now emits a status change event. |
114 | | - |
115 | | -### Breaking changes |
| 67 | +* `ElementRef.nativeElement` is now `final` (no setter). |
116 | 68 |
|
117 | 69 | * DOM adapter is now completely removed from the API and generated code |
| 70 | + |
118 | 71 | * A `name` parameter is now _required_ for all `@Pipe(...)` definitions: |
119 | 72 |
|
120 | 73 | **BEFORE:** `dart @Pipe(name: 'uppercase')` |
@@ -170,24 +123,43 @@ before releasing a final version. |
170 | 123 |
|
171 | 124 | ### Deprecations |
172 | 125 |
|
173 | | -* `IterableDiffers` and `KeyValueDiffers` are deprecated. The cost of looking |
174 | | - up to see if a custom differ is available is too high for almost no use. |
175 | | - Before they're removed, we'll have other customization options. |
| 126 | +* `@View` will be removed in `4.0`, only use `@Component` instead. |
| 127 | +* `EventEmitter` is now `@Deprecated`: Use `Stream` and `StreamController`. |
| 128 | +* `ngSwitchCase` replaces `ngSwitchWhen` (soft deprecation). |
| 129 | +* `XHR` is deprecated, along with the runtime/reflective compiler. |
| 130 | +* `IterableDiffers` and `KeyValueDiffers` are deprecated. The cost of looking |
| 131 | + up to see if a custom differ is available is too high for almost no use. |
| 132 | + Before they're removed, we'll have other customization options. |
| 133 | +* `ngSwitchCase` replaces soft deprecated `ngSwitchWhen` |
176 | 134 |
|
177 | 135 | ### Bug fixes |
178 | 136 |
|
179 | | -* Fixed a bug where the router didn't work on a root path in IE11. |
180 | | -* Fixed generated code that caused a strong-mode warning on `AppView<...>`. |
181 | | -* Fixed a bug where DDC didn't work properly with "pure" `Pipe`s. |
182 | | -* Some simple types are now propagated to the generated `.template.dart` file. |
| 137 | +* Updated various documentation to make cleaner and use Dart, not TS, samples. |
| 138 | +* Perf: Added performance improvements around generated code and type inference. |
| 139 | +* Fix: Key-value differ now detects removals when first key moves. |
| 140 | +* Fix: `<ng-content select="...">` does not emit incorrect code (regression). |
| 141 | +* Perf: Optimized how reflective providers are resolved on application startup. |
| 142 | +* `ngSwitchWhen` now properly compares identity in Dartium. |
| 143 | +* `Component/Directive#selector` is now a `@required` property. |
| 144 | +* Angular warns in the console if using Dartium without _checked_ mode. |
| 145 | +* Various performance improvements for both code size and runtime. |
| 146 | +* Various Dart idiomatic/style guide updates to the codebase. |
| 147 | +* `ngIf` now throws again if the bound value changes during change detection. |
| 148 | +* Fixed a bug where the router didn't work on a root path in IE11. |
| 149 | +* Fixed generated code that caused a strong-mode warning on `AppView<...>`. |
| 150 | +* Fixed a bug where DDC didn't work properly with "pure" `Pipe`s. |
| 151 | +* Some simple types are now propagated to the generated `.template.dart` file. |
| 152 | +* When setting up a new `NgControl`, `valueAccessor` no longer can throw an NPE |
| 153 | +* Re-enabled `strong-mode` analysis within the project, and fixed some errors. |
183 | 154 |
|
184 | | -### Refactors |
| 155 | +### Refactoring |
185 | 156 |
|
186 | | -* Removed `NgZoneImpl`, all the code exists in `NgZone` now. |
187 | | -* We now generate specific code for view and content children (faster). |
188 | | -* Projectable nodes now use the visitor pattern in `AppView`. |
189 | | -* In generated `.template.dart` change detected primitives are typed. |
190 | | -* Moved `renderType` as a static class member in generated code. |
| 157 | +* We now use the formal `<T>` generic type syntax for methods, not `/*<T>*/`. |
| 158 | +* Removed `NgZoneImpl`, all the code exists in `NgZone` now. |
| 159 | +* We now generate specific code for view and content children (faster). |
| 160 | +* Projectable nodes now use the visitor pattern in `AppView`. |
| 161 | +* In generated `.template.dart` change detected primitives are typed. |
| 162 | +* Moved `renderType` as a static class member in generated code. |
191 | 163 |
|
192 | 164 | ## 2.2.0 |
193 | 165 |
|
|
0 commit comments