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
7 changes: 7 additions & 0 deletions go/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The four bindings in this repository are released together and give one answer,

## [Unreleased]

## [1.0.1] — 2026-10-04

### Fixed

- `go mod tidy` failed in every module that depends on this one (#454). Five retained 0.x files were excluded from the build by a custom build tag, but `go mod tidy` considers every build tag except `ignore`, so it resolved their imports, including a package 1.0.0 no longer ships, and left the consumer's `go.sum` incomplete. They now carry `//go:build ignore`, so a consumer's `go mod tidy` (and `go mod tidy -diff`) succeeds with no `-e`. Nothing in the built package changes.
- The release verification now runs a consumer's `go mod tidy` with no `-e`, in every dry run and after every publish, so this cannot ship again.

## [1.0.0] — 2026-10-04

The Go binding's first v1 release, and a deliberate break from 0.x. The default branch switches to v1 shortly after release. The sections below are the entries written as each part landed; this is what they add up to.
Expand Down
2 changes: 1 addition & 1 deletion go/chtypes/fetch.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build chtypes_v0_retired
//go:build ignore

package chtypes

Expand Down
2 changes: 1 addition & 1 deletion go/chtypes/fetch_sign.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build chtypes_v0_retired
//go:build ignore

package chtypes

Expand Down
2 changes: 1 addition & 1 deletion go/chtypes/multiversion.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build chtypes_v0_retired
//go:build ignore

package chtypes

Expand Down
2 changes: 1 addition & 1 deletion go/chtypes/registry_path.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build chtypes_v0_retired
//go:build ignore

package chtypes

Expand Down
2 changes: 1 addition & 1 deletion go/chtypes/resolve.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build chtypes_v0_retired
//go:build ignore

package chtypes

Expand Down
2 changes: 1 addition & 1 deletion go/internal/ocifetch/useragent.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "regexp"
// from (the release tag is the version), so a release bumps this constant
// with the other three bindings' manifests (RELEASING.md, step 1). It is
// never empty: an unknown version would be spelled userAgentDevVersion.
const bindingVersion = "1.0.0"
const bindingVersion = "1.0.1"

// userAgentDevVersion stands in when no version is available. The header is
// never omitted (docs/guides/fetch-v1.md §2).
Expand Down
6 changes: 4 additions & 2 deletions scripts/release-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ func main() {
fmt.Println(lib.BuildInfo().ABIFingerprint)
}
GO
# -e: tidy considers every build tag, including the retired v0 files (tagged out of the real build) whose imports no longer exist.
go mod tidy -e >/dev/null 2>&1 || true
# A consumer's own `go mod tidy`, with no -e and no masking: it fails loudly
# if the module ships any file, under any build tag except `ignore`, that
# imports a package the module does not contain (go/v1.0.0 did: #454).
go mod tidy
loaded_ok "$(go run . "$line")"
;;
esac
Loading