Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 13:18
04aad41

What's New in v1.4.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.4.0/protoc-gen-orm_1.4.0_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.4.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

  • 4cab697: feat(gorm): map wrapper scalars, NOT NULL temporals, and repeated enums in converters (@oh-tarnished)
  • f1c1e0f: feat(gorm): remove unused voColumnSet function from vo_view.go (@oh-tarnished)
  • 9ca64d3: feat(gorm): update association handling with value-object support and enhance CRUD templates (@oh-tarnished)
  • a00c1fa: feat(repository): value objects on the GraphQL adapters + golden VO coverage (@oh-tarnished)

Others