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

chore: add config migrations #470

Merged
merged 1 commit into from
Apr 5, 2023
Merged

chore: add config migrations #470

merged 1 commit into from
Apr 5, 2023

Conversation

miraclx
Copy link
Owner

@miraclx miraclx commented Apr 5, 2023

#455 modified the field names for Spotify credentials to camelCase as opposed to snake_case.

This patch makes it possible to migrate old versions of the config on existing users devices.

Fixes this (reported in #466 (comment))

[!] Fatal Error: Config schema violation: `services/spotify` must NOT have additional properties; `services/spotify` must NOT have additional properties

@github-actions
Copy link

github-actions bot commented Apr 5, 2023


🐋 🤖

A docker image for this PR has been built!

docker pull freyrcli/freyrjs-git:pr-470
Base (master)
This Patch


What's this?

This docker image is a self-contained sandbox that includes all the patches made in this PR. Allowing others to easily use your patches without waiting for it to get merged and released officially.

For more context, see https://github.com/miraclx/freyr-js#docker-development.

@miraclx miraclx merged commit 5d1a085 into master Apr 5, 2023
@miraclx miraclx deleted the miraclx/config-migration branch April 5, 2023 21:47
@miraclx miraclx mentioned this pull request Jun 20, 2023
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.

1 participant