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

Add feature flags to disable some breaking changes #2159

Merged
merged 8 commits into from
Jan 4, 2023

Conversation

MasterOdin
Copy link
Member

PR to address comments in #2154

A new FeatureFlags class has been introduced that we can use to wrap larger breaking changes, such that end-users may optionally disable them.

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@MasterOdin
Copy link
Member Author

I still need to write some tests for this, but wanted to get the ball rolling with seeing what people thought of this approach.

@dereuromark
Copy link
Member

So the plan would be to release this as 0.13.4
Then make Migrations current master release a patch that has this version as minimum with the feature flags disabled for now.

We will then add docs on how you can already switch those on if you want before they become default in Cake5 Migrations plugin major.

👍 Should work

@dereuromark dereuromark requested review from LordSimal, othercorey and a team December 23, 2022 15:49
@LordSimal
Copy link
Contributor

LGTM but let me add ndm as a reviewer as well since he has been very deep in the whole migrations topic lately.

@LordSimal LordSimal requested a review from ndm2 December 23, 2022 16:29
@dereuromark dereuromark merged commit f894a35 into 0.x Jan 4, 2023
@dereuromark dereuromark deleted the feat-featureflags branch January 4, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants