@angular/compiler

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/compiler - npm Package Versions

2345
95
g
google-wombot
published 20.2.1 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

g
google-wombot
published 21.0.0-next.0 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

21.0.0-next.0 (2025-08-20)

Breaking Changes

compiler-cli

  • The Angular compiler now produces an error when the the emitDeclarationOnly TS compiler option is enabled as this mode is not supported.

router

  • lastSuccessfulNavigation is now a signal and needs to be invoked

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | be7110342b | fix | disallow compiling with the emitDeclarationOnly TS compiler option enabled (#61609) |

http

| Commit | Type | Description | | -- | -- | -- | | 4bed062bc9 | feat | Provide http services in root (#56212) |

router

| Commit | Type | Description | | -- | -- | -- | | 4e0fc81491 | feat | convert lastSuccessfulNavigation to signal (#63057) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.2.0"></a>

g
google-wombot
published 20.2.0 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

20.2.0-rc.0 (2025-08-11)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | c77e51930d | fix | error when type checking host bindings of generic directive (#63061) |

core

| Commit | Type | Description | | -- | -- | -- | | a409534d6c | feat | support as aliases on else if blocks (#63047) | | 85d51a3215 | fix | destroying the effect on afterRenderEffect (#63001) | | 6a1184600c | fix | prevents duplicate nodes when @if toggles with leave animations (#63048) |

router

| Commit | Type | Description | | -- | -- | -- | | 660444fbf2 | fix | attempt to resolve component resources in JIT mode (#63062) |

service-worker

| Commit | Type | Description | | -- | -- | -- | | 3b214d2040 | feat | Logs unhandled promise rejections in service worker (#63059) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.2.0-next.6"></a>

g
google-wombot
published 20.1.8 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

20.1.8 (2025-08-20)

compiler

| Commit | Type | Description | | -- | -- | -- | | 691f5ed033 | fix | error when ng-content fallback has translated children (#63156) | | b1dec9bc50 | fix | incorrect source span for expression AST inside template attribute (#63175) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | cda402f1d8 | fix | account for expression with type arguments during HMR extraction (#63261) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.1.7"></a>

g
google-wombot
published 20.2.0-rc.1 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

g
google-wombot
published 20.1.7 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

20.1.7 (2025-08-13)

compiler

| Commit | Type | Description | | -- | -- | -- | | d9e37908a5 | fix | incorrect spans for AST inside input value with leading space (#63082) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 4aa120ac00 | fix | error when type checking host bindings of generic directive (#63061) |

core

| Commit | Type | Description | | -- | -- | -- | | 322042c5b3 | fix | destroying the effect on afterRenderEffect (#63001) |

router

| Commit | Type | Description | | -- | -- | -- | | 5fd79424e3 | fix | attempt to resolve component resources in JIT mode (#63062) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.1.6"></a>

g
google-wombot
published 20.2.0-rc.0 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

g
google-wombot
published 20.2.0-next.6 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

20.2.0-next.6 (2025-08-07)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 812463c563 | fix | Ignore diagnostics on ngTemplateContextGuard lines in TCB (#63054) | | 45b030b5ce | fix | prevent dom event assertion in TCB generation on older angular versions (#63053) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.2.0-next.5"></a>

g
google-wombot
published 20.2.0-next.5 •

Changelog

Source

20.2.0-next.5 (2025-08-06)

Deprecations

router

  • The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.

platform-browser

| Commit | Type | Description | | -- | -- | -- | | d24d5742db | feat | Add IsolatedShadowDom encapsulation method (#62723) |

router

| Commit | Type | Description | | -- | -- | -- | | 687c374826 | feat | add a currentNavigation signal to the Router service. (#63011) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.1.6"></a>

g
google-wombot
published 20.1.6 •
100

Supply Chain Security

100

Vulnerability

77

Quality

97

Maintenance

100

License

Changelog

Source

20.1.6 (2025-08-06)

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.2.0-next.4"></a>

2345
95