Skip to content

Update angular monorepo to v21 (major)#520

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-angular-monorepo
Open

Update angular monorepo to v21 (major)#520
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-angular-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2023

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@angular/compiler (source) 16.0.521.2.0 age confidence
@angular/compiler-cli (source) 16.0.521.2.0 age confidence
@angular/core (source) 16.0.521.2.0 age confidence

Release Notes

angular/angular (@​angular/compiler)

v21.2.0

Compare Source

common
Commit Type Description
18003a33bb feat add an 'outlet' injector option for ngTemplateOutlet
8bbe6dc46c feat Add Location strategies to manage trailing slash on write
51cc914807 feat support height in ImageLoaderConfig and built-in loaders
compiler
Commit Type Description
72534e2a34 feat Add support for the instanceof binary operator
95b3f37d4a feat Exhaustive checks for switch blocks
04ba09a8d9 feat support AstVisitor.visitEmptyExpr()
ce80136e7b fix optimize away unnecessary restore/reset view calls
3242a61bae fix variable counter visiting some expressions twice
compiler-cli
Commit Type Description
473dd3e1cb fix attach source spans to object literal keys in TCB
a904d9f77b fix support nested component declaration
2ea6dfc6c9 fix update diagnostic to flag no-op arrow functions in listeners
core
Commit Type Description
8d5210c9fe feat add ChangeDetectionStrategy.Eager alias for Default
92d2498910 feat add host node to DeferBlockData (#​66546)
ea2016a6dc feat add support for nested animations
81cabc1477 feat add support for TypeScript 6
1ba9b7ac50 feat resource composition via snapshots
d9923b72a2 feat support arrow functions in expressions
a7e8abbb7e fix correctly handle SkipSelf when resolving from embedded view injector
0806ee3826 fix prevent animated element duplication with dynamic components in zoneless mode
ed78fa05c7 fix Remove note to skip arrow functions in best practices
forms
Commit Type Description
f56bb07d83 feat add field param to submit action and onInvalid
ba009b6031 feat add form directive
22afbb2f36 feat add parsing support to native inputs (#​66917)
95c386469c feat Add passing focus options to form field
95ecce8334 feat allow setting submit options at form-level
ebae211add feat introduce parse errors in signal forms
3937afc316 feat introduce SignalFormControl for Reactive Forms compatibility
30f0914754 feat support binding null to number input (#​66917)
dd208ca259 feat update submit function to accept options object
27397b3f4f fix clear parse errors when model updates (#​66917)
63d8005703 fix preserve custom-control focus context in signal forms
631f60d1f9 fix preserve parse errors when parse returns value
adfb83146b fix simplify design of parse errors
fb05fc86d0 fix sort error summary by DOM order
567f292e8e fix support custom controls as host directives
bdfb60f3e3 fix use consistent error format returned from parse
d75046bc09 fix warn when showing hidden field state
language-server
Commit Type Description
ebc90c26f5 feat Add completions and hover info for inline styles
26fd0839c3 feat Add folding range support for inline styles
573aadef7e feat Add quick info for inline styles
6fb39d9b62 feat Support client-side file watching via onDidChangeWatchedFiles
language-service
Commit Type Description
496967e7b1 feat add JSON schema for angularCompilerOptions
8c21866f49 feat add linked editing ranges for HTML tag synchronization
d2137928e8 perf use lightweight project warmup for Angular analysis
router
Commit Type Description
b51bab583d feat Add partial ActivatedRouteSnapshot information to canMatch params
cf9620f7d0 feat Make match options optional in isActive
907a94dcec feat Update IsActiveMatchOptions APIs to accept a Partial

v21.1.6

Compare Source

Breaking Changes

core
  • Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.

    (cherry picked from commit 306f367)

common
Commit Type Description
31d3d56496 fix fix LCP image detection with duplicate URLs
compiler-cli
Commit Type Description
24b578ce90 fix detect uninvoked functions in defer trigger expressions
core
Commit Type Description
b858309532 fix block creation of sensitive URI attributes from ICU messages

v21.1.5

Compare Source

No user facing changes in this release

v21.1.4

Compare Source

compiler
Commit Type Description
caab23dfe6 fix add geolocation element to schema
core
Commit Type Description
2b99eaa019 fix capture animation dependencies eagerly to avoid destroyed injector
d6aeac504c fix Fix flakey test due to document injection
forms
Commit Type Description
0d1acd0165 feat support signal-based schemas in validateStandardSchema
http
Commit Type Description
3905015ccc fix correctly parse ArrayBuffer and Blob in transfer cache

v21.1.3

Compare Source

core
Commit Type Description
2b254bc050 fix linkedSignal.update should propagate errors
e5110b4fa1 fix export DirectiveWithBindings
2cf4da0ea1 fix hold constructors weakly in DepsTracker cache
70a5b651be fix prevent element duplication with dynamic components
forms
Commit Type Description
6f75b6e3f6 fix Resolves debounce promise on abort in debounceForDuration
localize
Commit Type Description
4c7126d23b fix add support for unit-test builder in ng-add schematic
router
Commit Type Description
d6268c0bbb fix limit UrlParser recursion depth to prevent stack overflow
49a36f4cc7 perf Use .bind to avoid holding other closures in memory

v21.1.2

Compare Source

forms
Commit Type Description
9f99b14882 fix only touch visible, interactive fields on submit
language-service
Commit Type Description
c57b0355b5 fix Detect local project version on creation
router
Commit Type Description
21ecdc036a fix Do not intercept reload events with Navigation integration

v21.1.1

Compare Source

compiler-cli
Commit Type Description
0e1f1ed573 fix drop .tsx extension for generated relative imports
core
Commit Type Description
05adfcf8f2 fix handle Set in class bindings
forms
Commit Type Description
d89a80a970 feat Ability to manually register a form field binding in signal forms
cb75f9ce85 fix fix control value syncing on touch

v21.1.0

Compare Source

Deprecations

upgrade
  • VERSION from @angular/upgrade is deprecated. Please use the entry from @angular/upgrade/static instead.
common
Commit Type Description
d8790972be feat Add custom transformations for Cloudflare and Cloudinary image loaders
a6b8cb68af feat support custom transformations in ImageKit and Imgix loaders
compiler
Commit Type Description
640693da8e feat Add support for multiple swich cases matching
0ad3adc7c6 fix Support empty cases
core
Commit Type Description
99ad18a4ee feat Add stability debugging utility
a0dfa5fa86 feat support rest arguments in function calls
6e18fa8bc9 feat support spread elements in array literals
e407280ab5 feat support spread expressions in object literals
06be8034bb fix Microtask scheduling should be used after any application synchronization
b4f584cf42 fix return StaticProvider for providePlatformInitializer
forms
Commit Type Description
1ea5c97703 feat allow focusing bound control from field state
platform-browser
Commit Type Description
ec9dc94cee feat add context to createApplication
ab67988d2e feat resolve JIT resources in createApplication
router
Commit Type Description
5edceffd04 feat add controls for route cleanup
a03c82564d feat Add scroll behavior controls on router navigation
e44839b016 feat Add standalone function to create a comptued for isActive
c25d749d85 feat Execute RunGuardsAndResolvers function in injection context
1c00ab42f8 feat extend paramters of RedirectFunction to include paramMap and queryParamMap
7003e8d241 feat Publish Router's integration with platform Navigation API as experimental
c84d372778 feat Support wildcard params with segments trailing (#​64737)
upgrade
Commit Type Description
75fe8f8af9 refactor deprecate VERSION export

v21.0.9

Compare Source

forms
Commit Type Description
82d556a8fb fix Ensure the control instruction comes after the other bindings
0055f3cc79 fix Rename signal form [field] to [formField]
migrations
Commit Type Description
e4bfa5c9e7 fix prevent duplicate imports in common-to-standalone migration

v21.0.8

Compare Source

core
Commit Type Description
a6a2621bf9 fix fix memory leak with event replay
5239e471a1 fix handle cancelled traversals in fake navigation

v21.0.7

Compare Source

compiler
Commit Type Description
8e808740c9 fix better types for a few expression AST nodes
63b1cdcf70 fix produce accurate span for typeof and void expressions
3c3ae0cb64 fix provide location information for literal map keys
523dbaf1c3 fix stop ThisReceiver inheritance from ImplicitReceiver
compiler-cli
Commit Type Description
4d9c4567ed fix ensure component import diagnostics are reported within the imports expression
cd405685af fix fix up spelling of diagnostic
778460fcca fix support qualified names in typeof type references
core
Commit Type Description
7c74674eb0 fix avoid leaking view data in animations
0edbee4550 fix explicitly cast signal node value to String
f9c29572d2 fix sanitize sensitive attributes on SVG script elements
forms
Commit Type Description
e3fba182f9 feat add [formField] directive
561772b152 fix allow custom controls to require dirty input
f0fb1d8581 fix allow custom controls to require hidden input
ec110f170b fix allow custom controls to require pending input
ae1dc16bb0 fix clean up abort listener after timeout
9748b0d5da fix support custom controls with non signal-based models
6bd22df987 fix Support readonly arrays in signal forms
router
Commit Type Description
41cd4a6af8 fix Fix RouterLink href not updating with queryParamsHandling
5e9e09aee0 fix handle errors from view transition updateCallbackDone promise

v21.0.6

Compare Source

Breaking Changes (affecting only experimental features)

forms
  • The shape of SignalFormsConfig.classes has changed

    Previously each function in the classes map took a FieldState. Now
    it takes a Field directive.

    For example if you previously had:

    provideSignalFormsConfig({
      classes: {
        'my-valid': (state) => state.valid()
      }
    })
    

    You would need to update to:

    provideSignalFormsConfig({
      classes: {
        'my-valid': ({state}) => state().valid()
      }
    })
    

    (cherry picked from commit 348f149)

  • (cherry picked from commit ae0c590)

core
Commit Type Description
4c8fb3631d fix throw better errors for potential circular references
48492524ea fix use mutable ResponseInit type for RESPONSE_INIT token
forms
Commit Type Description
81772b420d feat pass field directive to class config
729b96476b refactor rename field to fieldTree in FieldContext and ValidationError
language-service
Commit Type Description
e0694df3ec fix avoid interpolation highlighting inside @​let
5047be4bc1 fix Prevent language service from crashing on suggestion diagnostic errors

v21.0.5

Compare Source

core
Commit Type Description
69d243abb74 fix avoid false-positive deprecation when using InjectionToken with factory only
forms
Commit Type Description
4fd2b722b40 fix fix signal forms type error

v21.0.4

Compare Source

compiler
Commit Type Description
f901cc9eb32 perf chain query creation instructions
compiler-cli
Commit Type Description
65297c62011 fix expand type for native controls with a dynamic type
forms
Commit Type Description
f254ff4f2e0 feat expose element on signal forms Field directive
5880fbc73c6 feat redo the signal forms metadata API
55fc677cef4 fix add signals for dirty, hidden, and pending states in custom controls
cbb10179c80 fix allow resetting with empty string
bf1c12cd932 fix memoize reads of child fields in signal forms (#​65802)
6d7475582f9 fix Reuse key in parent in compat structure

v21.0.3

Compare Source

compiler-cli
Commit Type Description
5a80a48e96 fix avoid allocating an object for signals in production mode
1f1856e897 fix check that field radio button values are strings
core
Commit Type Description
8c3304c766 fix run animation queue in environment injector context
4bb085311e fix unable to inject viewProviders when host directive with providers is present
609699ae17 perf tree shake unused dynamic [field] binding instructions (#​65599)
forms
Commit Type Description
6b4ab876e8 feat Allows transforms on FormUiControl signals
a5dbd4b382 fix support dynamic [field] bindings (#​65599)
http
Commit Type Description
20474d3f0f fix enable XSRF protection for same-origin absolute URLs
router
Commit Type Description
48b89f9fbe fix handle errors from view transition finished promise

v21.0.2

Compare Source

compiler
Commit Type Description
78fd159b78 fix prevent XSS via SVG animation attributeName and MathML/SVG URLs

v21.0.1

Compare Source

compiler-cli
Commit Type Description
39c577bc36 fix do not type check native controls with ControlValueAccessor
8d3a89a477 fix escape angular control flow in jsdoc
bc34083d34 fix ignore non-existent files
core
Commit Type Description
0ea1e07174 fix apply bootstrap-options migration to platformBrowserDynamic
70507b8c1c fix debug data causing memory leak for root effects
a55482fca3 fix notify profiler events in case of errors
49ad7c6508 fix use injected DOCUMENT for CSP_NONCE
cc1ec09931 perf avoid repeat searches for field directive
forms
Commit Type Description
7d5c7cf99a feat add DI option for classes on Field directive
8acf5d2756 fix allow dynamic type bindings on signal form controls
de5fca94c5 fix run reset as untracked
http
Commit Type Description
3240d856d9 fix prevent XSRF token leakage to protocol-relative URLs
migrations
Commit Type Description
f394215b14 fix detect structural ngTemplateOutlet and ngComponentOutlet

v21.0.0

Compare Source

[Bl


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from c9f0063 to 23017bc Compare November 9, 2023 22:36
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 53e83a7 to bad7cdc Compare November 20, 2023 20:12
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from bad7cdc to aeee50d Compare November 29, 2023 20:23
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from c82b175 to b1218cd Compare December 6, 2023 23:06
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from b1218cd to 815ef97 Compare December 14, 2023 11:23
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 815ef97 to a7bc1f2 Compare December 21, 2023 15:37
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 72a506a to 1c81989 Compare January 18, 2024 01:15
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 9c4f5a7 to aac56b1 Compare January 24, 2024 19:59
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from aac56b1 to 1469523 Compare January 31, 2024 23:08
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from db43098 to 992d288 Compare February 15, 2024 01:48
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 83fed7f to f7b4297 Compare February 28, 2024 02:13
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 6526848 to 8a046c3 Compare March 6, 2024 20:59
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 53ae4ac to f83c9fe Compare March 20, 2024 22:10
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 0d291bc to 0a4558a Compare April 4, 2024 02:12
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 212c84c to edca33c Compare November 14, 2025 22:48
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 4 times, most recently from d008200 to 32d8fe1 Compare November 19, 2025 20:39
@renovate renovate bot changed the title Update angular monorepo to v20 (major) Update angular monorepo to v21 (major) Nov 19, 2025
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 3a16f91 to fa3b6d5 Compare December 1, 2025 14:39
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from fa3b6d5 to 90e44b9 Compare December 3, 2025 19:54
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 7350ac9 to cd15c12 Compare December 17, 2025 21:36
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from cd15c12 to de3891f Compare December 31, 2025 14:04
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 4 times, most recently from cacf092 to b1f18d7 Compare January 14, 2026 20:34
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 5c7cb47 to 35e1c49 Compare January 23, 2026 17:57
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 427422f to 61ce9b7 Compare February 2, 2026 19:41
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 06cb054 to 6cdc8cb Compare February 11, 2026 20:52
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 60aa0b1 to ee1ed56 Compare February 18, 2026 22:42
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from ee1ed56 to f852831 Compare February 25, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants