Download Latest Version v0.37.1 source code.tar.gz (662.2 kB)
Email in envelope

Get an email when there's a new version of webrpc

Home / v0.35.0
Name Modified Size InfoDownloads / Week
Parent folder
checksums.txt 2026-03-09 1.1 kB
webrpc-test.windows-arm64.exe 2026-03-09 8.4 MB
webrpc-gen.linux-amd64 2026-03-09 16.5 MB
webrpc-test.darwin-arm64 2026-03-09 8.5 MB
webrpc-test.windows-amd64.exe 2026-03-09 9.2 MB
webrpc-gen.darwin-amd64 2026-03-09 17.0 MB
webrpc-gen.linux-arm64 2026-03-09 15.3 MB
webrpc-test.linux-amd64 2026-03-09 9.0 MB
webrpc-test.linux-arm64 2026-03-09 8.3 MB
webrpc-gen.darwin-arm64 2026-03-09 16.0 MB
webrpc-gen.windows-amd64.exe 2026-03-09 17.2 MB
webrpc-gen.windows-arm64.exe 2026-03-09 15.7 MB
webrpc-test.darwin-amd64 2026-03-09 9.1 MB
README.md 2026-03-09 2.0 kB
v0.35.0 source code.tar.gz 2026-03-09 660.2 kB
v0.35.0 source code.zip 2026-03-09 730.0 kB
Totals: 16 Items   151.7 MB 0

What's Changed

Full Changelog: https://github.com/webrpc/webrpc/compare/v0.33.0...v0.35.0


Go server breaking changes

1. Enum maps now use typed keys and values

The _name and _value maps for enums now use the enum type directly instead of the underlying type.

Before:

:::go
var Kind_name = map[uint32]string{
    0: "USER",
    1: "ADMIN",
}
var Kind_value = map[string]uint32{
    "USER":  0,
    "ADMIN": 1,
}

After:

:::go
var Kind_name = map[Kind]string{
    Kind_USER:  "USER",
    Kind_ADMIN: "ADMIN",
}
var Kind_value = map[string]Kind{
    "USER":  Kind_USER,
    "ADMIN": Kind_ADMIN,
}

Migration

If you reference these maps directly, update the types:

  • Kind_name[uint32(x)]Kind_name[x]
  • v := Kind_value["ADMIN"] — the value is now Kind instead of uint32. If you were casting with Kind(v), it's no longer needed. If you were using the raw uint32, use uint32(v).

2. The deprecated ErrorWithCause() function was removed

:::diff

- return proto.ErrorWithCause(proto.ErrUnexpectedValue, err)
+ return proto.ErrUnexpectedValue.WithCause(err)

:::diff

- return proto.ErrorWithCause(proto.ErrUnexpectedValue, fmt.Errorf("connect to DB: %w", err))
+ return proto.ErrUnexpectedValue.WithCausef("connect to DB: %w", err)

Source: README.md, updated 2026-03-09