Skip to content

fix(router): Ensure renavigating in component init works with enabled… - #48066

Closed
atscott wants to merge 1 commit into
angular:14.2.xfrom
atscott:v14targetfix
Closed

atscott wants to merge 1 commit into
angular:14.2.xfrom
atscott:v14targetfix

Conversation

@atscott

@atscott atscott commented Nov 15, 2022

Copy link
Copy Markdown
Contributor

…Blocking

The way to complete the Subject in a way that is able to be read on the subject properties itself is to call unsubscribe: https://github.com/ReactiveX/rxjs/blob/afac3d574323333572987e043adcd0f8d4cff546/src/internal/Subject.ts#L101-L104 This sets the closed property to true whereas complete does not.

fixes #48052

@atscott atscott added the target: patch This PR is targeted for the next patch release label Nov 15, 2022
AndrewKushnir
AndrewKushnir previously approved these changes Nov 15, 2022
…Blocking

The way to complete the `Subject` in a way that is able to be read on
the subject properties itself is to call `unsubscribe`:
https://github.com/ReactiveX/rxjs/blob/afac3d574323333572987e043adcd0f8d4cff546/src/internal/Subject.ts#L101-L104
This sets the `closed` property to `true` whereas `complete` does not.

fixes angular#48052
@atscott atscott added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Nov 15, 2022
@atscott

atscott commented Nov 15, 2022

Copy link
Copy Markdown
Contributor Author

caretaker note: This is a patch-only PR and cannot run google internal tests with it

@jessicajaniuk

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit aef353c.

jessicajaniuk pushed a commit that referenced this pull request Nov 15, 2022
…Blocking (#48066)

The way to complete the `Subject` in a way that is able to be read on
the subject properties itself is to call `unsubscribe`:
https://github.com/ReactiveX/rxjs/blob/afac3d574323333572987e043adcd0f8d4cff546/src/internal/Subject.ts#L101-L104
This sets the `closed` property to `true` whereas `complete` does not.

fixes #48052

PR Close #48066
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Nov 21, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@angular/animations](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fanimations/14.2.10/14.2.11) |
| [@angular/common](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fcommon/14.2.10/14.2.11) |
| [@angular/compiler](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fcompiler/14.2.10/14.2.11) |
| [@angular/compiler-cli](https://github.com/angular/angular/tree/main/packages/compiler-cli) ([source](https://github.com/angular/angular)) | devDependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fcompiler-cli/14.2.10/14.2.11) |
| [@angular/core](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fcore/14.2.10/14.2.11) |
| [@angular/forms](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fforms/14.2.10/14.2.11) |
| [@angular/platform-browser](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fplatform-browser/14.2.10/14.2.11) |
| [@angular/platform-browser-dynamic](https://github.com/angular/angular) | dependencies | patch | [`14.2.10` -> `14.2.11`](https://renovatebot.com/diffs/npm/@angular%2fplatform-browser-dynamic/14.2.10/14.2.11) |

---

### Release Notes

<details>
<summary>angular/angular</summary>

### [`v14.2.11`](https://github.com/angular/angular/blob/HEAD/CHANGELOG.md#&#8203;14211-2022-11-16)

[Compare Source](angular/angular@14.2.10...14.2.11)

##### router

| Commit | Type | Description |
| -- | -- | -- |
| [aef353c143](angular/angular@aef353c) | fix | Ensure renavigating in component init works with enabledBlocking ([#&#8203;48066](angular/angular#48066)) |

#### Special Thanks

Alan Agius, Andrew Scott and Mujo Osmanovic

<!-- CHANGELOG SPLIT MARKER -->

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNS4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjcuMSJ9-->

Co-authored-by: cabr2-bot <[email protected]>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1644
Reviewed-by: Epsilon_02 <[email protected]>
Co-authored-by: Calciumdibromid Bot <[email protected]>
Co-committed-by: Calciumdibromid Bot <[email protected]>
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Dec 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants