Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): remove deprecated parameter for ErrorHandler #18759

Closed
wants to merge 1 commit into from

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Aug 17, 2017

PR Type

What kind of change does this PR introduce?

[ ] Other... Please describe: removing deprecated code

What is the current behavior?

ErrorHandler was taking a parameter but was not using it.

What is the new behavior?

ErrorHandler no longer takes a parameter as it was not used and deprecated since v4.

Does this PR introduce a breaking change?

[x] Yes

@ocombe ocombe added area: core Issues related to the framework runtime breaking changes action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 17, 2017
@ocombe ocombe requested a review from vicb August 17, 2017 20:23
* rethrow.
*/
deprecatedParameter?: boolean) {}
constructor() {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the ctor altogether

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ocombe ocombe added the target: major This PR is targeted for the next major release label Aug 17, 2017
BREAKING CHANGE: `ErrorHandler` no longer takes a parameter as it was not used and deprecated since v4.
@ocombe ocombe force-pushed the remove-error-handler-parameter branch from a49542d to 06e2ea4 Compare August 17, 2017 20:36
@mary-poppins
Copy link

You can preview a49542d at https://pr18759-a49542d.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 06e2ea4 at https://pr18759-06e2ea4.ngbuilds.io/.

@ocombe ocombe added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 17, 2017
@mhevery mhevery closed this in 8f41326 Aug 18, 2017
@ocombe ocombe deleted the remove-error-handler-parameter branch August 18, 2017 07:35
@dherges
Copy link
Contributor

dherges commented Nov 10, 2017

Parameter was used for whether to re-throw errors, see #15208

@ocombe
Copy link
Contributor Author

ocombe commented Nov 10, 2017

It was no longer used since v4, see the PR that you linked.

@dherges
Copy link
Contributor

dherges commented Nov 10, 2017

Yes @ocombe, since 4.0.0-rc.4 ... went completely unnoticed to me ...

It was also the only breaking change I had for migrating from v4 to v5! Cheers! 👍

@angular-automatic-lock-bot
Copy link

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 Sep 12, 2019
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 area: core Issues related to the framework runtime breaking changes cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants