Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
Terratest v2.0.0: Erstes stabiles v2-Release mit 16 Go-Modulen
Terratest v2.0.0 ist das erste stabile v2-Release, bei dem alle 16 Go-Module unter /v2-Importpfaden einzeln installierbar sind, sodass Tests nur die SDKs der tatsächlich importierten Module laden, während der Umstieg von v1 hauptsächlich das Umschreiben von Imports erfordert und v1 noch 12 Monate lang nur Sicherheitskorrekturen erhält.
Terratest v2.0.0 is the first stable release of v2. All 16 modules are tagged at v2.0.0 in lockstep, and each one installs on its own.
TL;DR: Terratest is now 16 Go modules under /v2 import paths, so a test pulls in only the SDKs of the modules it imports. Most of the upgrade from v1 is rewriting imports, and the compiler finds every other change except two Kubernetes behavior changes, listed below. v1 gets security fixes only, for 12 months after this release.
Upgrading from v1
The v2 migration guide walks through the whole move. What changes for a v1 user:
- Import paths: every module moves to
github.com/gruntwork-io/terratest/modules/<name>/v2. The rewriting imports page has thesedcommands, and the cases a blind find and replace gets wrong. - Utility packages:
random,files,logger,shell,retryandtestingnow live incore/v2. - Package names:
http-helper,dns-helperandtest-structurebecomehttphelper,dnshelperandteststructure, in the import path and in the identifier. - Deprecated helpers removed: code still calling
terraform.Applycallsterraform.ApplyContext(t, ctx, ...)instead, which is the replacement the v1 deprecation warnings already named. …