Skip to content

Fix value upgraded from version 3#289

Open
azone wants to merge 2 commits into
sunshinejr:masterfrom
azone:patch-1
Open

Fix value upgraded from version 3#289
azone wants to merge 2 commits into
sunshinejr:masterfrom
azone:patch-1

Conversation

@azone

@azone azone commented Feb 23, 2022

Copy link
Copy Markdown

Version 3 of SwiftyUserDefaults saved Array<String|Int|Float|Double...> as Array in UserDefaults, if upgrade it to version 4 or 5.x, the value will be saved as Codable. Then the values will be lost in the new version.

azone and others added 2 commits February 23, 2022 18:10
Version 3 of `SwiftyUserDefaults` saved `Array<String|Int|Float|Double...>` as Array in UserDefaults, if upgrade it to version 4 or 5.x, the value will be saved as `Codable`. Then the values will be lost in the new version.
@azone

azone commented Feb 28, 2022

Copy link
Copy Markdown
Author

@sunshinejr could you review this, please?

@azone

azone commented Mar 2, 2022

Copy link
Copy Markdown
Author

Version 3 of SwiftyUserDefaults saved Array<String|Int|Float|Double...> as Array in UserDefaults, if upgrade it to version 4 or 5.x, the value will be saved as Codable. Then the values will be lost in the new version.

Another situation is: the developer used UserDefaults directly before, and now is using SwiftyUserDefaults.

@azone

azone commented Apr 15, 2024

Copy link
Copy Markdown
Author

Why hasn't this pr been reviewed yet?

The author does not maintain it anymore, see this: #294

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