Skip to content

Gogoprotobuf replacement #138

Open

Description

@jdmeyer3

Since gogo/protobuf has been deprecated since January of 2021, are there any thoughts on replacing it with any other protocol buffer library or simply using the vanilla golang protobuf library?

This has been brought up in earlier discussions (#80)

Activity

  1. rsc commented on Jul 9, 2024

    @rsc

    I am running into this too, with errors as a dependency of pebble. Bringing in gogo/protobuf brings in references to very old other packages that I can't eliminate. The normal way to eliminate them would be to get gogo/protobuf to update their dependencies, but gogo/protobuf is deprecated so they're not doing updates.

    It seems like for this usage, the ordinary Go protobuf library should be fine.

  2. pqn commented on Jul 14, 2024

    @pqn

    In case it's useful, I've just started a fork to attempt to remove it. I wasn't really concerned about migrating the gRPC middleware for my use case, so I just deleted it: v1.11.3...Exafunction:errors:exa-v1.11.3

    The same set of tests that passes in the latest release tag also passes, but I've yet to test with our real services.

  3. MariusVanDerWijden commented on Feb 25, 2026

    @MariusVanDerWijden

    I would also like to get rid of this dependency. When looking into our binary size, we spend ~5% on both gogo/protobuf and google/protobuf. Getting rid of one of those would allow to significantly reduce our binary size

    Also gogo/protobuf has been deprecated for 4+ years now

  4. liran-funaro commented on Jul 8, 2026

    @liran-funaro

    @dhartunian Is there any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions