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
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,40 @@
1
1
# Router Component Store changelog
2
2
3
+
## 0.3.0 (2022-12-19)
4
+
5
+
### Features
6
+
7
+
- Add factory for selecting specific route data: `RouterStore#selectRouteData`
8
+
- Add route title to `MinimalActivatedRouteSnapshot#title`
9
+
- Add route title selector: `RouterStore#title$`
10
+
11
+
### **BREAKING CHANGES**
12
+
13
+
#### Provider factories return provider arrays
14
+
15
+
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.
16
+
17
+
```typescript
18
+
@Component({
19
+
// (...)
20
+
providers: [provideLocalRouterStore()],
21
+
})
22
+
// (...)
23
+
```
24
+
25
+
#### Compatibility
26
+
27
+
To support the stricter route `title` type introduced by the Angular Router, we now require at least the following peer dependencies.
28
+
29
+
- Require Angular 15.0
30
+
- Require `@ngrx/component-store` 15.0
31
+
- Require RxJS 7.4
32
+
- Require TypeScript 4.8
33
+
34
+
We have dropped TypeScript constructor parameter properties for ECMAScript compatibility, namely the `useDefineForClassFields` TypeScript compiler option is `true` (the default when targeting ES2022 or higher).
35
+
36
+
We have dropped TypeScript constructor parameter decorators for ECMAScript decorators compatibility.
0 commit comments