Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

fix: update angular to v17 - autoclosed #39

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/cdk ^12.0.0 -> ^17.0.0 age adoption passing confidence
@angular/cli ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/common (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/compiler (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/compiler-cli (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/core (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/forms (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/material ^12.0.0 -> ^17.0.0 age adoption passing confidence
@angular/platform-browser (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/platform-browser-dynamic (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/router (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence
@angular/service-worker (source) ~12.0.0 -> ~17.1.0 age adoption passing confidence

Release Notes

angular/angular (@​angular/animations)

v17.1.0

Compare Source

compiler
Commit Type Description
79ff91a813 fix allow TS jsDocParsingMode host option to be programmatically set (#​53126)
5613051a8b fix allow TS jsDocParsingMode host option to be programmatically set again (#​53292)
df8a825910 fix project empty block root node (#​53620)
478d622265 fix project empty block root node in template pipeline (#​53620)
compiler-cli
Commit Type Description
abdc7e4578 feat support type-checking for generic signal inputs (#​53521)
e620b3a724 fix add compiler option to disable control flow content projection diagnostic (#​53311)
4c1d69e288 fix add diagnostic for control flow that prevents content projection (#​53190)
76ceebad04 fix do not throw fatal error if extended type check fails (#​53896)
1a6eaa0fea fix input transform in local compilation mode (#​53645)
56a76d73e0 fix modify getConstructorDependencies helper to work with reflection host after the previous change (#​52215)
core
Commit Type Description
863be4b698 feat expose new input API for signal-based inputs (#​53872)
94096c6ede feat support TypeScript 5.3 (#​52572)
69b384c0d1 fix SignalNode reactive node incorrectly exposing unset field (#​53571)
6f79507ea7 fix Change defer block fixture default behavior to playthrough (#​53956)
32f908ab70 fix do not accidentally inherit input transforms when overridden (#​53571)
bdd61c768a fix replace assertion with more intentional error (#​52234)
0daca457bb fix TestBed should still use the microtask queue to schedule effects (#​53843)
router
Commit Type Description
5c1d441029 feat Add info property to NavigationExtras (#​53303)
50d7916278 feat Add router configuration to resolve navigation promise on error (#​48910)
a5a9b408e2 feat Add transient info to RouterLink input (#​53784)
726530a9af feat Allow onSameUrlNavigation: 'ignore' in navigateByUrl (#​52265)

v17.0.9

Compare Source

common
Commit Type Description
c22b513b3f fix remove unused parameters from the ngClass constructor (#​53831)
bd9f89d1c8 fix server-side rendering error when using in-memory scrolling (#​53683)
compiler
Commit Type Description
92fd6cc42e fix generate less code for advance instructions (#​53845)
6a41961fbd fix ignore empty switch blocks (#​53776)
compiler-cli
Commit Type Description
7309463697 fix interpolatedSignalNotInvoked diagnostic (#​53585)
core
Commit Type Description
441db5123f fix afterRender hooks now only run on ApplicationRef.tick (#​52455)
f9120d79cb fix allow effect to be used inside an ErrorHandler (#​53713)
migrations
Commit Type Description
e92c86b77f fix Fix empty switch case offset bug in cf migration (#​53839)
platform-server
Commit Type Description
91cb16fde9 fix Do not delete global Event (#​53659)

v17.0.8

Compare Source

compiler
Commit Type Description
de5c9ca8e9 fix correctly intercept index in loop tracking function (#​53604)
core
Commit Type Description
d79489255a fix avoid repeated work when parsing version (#​53598)
513fee871e fix tree shake version class (#​53598)
migrations
Commit Type Description
eb7c29c7b6 fix cf migration - detect and error when result is invalid i18n nesting (#​53638)
ed936ba0e9 fix cf migration - detect and error when result is invalid i18n nesting (#​53638) (#​53639)
5c2f2539e2 fix cf migration - ensure full check runs for all imports (#​53637)
817dc1b27f fix cf migration - fix bug in attribute formatting (#​53636)
7ac60bab9a fix cf migration - improve import declaration handling (#​53622)
c3f85e51a9 fix cf migration - preserve indentation on attribute strings (#​53625)
e73205ff5a fix cf migration - stop removing empty newlines from i18n blocks (#​53578)
886aa7b2a9 fix Fix cf migration bug with parsing for loop conditions properly (#​53558)
router
Commit Type Description
0696ab6a5b fix Should not freeze original object used for route data (#​53635)

v17.0.7

Compare Source

compiler
Commit Type Description
4fd5409090 fix handle ambient types in input transform function (#​51474)
compiler-cli
Commit Type Description
a603338fe8 fix generate less type checking code in for loops (#​53515)
core
Commit Type Description
58ed76be93 fix Avoid refreshing a host view twice when using transplanted views (#​53021)
c16b5e8290 fix Multiple subscribers to ApplicationRef.isStable should all see values (#​53541)
17dbf8b8e2 fix remove signal equality check short-circuit (#​53446)
5b4add27b6 fix update feature usage marker (#​53542)
68d111c841 perf avoid changes Observable creation on QueryList (#​53498)
044cb553b4 perf optimize memory allocation when reconcilling lists (#​52245)
migrations
Commit Type Description
96ab999698 fix CF Migration - ensure bound ngIfElse cases ignore line breaks (#​53435)
c9a1c6f1c7 fix cf migration - undo changes when html fails to parse post migration (#​53530)
b75aca1d74 fix CF migration only remove newlines of changed template content (#​53508)
e88a12d5b3 fix cf migration validate structure of ngswitch before migrating (#​53530)
543df3dca5 fix ensure we do not overwrite prior template replacements in migration (#​53393)
d232ea143f fix fix cf migration import removal when errors occur (#​53502)
platform-browser
Commit Type Description
d5c631bf36 fix Get correct base path when using "." as base href when serving from the file:// protocol. (#​53547)
router
Commit Type Description
e750e4edcf fix provide more actionable error message when route is not matched in production mode (#​53523)

v17.0.6

Compare Source

compiler
Commit Type Description
a2e5f483f5 fix generate proper code for nullish coalescing in styling host bindings (#​53305)
compiler-cli
Commit Type Description
66ecf4c274 fix add compiler option to disable control flow content projection diagnostic (#​53387)
74e6ce5d23 fix add diagnostic for control flow that prevents content projection (#​53387)
6ec7a42b95 fix avoid conflicts with built-in global variables in for loop blocks (#​53319)
core
Commit Type Description
0a53f96094 fix cleanup signal consumers for all views (#​53351)
4fc1581bbc fix handle hydration of multiple nodes projected in a single slot (#​53270)
14e66533ec fix support hydration for cases when content is re-projected using ng-template (#​53304)
8e366e8911 fix support swapping hydrated views in @for loops (#​53274)
migrations
Commit Type Description
45064f1ae1 fix CF migration - ensure NgIfElse attributes are properly removed (#​53298)
a6275cfa54 fix CF Migration - Fix case of aliases on i18n ng-templates preventing removal (#​53299)
58a96e0f50 fix CF Migration add support for ngIf with just a then (#​53297)
26e40c7f89 fix CF Migration fix missing alias for bound ngifs (#​53296)
836aeba01d fix Change CF Migration ng-template placeholder generation and handling (#​53394)
72d22ba7ee fix fix regexp for else and then in cf migration (#​53257)
7a2facae8a fix handle aliases on bound ngIf migrations (#​53261)
5104a89b30 fix handle nested ng-template replacement safely in CF migration (#​53368)
2a4e3f5373 fix handle templates outside of component in cf migration (#​53368)
0db75ab5b1 fix remove setting that removes comments in CF migration (#​53350)
router
Commit Type Description
13ade13a15 fix Ensure canMatch guards run on wildcard routes (#​53239)

v17.0.5

Compare Source

core
Commit Type Description
6be88040d1 fix avoid stale provider info when TestBed.overrideProvider is used (#​52918)
dee50f1d78 fix inherit host directives (#​52992)
07920d96d4 fix Reattached views that are dirty from a signal update should refresh (#​53001)
migrations
Commit Type Description
aab7fb8654 fix Add ngForTemplate support to control flow migration (#​53076)
dbd6f386ea fix allows colons in ngIf else cases to migrate (#​53076)
5b9f896009 fix cf migration fix migrating empty switch default (#​53237)
2b3d3b0fe1 fix CF migration log warning when collection aliasing detected in @for (#​53238)
dffeac8386 fix cf migration removes unnecessary bound ngifelse attribute (#​53236)
00cb3339ba fix control flow migration formatting fixes (#​53076)
c22af72f75 fix fix off by one issue with template removal in CF migration (#​53255)
ba6d7fe018 fix fixes CF migration i18n ng-template offsets (#​53212)
8f6affdd64 fix fixes control flow migration common module removal (#​53076)
6ae408847c fix properly handle ngIfThen cases in CF migration (#​53256)
0fcef65cea fix Update CF migration to skip templates with duplicate ng-template names (#​53204)
router
Commit Type Description
91486aaf07 fix Resolvers in different parts of the route tree should be able to execute together (#​52934)

v17.0.4

Compare Source

common
Commit Type Description
7f1c55755d fix remove load on image once it fails to load (#​52990)
fafcb0d23f fix scan images once page is loaded (#​52991)
compiler
Commit Type Description
98376f2c09 fix changed after checked error in for loops (#​52935)
291deac663 fix generate i18n instructions for blocks (#​52958)
49dca36880 fix nested for loops incorrectly calculating computed variables (#​52931)
f01b7183d2 fix produce placeholder for blocks in i18n bundles (#​52958)
compiler-cli
Commit Type Description
f671f86ac2 fix add diagnostic for control flow that prevents content projection (#​52726)
core
Commit Type Description
db1a8ebdb4 fix cleanup loading promise when no dependencies are defined (#​53031)
31a1575334 fix handle local refs when getDeferBlocks is invoked in tests (#​52973)
migrations
Commit Type Description
ac9cd6108f fix control flow migration fails for async pipe with unboxing of observable (#​52756) (#​52972)
13bf5b7007 fix Fixes control flow migration if then else case (#​53006)
492ad4698a fix fixes migrations of nested switches in control flow (#​53010)
0fad36eff2 fix tweaks to formatting in control flow migration (#​53058)

v17.0.3

Compare Source

animations
Commit Type Description
f5872c9921 fix prevent the AsyncAnimationRenderer from calling the delegate when there is no element. (#​52570)
core
Commit Type Description
6a1d4ed667 fix handle non-container environment injector cases (#​52774)
5de7575be8 fix reset cached scope for components that were overridden using TestBed (#​52916)
http
Commit Type Description
7c066a4af4 fix Use the response content-type to set the blob type. (#​52840)
migrations
Commit Type Description
4e200bf13b fix Add missing support for ngForOf (#​52903)
d033540d0f fix Add support for bound versions of NgIfElse and NgIfThenElse (#​52869)
aa2d815648 fix Add support for removing imports post migration (#​52763)
3831942771 fix Fixes issue with multiple if elses with same template (#​52863)
e1f84a31dc fix passed in paths will be respected in nx workspaces (#​52796)

v17.0.2

Compare Source

compiler-cli
Commit Type Description
7a95cccf50 fix add interpolatedSignalNotInvoked to diagnostics (#​52687)
a548c0333e fix incorrect inferred type of for loop implicit variables (#​52732)
core
Commit Type Description
2cea80c6e2 fix error code in image performance warning (#​52727)
b16fc2610a fix limit rate of markers invocations (#​52742)
44c48a4835 fix properly update collection with repeated keys in @for (#​52697)

v17.0.1

Compare Source

http
Commit Type Description
5c6f3f8ec0 fix Don't override the backend when using the InMemoryWebAPI (#​52425)
migrations
Commit Type Description
70d30c28e0 fix Add support for ng-templates with i18n attributes (#​52597)
4f125c5f9a fix Switches to multiple passes to fix several reported bugs (#​52592)

Web Frameworks: the internet frontier.

These are the voyages of the framework Angular.

Its continuing mission:

To explore strange, new technologies.

To seek out new users and new applications.

To boldly go where no web framework has gone before.

In honor of v17.0.1

                                                  ______
                                     ___.--------'------`---------.____
                               _.---'----------------------------------`---.__
                             .'___=]===========================================
,-----------------------..__/.'         >--.______        _______.---'
]====================<==||(__)        .'          `------'
`-----------------------`' ----.___--/
     /       /---'                 `/
    /_______(______________________/
    `-------------.--------------.'
                   \________|_.-'

Live long and prosper 🖖🏻

v17.0.0

Compare Source

Blog post "Angular v17 is now available".

Breaking Changes

  • Node.js v16 support has been removed and the minimum support version has been bumped to 18.13.0.

    Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule

common
  • the NgSwitch directive now defaults to the === equality operator,
    migrating from the previously used ==. NgSwitch expressions and / or
    individual condition values need adjusting to this stricter equality
    check. The added warning message should help pinpointing NgSwitch
    usages where adjustements are needed.
core
  • Angular now required zone.js version ~0.14.0

  • Versions of TypeScript older than 5.2 are no longer supported.

  • The mutate method was removed from the WritableSignal interface and completely
    dropped from the public API surface. As an alternative please use the update method and
    make immutable changes to the object.

    Example before:

    items.mutate(itemsArray => itemsArray.push(newItem));

    Example after:

    items.update(itemsArray => [itemsArray, …newItem]);
  • The mutate method was removed from the WritableSignal interface and completely
    dropped from the public API surface. As an alternative please use the update method and
    make immutable changes to the object.

    Example before:

    items.mutate(itemsArray => itemsArray.push(newItem));

    Example after:

    items.update(itemsArray => [itemsArray, …newItem]);
  • OnPush components that are created dynamically now
    only have their host bindings refreshed and ngDoCheck run during change
    detection if they are dirty.
    Previously, a bug in the change detection would result in the OnPush
    configuration of dynamically created components to be ignored when
    executing host bindings and the ngDoCheck function. This is
    rarely encountered but can happen if code has a handle on the
    ComponentRef instance and updates values read in the OnPush
    component template without then calling either markForCheck or
    detectChanges on that component's ChangeDetectorRef.

platform-browser
  • REMOVE_STYLES_ON_COMPONENT_DESTROY default value is now true. This causes CSS of components to be removed from the DOM when destroyed. You retain the previous behaviour by providing the REMOVE_STYLES_ON_COMPONENT_DESTROY injection token.

    import {REMOVE_STYLES_ON_COMPONENT_DESTROY} from '@&#8203;angular/platform-browser';
    ...
    providers: [{
      provide: REMOVE_STYLES_ON_COMPONENT_DESTROY,
      useValue: false,
    }]
  • The withNoDomReuse() function was removed from the public API. If you need to disable hydration, you can exclude the provideClientHydration() call from provider list in your application (which would disable hydration features for the entire application) or use ngSkipHydration attribute to disable hydration for particular components. See this guide for additional information: https://angular.io/guide/hydration#how-to-skip-hydration-for-particular-components.

router
  • Absolute redirects no longer prevent further redirects.
    Route configurations may need to be adjusted to prevent infinite
    redirects where additional redirects were previously ignored after an
    absolute redirect occurred.

  • Routes with loadComponent would incorrectly cause
    child routes to inherit their data by default. The default
    paramsInheritanceStrategy is emptyOnly. If parent data should be
    inherited in child routes, this should be manually set to always.

  • urlHandlingStrategy has been removed from the Router public API.
    This should instead be configured through the provideRouter or RouterModule.forRoot APIs.

  • The following Router properties have been removed from
    the public API:

    • canceledNavigationResolution
    • paramsInheritanceStrategy
    • titleStrategy
    • urlUpdateStrategy
    • malformedUriErrorHandler

    These should instead be configured through the provideRouter or
    RouterModule.forRoot APIs.

  • The setupTestingRouter function has been removed. Use
    RouterModule.forRoot or provideRouter to setup the Router for
    tests instead.

  • malformedUriErrorHandler is no longer available in
    the RouterModule.forRoot options. URL parsing errors should instead be
    handled in the UrlSerializer.parse method.

zone.js
  • Deep and legacy dist/ imports like zone.js/bundles/zone-testing.js and zone.js/dist/zone are no longer allowed. zone-testing-bundle and zone-testing-node-bundle are also no longer part of the package.

    The proper way to import zone.js and zone.js/testing is:

    import 'zone.js';
    import 'zone.js/testing';

Deprecations

animations
  • The AnimationDriver.NOOP symbol is deprecated, use NoopAnimationDriver instead.
core
  • ChangeDetectorRef.checkNoChanges is deprecated.

    Test code should use ComponentFixture instead of ChangeDetectorRef.
    Application code should not call ChangeDetectorRef.checkNoChanges directly.

  • Swapping out the context object for EmbeddedViewRef
    is no longer supported. Support for this was introduced with v12.0.0, but
    this pattern is rarely used. There is no replacement, but you can use
    simple assignments in most cases, or Object.assign , or alternatively still replace the full object by using a Proxy(seeNgTemplateOutlet`
    as an example).

    Also adds a warning if the deprecated

  • NgProbeToken

    The NgProbeToken is not used internally since the transition from View Engine to Ivy. The token has no utility and can be removed from applications and libraries.

Commit Type Description
59aa0634f4 build remove support for Node.js v16 (#​51755)
animations
Commit Type Description
e753278faa feat Add the possibility of lazy loading animations code. (#​50738)
698c058e1c fix remove code duplication between entry-points (#​51500)
0598613950 refactor deprecation of AnimationDriver.NOOP (#​51843)
benchpress
Commit Type Description
2da3551a70 feat report gc and render time spent in script (#​50771)
common
Commit Type Description
fe2fd7e1a8 feat make the warning for lazy-loaded lcp image an error (#​51748)
dde3fdabbd feat upgrade warning to logged error for lazy-loaded LCP images using NgOptimizedImage (#​52004)
da056a1fe2 fix add missing types field for @​angular/common/locales of exports in package.json (#​52080)
85843e8212 fix allow to specify only some properties of DatePipeConfig (#​51287)
3bd85fb7b0 fix apply fixed_srcset_width value only to fixed srcsets (#​52459)
65b460448e fix missing space in ngSwitch equality warning (#​52180)
86c5e34601 fix remove code duplication between entry-points (#​51500)
28a5925f53 fix use === operator to match NgSwitch cases (#​51504)
compiler
Commit Type Description
1934524a0c feat add docs extraction for type aliases (#​52118)
7f6d9a73ab feat expand class api doc extraction (#​51733)
a7fa25306f feat extract api docs for interfaces (#​52006)
7bfe20707f feat extract api for fn overloads and abtract classes (#​52040)
c7daf7ea16 feat extract directive docs info (#​51733)
e0b1bb33d7 feat extract doc info for JsDoc (#​51733)
b9c70158ab feat extract docs for accessors, rest params, and types (#​51733)
a24ae994a0 feat extract docs for top level functions and consts (#​51733)
2e41488296 feat extract docs info for enums, pipes, and NgModules (#​51733)
34495b3533 feat extract docs via exports (#​51828)
7e82df45c5 feat initial skeleton for API doc extraction (#​51733)
6795cccbbb fix account for type-only imports in defer blocks (#​52343)
23bfa10ac8 fix add diagnostic for inaccessible deferred trigger (#​51922)
31295a3cf9 fix allocating unnecessary slots in conditional instruction (#​51913)
2aaddd3f64 fix allow comments between switch cases (#​52449)
ddd9df68bb fix allow decimals in defer block time values (#​52433)
7dbd47fb30 fix allow newlines in track and let expressions (#​52137)
0eae992c4e fix

Configuration

📅 Schedule: Branch creation - "after 4am,before 6am" in timezone Europe/Paris, 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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Jun 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/gabdug/material-icons-library/931V4aUf6xmhX2hV3YKjLX2YFziD
✅ Preview: https://material-icons-library-git-renovate-angular-gabdug.vercel.app

[Deployment for e82b1f5 failed]

@renovate renovate bot changed the title fix: update angular to ~12.1.0 fix: update angular Jun 30, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to ~12.1.0 Jul 1, 2021
@renovate renovate bot changed the title fix: update angular to ~12.1.0 fix: update angular Jul 14, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to ~12.1.0 Jul 15, 2021
@renovate renovate bot changed the title fix: update angular to ~12.1.0 fix: update angular to ~12.2.0 Oct 8, 2021
@renovate renovate bot changed the title fix: update angular to ~12.2.0 fix: update angular Oct 13, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to ~12.2.0 Oct 13, 2021
@renovate renovate bot changed the title fix: update angular to ~12.2.0 fix: update angular Oct 20, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to ~12.2.0 Oct 21, 2021
@renovate renovate bot changed the title fix: update angular to ~12.2.0 fix: update angular Oct 27, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to ~12.2.0 Oct 28, 2021
@renovate renovate bot changed the title fix: update angular to ~12.2.0 fix: update angular to v13 Nov 3, 2021
@renovate renovate bot changed the title fix: update angular to v13 fix: update angular Nov 4, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to v13 Nov 17, 2021
@renovate renovate bot changed the title fix: update angular to v13 fix: update angular Nov 18, 2021
@renovate renovate bot changed the title fix: update angular fix: update angular to v13 Dec 1, 2021
@renovate renovate bot changed the title fix: update angular to v13 fix: update angular Dec 2, 2021
@vercel
Copy link

vercel bot commented Jun 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
material-icons-library ❌ Failed (Inspect) Jan 18, 2024 3:20am

@renovate renovate bot changed the title fix: update angular fix: update angular to v14 Jun 18, 2022
@renovate renovate bot changed the title fix: update angular to v14 fix: update angular to v15 Nov 20, 2022
@renovate renovate bot changed the title fix: update angular to v15 fix: update angular to v16 May 30, 2023
@renovate renovate bot changed the title fix: update angular to v16 fix: update angular to v17 Nov 8, 2023
@renovate renovate bot changed the title fix: update angular to v17 fix: update angular to v17 - autoclosed Feb 3, 2024
@renovate renovate bot closed this Feb 3, 2024
@renovate renovate bot deleted the renovate/angular branch February 3, 2024 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants