Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Commit 267b908

Browse files
kevmooferhatb
authored andcommitted
Update changelog for v3 gold
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154218154
1 parent 9170b43 commit 267b908

File tree

2 files changed

+46
-74
lines changed

2 files changed

+46
-74
lines changed

CHANGELOG.md

Lines changed: 45 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
## 3.0.0-beta+2
1+
## 3.0.0
22

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
134

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.
158

169
### Breaking changes
1710

18-
* Injecting null no longer supported.
11+
* Requires at least Dart SDK `1.23.0`.
12+
13+
* Injecting `null` is no longer supported.
14+
1915
* Remove unused `useProperty` argument in DI `Provider` api.
16+
2017
* `ReflectionCapabilities.isReflectionEnabled` renamed to `reflectionEnabled`.
18+
2119
* Malformed CSS warnings are errors now.
2220

2321
* Removed forms async validators. Alternative:
@@ -30,15 +28,6 @@
3028
});
3129
```
3230

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-
4231
* Removed `TitleService`. To update the title, use `dart:html`:
4332

4433
```dart
@@ -51,27 +40,6 @@
5140
always creates the component root node instead of hoisting into an existing
5241
node.
5342

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-
7543
* Removed `viewBindings` from `Component`. This has been interchangeable with
7644
`viewProviders` for a while now.
7745

@@ -96,25 +64,10 @@
9664
prints exceptions to the console. If you don't want this behavior (i.e.
9765
releasing to production), make sure to override it.
9866

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).
11668

11769
* DOM adapter is now completely removed from the API and generated code
70+
11871
* A `name` parameter is now _required_ for all `@Pipe(...)` definitions:
11972

12073
**BEFORE:** `dart @Pipe(name: 'uppercase')`
@@ -170,24 +123,43 @@ before releasing a final version.
170123
171124
### Deprecations
172125
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`
176134
177135
### Bug fixes
178136
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.
183154
184-
### Refactors
155+
### Refactoring
185156
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.
191163
192164
## 2.2.0
193165

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: angular2
2-
version: 3.0.0-beta+2
2+
version: 3.0.0
33
author: Dart Team <[email protected]>
44
description: Framework for modern web applications
55
homepage: https://webdev.dartlang.org/angular

0 commit comments

Comments
 (0)