Repository navigation
Releases
Releases · cloudfoundry-community/go-cfenv
go-cfenv v1.25.1
Release v1.25.1
[Chores]
- Bumped the pinned
github/codeql-actionused by the CodeQL and
Scorecard workflows from v4.39.1 to v4.39.5 (#65, #66, #67),
actions/setup-goused by the CI and CodeQL workflows from v7.0.0 to
v7.1.0 (#66), andossf/scorecard-actionfrom v2.5.0 to v2.6.0 (#66). - Raised the indirect module requirements
golang.org/x/netfrom
v0.62.0 to v0.63.0,golang.org/x/textfrom v0.43.0 to v0.44.0, and
go.yaml.in/yaml/v3from v3.0.5 to v3.0.6. None of them fixes a known
vulnerability, and thegodirective stays at 1.26.0.
go-cfenv v1.25.0
Release v1.25.0
[Breaking Changes]
- The minimum Go version is now 1.26 (was 1.25). Consumers on an
older toolchain must stay on the v1.24 line. Go 1.25 is past upstream
support, and the releases ofgolang.org/x/netthat fix its current
advisories declarego 1.26.0.
[Chores]
- Maintainers:
make auditnow also runs CodeQL (make codeql) with
the samego-code-scanningsuite as the CodeQL workflow, and fails
on any finding. It needs the CodeQL CLI locally
(brew install --cask codeql); the database is built without the
build tracer, so Apple Silicon needs no Rosetta. CI's audit job runs
make security modrotinstead, sincecodeql.ymlalready scans every
PR. The target comes from the vendoredmk/security.mk
(GNUMakefile-Snippets).
[Security Updates]
golang.org/x/netmoved to v0.62.0 andgolang.org/x/textto
v0.43.0, clearing the 3 known vulnerabilities their pinned versions
carried (GO-2026-6860 and GO-2026-6866 inx/netv0.57.0,
GO-2026-6629 inx/textv0.40.0). None were reachable from this
package — both modules arrive only throughgomegain the tests — so
govulncheckstayed green, but scanners that report on presence
rather than reachability did not, and consumers run those.
go-cfenv v1.24.5
Release v1.24.5
[Chores]
- Bumped the pinned
github/codeql-actionused by the CodeQL and
Scorecard workflows from v4.38.2 to v4.39.1, and
ossf/scorecard-actionfrom v2.4.4 to v2.5.0.
go-cfenv v1.24.4
Release v1.24.4
[Chores]
- Bumped
github.com/onsi/gomegafrom v1.43.1 to v1.44.0, and the
pinnedgithub/codeql-actionused by the CodeQL and Scorecard
workflows from v4.38.1 to v4.38.2.
go-cfenv v1.24.3
Release v1.24.3
[Chores]
- Bumped
github.com/onsi/gomegafrom v1.42.1 to v1.43.1, and the
pinnedgithub/codeql-actionused by the CodeQL and Scorecard
workflows from v4.37.7 to v4.38.1. - Dependabot now prefixes its commit subjects with
chore(deps), so
make changelog-depsfinds the bumps in a release window instead of
reporting none. Earlier bumps had to be written up by hand. - Recorded in SECURITY.md why the OpenSSF Scorecard
Code-Reviewcheck
scores 0 for a single-maintainer library, and what is enforced on
masterin place of a second reviewer.
go-cfenv v1.24.2
Release v1.24.2
[Chores]
- Refreshed the vendored build tooling:
make publishnow resolves the
tag that exists rather than deriving the next one, the deletion verbs
require an explicit tag, and dependency bumps landed since the last
release can be drafted into release notes withmake changelog-deps. - Bumped the pinned
github/codeql-actionused by the CodeQL and
Scorecard workflows from v4.37.4 to v4.37.7.
go-cfenv v1.24.1
Release v1.24.1
[Chores]
- Workflow actions are now pinned to full commit SHAs with the release
version as a trailing comment. Dependabot keeps updating SHA pins, and
its action bumps now arrive grouped as a single weekly PR.
go-cfenv v1.24.0
Release v1.24.0
[Chores]
- Re-vendored
mk/bump.mk, which no longer produces a prerelease that sorts before the release it follows. Applying a label to a final version gavev1.23.0-dev.1afterv1.23.0— older than its own release, and unselectable by any resolver. The core now advances first, byBUMP_PRERELEASE_STEP(defaultminor, which matches this project's cadence), somake bump devyieldsv1.24.0-dev.1. This is what lets interim versions be published for review between releases, satisfying the OpenSSF Best Practicesrepo_interimcriterion. (#39) - Documented the project's testing policy in
CONTRIBUTING.md: new functionality arrives with tests, a bug fix arrives with a test that fails without it, andmake checkplusmake test-racegate every pull request. The practice was already followed; it was not written down. (#39) - Added the OpenSSF Best Practices badge to the README. The project is registered as entry 13896; the badge links to the self-certification and reports its current level. Scorecard reads this badge from the README, so its
CII-Best-Practicescheck was scoring 0 while the entry existed but went uncited. (#39)
go-cfenv v1.23.0
Release v1.23.0
[Breaking Changes]
- The minimum Go version is now 1.25 (was 1.18). Consumers on an older toolchain must stay on v1.22.0. The old floor had become what blocked dependency maintenance: every current release of
golang.org/x/net,golang.org/x/textandgomegadeclares a directive above it. (#38)
[Chores]
gomegamoved to v1.42.1, which depends on the maintainedgo.yaml.in/yaml/v3instead of the archivedgopkg.in/yaml.v3. The.modrotignoreexemption that covered the archived module recorded exactly this as its removal condition, and is now gone — the archived-dependency gate runs with no exemptions at all.- The
copyloopvarandintrangelinters now run. They were already enabled in.golangci.ymlbut golangci-lint disabled them at runtime for being newer than the project's go directive. - Added
make fuzz, a fuzz target over theVCAP_APPLICATIONandVCAP_SERVICESparsing thatNewperforms. Both documents come from the platform rather than the app, so they are the package's untrusted boundary. (#39)
[Security Updates]
golang.org/x/netandgolang.org/x/textmoved to current releases, clearing the 16 known vulnerabilities their pinned versions carried between them (15 inx/netv0.35.0, 1 inx/textv0.22.0). None were reachable from this package's code, sogovulncheckwas always green — but scanners that report on presence rather than reachability were not, and consumers run those. (#38)
go-cfenv v1.22.0
Release v1.22.0
[Features]
- Service bindings are now read from the file named by
VCAP_SERVICES_FILE_PATHwhen Cloud Foundry provides it, so apps with thefile-based-vcap-servicesfeature enabled work without any application change. That feature exists for bindings too large for an environment variable (RFC-0030); with it enabled Cloud Foundry does not setVCAP_SERVICESat all, which previously madecfenv.Currentfail outright. TheSERVICE_BINDING_ROOTform of the RFC is not supported — it follows the Kubernetes servicebinding.io layout, which has no faithful translation into theVCAP_SERVICESshape. (#28)