github gruntwork-io/terratest v1.0.1

6 hours ago

Highlights

This release starts the Terratest v1 maintenance phase. It is non-breaking and safe to upgrade to from any recent v1.x: nothing is removed or changed at runtime. The headline change is // Deprecated: annotations on the packages slated for removal in v2, each with inline guidance on the standard-library (or third-party) replacement.

Deprecated (removed in v2, not in this release):

  • modules/collections -> standard library slices
  • modules/environment -> os.Getenv at the call site
  • modules/git -> shell out to git with os/exec
  • modules/version-checker -> shell out to check a binary's version
  • modules/slack -> the github.com/slack-go/slack client directly

Each deprecated symbol's doc comment shows the concrete replacement.

v1 maintenance policy: security fixes only, delivered on the v1 branch, until 12 months after v2.0.0 reaches general availability. v2 ships under new /v2 module paths, so v1-pinned consumers are unaffected. This commit is the permanent v1 head; the long-lived v1 branch is cut from here. A v1-to-v2 import path map is included at docs/v2-import-map.md.

What's Changed

  • chore(deps): bump github.com/slack-go/slack from 0.15.0 to 0.23.1 by @dependabot[bot] in #1821
  • chore: update golangci-lint config from upstream by @github-actions[bot] in #1820
  • chore: golangci lint fixes by @denis256 in #1822
  • chore(deps-dev): bump faraday from 2.14.1 to 2.14.2 in /docs by @dependabot[bot] in #1824
  • ci: build and publish release binaries on tag push by @james00012 in #1826
  • chore: update golangci-lint config from upstream by @github-actions[bot] in #1829
  • chore: bump Terragrunt pin to 1.0.5 by @github-actions[bot] in #1830
  • Bump k8s.io dependencies to v0.36.2 by @james00012 in #1834
  • ci: add stale bot to auto-close inactive issues and PRs by @james00012 in #1835
  • ci: drop Terragrunt-specific no-direct-go-getter depguard rule by @james00012 in #1839
  • docs: add "What Terratest is for" scope page by @james00012 in #1836
  • chore: shell package simplifications by @james00012 in #1842
  • chore(deps-dev): bump faraday from 2.14.2 to 2.14.3 in /docs by @dependabot[bot] in #1846
  • docs: add import path map and v1 maintenance note by @james00012 in #1841
  • deprecate collections and environment packages by @james00012 in #1837
  • deprecate git, version-checker, and slack packages by @james00012 in #1838
  • feat(helm): support install --generate-name by omitting empty release name by @james00012 in #1843
  • fix(k8s): surface container status in PodNotAvailable error by @james00012 in #1850
  • fix(packer): run packer init for directory templates by @james00012 in #1848
  • feat(aws): add ECR Public repository support by @james00012 in #1852

Full Changelog: v1.0.0...v1.0.1

Don't miss a new terratest release

NewReleases is sending notifications on new releases.