Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

neuecc
Copy link
Member

@neuecc neuecc commented Jan 24, 2025

about: #2099 (comment)

@AArnott @pCYSl5EDgo
Last year, due to optimization code that was introduced, the serialization results for List<byte> became different between .NET 8 and other versions.
The correct behavior should be returning identical serialization results across all platforms.
Therefore, we reverted the behavior of List<byte> to its original state.

This is a breaking change that requires careful consideration.
To protect serialized List<byte> data that already exists in .NET 8 environments,
we decided to support both array and binary deserialization.
We believe this will allow for updates without practical issues.

@neuecc neuecc changed the title remove ByteListFormatter to keep binary compatibility for List<byte> Change ByteListFormatter behaviour to keep binary compatibility for List<byte> Jan 24, 2025
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.

2 participants