Skip to content

Releases

go-cfenv v1.25.1

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 28 Nov 01:43

Release v1.25.1

[Chores]

  • Bumped the pinned github/codeql-action used by the CodeQL and
    Scorecard workflows from v4.39.1 to v4.39.5 (#65, #66, #67),
    actions/setup-go used by the CI and CodeQL workflows from v7.0.0 to
    v7.1.0 (#66), and ossf/scorecard-action from v2.5.0 to v2.6.0 (#66).
  • Raised the indirect module requirements golang.org/x/net from
    v0.62.0 to v0.63.0, golang.org/x/text from v0.43.0 to v0.44.0, and
    go.yaml.in/yaml/v3 from v3.0.5 to v3.0.6. None of them fixes a known
    vulnerability, and the go directive stays at 1.26.0.

go-cfenv v1.25.0

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 29 Oct 14:20

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 of golang.org/x/net that fix its current
    advisories declare go 1.26.0.

[Chores]

  • Maintainers: make audit now also runs CodeQL (make codeql) with
    the same go-code-scanning suite 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 modrot instead, since codeql.yml already scans every
    PR. The target comes from the vendored mk/security.mk
    (GNUMakefile-Snippets).

[Security Updates]

  • golang.org/x/net moved to v0.62.0 and golang.org/x/text to
    v0.43.0, clearing the 3 known vulnerabilities their pinned versions
    carried (GO-2026-6860 and GO-2026-6866 in x/net v0.57.0,
    GO-2026-6629 in x/text v0.40.0). None were reachable from this
    package — both modules arrive only through gomega in the tests — so
    govulncheck stayed green, but scanners that report on presence
    rather than reachability did not, and consumers run those.

go-cfenv v1.24.5

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 28 Oct 18:23

Release v1.24.5

[Chores]

  • Bumped the pinned github/codeql-action used by the CodeQL and
    Scorecard workflows from v4.38.2 to v4.39.1, and
    ossf/scorecard-action from v2.4.4 to v2.5.0.

go-cfenv v1.24.4

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 01 Oct 11:34

Release v1.24.4

[Chores]

  • Bumped github.com/onsi/gomega from v1.43.1 to v1.44.0, and the
    pinned github/codeql-action used by the CodeQL and Scorecard
    workflows from v4.38.1 to v4.38.2.

go-cfenv v1.24.3

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 22 Sep 15:04

Release v1.24.3

[Chores]

  • Bumped github.com/onsi/gomega from v1.42.1 to v1.43.1, and the
    pinned github/codeql-action used 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-deps finds 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-Review check
    scores 0 for a single-maintainer library, and what is enforced on
    master in place of a second reviewer.

go-cfenv v1.24.2

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 18 Aug 18:19

Release v1.24.2

[Chores]

  • Refreshed the vendored build tooling: make publish now 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 with make changelog-deps.
  • Bumped the pinned github/codeql-action used by the CodeQL and
    Scorecard workflows from v4.37.4 to v4.37.7.

go-cfenv v1.24.1

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 31 Jul 14:21

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

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 30 Jul 22:04

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 gave v1.23.0-dev.1 after v1.23.0 — older than its own release, and unselectable by any resolver. The core now advances first, by BUMP_PRERELEASE_STEP (default minor, which matches this project's cadence), so make bump dev yields v1.24.0-dev.1. This is what lets interim versions be published for review between releases, satisfying the OpenSSF Best Practices repo_interim criterion. (#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, and make check plus make test-race gate 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-Practices check was scoring 0 while the entry existed but went uncited. (#39)

go-cfenv v1.23.0

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 29 Jul 10:04

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/text and gomega declares a directive above it. (#38)

[Chores]

  • gomega moved to v1.42.1, which depends on the maintained go.yaml.in/yaml/v3 instead of the archived gopkg.in/yaml.v3. The .modrotignore exemption 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 copyloopvar and intrange linters now run. They were already enabled in .golangci.yml but golangci-lint disabled them at runtime for being newer than the project's go directive.
  • Added make fuzz, a fuzz target over the VCAP_APPLICATION and VCAP_SERVICES parsing that New performs. Both documents come from the platform rather than the app, so they are the package's untrusted boundary. (#39)

[Security Updates]

  • golang.org/x/net and golang.org/x/text moved to current releases, clearing the 16 known vulnerabilities their pinned versions carried between them (15 in x/net v0.35.0, 1 in x/text v0.22.0). None were reachable from this package's code, so govulncheck was always green — but scanners that report on presence rather than reachability were not, and consumers run those. (#38)

go-cfenv v1.22.0

Choose a tag to compare

@norman-abramovitz norman-abramovitz released this 28 Jul 20:19

Release v1.22.0

[Features]

  • Service bindings are now read from the file named by VCAP_SERVICES_FILE_PATH when Cloud Foundry provides it, so apps with the file-based-vcap-services feature 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 set VCAP_SERVICES at all, which previously made cfenv.Current fail outright. The SERVICE_BINDING_ROOT form of the RFC is not supported — it follows the Kubernetes servicebinding.io layout, which has no faithful translation into the VCAP_SERVICES shape. (#28)
⌂ 换网址