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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@
10
10
11
11
### **BREAKING CHANGES**
12
12
13
+
#### Remove symbol keys from Route data
14
+
15
+
To keep route data serializable, we have removed support for the Angular Router's `Data` type's symbol index in `MinimalActivatedRouteSnapshot#data`. In particular, this is done to remove the `Symbol(RouteTitle)` entry added by the Angular Router for internal use. Use our `MinimalRouteData` type instead of `Data` from `@angular/router` for route data.
16
+
13
17
#### Provider factories return provider arrays
14
18
15
19
The `provideGlobalRouterStore` and `provideLocalRouterStore` functions now return an array of providers (`Provider[]`) instead of a single provider (`Provider`). No changes required in your `providers` metadata, for example the following usage remains the same.
0 commit comments