Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

fix(deps): update angular monorepo to v12 (major) #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 28, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/common 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/compiler 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/compiler-cli 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/core 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/forms 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/language-service 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/platform-browser 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/platform-browser-dynamic 9.1.13 -> 12.0.5 age adoption passing confidence
@angular/router 9.1.13 -> 12.0.5 age adoption passing confidence

Release Notes

angular/angular

v12.0.5

Compare Source

compiler
Commit Description
89fc131 fix(compiler): always match close tag to the nearest open element (#​42554)
compiler-cli
Commit Description
60dbf01 fix(compiler-cli): prevent prior compilations from being retained in watch builds (#​42537)
core
Commit Description
785da0f fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#​42529)
forms
Commit Description
6f1b907 fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#​42553)
language-service
Commit Description
8192f1e fix(language-service): 'go to defininition' for objects defined in template (#​42559)
11e0f53 fix(language-service): Use last child end span for parent without close tag (#​42554)

Special Thanks:

Ahmed Ayed, Alan Agius, Andrew Scott, Ankit Choudhary, Aristeidis Bampakos, Daniel Trevino, Dario Piotrowicz, Dylan Hunn, George Kalpakas, Igor Minar, JiaLiPassion, JoostK, Kapunahele Wong, Kristiyan Kostadinov, Marius Bethge, Pete Bacon Darwin, Pham Huu Hien, dario-piotrowicz and gobika21

v12.0.4

Compare Source

common
Commit Description
200cc31 fix(common): infer correct type when trackBy is used in ngFor (#​41995)
0dad375 fix(common): initialize currencyCode in currencyPipe (#​40505)
compiler-cli
Commit Description
b6d6a34 fix(compiler-cli): exclude type-only imports from cycle analysis (#​42453)
forms
Commit Description
50c87e8 fix(forms): the min and max validators should work correctly with 0 as a value (#​42412)
language-service
Commit Description
34dd3c3 fix(language-service): fix autocomplete info display for some cases (#​42472)
router
Commit Description
a77ec5b fix(router): fix serializeQueryParams logic (#​42481)

Special Thanks:

Alex, Alex Inkin, Andrew Kushnir, Andrew Scott, Chris, David Shevitz, George Kalpakas, Gourav102, Igor Minar, Joey Perrott, JoostK, Kapunahele Wong, Kristiyan Kostadinov, MarsiBarsi, MrJithil, Paul Gschwendtner, Pete Bacon Darwin, Sam Severance, Santosh Yadav, Teri Glover, Tiago Temporin, Vahid Mohammadi, anups1, cindygk, iRealNirmal, kuncevic and mgechev

v12.0.3

Compare Source

compiler-cli
Commit Description
8bdcca1 fix(compiler-cli): better detect classes that are indirectly exported (#​42207)

Special Thanks:

AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, David Pfeiffer, David Shevitz, Doug Parker, Dylan Hunn, George Kalpakas, Igor Minar, Joey Perrott, JoostK, Kristiyan Kostadinov, Sam Severance, Serguei Cambour, Suguru Inatomi, Teri Glover, Wagner Maciel, Zach Arend, mgechev and 不肖・高橋

v12.0.2

Compare Source

forms
Commit Description
19d7bf4 fix(forms): Add float number support for min and max validator (#​42223)
migrations
Commit Description
11c7bec fix(migrations): add migration to replace /deep/ with ::ng-deep (#​42214)
platform-browser
Commit Description
84ab81c fix(platform-browser): update started state on reset (#​41608)

Special Thanks:

Alan Agius, Andrew Scott, David Shevitz, George Kalpakas, Igor Minar, Joey Perrott, Kapunahele Wong, Madleina Scheidegger, Paul Gschwendtner, Pete Bacon Darwin, Sam Severance, Teri Glover, Zach Arend, chenyunhsin, iRealNirmal, mgechev and twerske

v12.0.1

Compare Source

benchpress
Commit Description
28ee986 fix(benchpress): update the check for start and end events (#​42085)
compiler
Commit Description
52c07e4 fix(compiler): unclear lexer error when using private identifier in expressions (#​42027)
core
Commit Description
3a46ad9 fix(core): global listeners not being bound on non-node host elements (#​42014)
forms
Commit Description
9b90c03 fix(forms): registerOnValidatorChange should be called for ngModelGroup. (#​41971)

Special Thanks:

Alex Rickabaugh, Daniel Díaz, David Shevitz, Dylan Hunn, Front-end developer, George Kalpakas, Joey Perrott, Kristiyan Kostadinov, Lars Gyrup Brink Nielsen, MrJithil, Paul Gschwendtner, Renovate Bot, Sam Severance, Sumit Arora, iRealNirmal, iron, mgechev, rachid Oussanaa and wagnermaciel

v12.0.0

Compare Source

Blog post "Angular v12 is now available".

Bug Fixes
Build System
Features
Performance Improvements
BREAKING CHANGES
  • Minified UMD bundles are no longer included in the distributed NPM packages.
  • animations: DOM elements are now correctly removed when the root view is removed.
    If you are using SSR and use the app's HTML for rendering, you will need
    to ensure that you save the HTML to a variable before destorying the
    app.
    It is also possible that tests could be accidentally relying on the old behavior by
    trying to find an element that was not removed in a previous test. If
    this is the case, the failing tests should be updated to ensure they
    have proper setup code which initializes elements they rely on.
  • common: Methods of the PlatformLocation class, namely onPopState and onHashChange,
    used to return void. Now those methods return functions that can be called
    to remove event handlers.
  • common: The methods of the HttpParams class now accept string | number | boolean
    instead of string for the value of a parameter.
    If you extended this class in your application,
    you'll have to update the signatures of your methods to reflect these changes.
  • compiler-cli: Linked libraries no longer generate legacy i18n message ids. Any downstream
    application that provides translations for these messages, will need to
    migrate their message ids using the localize-migrate command line tool.
  • core: Angular no longer maintains support for node v10
  • core: Previously the ng.getDirectives function threw an error in case a
    given DOM node had no Angular context associated with it (for example
    if a function was called for a DOM element outside of an Angular app).
    This behavior was inconsistent with other debugging utilities under ng
    namespace, which handled this situation without raising an exception.
    Now calling the ng.getDirectives function for such DOM nodes would
    result in an empty array returned from that function.
  • core: Switching default of emitDistinctChangesOnlyDefaultValue
    which changes the default behavior and may cause some applications which
    rely on the incorrect behavior to fail.

emitDistinctChangesOnly flag has also been deprecated and will be
removed in a future major release.

The previous implementation would fire changes QueryList.changes.subscribe
whenever the QueryList was recomputed. This resulted in an artificially
high number of change notifications, as it is possible that recomputing
QueryList results in the same list. When the QueryList gets recomputed
is an implementation detail, and it should not be the thing that determines
how often change event should fire.

Unfortunately, fixing the behavior outright caused too many existing
applications to fail. For this reason, Angular considers this fix a
breaking fix and has introduced a flag in @ContentChildren and
@ViewChildren, that controls the behavior.

export class QueryCompWithStrictChangeEmitParent {
  @​ContentChildren('foo', {
    // This option is the new default with this change.
    emitDistinctChangesOnly: true,
  })
  foos!: QueryList<any>;
}

For backward compatibility before v12
emitDistinctChangesOnlyDefaultValue was set to false. This change
changes the default to true.

  • core: The type of the APP_INITIALIZER token has been changed to more accurately
    reflect the types of return values that are handled by Angular. Previously,
    each initializer callback was typed to return any, this is now
    Promise<unknown> | Observable<unknown> | void. In the unlikely event that
    your application uses the Injector.get or TestBed.inject API to inject
    the APP_INITIALIZER token, you may need to update the code to account for
    the stricter type.

Additionally, TypeScript may report the TS2742 error if the APP_INITIALIZER
token is used in an expression of which its inferred type has to be emitted
into a .d.ts file. To workaround this, an explicit type annotation is needed,
which would typically be Provider or Provider[].

  • core: Minimum supported zone.js version is 0.11.4

  • forms: The emitEvent option was added to the following FormArray and FormGroup methods:

  • FormGroup.addControl

  • FormGroup.removeControl

  • FormGroup.setControl

  • FormArray.push

  • FormArray.insert

  • FormArray.removeAt

  • FormArray.setControl

  • FormArray.clear

If your app has custom classes that extend FormArray or FormGroup classes and override the
above-mentioned methods, you may need to update your implementation to take the new options into
account and make sure that overrides are compatible from a types perspective.

  • forms: Previously min and max attributes defined on the <input type="number">
    were ignored by Forms module. Now presence of these attributes would
    trigger min/max validation logic (in case formControl, formControlName
    or ngModel directives are also present on a given input) and
    corresponding form control status would reflect that.
  • platform-browser: XhrFactory has been moved from @angular/common/http to @angular/common.

Before

import {XhrFactory} from '@&#8203;angular/common/http';

After

import {XhrFactory} from '@&#8203;angular/common';
  • router: Strict null checks will report on fragment potentially being null.
    Migration path: add null check.
  • **router

Configuration

📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from f8378ac to f6d7962 Compare April 7, 2021 18:58
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from a803eb9 to bb64ac2 Compare April 12, 2021 00:56
@renovate renovate bot changed the title fix(deps): update angular monorepo to v11 (major) Update angular monorepo to v11 (major) Apr 12, 2021
@renovate renovate bot changed the title Update angular monorepo to v11 (major) fix(deps): update angular monorepo to v11 (major) Apr 12, 2021
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 0e194a4 to ab3474b Compare April 15, 2021 02:14
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from ab3474b to 7374886 Compare April 21, 2021 18:45
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 68b434e to e3af727 Compare May 5, 2021 09:57
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from e3af727 to 61bf883 Compare May 5, 2021 21:47
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 61bf883 to 17d5c25 Compare May 12, 2021 23:21
@renovate renovate bot changed the title fix(deps): update angular monorepo to v11 (major) fix(deps): update angular monorepo to v12 (major) May 12, 2021
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from abb86d4 to 16ef936 Compare May 26, 2021 17:56
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 16ef936 to c8bfafc Compare June 2, 2021 18:08
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from c8bfafc to 719f98e Compare June 9, 2021 18:21
@renovate renovate bot force-pushed the renovate/major-angular-monorepo branch from 719f98e to dd90895 Compare June 17, 2021 00:10
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant