v1.3.0
What's New in v1.3.0
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.3.0/protoc-gen-orm_1.3.0_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.3.0_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
Features
- 564602a: feat(docs): update README to include AIP-160 filters and AIP-132 order_by details for SQL and Hasura (@oh-tarnished)
- 6c8c350: feat(env): add database connection URLs for various test cases (@oh-tarnished)
- bbab440: feat(gorm): AIP-160 filter / AIP-132 order_by / list engines behind filters=true (@oh-tarnished)
- 11c26c0: feat(gorm): proto<->model converters behind converters=true (@oh-tarnished)
- 201c934: feat(graphqlclient): implement typed Go GraphQL client generation (@oh-tarnished)
- f600a8e: feat(proto): filterable/sortable/search column options for AIP filter specs (@oh-tarnished)
- c8be763: feat(tests): add strict test for inline backend keys in orm.yaml (@oh-tarnished)
- b98b8c9: feat: add PostgreSQL schema and migration for kitchen database (@oh-tarnished)
Bug Fixes
- 9e358fd: fix(gorm): don't ptr-wrap optional bytes fields in generated converters (@oh-tarnished)
Others
- 6473855: Merge pull request #27 from the-protobuf-project/feat/adding-filters-gen-with-aip-160 (@oh-tarnished)
- 6f42177: Merge pull request #28 from the-protobuf-project/feat/orm-cogeneration-factory (@oh-tarnished)
- 5abf047: Merge pull request #29 from the-protobuf-project/feat/orm-cogeneration-factory (@oh-tarnished)