Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# The toolchain backendkit is built and tested with (go.mod's
# toolchain line); checked below.
- target: toolchain
go-version: "1.27.2"
go-version: "1.27.3"
# The floor (go.mod's go line), the oldest Go an importer may use.
- target: floor
go-version: "1.26.0"
Expand Down Expand Up @@ -92,12 +92,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.27.2"
go-version: "1.27.3"
cache: true
- uses: golangci/golangci-lint-action@v7
with:
version: v2.14.0
# Build golangci-lint with the job's Go toolchain (1.27.2). The prebuilt
# Build golangci-lint with the job's Go toolchain (1.27.3). The prebuilt
# release binaries are compiled with an older Go and refuse to lint a
# module whose toolchain directive targets a newer Go ("the Go language
# version used to build golangci-lint is lower than the targeted Go
Expand All @@ -116,10 +116,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.27.2"
go-version: "1.27.3"
cache: true
# Pinned, so a scanner release never changes the result unannounced. It
# is built with the job's Go (1.27.2): a govulncheck built with an older
# is built with the job's Go (1.27.3): a govulncheck built with an older
# Go refuses a module targeting a newer one.
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@v1.8.0
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ All notable changes to backendkit are documented here. Format:

## [Unreleased]

### Security
- **Toolchain Go 1.27.3** (the `toolchain` line in `go.mod`, CI and docs): Go 1.27.2's
`crypto/x509` trusts compromised intermediate certificates (GO-2026-6809), which
`govulncheck` reports through `socrate.Client.StreamSecurityEvents` (any TLS call). The `go`
line, the floor importers need, stays at 1.26.0; importers pick up the fix by building with
Go 1.27.3 or later. No API change.

## [1.27.0] - 2026-10-11

Minor release on the **v1** line: additive API only. `socrate.Client.ServiceTokenWithScopes`
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ go mod tidy && git diff --exit-code go.sum
go build ./...
go vet ./...
go test -race -count=1 -timeout=120s ./...
golangci-lint run ./... # v2.14.0, built with Go 1.27.2
golangci-lint run ./... # v2.14.0, built with Go 1.27.3
govulncheck ./...
```

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ policy decisions. Contributions are accepted under the project's licence,

## Development setup

Requirements: Go (the `toolchain` line in `go.mod` downloads the exact version, 1.27.2; the
Requirements: Go (the `toolchain` line in `go.mod` downloads the exact version, 1.27.3; the
`go` line, 1.26.0, is the floor importers need, and CI also tests on it). The
tests need no database and no network service.

Expand Down Expand Up @@ -38,7 +38,7 @@ go test ./...
## Tests and checks

Run these before opening a pull request. CI runs the same in the jobs **Build & Test
(toolchain)** (Go 1.27.2) and **Build & Test (floor)** (Go 1.26.0, the `go` line), which check
(toolchain)** (Go 1.27.3) and **Build & Test (floor)** (Go 1.26.0, the `go` line), which check
`go.sum`, build, test and vet, plus **golangci-lint** and **govulncheck**; all of them are
required:

Expand All @@ -47,7 +47,7 @@ go mod tidy && git diff --exit-code go.sum
go build ./...
go vet ./...
go test -race -count=1 -timeout=120s ./...
golangci-lint run ./... # v2.14.0, built with Go 1.27.2
golangci-lint run ./... # v2.14.0, built with Go 1.27.3
govulncheck ./...
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ to Socrate (`bff`, `pep`) and `ailang` for `aigateway`.

- **Go 1.26.0 or later** to import the module (the `go` line in `go.mod`). The floor is the
oldest supported Go release: a backendkit upgrade never forces a newer Go on its importers, and
CI builds and tests on the floor itself. backendkit is developed with Go 1.27.2 (the
CI builds and tests on the floor itself. backendkit is developed with Go 1.27.3 (the
`toolchain` line).
- **A Socrate server** for the packages that talk to it: `jwtauth`, `socrate`, `bff` and `pep`.
They are written for Socrate's API and claims, not as a generic OAuth toolkit. The other
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module github.com/ovander/backendkit
// backendkit is built and tested with; CI checks it against the Go CI runs.
go 1.26.0

toolchain go1.27.2
toolchain go1.27.3

require (
github.com/golang-jwt/jwt/v5 v5.3.1
Expand Down
Loading