What's New in v1.2.1
protoc-gen-orm generates Prisma, GORM, and SQL database schemas
from your Protobuf definitions. Download the binary for your platform below.
Installation
Homebrew
brew install the-protobuf-project/tap/protoc-gen-ormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/orm/releases/download/v1.2.1/protoc-gen-orm_1.2.1_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.2.1_darwin_arm64.tar.gz
sudo mv protoc-gen-orm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-orm
out: generated
opt: [target=prisma] # prisma | gorm | sqlChangelog
Others
- 905ebc5: refactor: remove unnecessary aliases from import statements across multiple files (@oh-tarnished)