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

[Documentation] Breaking change in 0.39.0: switch from secrets to credentials #1366

Closed
davidcornu opened this issue Sep 17, 2024 · 5 comments

Comments

@davidcornu
Copy link
Contributor

While upgrading our instance from 0.38.0 to 0.39.0 we had to switch from using Rails secrets to credentials because of this change (https://github.com/Shopify/shipit-engine/pull/1326/files#diff-b2e066ed79ba733982401273e1c6373dbd28c3e3b9ebf62482b5c31c7bbdf3fcR294) where Shipit switched from using Rails.application.secrets to Rails.application.credentials.

I would recommend documenting this in the release notes for 0.39.0 so others making the same upgrade know about it ahead of time.

@casperisfine
Copy link
Contributor

Yeah, Rails.application.secrets were unfortunately deprecated, so we had to migrate over. Changelog is a good call.

@casperisfine
Copy link
Contributor

Hum, actually it is already in the release notes:

* Migrate from legacy Rails secrets to credentials (#1326)
  * Rails secrets were [deprecated in Rails 7.1](https://github.com/rails/rails/pull/48472)
  * [Guide on credentials](https://guides.rubyonrails.org/security.html#custom-credentials)

@davidcornu
Copy link
Contributor Author

@casperisfine Ohhh it's in the changelog but not in the GH releases notes: https://github.com/Shopify/shipit-engine/releases/tag/v0.39.0

@casperisfine
Copy link
Contributor

Arf, didn't know about GH releases. I'll see if I can edit it.

@simi
Copy link

simi commented Oct 31, 2024

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

No branches or pull requests

3 participants