-
Notifications
You must be signed in to change notification settings - Fork 416
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
fix: prevent running of states deprecated in v1.0.0
#236
fix: prevent running of states deprecated in v1.0.0
#236
Conversation
* Route all to `nginx/deprecated.sls`
First: find a way to prevent the formula from running before having migrated settings is a great idea! Second: you're only checking that |
@daks Apologies, the implementation isn't clear because I started editing other lines as well to convert to |
looks good to me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK for me. Can be merged quickly for me.
Thanks for the review, @n-rodriguez. |
And thanks to you as well, @daks. Can either of you merge this please (CC: @n-rodriguez)? |
Actually, since it's important and potentially time-critical, I've gone ahead and merged based on the the two approvals. Thanks again to everyone involved in reviewing and discussing these issues. |
🎉 This PR is included in version 1.0.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Thanks everyone, perhaps we can take this and note it down somewhere in the template formula docs? Haven't checked if we have a deprecation section in there yet, but we may want to. |
@johnkeates Thanks for the suggestion, I've appended that to the documentation section in the "superlist" issue in the |
nginx/deprecated.sls
Cross-references:
v1.0.0
breaking changes #235 -- warning banner added toREADME
.Note: There is one common state before and after:
nginx/init.sls
. For that, I've checked for the presence ofnginx:ng
in the map instead.Note: Implementation based on this PR.