Skip to content

Add feature flag for serde serialization backwards compatibility with openmls v0.8.1 - #2047

Merged
wysiwys merged 13 commits into
wysiwys/serialization-helpersfrom
wysiwys/storage-format-stability-0-8-1
Jun 9, 2026
Merged

wysiwys merged 13 commits into
wysiwys/serialization-helpersfrom
wysiwys/storage-format-stability-0-8-1

Conversation

@wysiwys

@wysiwys wysiwys commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR introduces a feature flag to enable storage serialization backwards compatibility with the openmls v0.8.1 release. This PR builds on the changes in #2034, which restore storage compatibility with openmls v0.7.1, but do not yet address compatibility with openmls v0.8.1.

The added 0-8-1-storage-format feature flag, when enabled, ensures that the serde serializations for the affected types (Extension, ExtensionType, CredentialType, ProposalType, and Proposal) match the formats used in the released openmls v0.8.1.

This PR also adds storage compatibility tests for openmls v0.8.1, both with and without the extensions-draft-08 feature, to the openmls_compat_tests crate.

@wysiwys
wysiwys requested a review from franziskuskiefer June 3, 2026 10:46
@wysiwys wysiwys changed the title Add feature flag for serde serialization backwards compatibility with openmls=0.8.1 Add feature flag for serde serialization backwards compatibility with openmls v0.8.1 Jun 3, 2026
@wysiwys
wysiwys marked this pull request as ready for review June 3, 2026 13:16
@wysiwys
wysiwys requested a review from a team as a code owner June 3, 2026 13:16

@franziskuskiefer franziskuskiefer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with a few nits

Comment thread compat_tests/README.md Resolved
Comment thread openmls/src/credentials/mod.rs Resolved
Comment thread openmls/Cargo.toml Resolved
@wysiwys
wysiwys requested a review from franziskuskiefer June 8, 2026 14:20
@wysiwys
wysiwys merged commit 2428b79 into wysiwys/serialization-helpers Jun 9, 2026
40 checks passed
@wysiwys
wysiwys deleted the wysiwys/storage-format-stability-0-8-1 branch June 9, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants