Skip to content

feat: move protobufs/ to a subpackage with its own version tags #1518

@vrypan

Description

@vrypan

What is the feature you would like to implement?
Make protobufs/ a subpackage (@farcaster/protobufs) with its own tag versions.

Why is this feature important?
Any third-party library that wants to implement farcaster bindings will have to fetch and parse the protobufs schemas. However, there is no way of knowing the version of the schemas used (and if the ones used by the library are outdated).

The only way to implement something like this now, is to use @farcaster/hubble tags, but this is far from ideal:

  1. Hubble gets new versions even without changes in .proto files (ex. bug fixes/optimizations)
  2. As the protocol becomes more stable and mature, it is reasonable to expect that protobufs schema version changes will be much less frequent than Hubble version changes.

Will the protocol spec need to be updated??
No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    s-triageNeeds to be reviewed, designed and prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions