keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
700 stars 40 forks source link

Upgrade to Rails 7.1 #764

Closed ezekg closed 5 months ago

ezekg commented 8 months ago

Closes #615. Upgrades to Rails 7.1. Upgrade docs can be found here.

ezekg commented 8 months ago

Need to drop usage of secrets.yml in favor of env vars.

ezekg commented 8 months ago

New active record encryption scheme is breaking with old values, so need to figure it out. Either non-deterministic values fail to decrypt, or deterministic values fail. I can't find a way to make both succeed and need to spend a bit more time debugging.

Ref: https://github.com/rails/rails/issues/48204

ezekg commented 7 months ago

Still sitting on this due to https://github.com/rails/rails/issues/48204 and https://github.com/alecdotninja/active_record_distinct_on/pull/28.

ezekg commented 5 months ago

I'd like to get this out before #774.