From 38c6996b6ab6231cbd2b2be50d1883929752411c Mon Sep 17 00:00:00 2001 From: Brian Faust Date: Thu, 10 Sep 2026 06:43:59 +0300 Subject: [PATCH] chore(go): require Go 1.27 Align module directives and compatibility claims with Go 1.27. Keep repository contracts internally consistent. --- .go-version | 2 +- CHANGELOG.md | 1 + README.md | 4 ++-- docs/compatibility.md | 2 +- go.mod | 2 +- modules.json | 8 ++++---- scripts/check-integrations.sh | 2 +- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.go-version b/.go-version index f250c8f..5db08bf 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.26.6 +1.27.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 659e2d2..ca660e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Versioning. ### Changed +- Require Go 1.27.0 for development, builds, and downstream consumers. - Adopt the checksum-verified `go-library-tools` v1.4.0 CLI and immutable shared workflow while preserving every existing repository gate. - Include authoritative online specification validation in the complete local diff --git a/README.md b/README.md index 6d47eda..38f8dcc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Documentation](https://img.shields.io/badge/docs-checked_in_CI-blue)](docs/) [![Go Reference](https://pkg.go.dev/badge/github.com/faustbrian/go-router.svg)](https://pkg.go.dev/github.com/faustbrian/go-router) [![Release](https://img.shields.io/github/v/release/faustbrian/go-router?sort=semver)](https://github.com/faustbrian/go-router/releases) -[![Go](https://img.shields.io/badge/go-1.26.6-00ADD8?logo=go)](https://go.dev/) +[![Go](https://img.shields.io/badge/go-1.27.0-00ADD8?logo=go)](https://go.dev/) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) `router` is an explicit, immutable HTTP router built on Go's `net/http` @@ -16,7 +16,7 @@ generation, metadata, introspection, mounts, and route-scoped middleware while keeping handlers as ordinary `http.Handler` values. The module is active and has a stable v1 API. The minimum supported toolchain -is Go 1.26.6. The package has no runtime dependencies and no global router, +is Go 1.27.0. The package has no runtime dependencies and no global router, reflection discovery, controller resolver, container, session, template, or application lifecycle. diff --git a/docs/compatibility.md b/docs/compatibility.md index eb4ba0d..e9d48c8 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -1,6 +1,6 @@ # Standard-library Compatibility -The minimum supported Go release and development toolchain are 1.26.6, the +The minimum supported Go release and development toolchain are 1.27.0, the latest stable release when this contract was written. ## Preserved behavior diff --git a/go.mod b/go.mod index f8b3d99..7529521 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/faustbrian/go-router -go 1.26.6 +go 1.27.0 diff --git a/modules.json b/modules.json index 03065c3..913eec2 100644 --- a/modules.json +++ b/modules.json @@ -1,12 +1,12 @@ { "schema_version": 2, "repository": "github.com/faustbrian/go-router", - "go_version": "1.26.6", + "go_version": "1.27.0", "modules": [ { "directory": ".", "module_path": "github.com/faustbrian/go-router", - "go_version": "1.26.6", + "go_version": "1.27.0", "packages": [ { "module_directory": ".", @@ -117,9 +117,9 @@ "github.com/faustbrian/go-service" ], "supported_go": { - "minimum": "1.26.6", + "minimum": "1.27.0", "tested": [ - "1.26.6" + "1.27.0" ] }, "supported_platforms": [ diff --git a/scripts/check-integrations.sh b/scripts/check-integrations.sh index 53d28a0..a8e4f65 100755 --- a/scripts/check-integrations.sh +++ b/scripts/check-integrations.sh @@ -20,7 +20,7 @@ mkdir "$temporary/integration" cat >"$temporary/integration/go.mod" <