Skip to content

Upgrading protobuf 4 to 5

Review needed4.2.0 → 5.1.0New1Changed3Fixed7

Review neededUpgrade verdict

3 behavior changes.

  • The library now accepts much larger messages and deeper nesting by default, matching the Java and C++ implementations.
  • Copying a message is now faster.
  • You can now build a PbList from any iterable, not just a list.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.