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

Remove legacy address state validation logic #3847

Merged

Conversation

cedum
Copy link
Contributor

@cedum cedum commented Nov 22, 2020

Address state validation logic has been extracted into a dedicated class in #3129
The legacy validation logic has been kept for compatibility reasons allowing stores to upgrade without being forced to switch to the new validation logic.
With this PR, the old validation is definitely removed.

NOTE: this PR is part of a bigger deprecations removal initiative. See PR #3818 for other deprecations being removed.

Removals without deprecation

  • Spree::Config.use_legacy_address_state_validator: preference introduced for switching between the legacy state validator and the new one. By removing the legacy state validator this preference is no more needed.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • I have added tests to cover this change (if needed)
  • I have attached screenshots to this PR for visual changes (if needed)

@cedum cedum marked this pull request as ready for review November 27, 2020 09:07
Address state validation logic has been extracted into a dedicated
class. The legacy validation logic has been kept for compatibility
reasons allowing stores to upgrade without being forced to switch to the
new validation logic.
With this commit the old validation is definitely removed.
@cedum cedum force-pushed the remove-legacy-address-validation branch from 51940bd to 1e33eb7 Compare November 27, 2020 09:20
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

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

@cedum thank you 👍

@kennyadsl kennyadsl added this to the 3.0.0 milestone Dec 4, 2020
@kennyadsl kennyadsl merged commit 6fd3393 into solidusio:master Dec 14, 2020
@kennyadsl kennyadsl deleted the remove-legacy-address-validation branch December 14, 2020 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants