Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Jul 12:14
1d80be5

What's New in v1.2.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-orm

Manual (macOS / Linux)

# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/orm/releases/download/v1.2.0/protoc-gen-orm_1.2.0_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.2.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 | sql

Changelog

Features

  • c7c25c7: feat: add ORM protobuf definitions for datasource, table, and column options (@oh-tarnished)

Others

  • 4e7e1ae: Merge pull request #23 from the-protobuf-project/dependabot/go_modules/gorm.io/gorm-1.31.2 (@oh-tarnished)
  • 78ad186: Merge pull request #24 from the-protobuf-project/dependabot/go_modules/examples/gorm.io/gorm-1.31.2 (@oh-tarnished)
  • 1d80be5: Merge pull request #25 from the-protobuf-project/rework/segregate-intermidiate-representation-logic (@oh-tarnished)
  • 531c395: chore(deps): bump gorm.io/gorm from 1.31.1 to 1.31.2 (@dependabot[bot])
  • c95e465: chore(deps): bump gorm.io/gorm from 1.31.1 to 1.31.2 in /examples (@dependabot[bot])