Skip to content

Releases: simonjanss/rig

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 13:06

Upgrading from v0.5.1 — read this first

Passwords are gone. Sign-in is a code mailed to the address (#171). The
auth/password package no longer exists, and account.LoginInput,
account.Credential, Store.Credential and Store.SaveCredential are removed.
What replaces them is Service.RequestEmailCode, Service.VerifyEmailCode and
Service.PreviewInvitation; rigclient and @rig-ts/client follow. Code
generated by v0.5.1 will not compile against these libraries, or the reverse —
regenerate.

An invitation no longer implies membership. Accepting one is what adds the
member; ProvisionInput.Invite is replaced by an explicit InviteInput. #172
adds a single gate on who may become an identity at all, covering the code door,
invitations and provisioning alike.

The foundation migrations were edited in place, so an existing database will
not pick this up.
auth/foundation/00001_tenancy.sql, 00002_apikeys.sql and
00003_sessions.sql changed at their existing version numbers — 00001 drops
rig_identity_credential and adds columns to rig_identity_verification. goose
records which versions ran, not what they contained, so a database already
migrated at v0.5.1 reports nothing pending and keeps the old shape. Start from
a fresh database
, or write the difference yourself as a migration of your own.
This is a v0-series break with no automatic path across it.

New module: github.com/simonjanss/rig/rigtest, released at v0.6.0 with the
other eleven. It is the harness the auth suites use — see examples/auth.

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.6.0

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.6.0

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.6.0
go get github.com/simonjanss/rig/migrate@v0.6.0

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 09 Sep 20:18

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.5.1

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.5.1

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.5.1
go get github.com/simonjanss/rig/migrate@v0.5.1

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 19:58

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.5.0

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.5.0

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.5.0
go get github.com/simonjanss/rig/migrate@v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 15:55

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.4.0

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.4.0

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.4.0
go get github.com/simonjanss/rig/migrate@v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 14:41

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.3.0

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.3.0

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.3.0
go get github.com/simonjanss/rig/migrate@v0.3.0

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Aug 11:23

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.2.1

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.2.1

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.2.1
go get github.com/simonjanss/rig/migrate@v0.2.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 30 Aug 08:30
e689cd2

Changelog

Install

go install github.com/simonjanss/rig/cmd/rig@v0.1.0

In a GitHub Actions workflow:

- uses: simonjanss/rig/.github/actions/setup-rig@v0.1.0

The libraries a generated application imports are released at this same
version:

go get github.com/simonjanss/rig/runtime@v0.1.0
go get github.com/simonjanss/rig/migrate@v0.1.0