Skip to content

Commit d97f7a9

Browse files
dnahilmanclaude
andauthored
chore(release): prepare v0.2.0 (GitHub-consumable modules) (#36)
Pin submodules to github.com/dnahilman/goten v0.2.0 and drop the workspace-only relative replace directives so adapters/gorm, plugins/username, plugins/oauth, and cmd/goten resolve via 'go get'. Local development continues to resolve locally through go.work. Also add the v0.2.0 CHANGELOG entry (Google OAuth plugin; first GitHub-consumable release). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6cd1826 commit d97f7a9

5 files changed

Lines changed: 17 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@
33
All notable changes are documented here.
44
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6-
## [Unreleased]
6+
## [0.2.0] - 2026-06-04
7+
8+
### Added (this release)
9+
10+
- **Google OAuth plugin** (`github.com/dnahilman/goten/plugins/oauth`) — Authorization Code +
11+
PKCE (S256) + OIDC, verification-table state, plaintext-opt-in token storage, account linking
12+
(`trustedProviders` / `requireLocalEmailVerified`), stdlib RS256/JWKS verification. New module,
13+
first tagged at `v0.2.0`.
14+
- **First GitHub-consumable release.** Submodules now pin a real `github.com/dnahilman/goten`
15+
version instead of the workspace-only `v0.0.0` + relative `replace`, so `adapters/gorm`,
16+
`plugins/username`, `plugins/oauth`, and `cmd/goten` resolve from `go get`.
717

818
### Changed (breaking, pre-v1)
919

adapters/gorm/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dnahilman/goten/adapters/gorm
33
go 1.25.0
44

55
require (
6-
github.com/dnahilman/goten v0.0.0
6+
github.com/dnahilman/goten v0.2.0
77
gorm.io/gorm v1.25.12
88
)
99

@@ -12,5 +12,3 @@ require (
1212
github.com/jinzhu/now v1.1.5 // indirect
1313
golang.org/x/text v0.37.0 // indirect
1414
)
15-
16-
replace github.com/dnahilman/goten => ../..

cmd/goten/go.mod

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module github.com/dnahilman/goten/cmd/goten
33
go 1.25.0
44

55
require (
6-
github.com/dnahilman/goten v0.0.0
7-
github.com/dnahilman/goten/plugins/oauth v0.0.0-00010101000000-000000000000
8-
github.com/dnahilman/goten/plugins/username v0.0.0-00010101000000-000000000000
6+
github.com/dnahilman/goten v0.2.0
7+
github.com/dnahilman/goten/plugins/oauth v0.2.0
8+
github.com/dnahilman/goten/plugins/username v0.2.0
99
github.com/urfave/cli/v3 v3.9.0
1010
gopkg.in/yaml.v3 v3.0.1
1111
)
@@ -22,9 +22,3 @@ require (
2222
golang.org/x/sys v0.45.0 // indirect
2323
golang.org/x/text v0.37.0 // indirect
2424
)
25-
26-
replace github.com/dnahilman/goten => ../..
27-
28-
replace github.com/dnahilman/goten/plugins/username => ../../plugins/username
29-
30-
replace github.com/dnahilman/goten/plugins/oauth => ../../plugins/oauth

plugins/oauth/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/dnahilman/goten/plugins/oauth
22

33
go 1.25.0
44

5-
require github.com/dnahilman/goten v0.0.0
5+
require github.com/dnahilman/goten v0.2.0
66

77
require (
88
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
@@ -15,5 +15,3 @@ require (
1515
golang.org/x/sys v0.45.0 // indirect
1616
golang.org/x/text v0.37.0 // indirect
1717
)
18-
19-
replace github.com/dnahilman/goten => ../..

plugins/username/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dnahilman/goten/plugins/username
33
go 1.25.0
44

55
require (
6-
github.com/dnahilman/goten v0.0.0
6+
github.com/dnahilman/goten v0.2.0
77
github.com/go-playground/validator/v10 v10.30.3
88
)
99

@@ -17,5 +17,3 @@ require (
1717
golang.org/x/sys v0.45.0 // indirect
1818
golang.org/x/text v0.37.0 // indirect
1919
)
20-
21-
replace github.com/dnahilman/goten => ../..

0 commit comments

Comments
 (0)