Skip to content

Commit 1712874

Browse files
changelog: cut the 8.1.2687 section; document patch-number ordering
Per DEVELOPMENT.md step 2, move the unreleased entries under 8.1.2687 and leave an empty Unreleased section. Note that later 8.1.x patch numbers must stay above 2687 so the Build and Release action and sourcegraph.com's release cache agree on which 8.1 release is newest. Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30 Co-authored-by: Amp <amp@ampcode.com>
1 parent 4b3bb71 commit 1712874

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ All notable changes to `src-cli` are documented in this file.
1515

1616
### Changed
1717

18+
### Fixed
19+
20+
### Removed
21+
22+
## 8.1.2687
23+
24+
### Added
25+
26+
### Changed
27+
1828
- Updated Go to 1.26.10 and the Alpine `ca-certificates-bundle` in Docker images to 20261020-r0 to stop trusting the compromised eMudhra CAs ([CVE-2026-111943](https://emudhra.we-have-a-problem.com/)).
1929
- Updated Go dependencies to patch all open Trivy and Dependabot findings: `golang.org/x/crypto`, `golang.org/x/net`, `golang.org/x/text`, `golang.org/x/mod`, `github.com/klauspost/compress`, `github.com/go-jose/go-jose/v4`, `google.golang.org/grpc`, and `go.opentelemetry.io/otel/sdk`.
2030
- Updated Go to 1.27.3, Alpine base images to 3.24, GitHub Actions to current major versions, and all Go dependencies to their latest versions. `src snapshot upload` now loads the `-credentials-file` strictly as a service account key.

‎DEVELOPMENT.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ If a backwards-compatible change, such as a bug fix, is made _after_ a backwards
102102

103103
A Sourcegraph instance returns the highest patch version with the same major and minor version as `MinimumVersion` as defined in the instance. Patch versions are reserved solely for non-breaking changes and minor bug fixes. This allows us to dynamically release fixes for older versions of `src-cli` without having to update the instance.
104104

105+
Patch numbers must only increase within a minor line. Since 8.1.2687, releases carry the Sourcegraph build number as the patch component, so a later 8.1.x must use a number above 2687 (for example the current Sourcegraph 8.1 build number). A lower number such as 8.1.1 would be treated as a patch of an older version by the Build and Release action (no `latest` tag or main Homebrew formula) while sourcegraph.com would still recommend it as the newest 8.1 release.
106+
105107
To release a bug fix or a new feature that is backwards compatible with one of the previous two minor version of Sourcegraph, cherry-pick the changes into a patch branch, then follow the steps above to release the patch, specifying the appropriate patch `VERSION`. The Build and Release action will automatically create the appropriate versioned release, without overwriting the latest one.
106108

107109
## Docker

0 commit comments

Comments
 (0)