angular
Repos
201

The modern web developer’s platform

84071
21463

Component infrastructure and Material Design components for Angular

22984
6183

CLI tool for Angular

25669
11882

E2E test framework for Angular apps

8798
2304

Events

opened issue
beforeunload return value is not respected

Which @angular/* package(s) are the source of the bug?

zone.js

Is this a regression?

No

Description

When zone.js is not loaded, returning a value in beforeunload event handler causes the browser to ask for confirmation: https://jsfiddle.net/datbth/b57ur4ky/45/

When zone.js is loaded, returning a value in beforeunload event handler does nothing: https://jsfiddle.net/datbth/b57ur4ky/44/

Reproduction steps:

  1. Visit the jsfiddle link
  2. Click Bind Event
  3. Click Reload
  4. Expected result: browser asking for confirmation image

Please provide a link to a minimal reproduction of the bug

https://jsfiddle.net/datbth/b57ur4ky/44/

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

Chrome Version 105.0.5195.125 (Official Build) (64-bit)  
Ubuntu 22.04.1 LTS
Zone.js 0.11.8

Anything else?

I know that practically almost all browsers are supporting preventDefault and returnValue to negate the unload (source). But my bigger concern is about how zone.js is handling the return values of event handlers and whether it breaks other events as well.

Created at 58 minutes ago
Created at 1 hour ago
opened issue
ngSwitchDefault is not working correctly when surrounded by ngIf

Which @angular/* package(s) are the source of the bug?

common

Is this a regression?

No

Description

In situations where *ngIf is wrapping *ngSwitchCase and *ngSwitchDefault, when *ngIf condition changes *ngSwitchDefault seems to be responding to the change only once, whereas *ngSwitchCase works as expected and is hiding/showing elements any number of times.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-ivy-gr6cbt?file=src%2Fapp%2Fapp.component.html

Please provide the exception or error you saw

N/A

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 14.0.7
Node: 14.20.0
Package Manager: npm 6.14.17 
OS: darwin x64

Angular: 14.2.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1402.3
@angular-devkit/build-angular   14.2.3
@angular-devkit/core            14.2.3
@angular-devkit/schematics      14.0.7
@angular/cli                    14.0.7
@schematics/angular             14.0.7
rxjs                            7.5.7
typescript                      4.7.4

Anything else?

No response

Created at 1 hour ago
pull request opened
build: update dependency npm-package-arg to v9.1.2

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | npm-package-arg | dependencies | patch | 9.1.0 -> 9.1.2 | | npm-package-arg | devDependencies | patch | 9.1.0 -> 9.1.2 |


Release Notes

v9.1.2

Compare Source

Bug Fixes

v9.1.1

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, 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, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 1 hour ago
pull request opened
build: update angular

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | @angular/animations | dependencies | digest | f90a310 -> f9a3312 | | @angular/animations | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/cdk | dependencies | digest | 290c456 -> baa9080 | | @angular/cdk | devDependencies | patch | 14.2.2 -> 14.2.3 | | @angular/common | dependencies | digest | dece5ef -> 0acaa00 | | @angular/common | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/compiler | dependencies | digest | d017d8b -> 1c10be3 | | @angular/compiler | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/compiler-cli | dependencies | digest | fd1d10e -> 4fb6263 | | @angular/compiler-cli (source) | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/core | dependencies | digest | fefa40b -> 4dca965 | | @angular/core | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/forms | dependencies | digest | 86958d1 -> 377c79e | | @angular/forms | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/language-service | dependencies | digest | a2d6d6c -> a77fec7 | | @angular/localize | dependencies | digest | e049059 -> 3a9d555 | | @angular/localize | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/material | dependencies | digest | 8122b1f -> 050c1ff | | @angular/material | devDependencies | patch | 14.2.2 -> 14.2.3 | | @angular/material-moment-adapter | dependencies | digest | 1c5e023 -> 0052662 | | @angular/platform-browser | dependencies | digest | cde2884 -> 716863d | | @angular/platform-browser | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/platform-browser-dynamic | dependencies | digest | 077b3bb -> 8c9a0a8 | | @angular/platform-browser-dynamic | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/platform-server | dependencies | digest | 2b062e6 -> ee8e1e6 | | @angular/platform-server | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/router | dependencies | digest | 399cfa3 -> e8f6f0f | | @angular/router (source) | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 | | @angular/service-worker | dependencies | digest | d59c430 -> 1cc407c | | @angular/service-worker | devDependencies | patch | 15.0.0-next.3 -> 15.0.0-next.4 |

🔡 If you wish to disable git hash updates, add ":disableDigestUpdates" to the extends array in your config.


Release Notes

v15.0.0-next.4

Compare Source

Breaking Changes

router
  • The title property is now required on ActivatedRouteSnapshot

Deprecations

core
  • The bit field signature of Injector.get() has been deprecated, in favor of the new options object.
  • The bit field signature of TestBed.inject() has been deprecated, in favor of the new options object.
core

| Commit | Type | Description | | -- | -- | -- | | 841c8e5138 | feat | support object-based DI flags in Injector.get() (#​46761) | | 120555a626 | feat | support object-based DI flags in TestBed.inject() (#​46761) | | aef8d0bb02 | fix | correctly check for typeof of undefined in ngDevMode check (#​47480) | | 85330f3fd9 | fix | update isDevMode to rely on ngDevMode (#​47475) |

language-service

| Commit | Type | Description | | -- | -- | -- | | e7ee53c541 | feat | support to fix invalid banana in box (#​47393) |

router

| Commit | Type | Description | | -- | -- | -- | | 6a88bad019 | fix | Ensure ActivatedRouteSnapshot#title has correct value (#​47481) |

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Ashley Hunter, Doug Parker, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Rokas Brazdžionis, Simona Cotin and ivanwonder

v14.2.3

Compare Source

material

| Commit | Type | Description | | -- | -- | -- | | 8c3d79156 | fix | bottom-sheet: aria-modal not being set | | 7d314a87b | fix | dialog: aria-modal not being set | | bc978445b | fix | stepper: remove invalid aria attribute (#​25644) | | a9d3bc580 | fix | tooltip: animations running when timeouts haven't elapsed (#​25699) (#​25701) |

Special Thanks

James Skinner, Kristiyan Kostadinov and Paul Gschwendtner


Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 1 hour ago
started
Created at 1 hour ago
started
Created at 1 hour ago
started
Created at 2 hours ago
Created at 2 hours ago
issue comment
feat(common): add injection token for default date pipe format

@matthiasweiss please see my comment below.

Should I merge ALL commits into one or should the deprecation changes have their own commit?

Yes, let's merge all commits into one. The deprecation message can be added to the end of the commit message (in this case it'd be picked up by the tooling and added into the changelog).

I don't really know what to change in goldens/size-tracking/integration-payloads.json, the part that I would assume is relevant looks as follows:

The location that you mentioned is correct. Here is the current value in the main branch (which is aligned with what CI has): https://github.com/angular/angular/blob/main/goldens/size-tracking/integration-payloads.json#L29. Try rebasing the PR on top of the most up-to-date main branch and replace 124269 with 124779 in that file and add it to the PR.

Please let me know if any additional information is needed, I'll be happy to help.

Thank you.

Created at 2 hours ago
Created at 2 hours ago
delete branch
angular-robot delete branch ng-renovate/latest-nrwl
Created at 2 hours ago
delete branch
angular-robot delete branch ng-renovate/latest-ngx-toastr-15.x
Created at 2 hours ago
delete branch
angular-robot delete branch ng-renovate/latest-covalent
Created at 2 hours ago
delete branch
angular-robot delete branch ng-renovate/latest-angular-framework-and-cli
Created at 2 hours ago

build(deps): update dependency ngx-toastr to v15.1.0

Created at 2 hours ago
pull request closed
build(deps): update dependency ngx-toastr to v15.1.0 (latest)

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | ngx-toastr (source) | dependencies | minor | 15.0.0 -> 15.1.0 |


Release Notes

v15.1.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - "before 7am every weekday,after 6pm every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 2 hours ago
Created at 3 hours ago

build(deps): update dependency @nrwl/workspace to v14.8.1

Created at 3 hours ago
pull request closed
build(deps): update dependency @nrwl/workspace to v14.8.1 (latest)

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | @nrwl/workspace (source) | dependencies | minor | 14.7.18 -> 14.8.1 |


Release Notes

v14.8.1

Compare Source

Bug Fixes
  • bundling: add missing assets ignore option to @​nrwl/esbuild:esbuild (#​12288) (65dc805)
  • core: add missing packages (esbuild, webpack, rollup) to nx-migration field (#​12285) (ac4cf51)
  • devkit: ensure that getProjects works properly without a nx.json (#​12295) (35082c7)
  • misc: buildable libs should not throw when some npm packages are not defined (d070fdf)

v14.8.0

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "before 7am every weekday,after 6pm every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 3 hours ago

build(deps): update covalent to v4.7.0

Created at 3 hours ago
pull request closed
build(deps): update covalent to v4.7.0 (latest)

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | @covalent/core | dependencies | minor | 4.6.2 -> 4.7.0 | | @covalent/dynamic-forms | dependencies | minor | 4.6.2 -> 4.7.0 | | @covalent/highlight | dependencies | minor | 4.6.2 -> 4.7.0 | | @covalent/markdown | dependencies | minor | 4.6.2 -> 4.7.0 |


Release Notes

v4.7.0

Compare Source

Features
  • add info and help guide (2c8a702)

Configuration

📅 Schedule: Branch creation - "before 7am every weekday,after 6pm every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 3 hours ago

build(deps): update angular-framework-and-cli to v14.2.4

Created at 3 hours ago
pull request closed
build(deps): update angular-framework-and-cli to v14.2.4 (latest)

This PR contains the following updates:

| Package | Type | Update | Change | |---|---|---|---| | @angular/animations | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/common | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/compiler | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/compiler-cli (source) | devDependencies | patch | 14.2.3 -> 14.2.4 | | @angular/core | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/elements | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/forms | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/language-service | devDependencies | patch | 14.2.3 -> 14.2.4 | | @angular/localize | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/platform-browser | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/platform-browser-dynamic | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/platform-server | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/router (source) | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/service-worker | dependencies | patch | 14.2.3 -> 14.2.4 | | @angular/upgrade | dependencies | patch | 14.2.3 -> 14.2.4 |


Release Notes

v14.2.4

Compare Source

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | a4b66fe1e5 | perf | cache source file for reporting type-checking diagnostics (#​47508) |

core

| Commit | Type | Description | | -- | -- | -- | | 2c46b5ab24 | fix | correctly check for typeof of undefined in ngDevMode check (#​47480) |

Special Thanks

Alan Agius, Ashley Hunter, Doug Parker, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Rokas Brazdžionis and Simona Cotin


Configuration

📅 Schedule: Branch creation - "before 7am every weekday,after 6pm every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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, click this checkbox.

This PR has been generated by Renovate Bot.

Created at 3 hours ago
delete branch
angular-robot delete branch ng-renovate/main-nrwl
Created at 3 hours ago
delete branch
angular-robot delete branch ng-renovate/main-ngx-toastr-15.x
Created at 3 hours ago
delete branch
angular-robot delete branch ng-renovate/main-covalent
Created at 3 hours ago
delete branch
angular-robot delete branch ng-renovate/main-angular-components
Created at 3 hours ago