Repository navigation
Commit 7f13f64
build!: require Angular 22 and compile with TypeScript 6 (#3801)
Angular 22 removed ComponentFactoryResolver, which screen tracking used to read
a routed component's selector. reflectComponentType(component)?.selector
replaces it in both screen-tracking services, and ɵscreenViewEvent loses its
resolver parameter. That replacement and the new screen-tracking spec come
from #3741.
Angular 22 requires TypeScript 6, which defaults strict on, drops
downlevelIteration, deprecates baseUrl and moduleResolution node, and reports
unresolvable side-effect imports. The build script now compiles under strict.
The library keeps strict off for a separate migration. baseUrl goes, with
tsconfig-paths 4 resolving the path mappings for the node specs. src/test.ts
goes too: the Karma builder injects its own entry file and never ran it.
It also carries the two prefer-optional-chain rewrites from #3797, which
@typescript-eslint 8.71 requires. Both keep behavior.
BREAKING CHANGE: @angular/fire 22 requires Angular 22, TypeScript 6.0 and
Node 22.22.3, 24.15.0 or 26. Angular 21 applications stay on @angular/fire 21.
Fixes #3696
Refs #3737
Co-authored-by: Ethan Sarif-Kattan <ethaneus99@gmail.com>1 parent f020821 commit 7f13f64
17 files changed
Lines changed: 11575 additions & 12112 deletions
File tree
- .github/workflows
- src
- analytics
- app
- compat
- analytics
- schematics
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments