You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***router:** expose initalNavigation and dispose so they can be used with webworkers ([b77a4a4](https://github.com/angular/angular/commit/b77a4a4))
83
-
***router:** fix matrix params check to handle 'special' objects ([d2d36c6](https://github.com/angular/angular/commit/d2d36c6))
84
-
***router:** fix offline compilation by exporting provideLocationStrategy ([8dc82a0](https://github.com/angular/angular/commit/8dc82a0))
85
-
***router:** fix rollup config to properly set up rxjs ([1803ed2](https://github.com/angular/angular/commit/1803ed2))
86
-
***router:** fix RouterLinKActive to work with RouterLink ([f7a0e9e](https://github.com/angular/angular/commit/f7a0e9e))
87
-
***router:** fix type definition ([c586656](https://github.com/angular/angular/commit/c586656))
88
-
***router:** freeze params and queryParams to prevent common source of bugs ([0668ba5](https://github.com/angular/angular/commit/0668ba5))
89
-
***router:** handle lastPathIndex of empty-path routes ([7a4f662](https://github.com/angular/angular/commit/7a4f662))
90
-
***router:** handle router outlets in ngIf ([0c65d5c](https://github.com/angular/angular/commit/0c65d5c))
91
-
***router:** handle url fragments when no url segments present ([43437c1](https://github.com/angular/angular/commit/43437c1))
92
-
***router:** handle urls with only secondary top-level segments ([44709e0](https://github.com/angular/angular/commit/44709e0))
93
-
***router:** handle when both primary and secondary are empty-path and primary has a child ([2b63330](https://github.com/angular/angular/commit/2b63330))
94
-
***router:** lazily-loaded modules should use loaded injectors instead of the root one ([85be729](https://github.com/angular/angular/commit/85be729))
95
-
***router:** lazy loaded components should use loaded injector ([921a179](https://github.com/angular/angular/commit/921a179))
96
-
***router:** make an outlet to unregister itself when it is removed from the dom ([3e377f5](https://github.com/angular/angular/commit/3e377f5))
97
-
***router:** make router provides work with cli and offline compilation ([d15a1d6](https://github.com/angular/angular/commit/d15a1d6))
98
-
***router:** merge SystemJsAppModuleFactoryLoader and SystemJsAllModuleLoader ([0426325](https://github.com/angular/angular/commit/0426325))
99
-
***router:** navigation should not preserve query params and fragment by default ([23ee29b](https://github.com/angular/angular/commit/23ee29b))
100
-
***router:** provideRouter should use provideRoutes ([#10488](https://github.com/angular/angular/issues/10488)) ([2eda7a5](https://github.com/angular/angular/commit/2eda7a5))
101
-
***router:** relax type defintion of Route to improve dev ergonomics ([bb8b82b](https://github.com/angular/angular/commit/bb8b82b))
102
-
***router:** remove a circular dep ([6bfd514](https://github.com/angular/angular/commit/6bfd514))
103
-
***router:** remove private and internal annotations ([#9745](https://github.com/angular/angular/issues/9745)) ([dabf214](https://github.com/angular/angular/commit/dabf214))
104
-
***router:** remove private and internal annotations ([#9753](https://github.com/angular/angular/issues/9753)) ([137fff9](https://github.com/angular/angular/commit/137fff9))
105
-
***router:** remove the precompile warning ([fb2539e](https://github.com/angular/angular/commit/fb2539e))
106
-
***router:** route.parent should work for secondary children ([5a99393](https://github.com/angular/angular/commit/5a99393))
107
-
***router:** router link active should take all descendants into account ([8d90a5a](https://github.com/angular/angular/commit/8d90a5a))
108
-
***router:** routerLinkActive should only set classes after the router has successfully navigated ([db54a84](https://github.com/angular/angular/commit/db54a84))
109
-
***router:** support outlets in non-absolute positions ([afcb3c0](https://github.com/angular/angular/commit/afcb3c0))
110
-
***router:** throw when cannot parse a url ([27b87ef](https://github.com/angular/angular/commit/27b87ef))
111
-
***router:** update current state and url before activating components ([5cf5897](https://github.com/angular/angular/commit/5cf5897))
***router:** update links when query params change ([f65ebec](https://github.com/angular/angular/commit/f65ebec))
115
-
***router:** updates router module to be offline-compilation friendly ([72da547](https://github.com/angular/angular/commit/72da547))
116
73
***static_reflector:** report methods with decorators in `propMetadata` as well ([367f0fd](https://github.com/angular/angular/commit/367f0fd)), closes [#10308](https://github.com/angular/angular/issues/10308)[#10318](https://github.com/angular/angular/issues/10318)
117
74
***static_reflector:** resolve values of functions in the function context ([d6b65db](https://github.com/angular/angular/commit/d6b65db))
118
75
***SyncAsyncResult:** fix default async value ([#10013](https://github.com/angular/angular/issues/10013)) ([6d02d2f](https://github.com/angular/angular/commit/6d02d2f)), closes [#10013](https://github.com/angular/angular/issues/10013)
@@ -186,26 +143,6 @@
186
143
***NgStyle:** add support for the style.unit notation ([#10496](https://github.com/angular/angular/issues/10496)) ([8b18ef4](https://github.com/angular/angular/commit/8b18ef4)), closes [#10326](https://github.com/angular/angular/issues/10326)
187
144
***ngUpgrade:** add support for NgModules ([6b564ec](https://github.com/angular/angular/commit/6b564ec))
188
145
***NumberPipe:** add string support ([#10163](https://github.com/angular/angular/issues/10163)) ([f3dd91e](https://github.com/angular/angular/commit/f3dd91e)), closes [#10159](https://github.com/angular/angular/issues/10159)
189
-
***router:** activateroute should expose its route config ([2fdb39e](https://github.com/angular/angular/commit/2fdb39e))
190
-
***router:** add a validation to make sure pathMatch is set correctly ([3c3e9dd](https://github.com/angular/angular/commit/3c3e9dd))
191
-
***router:** add activate and deactivate events to RouterOutlet ([245b091](https://github.com/angular/angular/commit/245b091))
192
-
***router:** add isActive to router ([5162fb6](https://github.com/angular/angular/commit/5162fb6))
193
-
***router:** add parent, children, firstChild to ActivatedRoute ([550ab31](https://github.com/angular/angular/commit/550ab31))
194
-
***router:** add queryParams and fragment to every activated route ([422d380](https://github.com/angular/angular/commit/422d380))
***router:** add support for canActivateChild ([9e3d13f](https://github.com/angular/angular/commit/9e3d13f))
198
-
***router:** add support for lazily loaded modules ([8ebb8e4](https://github.com/angular/angular/commit/8ebb8e4))
199
-
***router:** add the ANALYZE_FOR_PRECOMPILE provider to make dev ergonomics better ([96a9e66](https://github.com/angular/angular/commit/96a9e66))
200
-
***router:** Allow navigation without updating the URL ([#9608](https://github.com/angular/angular/issues/9608)) ([63b82cd](https://github.com/angular/angular/commit/63b82cd))
201
-
***router:** empty-path routes should inherit matrix params ([a77db44](https://github.com/angular/angular/commit/a77db44))
202
-
***router:** guards and data resolvers can now return promises ([a5dc570](https://github.com/angular/angular/commit/a5dc570))
***router:** rename UrlPathWithParams into UrlSegment ([6f68330](https://github.com/angular/angular/commit/6f68330))
205
-
***router:** support sibling modules providing routes ([29caa37](https://github.com/angular/angular/commit/29caa37))
206
-
***router:** update routerLink DSL to handle aux routes ([ded518d](https://github.com/angular/angular/commit/ded518d))
207
-
***router:** update the example app to use lazily-loaded modules ([6fbe56d](https://github.com/angular/angular/commit/6fbe56d))
208
-
***Router:** add extra validation for when route was passed as Array ([#9942](https://github.com/angular/angular/issues/9942)) ([aa88438](https://github.com/angular/angular/commit/aa88438))
209
146
***security:** categorize <tracksrc> as a regular URL. ([a441b5b](https://github.com/angular/angular/commit/a441b5b)), closes [#10089](https://github.com/angular/angular/issues/10089)
210
147
***security:** only warn when actually sanitizing HTML. ([#10272](https://github.com/angular/angular/issues/10272)) ([482c019](https://github.com/angular/angular/commit/482c019)), closes [#10206](https://github.com/angular/angular/issues/10206)
211
148
***security:** trust resource URLs as URLs. ([#10220](https://github.com/angular/angular/issues/10220)) ([51f3d22](https://github.com/angular/angular/commit/51f3d22))
@@ -215,7 +152,7 @@
215
152
216
153
### BREAKING CHANGES
217
154
218
-
* core:
155
+
* core:
219
156
220
157
## Bootstrap changes
221
158
```
@@ -241,15 +178,15 @@
241
178
```
242
179
* browser:
243
180
- short form bootstrap does no longer allow
244
-
to inject compiler internals (i.e. everything
181
+
to inject compiler internals (i.e. everything
245
182
from `@angular/compiler`). Inject `Compiler` instead.
246
-
* core:
247
-
-`ApplicationRef.waitForAsyncInitializers` is deprecated. Use
183
+
* core:
184
+
-`ApplicationRef.waitForAsyncInitializers` is deprecated. Use
-`ApplicationRef.registerBootstrapListener` is deprecated. Provide a multi
251
188
provider for the new token `APP_BOOTSTRAP_LISTENER` instead.
252
-
* core:
189
+
* core:
253
190
-`ApplicationRef.dispose` is deprecated. Destroy the module that was
254
191
created during bootstrap instead by calling `NgModuleRef.destroy`.
255
192
-`AplicationRef.registerDisposeListener` is deprecated.
@@ -262,17 +199,17 @@
262
199
`PlatformRef.onDestroy` instead.
263
200
-`PlaformRef.diposed` is deprecated. Use `PlatformRef.destroyed`
264
201
instead.
265
-
* testing:
202
+
* testing:
266
203
*`withProviders`, use `TestBed.withModule` instead
267
204
*`addProviders`, use `TestBed.configureTestingModule` instead
268
205
*`TestComponentBuilder`, use `TestBed.configureTestModule` / `TestBed.override...` / `TestBed.createComponent` instead.
269
-
* core:
206
+
* core:
270
207
- ES5 users can no longer use the `View(…)` function to provide `ViewMetadata`.
271
208
This mirrors the removal of the `@View` decorator a while ago.
272
209
* core:
273
210
-`bootstrapModule` and `bootstrapModuleFactory` have been moved to be members of `PlaformRef`.
274
211
E.g. `platformBrowserDynamic().bootstrapModule(MyModule)`.
275
-
* core:
212
+
* core:
276
213
- By default, Angular will error during parsing
277
214
on unknown properties,
278
215
even if they are on elements with a `-` in their name
@@ -290,15 +227,12 @@
290
227
})
291
228
export class MyAppModule{}
292
229
```
293
-
* core:
230
+
* core:
294
231
-`coreLoadAndBootstrap` and `coreBootstrap` can't be used any more (without migration support).
295
232
Use `bootstrapModule` / `bootstrapModuleFactory` instead.
296
233
- All Components listed in routes have to be part of the `declarations` of an NgModule.
297
234
Either directly on the bootstrap module / lazy loaded module, or in an NgModule imported by them.
298
-
* router:
299
-
`UrlPathWithParams` => `UrlSegment`
300
-
`UrlSegment` => `UrlSegmentGroup`
301
-
* core:
235
+
* core:
302
236
-`ApplicationRef.run` is deprecated. Use `NgZone.run` directly
303
237
-`ApplicationRef.injector` is deprecated. Inject an `Injector` or
304
238
use `NgModuleRef.injector` instead
@@ -350,9 +284,9 @@
350
284
- use `NgModuleFactoryLoader` for lazy loading.
351
285
- Instead of `SystemJsComponentResolver`, create an `@NgModule` and use `SystemJsNgModuleLoader`.
352
286
- Instead of `SystemJsCmpFactoryResolver`, create an `@NgModule` and use `SystemJsNgModuleFactoryLoader`
353
-
* core:
287
+
* core:
354
288
-`lockRunMode` is deprecated and no more needed.
355
-
* animations:
289
+
* animations:
356
290
- animation trigger expressions within the template that are assigned as
357
291
an element attribute (e.g. `@prop`) are deprecated. Please use the
358
292
Angular2 property binding syntax (e.g. `[@prop]`) when assigning
@@ -366,8 +300,8 @@
366
300
<div [@trigger]="expression"></div>
367
301
```
368
302
369
-
* forms:
370
-
303
+
* forms:
304
+
371
305
We have removed the deprecated form directives from the built-in platform directive list, so apps are not required to package forms with their app. This also makes forms friendly to offline compilation.
372
306
373
307
Instead, we have exposed three modules:
@@ -403,7 +337,7 @@
403
337
})
404
338
exportclassMyAppModule{}
405
339
```
406
-
* testing:
340
+
* testing:
407
341
- Application providers can no longer inject compiler internals (i.e. everything
408
342
from `@angular/compiler`). Inject `Compiler` instead. This reflects the
409
343
changes to `bootstrap` for module support (3f55aa609f60f130f1d69188ed057214b1267cb3).
@@ -412,65 +346,56 @@
412
346
- Platform directives / pipes need to be provided via
413
347
`configureModule` and can no longer be provided via the
414
348
`PLATFORM_PIPES` / `PLATFORM_DIRECTIVES` tokens.
415
-
-`setBaseTestProviders()` was renamed into `initTestEnvironment` and
349
+
-`setBaseTestProviders()` was renamed into `initTestEnvironment` and
416
350
now takes a `PlatformRef` and a factory for a
417
351
`Compiler`.
418
352
- E.g. for the browser platform:
419
-
353
+
420
354
BEFORE:
421
355
```
422
356
import {setBaseTestProviders} from ‘@angular/core/testing’;
423
357
import {TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,
424
358
TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS} from ‘@angular/platform-browser-dynamic/testing’;
0 commit comments