Skip to content

Commit b0371a7

Browse files
authored
chore: release version 15.0.0 (#337)
## Build - Bump package version to `15.0.0` ## Documentation - Log version 15.0.0 features to changelog
2 parents 5748542 + ec5897b commit b0371a7

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Router Component Store changelog
22

3+
## 15.0.0 (2025-08-14)
4+
5+
First stable release. No functional or API changes from 15.0.0-rc.2.
6+
7+
### Features
8+
9+
Provide local or global router store using `provideLocalRouterStore` or `provideGlobalRouterStore`, respectively
10+
11+
- A local router store matches the `ActivatedRoute` service's observable properties and follow the lifecycle of the component that provides it
12+
- The global router store matches the `@ngrx/router-store` selectors and is never destroyed
13+
14+
Both local and global stores implement a common `RouterStore` API:
15+
16+
- `currentRoute$`
17+
- `fragment$`
18+
- `queryParams$`
19+
- `routeData$`
20+
- `routeParams$`
21+
- `title$`
22+
- `url$`
23+
- `selectQueryParam(param: string)`
24+
- `selectRouteData(key: string)`
25+
- `selectRouteParam(param: string)`
26+
- `selectRouterEvents(...acceptedRouterEvents: RouterEvent[])`
27+
28+
`RouterStore` is also the injection symbol usable through constructor injection, `inject`, `TestBed.inject`, and `Injector.get`. When `RouterStore` is injected, it resolves to the closest provided local or global router store according to element and environment injectors.
29+
30+
`RouterStore` uses a serializable router state called `MinimalActivatedRouteSnapshot`. It uses additional strict, immutable types like `StrictQueryParams`, `StrictRouteData´, and `StrictRouteParams`.
31+
332
## 15.0.0-rc.2 (2025-02-12)
433

534
### Features

packages/router-component-store/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngworker/router-component-store",
3-
"version": "15.0.0-rc.2",
3+
"version": "15.0.0",
44
"description": "A strictly typed lightweight alternative to NgRx Router Store (@ngrx/router-store) and ActivatedRoute",
55
"license": "MIT",
66
"peerDependencies": {

0 commit comments

Comments
 (0)