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
*`CanLoad` guards in the Router are deprecated. Use `CanMatch`
6
+
instead.
7
+
8
+
* None of the public properties of the Router are meant to be writeable. They should all be configured using other methods, all of which have been documented:
9
+
10
+
The following strategies are meant to be configured by registering the
11
+
application strategy in DI via the `providers` in the root `NgModule` or
12
+
`bootstrapApplication`:
13
+
*`routeReuseStrategy`
14
+
*`titleStrategy`
15
+
*`urlHandlingStrategy`
16
+
17
+
The following options are meant to be configured using the options
18
+
available in `RouterModule.forRoot` or `provideRouter`.
19
+
*`onSameUrlNavigation`
20
+
*`paramsInheritanceStrategy`
21
+
*`urlUpdateStrategy`
22
+
*`canceledNavigationResolution`
23
+
24
+
The following options are available in `RouterModule.forRoot` but not
25
+
available in `provideRouter`:
26
+
*`malformedUriErrorHandler` - This was found to not be used anywhere
27
+
internally.
28
+
*`errorHandler` - Developers can instead subscribe to `Router.events`
29
+
and filter for `NavigationError`.
30
+
3
31
### common
4
32
| Commit | Type | Description |
5
33
| -- | -- | -- |
34
+
|[fe50813664](https://github.com/angular/angular/commit/fe50813664809a1177132a77bd2a316ad0858b9e)| feat | Add BrowserPlatformLocation to the public API ([#48488](https://github.com/angular/angular/pull/48488)) |
6
35
|[2f4f0638c7](https://github.com/angular/angular/commit/2f4f0638c74dccfc2d0522f67ab226d3227c0566)| fix | Add data attribtue to NgOptimizedImage ([#48497](https://github.com/angular/angular/pull/48497)) |
7
36
### compiler
8
37
| Commit | Type | Description |
9
38
| -- | -- | -- |
10
39
|[a532d71975](https://github.com/angular/angular/commit/a532d71975bef463223fd5d8322e3140760c9134)| feat | allow self-closing tags on custom elements ([#48535](https://github.com/angular/angular/pull/48535)) |
|[caedef0f5b](https://github.com/angular/angular/commit/caedef0f5b37ac6530885223b26879c39c36c1bd)| fix | update `@babel/core` dependency and lock version ([#48634](https://github.com/angular/angular/pull/48634)) |
16
-
### localize
41
+
### core
17
42
| Commit | Type | Description |
18
43
| -- | -- | -- |
19
-
|[a1a8e91eca](https://github.com/angular/angular/commit/a1a8e91ecaded6a2e4d700109a26d3117ad77c9c)| fix | add triple slash type reference on `@angular/localize` on `ng add ([#48502](https://github.com/angular/angular/pull/48502)) |
20
-
### migrations
44
+
|[6acae1477a](https://github.com/angular/angular/commit/6acae1477a212bbd85d0670913c2925fa3bc0c24)| feat | Add `TestBed.runInInjectionContext` to help test functions which use `inject` ([#47955](https://github.com/angular/angular/pull/47955)) |
45
+
|[38421578a2](https://github.com/angular/angular/commit/38421578a2573bcbc86c927ed4015e20fc39f04a)| feat | Make the `isStandalone()` function available in public API ([#48114](https://github.com/angular/angular/pull/48114)) |
46
+
|[dd42974b07](https://github.com/angular/angular/commit/dd42974b070b068135c1bc34072486ae440e45e0)| feat | support TypeScript 4.9 ([#48005](https://github.com/angular/angular/pull/48005)) |
|[5f0b53c735](https://github.com/angular/angular/commit/5f0b53c7352f19480185c6b5c769e5012a2d2faa)| feat | Allow auto-imports to suggest multiple possible imports. ([#47787](https://github.com/angular/angular/pull/47787)) |
55
+
|[ce8160ecb2](https://github.com/angular/angular/commit/ce8160ecb28d6765d438eb65035835984eb956ec)| fix | Prevent crashes on unemitable references ([#47938](https://github.com/angular/angular/pull/47938)) |
56
+
### localize
36
57
| Commit | Type | Description |
37
58
| -- | -- | -- |
38
-
|[fe50813664](https://github.com/angular/angular/commit/fe50813664809a1177132a77bd2a316ad0858b9e)| feat | Add BrowserPlatformLocation to the public API ([#48488](https://github.com/angular/angular/pull/48488)) |
39
-
|[e362214924](https://github.com/angular/angular/commit/e362214924dbb784e5bd0efd96530134f8c91d32)| fix | Fix TestBed.overrideProvider type to include multi ([#48424](https://github.com/angular/angular/pull/48424)) |
40
-
### compiler-cli
59
+
|[a1a8e91eca](https://github.com/angular/angular/commit/a1a8e91ecaded6a2e4d700109a26d3117ad77c9c)| fix | add triple slash type reference on `@angular/localize` on `ng add ([#48502](https://github.com/angular/angular/pull/48502)) |
|[cc284afbbc](https://github.com/angular/angular/commit/cc284afbbc33b91884882204c5958a44a5d11392)| fix |combine newly-added imports in import manager ([#48620](https://github.com/angular/angular/pull/48620)) |
44
64
### router
45
65
| Commit | Type | Description |
46
66
| -- | -- | -- |
67
+
|[228e992db7](https://github.com/angular/angular/commit/228e992db75bd7a2213b4596e6e2a8696578aa19)| docs | Deprecate canLoad guards in favor of canMatch ([#48180](https://github.com/angular/angular/pull/48180)) |
68
+
|[0a8b8a66cd](https://github.com/angular/angular/commit/0a8b8a66cdfb86586811c79bec938b3ab7215e8f)| docs | Deprecate public members of Router that are meant to be configured elsewhere ([#48006](https://github.com/angular/angular/pull/48006)) |
|[73f03ad2d2](https://github.com/angular/angular/commit/73f03ad2d29811dda2ee03c5f18c79ebc9519c0b)| feat | Add new NavigationSkipped event for ignored navigations ([#48024](https://github.com/angular/angular/pull/48024)) |
72
+
|[3fe75710d9](https://github.com/angular/angular/commit/3fe75710d97a0f3224b2b09c45d9b8a9ad6efe91)| fix | page refresh should not destroy history state ([#48540](https://github.com/angular/angular/pull/48540)) |
48
73
## Special Thanks
49
-
Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, BrowserPerson, Jens, Jessica Janiuk, Joey Perrott, JoostK, Konstantin Kharitonov, Lukas Matta, Matthieu Riegler, Piotr Kowalski, Virginia Dooley, Yannick Baron, dario-piotrowicz, lsst25, piyush132000and why520crazy
74
+
Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Doug Parker, Dylan Hunn, George Kalpakas, Greg Magolan, Jessica Janiuk, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Renan Ferro, Tim Gates, Vadim, Virginia Dooley, ced, mgechev, piyush132000, robertIsaac and sr5434
50
75
51
76
<!-- CHANGELOG SPLIT MARKER -->
52
77
@@ -69,32 +94,6 @@ Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, Brows
69
94
70
95
<!-- CHANGELOG SPLIT MARKER -->
71
96
72
-
<aname="15.1.0-next.2"></a>
73
-
# 15.1.0-next.2 (2022-12-07)
74
-
### common
75
-
| Commit | Type | Description |
76
-
| -- | -- | -- |
77
-
|[8e52ca2714](https://github.com/angular/angular/commit/8e52ca271496b0feebf66b2dc7c8f396b73d61a0)| fix | Don't generate srcsets with very large sources ([#47997](https://github.com/angular/angular/pull/47997)) |
78
-
|[f8ecc194e9](https://github.com/angular/angular/commit/f8ecc194e93bf9f80af0cb0e77032341bf2f9886)| fix | Update `Location` to support base href containing `origin` ([#48327](https://github.com/angular/angular/pull/48327)) |
79
-
### compiler
80
-
| Commit | Type | Description |
81
-
| -- | -- | -- |
82
-
|[4c023956d8](https://github.com/angular/angular/commit/4c023956d8dd05d8455612dff185a7e7918c9fed)| fix | make sure selectors inside container queries are correctly scoped ([#48353](https://github.com/angular/angular/pull/48353)) |
83
-
### compiler-cli
84
-
| Commit | Type | Description |
85
-
| -- | -- | -- |
86
-
|[27eaded62d](https://github.com/angular/angular/commit/27eaded62dbe059fc9ac02cfa7f53ccf8aebccbf)| fix | Produce diagnostic rather than crash when using invalid hostDirective ([#48314](https://github.com/angular/angular/pull/48314)) |
87
-
### core
88
-
| Commit | Type | Description |
89
-
| -- | -- | -- |
90
-
|[38421578a2](https://github.com/angular/angular/commit/38421578a2573bcbc86c927ed4015e20fc39f04a)| feat | Make the `isStandalone()` function available in public API ([#48114](https://github.com/angular/angular/pull/48114)) |
91
-
|[dd42974b07](https://github.com/angular/angular/commit/dd42974b070b068135c1bc34072486ae440e45e0)| feat | support TypeScript 4.9 ([#48005](https://github.com/angular/angular/pull/48005)) |
Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Joey Perrott, Konstantin Kharitonov, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, dario-piotrowicz, piyush132000 and sr5434
95
-
96
-
<!-- CHANGELOG SPLIT MARKER -->
97
-
98
97
<aname="15.0.3"></a>
99
98
# 15.0.3 (2022-12-07)
100
99
### common
@@ -119,26 +118,6 @@ Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Derek Cormier
119
118
120
119
<!-- CHANGELOG SPLIT MARKER -->
121
120
122
-
<aname="15.1.0-next.1"></a>
123
-
# 15.1.0-next.1 (2022-11-30)
124
-
## Deprecations
125
-
### router
126
-
- CanLoad guards in the Router are deprecated. Use CanMatch
127
-
instead.
128
-
### compiler-cli
129
-
| Commit | Type | Description |
130
-
| -- | -- | -- |
131
-
|[7d88700933](https://github.com/angular/angular/commit/7d8870093313575d89c8abe584c43d6fa8105fc8)| fix | accept inheriting the constructor from a class in a library ([#48156](https://github.com/angular/angular/pull/48156)) |
132
-
### router
133
-
| Commit | Type | Description |
134
-
| -- | -- | -- |
135
-
|[228e992db7](https://github.com/angular/angular/commit/228e992db75bd7a2213b4596e6e2a8696578aa19)| docs | Deprecate canLoad guards in favor of canMatch ([#48180](https://github.com/angular/angular/pull/48180)) |
Alan Agius, Andrew Scott, Aristeidis Bampakos, Bob Watson, Derek Cormier, Dylan Hunn, JoostK, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Rokas Brazdžionis and piyush132000
139
-
140
-
<!-- CHANGELOG SPLIT MARKER -->
141
-
142
121
<aname="15.0.2"></a>
143
122
# 15.0.2 (2022-11-30)
144
123
### compiler-cli
@@ -177,65 +156,6 @@ Alan Agius, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn,
177
156
178
157
<!-- CHANGELOG SPLIT MARKER -->
179
158
180
-
<aname="15.1.0-next.0"></a>
181
-
# 15.1.0-next.0 (2022-11-22)
182
-
## Deprecations
183
-
### router
184
-
- router writable properties
185
-
186
-
The following strategies are meant to be configured by registering the
187
-
application strategy in DI via the `providers` in the root `NgModule` or
188
-
`bootstrapApplication`:
189
-
*`routeReuseStrategy`
190
-
*`titleStrategy`
191
-
*`urlHandlingStrategy`
192
-
193
-
The following options are meant to be configured using the options
194
-
available in `RouterModule.forRoot` or `provideRouter`.
195
-
*`onSameUrlNavigation`
196
-
*`paramsInheritanceStrategy`
197
-
*`urlUpdateStrategy`
198
-
*`canceledNavigationResolution`
199
-
200
-
The following options are available in `RouterModule.forRoot` but not
201
-
available in `provideRouter`:
202
-
*`malformedUriErrorHandler` - This was found to not be used anywhere
203
-
internally.
204
-
*`errorHandler` - Developers can instead subscribe to `Router.events`
|[6acae1477a](https://github.com/angular/angular/commit/6acae1477a212bbd85d0670913c2925fa3bc0c24)| feat | Add `TestBed.runInInjectionContext` to help test functions which use `inject` ([#47955](https://github.com/angular/angular/pull/47955)) |
|[d321880440](https://github.com/angular/angular/commit/d3218804401fb35d8da1de91960bbdf9ab0aa823)| fix | FormBuilder.group return right type with shorthand parameters. ([#48084](https://github.com/angular/angular/pull/48084)) |
219
-
### language-service
220
-
| Commit | Type | Description |
221
-
| -- | -- | -- |
222
-
|[5f0b53c735](https://github.com/angular/angular/commit/5f0b53c7352f19480185c6b5c769e5012a2d2faa)| feat | Allow auto-imports to suggest multiple possible imports. ([#47787](https://github.com/angular/angular/pull/47787)) |
|[ce8160ecb2](https://github.com/angular/angular/commit/ce8160ecb28d6765d438eb65035835984eb956ec)| fix | Prevent crashes on unemitable references ([#47938](https://github.com/angular/angular/pull/47938)) |
225
-
|[764fa3d9c3](https://github.com/angular/angular/commit/764fa3d9c37eb70acd21879296ec039de07173ea)| fix | update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build ([#48120](https://github.com/angular/angular/pull/48120)) |
226
-
### router
227
-
| Commit | Type | Description |
228
-
| -- | -- | -- |
229
-
|[0a8b8a66cd](https://github.com/angular/angular/commit/0a8b8a66cdfb86586811c79bec938b3ab7215e8f)| docs | Deprecate public members of Router that are meant to be configured elsewhere ([#48006](https://github.com/angular/angular/pull/48006)) |
230
-
|[73f03ad2d2](https://github.com/angular/angular/commit/73f03ad2d29811dda2ee03c5f18c79ebc9519c0b)| feat | Add new NavigationSkipped event for ignored navigations ([#48024](https://github.com/angular/angular/pull/48024)) |
231
-
|[b51929a394](https://github.com/angular/angular/commit/b51929a394acaa129699bc72e34882b7e577dd7f)| fix | correct type of nextState parameter in canDeactivate ([#48038](https://github.com/angular/angular/pull/48038)) |
232
-
|[1df0ed7d6e](https://github.com/angular/angular/commit/1df0ed7d6e636d921ad617465c3956dc1b6292eb)| fix | Ensure renavigating in component init works with enabledBlocking ([#48063](https://github.com/angular/angular/pull/48063)) |
233
-
|[1976e37475](https://github.com/angular/angular/commit/1976e37475e144d4df27b1558b2acd929bd439be)| fix | restore 'history.state' on popstate even if navigationId missing ([#48033](https://github.com/angular/angular/pull/48033)) |
234
-
## Special Thanks
235
-
Alan Agius, Andrew Kushnir, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn, George Kalpakas, Greg Magolan, Ikko Ashimine, Ivan Rodriguez, Jessica Janiuk, JiaLiPassion, Joe Roxbury, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Mikhail Savchuk, Nebojsa Cvetkovic, Pawel Kozlowski, Volodymyr, Wooshaah and mgechev
0 commit comments