-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Change the base class of PrimitiveSerializers to SerializerWithStringManifest #4989
Conversation
…alizers_change_base_to_SerializerWithStringManifest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to make this backwards wire compatible - we have to accept the manifests that could be produced using reflection and the old type names too, and we'll have to add unit tests to verify that.
Alright, will do |
…ange_base_to_SerializerWithStringManifest' of github.com:Arkatufus/akka.net into #4986_Akka.Remote.Serialization.PrimitiveSerializers_change_base_to_SerializerWithStringManifest
…alizers_change_base_to_SerializerWithStringManifest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Arkatufus need to do API approvals as well here |
Done |
In an older akka instance I'm getting |
Hi @Martin-Molinero - this looks like a new version --> old version breaking wire format change that we caused, and the reason why is because we standardized the the primitive type manifests because they varied between .NET Core and .NET Framework due to the breaking changes Microsoft introduced at the inception of .NET Core. We're really sorry about this - we probably should have made this an opt-in feature some months after introducing this serializer so you wouldn't be hit with this issue during a live upgrade. The work around for this now is probably to either just bite the bullet and upgrade everything, or to override this serializer with the one from the v1.4.19 source code and drop it later. |
@Martin-Molinero this should resolve this issue in v1.4.26 #5280 |
@Aaronontheweb awesome ty! is there an ETA for v1.4.26? |
We can probably ship something simple soon |
…Manifest (akkadotnet#4989) * Change the base class of PrimitiveSerializers to SerializerWithStringManifest * Add backward compatibility to the wire format * Update API Approver list (cherry picked from commit 25246ac)
* Change the base class of PrimitiveSerializers to SerializerWithStringManifest (#4989) * Change the base class of PrimitiveSerializers to SerializerWithStringManifest * Add backward compatibility to the wire format * Update API Approver list (cherry picked from commit 25246ac) * cherry-picked from 6101fea Add backward compatibility to PrimitiveSerializers (#5280) * Add backward compatibility to PrimitiveSerializers * Update API Approver list * Change PrimitiveSerializer compatibility switch setting name from `use-neutral-primitives` to `use-legacy-behavior` for less ambiguity (#5290) * Change PrimitiveSerializer compatibility switch setting name from `use-neutral-primitives` to `use-legacy-behavior` for less ambiguity * Fix unit test * Change default to full compatibility (on) * Fix unit test Co-authored-by: Aaron Stannard <aaron@petabridge.com> (cherry picked from commit 302e3cb) * Code cleanup * Fix FSharp.Core package problem * Fix CI/CD script - Change vmimage to windows-latest and ubuntu-latest * Fix CI/CD script - Install SDK * Bump net45 target to net452 * Fix CI/CD script * Bump Incrementalist.Cmd to 0.9.0 * Revert "Bump net45 target to net452" This reverts commit 2d0d76d. * Revert "Code cleanup" This reverts commit d72b753. * Code cleanup * Code cleanup
Closes #4986