Skip to content

Upgrading protobuf-net 2 to 3

Breaking2.4.9 → 3.4.40Breaking1Deprecated1New29Changed21Fixed21Other41

BreakingUpgrade verdict

1 breaking change.

  • The diagnostic codes for AOT warnings have new numbers, so any suppressions or filters using the old codes need updating.
  • The protobuf-net.BuildTools package will no longer be updated; version 3.3.8 is the last release.
2 items need code or config changes

Target frameworks requirement changed in 3.3.0: .NETCoreApp3.1, .NETFramework2.0, .NETFramework3.5, .NETFramework4.5.2, .NETStandard2.0 → .NETFramework4.6.2, .NETStandard2.0, .NETStandard2.1, net8.0.

Breaking1
Moves AOT diagnostics to PBN3000+ because they collided with the gRPC analyzers.
PBN3000
Deprecated1
Stops publishing protobuf-net.BuildTools; 3.3.8 is final and the package is deprecated.
protobuf-net.BuildTools