Skip to content

Build(deps): Bump @angular/compiler from 18.1.4 to 18.2.0 in /angular

Bumps @angular/compiler from 18.1.4 to 18.2.0.

Release notes

Sourced from @​angular/compiler's releases.

v18.2.0

18.2.0 (2024-08-14)

compiler

Commit Description
feat - c8e2885136 Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295)

compiler-cli

Commit Description
feat - 98ed5b609e run JIT transform on classes with jit: true opt-out (#56892)
fix - c76b440ac0 add warning for unused let declarations (#57033)
fix - 0f0a1f2836 emitting references to ngtypecheck files (#57138)
fix - 6c2fbda694 extended diagnostic visitor not visiting template attributes (#57033)
fix - e11c0c42d2 run JIT transforms on @NgModule classes with jit: true (#57212)

core

Commit Description
feat - f7918f5272 Add 'flush' parameter option to fakeAsync to flush after the test (#57239)
feat - fab673a1dd add ng generate schematic to convert to inject (#57056)
feat - 7919982063 Add whenStable helper on ApplicationRef (#57190)
feat - 3459289ef0 bootstrapModule can configure NgZone in providers (#57060)
fix - 296216cbe1 Allow hybrid CD scheduling to support multiple "Angular zones" (#57267)
fix - 8718abce90 Deprecate ignoreChangesOutsideZone option (#57029)
fix - 827070e331 Do not run image performance warning checks on server (#57234)
fix - ca89ef9141 handle shorthand assignment in the inject migration (#57134)
fix - 5dcdbfcba9 rename the equality function option in toSignal (#56769)
fix - 2a4f488a6c warnings for oversized images and lazy-lcp present with bootstrapModule (#57060)

language-service

Commit Description
feat - 4bb558ab0c support writing code refactorings (#56895)
perf - 7663debce1 quick exit if no code fixes can exist (#57000)

migrations

Commit Description
feat - 147eee4253 add migration to convert standalone component routes to be lazy loaded (#56428)
fix - cb442a0ce7 account for parameters with union types (#57127)
fix - 166166d79e add alias to inject migration (#57127)
fix - b1a9d0f4de avoid duplicating comments when generating properties (#57367)
fix - 5d76401ff5 preserve optional parameters (#57367)
fix - 1cf616f671 remove generic arguments from the injected type reference (#57127)
fix - ba0df30ef6 remove unused imports in inject migration (#57179)
fix - aae9646a1b unwrap injected forwardRef (#57127)
perf - 604270619a speed up signal input migration by combining two analyze phases (#57318)

router

Commit Description
feat - 6c76c91e15 Add defaultQueryParamsHandling to router configuration (#57198)

Breaking Changes

... (truncated)

Changelog

Sourced from @​angular/compiler's changelog.

18.2.0 (2024-08-14)

Breaking Changes

zone.js

  • fakeAsync will now flush pending timers at the end of the given function by default. To opt-out of this, you can use {flush: false} in options parameter of fakeAsync

compiler

Commit Type Description
c8e2885136 feat Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295)

compiler-cli

Commit Type Description
98ed5b609e feat run JIT transform on classes with jit: true opt-out (#56892)
c76b440ac0 fix add warning for unused let declarations (#57033)
0f0a1f2836 fix emitting references to ngtypecheck files (#57138)
6c2fbda694 fix extended diagnostic visitor not visiting template attributes (#57033)
e11c0c42d2 fix run JIT transforms on @NgModule classes with jit: true (#57212)

core

Commit Type Description
f7918f5272 feat Add 'flush' parameter option to fakeAsync to flush after the test (#57239)
fab673a1dd feat add ng generate schematic to convert to inject (#57056)
7919982063 feat Add whenStable helper on ApplicationRef (#57190)
3459289ef0 feat bootstrapModule can configure NgZone in providers (#57060)
296216cbe1 fix Allow hybrid CD scheduling to support multiple "Angular zones" (#57267)
8718abce90 fix Deprecate ignoreChangesOutsideZone option (#57029)
827070e331 fix Do not run image performance warning checks on server (#57234)
ca89ef9141 fix handle shorthand assignment in the inject migration (#57134)
5dcdbfcba9 fix rename the equality function option in toSignal (#56769)
2a4f488a6c fix warnings for oversized images and lazy-lcp present with bootstrapModule (#57060)

language-service

Commit Type Description
4bb558ab0c feat support writing code refactorings (#56895)
7663debce1 perf quick exit if no code fixes can exist (#57000)

migrations

Commit Type Description
147eee4253 feat add migration to convert standalone component routes to be lazy loaded (#56428)
cb442a0ce7 fix account for parameters with union types (#57127)
166166d79e fix add alias to inject migration (#57127)
b1a9d0f4de fix avoid duplicating comments when generating properties (#57367)
5d76401ff5 fix preserve optional parameters (#57367)
1cf616f671 fix remove generic arguments from the injected type reference (#57127)
ba0df30ef6 fix remove unused imports in inject migration (#57179)
aae9646a1b fix unwrap injected forwardRef (#57127)
604270619a perf speed up signal input migration by combining two analyze phases (#57318)

router

| Commit | Type | Description |

... (truncated)

Commits
  • d9d68e7 fix(compiler): reduce chance of conflicts between generated factory and local...
  • d73a374 Revert "fix(compiler): reduce chance of conflicts between generated factory a...
  • 67e0940 fix(compiler): reduce chance of conflicts between generated factory and local...
  • 08c5977 fix(compiler): limit the number of chained instructions (#57069)
  • 9167fc8 fix(compiler): JIT mode incorrectly interpreting host directive configuration...
  • 107173c fix(compiler): use strict equality for 'code' comparison (#56944)
  • 387e1cb fix(compiler): fix CSS animation rule scope (#56800)
  • See full diff in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading