diff --git a/build_test.go b/build_test.go index 3461777..c574584 100644 --- a/build_test.go +++ b/build_test.go @@ -803,7 +803,7 @@ func newBuildConsumer(t *testing.T, mainSource string) string { if err != nil { t.Fatal(err) } - module := fmt.Sprintf("module example.com/buildfixture\n\ngo 1.26.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) + module := fmt.Sprintf("module example.com/buildfixture\n\ngo 1.27.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) writeBuildFixture(t, repository, "go.mod", module) writeBuildFixture(t, repository, "cmd/app/main.go", mainSource) writeBuildFixture(t, repository, "cmd/app/main_test.go", "package main\nimport \"testing\"\nfunc TestCandidateFixture(t *testing.T) {}\n") @@ -821,7 +821,7 @@ func writeNestedBuildConsumer(t *testing.T, repository, moduleDir, modulePath, m if err != nil { t.Fatal(err) } - module := fmt.Sprintf("module %s\n\ngo 1.26.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", modulePath, filepath.ToSlash(root)) + module := fmt.Sprintf("module %s\n\ngo 1.27.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", modulePath, filepath.ToSlash(root)) writeBuildFixture(t, repository, filepath.ToSlash(filepath.Join(moduleDir, "go.mod")), module) writeBuildFixture(t, repository, filepath.ToSlash(filepath.Join(moduleDir, "cmd/app/main.go")), mainSource) return filepath.Join(repository, filepath.FromSlash(moduleDir)) @@ -833,7 +833,7 @@ func prepareCandidateBuild(t *testing.T, repository, mainSource string) { if err != nil { t.Fatal(err) } - module := fmt.Sprintf("module example.com/candidatebuild\n\ngo 1.26.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) + module := fmt.Sprintf("module example.com/candidatebuild\n\ngo 1.27.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) writeFile(t, repository, "go.mod", module) writeFile(t, repository, ".gitignore", "dist/\n") writeFile(t, repository, "cmd/app/main.go", mainSource) diff --git a/buildinfo/version_integration_test.go b/buildinfo/version_integration_test.go index 9fc2930..1419f44 100644 --- a/buildinfo/version_integration_test.go +++ b/buildinfo/version_integration_test.go @@ -19,7 +19,7 @@ func TestVersionInConsumerExecutable(t *testing.T) { dir := t.TempDir() module := fmt.Sprintf(`module example.com/versionfixture -go 1.26.0 +go 1.27.0 require go.maximumdirect.net/releasekit v0.0.0 diff --git a/cmd/releasekit/main_test.go b/cmd/releasekit/main_test.go index 6732b2a..7c37521 100644 --- a/cmd/releasekit/main_test.go +++ b/cmd/releasekit/main_test.go @@ -1799,7 +1799,7 @@ func newCLIBuildRepository(t *testing.T, mainSource string) string { if err != nil { t.Fatal(err) } - module := fmt.Sprintf("module example.com/cli-candidate\n\ngo 1.26.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) + module := fmt.Sprintf("module example.com/cli-candidate\n\ngo 1.27.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => %s\n", filepath.ToSlash(root)) write := func(name, contents string) { t.Helper() path := filepath.Join(repository, filepath.FromSlash(name)) diff --git a/cmd/releasekit/publication_handoff_test.go b/cmd/releasekit/publication_handoff_test.go index 2fcfa93..617bcb5 100644 --- a/cmd/releasekit/publication_handoff_test.go +++ b/cmd/releasekit/publication_handoff_test.go @@ -32,7 +32,7 @@ func TestVendoredAPIOnlyPublicationRecovery(t *testing.T) { if err != nil { t.Fatal(err) } - writeRepositoryFile(t, repo, "go.mod", "module example.com/cli-candidate\n\ngo 1.26.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => "+strconv.Quote(relative)+"\n") + writeRepositoryFile(t, repo, "go.mod", "module example.com/cli-candidate\n\ngo 1.27.0\n\nrequire go.maximumdirect.net/releasekit v0.0.0\n\nreplace go.maximumdirect.net/releasekit => "+strconv.Quote(relative)+"\n") writeRepositoryFile(t, repo, "uses_releasekit.go", "package candidate\nimport _ \"go.maximumdirect.net/releasekit\"\n") sums, err := os.ReadFile(filepath.Join(source, "go.sum")) if err != nil { @@ -163,7 +163,7 @@ func TestColdGoToolRecoverySurvivesLauncherExit(t *testing.T) { } const toolModule = "go.maximumdirect.net/releasekit" const toolVersion = "v0.0.0" - module := "module example.com/cli-candidate\n\ngo 1.26.0\n\nrequire " + toolModule + " " + toolVersion + "\n" + module := "module example.com/cli-candidate\n\ngo 1.27.0\n\nrequire " + toolModule + " " + toolVersion + "\n" var wildcardSource string if registered { module += "\nreplace " + toolModule + " => " + strconv.Quote(selectedSource) + "\n" diff --git a/cmd/releasekit/woodpecker_test.go b/cmd/releasekit/woodpecker_test.go index ea16d0b..54cbda0 100644 --- a/cmd/releasekit/woodpecker_test.go +++ b/cmd/releasekit/woodpecker_test.go @@ -542,7 +542,7 @@ func executeWoodpeckerBlock(block, repository string, environment map[string]str func selectReleaseKitModule(t *testing.T, repository, releaseKitSource string, includeSum bool) { t.Helper() const module = "go.maximumdirect.net/releasekit" - goMod := fmt.Sprintf("module example.com/tagged-app\n\ngo 1.26.0\n\nrequire %s v0.2.0\n\nreplace %s => %s\n", module, module, strconv.Quote(releaseKitSource)) + goMod := fmt.Sprintf("module example.com/tagged-app\n\ngo 1.27.0\n\nrequire %s v0.2.0\n\nreplace %s => %s\n", module, module, strconv.Quote(releaseKitSource)) writeRepositoryFile(t, repository, "go.mod", goMod) cliGitRun(t, repository, "add", "go.mod") if includeSum { diff --git a/docs/consumers/adoption.md b/docs/consumers/adoption.md index 2e825d8..5ece97e 100644 --- a/docs/consumers/adoption.md +++ b/docs/consumers/adoption.md @@ -26,8 +26,8 @@ declaration retains the dependency through `go mod tidy`. Commit the resulting version and review the module changes. The Go tool dependency feature requires Go 1.24 or later. The current ReleaseKit -module declares a Go 1.26.0 minimum, so use Go 1.26.0 or later for the current -release. Tool dependencies share the consumer's module graph: their requirements +module declares a Go 1.27.0 minimum, so use Go 1.27.0 or later for the current +source. Tool dependencies share the consumer's module graph: their requirements participate in dependency version selection and can raise the consumer module's Go minimum. See the [Go tool dependency reference](https://go.dev/ref/mod#go-mod-file-tool). @@ -110,7 +110,7 @@ Existing consumer tags retain their recorded module files, tool selection, and matching workflows for retries. Apply these migration steps to new consumer revisions. Source repository and hosted release URLs use `https://forge.maximumdirect.net/base-layer/releasekit`; the vanity path is the -Go module identity. The Go consumer minimum remains 1.26.0. +Go module identity. ## CI adoption diff --git a/docs/internal/overview.md b/docs/internal/overview.md index d3976f1..78f1e31 100644 --- a/docs/internal/overview.md +++ b/docs/internal/overview.md @@ -27,7 +27,7 @@ Go declarations and GoDoc remain the owners of exact exported contracts. ## Module and dependencies The module is `go.maximumdirect.net/releasekit`, with Go language -version `1.26.0`. `go.mod` requires `golang.org/x/mod` and Goldmark for internal +version `1.27.0`. `go.mod` requires `golang.org/x/mod` and Goldmark for internal validation; public facades do not expose either dependency. `go list ./...` reports these implemented packages: diff --git a/docs/oss/attribution.md b/docs/oss/attribution.md index 023fc8a..42d3ab0 100644 --- a/docs/oss/attribution.md +++ b/docs/oss/attribution.md @@ -2,28 +2,30 @@ ## Go Authors -Selected module: `golang.org/x/mod` at `v0.40.0`. +Selected module: `golang.org/x/mod` at `v0.43.0`. Copyright 2009 The Go Authors. SPDX-License-Identifier: BSD-3-Clause -License and notices: [BSD 3-Clause](licenses/BSD-3-Clause.txt) | [LICENSE](https://go.googlesource.com/mod/+/d3398d06de5fa5c71083d3d1c26f2cda73508e0f/LICENSE). +License and notices: [BSD 3-Clause](licenses/BSD-3-Clause.txt) | +[LICENSE](https://go.googlesource.com/mod/+/d4f320b9266480df5ed3d791e0c68e64c58c5dde/LICENSE) | +[PATENTS](https://go.googlesource.com/mod/+/d4f320b9266480df5ed3d791e0c68e64c58c5dde/PATENTS). -[Source](https://go.googlesource.com/mod/+/d3398d06de5fa5c71083d3d1c26f2cda73508e0f). +[Source](https://go.googlesource.com/mod/+/d4f320b9266480df5ed3d791e0c68e64c58c5dde). ## Goldmark -Selected module: `github.com/yuin/goldmark/v2` at `v2.1.6`. +Selected module: `github.com/yuin/goldmark/v2` at `v2.1.16`. Copyright (c) 2019 Yusuke Inuzuka. SPDX-License-Identifier: MIT License and notices: [MIT](licenses/MIT.txt) | -[LICENSE](https://github.com/yuin/goldmark/blob/a8d4ee5a0bd7d5493fdd1e339b4e75df92f8684c/LICENSE). +[LICENSE](https://github.com/yuin/goldmark/blob/c3f939122ba4dd6f80e05043ad195b82e77fcb41/LICENSE). -[Source](https://github.com/yuin/goldmark/tree/a8d4ee5a0bd7d5493fdd1e339b4e75df92f8684c). +[Source](https://github.com/yuin/goldmark/tree/c3f939122ba4dd6f80e05043ad195b82e77fcb41). ## Standard Repository Policies diff --git a/docs/release.md b/docs/release.md index 73b7d93..1107e13 100644 --- a/docs/release.md +++ b/docs/release.md @@ -24,7 +24,7 @@ committed candidate. Source publication requires no delivery token. The [configuration reference](config.md) owns credential selection and validator semantics. -Use a clean clone on `main`. The chosen build toolchain is Go 1.26.10. Make that +Use a clean clone on `main`. The chosen build toolchain is Go 1.27.4. Make that local installation the active `go` command for preparation, building the release executable, and candidate validation: @@ -40,7 +40,7 @@ The maintained [source-delivery image](../examples/woodpecker/releasekit-source- and [consumer template image](../examples/woodpecker/tag-delivery.yml) follow the chosen build toolchain; update them together when that selection changes. -The current consumer minimum is Go 1.26.0, declared in [go.mod](../go.mod). +The current consumer minimum is Go 1.27.0, declared in [go.mod](../go.mod). Keep it for a release unless release preparation deliberately selects a newer series under the [Go support policy](policy/release.md#consumer-minimum-and-release-toolchain). When increasing it, update `go.mod` to the first stable version of the selected diff --git a/examples/multi-module/README.md b/examples/multi-module/README.md index b12b78d..b3b407e 100644 --- a/examples/multi-module/README.md +++ b/examples/multi-module/README.md @@ -9,7 +9,7 @@ Copy the contents of this directory into a consumer repository root, keeping the listed module directories and profile paths at those locations, then run the launcher from that checkout. -The sample modules declare Go 1.26.0, matching the current ReleaseKit consumer +The sample modules declare Go 1.27.0, matching the current ReleaseKit consumer minimum. ## Select the release tool diff --git a/examples/multi-module/go.mod b/examples/multi-module/go.mod index 2b0b7ab..3243207 100644 --- a/examples/multi-module/go.mod +++ b/examples/multi-module/go.mod @@ -1,3 +1,3 @@ module example.com/multi-module-consumer -go 1.26.0 +go 1.27.0 diff --git a/examples/multi-module/integrations/ckconfig/go.mod b/examples/multi-module/integrations/ckconfig/go.mod index dcbdb22..956f6b0 100644 --- a/examples/multi-module/integrations/ckconfig/go.mod +++ b/examples/multi-module/integrations/ckconfig/go.mod @@ -1,3 +1,3 @@ module example.com/multi-module-consumer/integrations/ckconfig -go 1.26.0 +go 1.27.0 diff --git a/examples/multi-module/integrations/core/v2/go.mod b/examples/multi-module/integrations/core/v2/go.mod index ec85367..c28dbe9 100644 --- a/examples/multi-module/integrations/core/v2/go.mod +++ b/examples/multi-module/integrations/core/v2/go.mod @@ -1,3 +1,3 @@ module example.com/multi-module-consumer/integrations/core/v2 -go 1.26.0 +go 1.27.0 diff --git a/examples/multi-module/woodpecker.yml b/examples/multi-module/woodpecker.yml index b252840..44a1ef5 100644 --- a/examples/multi-module/woodpecker.yml +++ b/examples/multi-module/woodpecker.yml @@ -8,7 +8,7 @@ when: steps: - name: deliver - image: golang:1.26.10-bookworm + image: golang:1.27.4-bookworm environment: RELEASEKIT_GITEA_TOKEN: from_secret: releasekit_gitea_token diff --git a/examples/woodpecker/releasekit-source-delivery.yml b/examples/woodpecker/releasekit-source-delivery.yml index 8b834dc..e6be3e8 100644 --- a/examples/woodpecker/releasekit-source-delivery.yml +++ b/examples/woodpecker/releasekit-source-delivery.yml @@ -4,7 +4,7 @@ when: steps: - name: deliver - image: golang:1.26.10-bookworm + image: golang:1.27.4-bookworm environment: RELEASEKIT_GITEA_TOKEN: from_secret: releasekit_gitea_token diff --git a/examples/woodpecker/tag-delivery.yml b/examples/woodpecker/tag-delivery.yml index 647401a..946e84b 100644 --- a/examples/woodpecker/tag-delivery.yml +++ b/examples/woodpecker/tag-delivery.yml @@ -1,6 +1,6 @@ matrix: include: - - GO_IMAGE: golang:1.26.10-bookworm + - GO_IMAGE: golang:1.27.4-bookworm when: - event: tag diff --git a/go.mod b/go.mod index 2733c9c..87abda6 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,10 @@ module go.maximumdirect.net/releasekit -go 1.26.0 +go 1.27.0 + +toolchain go1.27.4 require ( - github.com/yuin/goldmark/v2 v2.1.6 - golang.org/x/mod v0.40.0 + github.com/yuin/goldmark/v2 v2.1.16 + golang.org/x/mod v0.43.0 ) diff --git a/go.sum b/go.sum index 591797d..ce3cc6b 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -github.com/yuin/goldmark/v2 v2.1.6 h1:igy0q9JcqovoFXFx/XjtU8sHVhcUHavPj2sA3EoKJUE= -github.com/yuin/goldmark/v2 v2.1.6/go.mod h1:G6M4/qOFtfn01/o14BU1UR2Lo5N3S9Qo7xCuz/sHjGQ= -golang.org/x/mod v0.40.0 h1:hUv+3cXcdRHz08UmSiOob7sadHig73uo5bkXxQ/tvUs= -golang.org/x/mod v0.40.0/go.mod h1:0/weTWkPWGBikyTWAX3dkjVztMmBA5hM0DH6BElSupE= +github.com/yuin/goldmark/v2 v2.1.16 h1:MXvCVo+Cb2SVJ5cwJUzXetDjI7HECRJCkcqylEQtcJo= +github.com/yuin/goldmark/v2 v2.1.16/go.mod h1:G6M4/qOFtfn01/o14BU1UR2Lo5N3S9Qo7xCuz/sHjGQ= +golang.org/x/mod v0.43.0 h1:MFuq5J6s35W9D3IjkwyWc9vHh0nENOrt5K8Iof4ofmg= +golang.org/x/mod v0.43.0/go.mod h1:4ec1JnuyBz5+FIVhg86UsA39YG8BpnrZdJYSNHmGzHY=