Skip to content

fix(forms): temp roll back breaking change with min/max directives - #17551

Merged
hansl merged 1 commit into
angular:masterfrom
kara:minmax
Jun 16, 2017
Merged

hansl merged 1 commit into
angular:masterfrom
kara:minmax

Conversation

@kara

@kara kara commented Jun 16, 2017 •

Copy link
Copy Markdown
Contributor

With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes #17491.

cc: @hansl @IgorMinar

With 4.2, we introduced the min and max validator directives. This was actually a breaking change because
their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports.

Closes angular#17491.
@kara kara added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jun 16, 2017
@kara
kara requested a review from IgorMinar June 16, 2017 00:34
@mary-poppins

Copy link
Copy Markdown

The angular.io preview for 1fc6f5d is available here.

@IgorMinar IgorMinar added the action: merge The PR is ready for merge by the caretaker label Jun 16, 2017
@IgorMinar IgorMinar removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jun 16, 2017
@hansl
hansl merged commit 232bd93 into angular:master Jun 16, 2017
hansl added a commit to hansl/angular that referenced this pull request Jun 19, 2017
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes angular#17491.

----

PR angular#17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as angular#17551 while also removing the dead code.
hansl added a commit to hansl/angular that referenced this pull request Jun 20, 2017
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes angular#17491.

----

PR angular#17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as angular#17551 while also removing the dead code.
hansl added a commit that referenced this pull request Jun 20, 2017
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes #17491.

----

PR #17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as #17551 while also removing the dead code.
@SteveVanOpstal

Copy link
Copy Markdown

I recently created a fix (#17436) for issue #17080 which contains a change within the rollbacked code, but it was not merged before the rollback. Keep this in mind when min/max is reintroduced.

asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes angular#17491.

----

PR angular#17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as angular#17551 while also removing the dead code.
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.

Closes angular#17491.

----

PR angular#17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as angular#17551 while also removing the dead code.
@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 Sep 11, 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 cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression caused by the min/max validators in 4.2.0

6 participants