Releases: the-protobuf-project/orm
Release list
v1.2.1
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)
v1.2.01
What's New in v1.2.01
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.01/protoc-gen-orm_1.2.01_darwin_arm64.tar.gz
tar -xzf protoc-gen-orm_1.2.01_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
Bug Fixes
- 599d76e: fix: update copyright notice and improve buf.yaml comments for clarity (@oh-tarnished)
v1.2.0
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-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.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 | sqlChangelog
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])
v1.1.1
What's New in v1.1.1
protoc-gen-protorm 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-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v1.1.1/protoc-gen-protorm_1.1.1_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_1.1.1_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sqlChangelog
Others
- 3ce576f: Merge branch 'main' into dependabot/go_modules/examples/github.com/ClickHouse/ch-go-0.65.0 (@oh-tarnished)
- 59d730b: Merge branch 'main' into dependabot/go_modules/examples/github.com/ClickHouse/ch-go-0.65.0 (@oh-tarnished)
- c5793aa: Merge pull request #18 from the-protobuf-project/dependabot/go_modules/examples/golang.org/x/crypto-0.45.0 (@oh-tarnished)
- b60319d: Merge pull request #19 from the-protobuf-project/dependabot/go_modules/examples/github.com/jackc/pgx/v5-5.9.2 (@oh-tarnished)
- 7d038de: Merge pull request #20 from the-protobuf-project/dependabot/go_modules/examples/github.com/ClickHouse/ch-go-0.65.0 (@oh-tarnished)
- 954e988: Merge pull request #21 from the-protobuf-project/dependabot/github_actions/actions/checkout-7 (@oh-tarnished)
- 5c7c8b7: Merge pull request #22 from the-protobuf-project/feat/common-schema-generation (@oh-tarnished)
- 7cd8a03: Update README.md (@oh-tarnished)
- 8d29891: added common table generation for schema (@oh-tarnished)
- 0b93dfd: chore(deps): bump actions/checkout from 6 to 7 (@dependabot[bot])
- 3c7cdf5: chore(deps): bump github.com/ClickHouse/ch-go in /examples (@dependabot[bot])
- 329a4ef: chore(deps): bump github.com/jackc/pgx/v5 in /examples (@dependabot[bot])
- 7462530: chore(deps): bump golang.org/x/crypto from 0.28.0 to 0.45.0 in /examples (@dependabot[bot])
- 1c5db99: mistake generation (@oh-tarnished)
v1.1.0
What's New in v1.1.0
protoc-gen-protorm 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-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v1.1.0/protoc-gen-protorm_1.1.0_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_1.1.0_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sqlChangelog
Features
- 512f14f: feat: enhance generator with pg types, shared gormx runtime, and nested refs (@oh-tarnished)
Others
- 85b67a9: Merge pull request #17 from the-protobuf-project/feat/generator-overhaul (@oh-tarnished)
v1.0.0
What's New in v1.0.0
protoc-gen-protorm 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-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v1.0.0/protoc-gen-protorm_1.0.0_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_1.0.0_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sqlChangelog
Features
- a6a38a9: feat: introduce GORM store generation and default OpenTelemetry tracing (@oh-tarnished)
Bug Fixes
- f019f46: fix: enhance SQL compatibility, enum safety, and datasource sanitization (@oh-tarnished)
Others
- ac7249e: Create SECURITY.md (@oh-tarnished)
- a0a6acb: Delete SECUIRTY.md (@oh-tarnished)
- 60af2fa: Merge pull request #12 from the-protobuf-project/fixes/naming-duplicate (@oh-tarnished)
- 11b1e08: Merge pull request #13 from the-protobuf-project/feat/support-external-messages-types (@oh-tarnished)
- 20db687: Merge pull request #14 from the-protobuf-project/feat/upgrades-gorm-and-sql (@oh-tarnished)
- 70bc424: Merge pull request #15 from the-protobuf-project/fixes/polishing-code (@oh-tarnished)
- 5bddf7f: Merge pull request #16 from the-protobuf-project/feat/autogen-gorm-operations (@oh-tarnished)
- 794736c: Rename SECUIRTY.MD to SECUIRTY.md (@oh-tarnished)
- 09a078f: Update SECUIRTY.md (@oh-tarnished)
- 0a1e55a: Updated README.md (@oh-tarnished)
- 41734c9: added security makdown (@oh-tarnished)
- fac0132: added support for external types for from third party and googeapis to another table link (@oh-tarnished)
- f39a31e: fixed ci for De Morgan's law (@oh-tarnished)
- d1c415b: fixed issues while generating with index (@oh-tarnished)
- 9fe7ef8: fixed the import issue and then exclueded the golden tests and patterns (@oh-tarnished)
- 71c3307: refactor: enhance SQL idempotency, GORM enums, and Prisma config (@oh-tarnished)
- 386da3c: refactor: remove CSV target and enhance GORM/SQL index fidelity (@oh-tarnished)
v0.1.61
What's New in v0.1.61
protoc-gen-protorm generates Prisma, GORM, SQL, and CSV database schemas
from your Protobuf definitions. Download the binary for your platform below.
Installation
Homebrew
brew install the-protobuf-project/tap/protoc-gen-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v0.1.61/protoc-gen-protorm_0.1.61_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_0.1.61_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sql | csvChangelog
Features
- 7160722: feat: implement many-to-many relation handling with join table synthesis for repeated resource references (@oh-tarnished)
Others
- d1c415b: fixed issues while generating with index (@oh-tarnished)
- bc9fbda: fixed issues with naming and duplicaies (@oh-tarnished)
- ebe61d2: implemented de-stutter mechanisim (@oh-tarnished)
v0.1.6
What's New in v0.1.6
protoc-gen-protorm generates Prisma, GORM, SQL, and CSV database schemas
from your Protobuf definitions. Download the binary for your platform below.
Installation
Homebrew
brew install the-protobuf-project/tap/protoc-gen-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v0.1.6/protoc-gen-protorm_0.1.6_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_0.1.6_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sql | csvChangelog
Features
- 7160722: feat: implement many-to-many relation handling with join table synthesis for repeated resource references (@oh-tarnished)
Others
- 4dfbbe8: Merge pull request #10 from the-protobuf-project/fixes/naming-duplicate (@oh-tarnished)
- 5b97b97: Merge pull request #11 from the-protobuf-project/fixes/naming-duplicate (@oh-tarnished)
- 6dae1e7: Merge pull request #9 from the-protobuf-project/impl/many-2-many (@oh-tarnished)
- bc9fbda: fixed issues with naming and duplicaies (@oh-tarnished)
- ebe61d2: implemented de-stutter mechanisim (@oh-tarnished)
v0.1.5
What's New in v0.1.5
protoc-gen-protorm generates Prisma, GORM, SQL, and CSV database schemas
from your Protobuf definitions. Download the binary for your platform below.
Installation
Homebrew
brew install the-protobuf-project/tap/protoc-gen-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v0.1.5/protoc-gen-protorm_0.1.5_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_0.1.5_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sql | csvChangelog
Features
- 9ce4cd7: feat: enhance model comments and pluralization logic, update foreign key handling (@oh-tarnished)
Others
- ab31ef7: Merge pull request #8 from the-protobuf-project/fixes/prisma-and-gorm (@oh-tarnished)
v0.1.4
What's New in v0.1.4
protoc-gen-protorm generates Prisma, GORM, SQL, and CSV database schemas
from your Protobuf definitions. Download the binary for your platform below.
Installation
Homebrew
brew install the-protobuf-project/tap/protoc-gen-protormManual (macOS / Linux)
# Pick your platform, e.g. darwin_arm64 / linux_amd64
curl -LO https://github.com/the-protobuf-project/protorm/releases/download/v0.1.4/protoc-gen-protorm_0.1.4_darwin_arm64.tar.gz
tar -xzf protoc-gen-protorm_0.1.4_darwin_arm64.tar.gz
sudo mv protoc-gen-protorm /usr/local/bin/Then reference it from buf.gen.yaml:
plugins:
- local: protoc-gen-protorm
out: generated
opt: [target=prisma] # prisma | gorm | sql | csvChangelog
Features
- c1ffeab: feat: add protorm annotations, column, datasource, and table options (@oh-tarnished)
- 5f9a6f0: feat: add publish workflow for Buf Schema Registry (@oh-tarnished)
- 925330a: feat: update .gitignore and add justfile for development tasks (@oh-tarnished)
Bug Fixes
- 7cb5b97: fix: enhance CI verification and update dev task flow for stubs and examples (@oh-tarnished)
- 586b2ca: fix: reorder import statements and update proto file options for consistency (@oh-tarnished)
- a0945f6: fix: update publish workflow to trigger only on version-tag releases (@oh-tarnished)
- 673339d: fix: update workflow runners to use ubuntu-latest instead of blacksmith (@oh-tarnished)
Others
- 9ca4cb0: Add generated schema and model files for various test cases (@oh-tarnished)
- c2e9f96: Merge pull request #5 from the-protobuf-project/fixes/schema-naming-and-prisma-fixures (@oh-tarnished)
- 7f77883: Merge pull request #6 from the-protobuf-project/blacksmith-migration-c2e9f96 (@oh-tarnished)
- ed7538e: Merge pull request #7 from the-protobuf-project/blacksmith-migration-673339d (@oh-tarnished)
- 9d5e1bd: Migrate workflows to Blacksmith (@blacksmith-sh[bot])
- fae64c8: Migrate workflows to Blacksmith (@blacksmith-sh[bot])
- 9215f9d: ci: swap Blacksmith runners to ubuntu-latest (@oh-tarnished)