Releases: simonjanss/rig
Release list
v0.6.0
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
- d24a101: Choose a failure's log level from the error rather than from one branch (#161) (@simonjanss)
- 46b4fce: No passwords: sign in with a mailed code, and make invitations mean the word (#171) (@simonjanss)
- 180926e: One gate on who may become an identity, and a test harness to prove it (#172) (@simonjanss)
- 3f2365a: Run a container again when the engine could not take a port for it (#159) (@simonjanss)
- 62d8d21: Trace every route Register mounts, not only the generated ones (#169) (@simonjanss)
- f1dc642: go.sum: record the v0.5.1 sibling hashes (@simonjanss)
- 03ba132: release v0.6.0 (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.6.0In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.6.0The 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.0v0.5.1
Changelog
- 63c95f0: Count a cache invalidation against the key it named (#144) (@simonjanss)
- cb9cd4f: Five follow-ups to the deferred-tenant sign-in (#158) (@simonjanss)
- 02667dc: Generate the CORS policy from the web: block, and wrap the handler in it (#155) (@simonjanss)
- b8e9cd9: Give @rig-ts/client the reader for the handoff cookie (#156) (@simonjanss)
- be9dcce: Give a browser sign-in an ending it can act on, and rig.yaml a way to say where the front end is (#154) (@simonjanss)
- e702885: Give rig a CORS policy, and keep the sync service's out of shape responses (#151) (@simonjanss)
- bb7e8ed: Give the TypeScript SDK the auth surface rigclient.Auth already has (#152) (@simonjanss)
- 5b1dc95: Let an application decide what a failed provider sign-in looks like (#153) (@simonjanss)
- dcae9fc: go.sum: record the v0.5.0 sibling hashes (@simonjanss)
- 772013f: release v0.5.1 (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.5.1In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.5.1The 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.1v0.5.0
Changelog
- 41343b0: Let a provider sign-in reach the tenant flow login already implements (#142) (@simonjanss)
- 1197f22: go.sum: record the v0.4.0 sibling hashes (@simonjanss)
- 01db1e9: release v0.5.0 (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.5.0In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.5.0The 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.0v0.4.0
Changelog
- 70dfc13: Collect an import in the branch that uses it, and make gobuf insist (#132) (@simonjanss)
- 7bdb05d: Let a project supply the OAuth origin, signing key and client credentials (#134) (@simonjanss)
- 187b07c: Read the module root from go.mod, not from where rig.yaml sits (#129) (@simonjanss)
- 48f5802: go.sum: record the v0.3.0 sibling hashes (@simonjanss)
- b482fa9: release v0.4.0 (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.4.0In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.4.0The 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.0v0.3.0
Changelog
- 3d4833a: Catch a bad migration number in the pull request, not at boot (#124) (@simonjanss)
- fbd08f1: Let a deployment size rig's own shutdown steps (#112) (@simonjanss)
- c7730ed: Let a foreign key to one of rig's own tables drop the rig_ prefix (#114) (@simonjanss)
- 73cba14: Make a release trigger something, and say so when it does not (#103) (@simonjanss)
- 998723d: Make live sync work where the sync service owns nothing (#123) (@simonjanss)
- e628a3e: Name every request, and put it on every line a service writes (#115) (@simonjanss)
- 5f8ed94: Name the deployments in rig.yaml, once, for every generator (#113) (@simonjanss)
- 086df75: Refuse live sync on a table Postgres will not replicate (#118) (@simonjanss)
- b3f630e: Regenerate linearlite's migration wiring for the electric set (#125) (@simonjanss)
- 3e5dd8e: Say what the process is doing, and give every silent subsystem somewhere to say it (#117) (@simonjanss)
- 70dbb8b: Serve the OpenAPI document beside the routes it describes (#121) (@simonjanss)
- 8e5e6d7: Track todos as GitHub issues (#104) (@simonjanss)
- ee3faa5: Underscore the stream params nothing reads (#109) (@simonjanss)
- 43b5216: go.sum: record the v0.2.1 sibling hashes (@simonjanss)
- 7089e69: release v0.3.0 (@simonjanss)
- e7a1dc1: rigs3: the S3 adapter for files, and the MinIO suite that proves it (#111) (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.3.0In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.3.0The 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.0v0.2.1
Changelog
- ad86c3c: go.sum: record the v0.2.0 sibling hashes (@simonjanss)
- 14565d6: release v0.2.1 (@simonjanss)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.2.1In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.2.1The 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.1v0.1.0
Changelog
- 483b7ee: Initial commit (Simon Jansson simon.jansson1@hotmail.com)
- e689cd2: Release rig as ten Go modules and three npm packages (#66) (Simon Jansson 38363606+simonjanss@users.noreply.github.com)
- 645b39b: linearlite: move the Go half into api/ (#65) (Simon Jansson 38363606+simonjanss@users.noreply.github.com)
- 78cf6c8: rename integration dir to integration_test and fix import (Simon Jansson simon.jansson1@hotmail.com)
- 8f86a69: restructure importer (Simon Jansson simon.jansson1@hotmail.com)
Install
go install github.com/simonjanss/rig/cmd/rig@v0.1.0In a GitHub Actions workflow:
- uses: simonjanss/rig/.github/actions/setup-rig@v0.1.0The 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