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

Remove deprecated serialization format and fields #685

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jul 12, 2024

We do some clean-up of deprecated fields, classes and serialization formats. This is a breaking change for users who have never launched the app since the v1.5.0 release (from july 2023). It is not possible to upgrade directly from a version < 1.5.0, an intermediate update will be required.

@t-bast t-bast force-pushed the remove-old-serialization branch from 1a8b468 to ab7fdd4 Compare July 18, 2024 13:41
@t-bast t-bast force-pushed the remove-old-serialization branch 2 times, most recently from d53ef40 to 0f7796a Compare August 8, 2024 08:13
@t-bast t-bast force-pushed the remove-old-serialization branch from 0f7796a to 44d5d86 Compare September 16, 2024 11:34
@t-bast t-bast force-pushed the remove-old-serialization branch 2 times, most recently from ce6ecf4 to 290636e Compare October 23, 2024 04:48
The v4 serialization format was released in July 2023 with better
support for backwards-compatibility: the v2 and v3 formats used
kotlin's serialization, which prevents us from removing legacy
classes and requires additional code whenever we change something
in the channel state.

Users who haven't migrated their data to the v4 format will not be
able to deserialize their channel data: they will need to use a
previous version of the app to read their old channel data, write
it to the v4 format and then upgrade to the latest version.

We also remove a bunch of fields/options that were deprecated a
while ago:

- legacy channel funding states
- unused legacy features
- legacy private key generation
- legacy node events
@t-bast t-bast force-pushed the remove-old-serialization branch from 290636e to 9e57421 Compare December 5, 2024 15:14
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