v0.9.0 RIDL updates
Breaking changes in v0.9.0
See https://github.com/webrpc/webrpc/blob/master/CHANGELOG.md#ridl-v090-changes
Migrate to RIDL v0.9.0
TL;DR run find . -name '*.ridl' -exec sed -i -e 's/^message /struct /g' {} \;
See https://github.com/webrpc/webrpc/blob/master/CHANGELOG.md#ridl-v090-migration-guide
Changelog
- 80d284b: Improve testing suite (#174) (@LukasJenicek)
- 30ed299: Internal renaming (#168) (@VojtechVitek)
- 945fe4c: Move VERSION to top-level package (#169) (@VojtechVitek)
- 5e6d1b8: v0.9.0: Fix non-deterministic schema hash (#172) (@VojtechVitek)
- 25708e7: v0.9.0: Rename RIDL "message" to "struct", schema "messages" to "types" (#171) (@VojtechVitek)
Docker
docker pull ghcr.io/webrpc/webrpc-gen:v0.9.0
Example: docker run -v $PWD:$PWD ghcr.io/webrpc/webrpc-gen:v0.9.0 -schema=$PWD/api.ridl -target=golang
Homebrew
brew tap webrpc/tap
brew install webrpc-gen
Build from source
go install -ldflags="-s -w -X github.com/webrpc/webrpc.VERSION=v0.9.0" github.com/webrpc/webrpc/cmd/webrpc-gen@v0.9.0
Download binaries
macOS: amd64, arm64 (Apple Silicon)
Linux: amd64, arm64
Windows: amd64, arm64