v1.3.2
What's New in v1.3.2
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.2/protoc-gen-orm_1.3.2_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.3.2_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
- 6af8fa8: feat(factory): add GORM adapter generation and resource handling templates (@oh-tarnished)
- c061e7a: feat(filterx): parse AIP-160 filter strings in the generated core (@oh-tarnished)
- 0541e4a: feat(generated): add versioning and metadata to generated files (@oh-tarnished)
- 2979ec5: feat(graphql): add version parameter to NewGraphQLTarget function (@oh-tarnished)
- 3a4dbbd: feat(graphql): add version parameter to runGraphQL function (@oh-tarnished)
- b78325d: feat(graphql): add versioning and header support to generated files (@oh-tarnished)
- d8139be: feat(graphql): document every generated type and field (@oh-tarnished)
Bug Fixes
- fae46ba: fix(repository): survive real-world schemas — skip unsupported shapes, use proto GoNames (@oh-tarnished)
Others
- d9d9a52: Merge pull request #31 from the-protobuf-project/fixes/aip-160-filter-changes (@oh-tarnished)
- 442fdb7: Merge pull request #32 from the-protobuf-project/fixes/aip-160-filter-changes (@oh-tarnished)
- ad69e64: Merge pull request #33 from the-protobuf-project/feat(repository)-graphql-adapters (@oh-tarnished)
- b4de04a: refactor(repository): remove unused naming import and goField function (@oh-tarnished)
- 059d74c: refactor: drop redundant qualifiers in generated output (@oh-tarnished)
- 3c49885: test(repository): golden case for the gorm-only repository output (@oh-tarnished)