Skip to content

Release v6.2.0

Choose a tag to compare

@github-actions github-actions released this 20 May 02:57
· 41 commits to main since this release
24e9bba

Added

  • api-bones-protos 0.2.0 — bones.v1.errors MethodOptions extension.
    New proto file proto/bones/v1/annotations.proto defining a repeated string errors extension on google.protobuf.MethodOptions at field number 5102347. Lets each RPC declare its error variants on the wire so SDK generators can emit typed error surfaces:

    rpc Login(LoginRequest) returns (LoginResponse) {
      option (bones.v1.errors) = "INVALID_CREDENTIALS";
      option (bones.v1.errors) = "ACCOUNT_LOCKED";
    }