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

How to migrate older installs which do not have versions? #18

Open
abinli opened this issue Aug 9, 2017 · 1 comment
Open

How to migrate older installs which do not have versions? #18

abinli opened this issue Aug 9, 2017 · 1 comment

Comments

@abinli
Copy link

abinli commented Aug 9, 2017

Hi,

I just start adding the version in the new code. However, there are older installs which do not have the version info. How do I migrate those installs?

Seems like redux-persist-migrate simply sets the version of the state to the current version without doing any migration (ie, those are treated like new installs)

Thanks!

@rt2zz
Copy link
Contributor

rt2zz commented Aug 30, 2017

@abinli yes this was an oversight, it has been addressed in the latest version via #14

additionally please note future development will be ongoing in redux-persist@5, which has migrations support build in: https://github.com/rt2zz/redux-persist/tree/v5

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

2 participants