Skip to content

v0.38.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 09:16
· 162 commits to refs/heads/main since this release

What's Changed

⚠️ Breaking Changes

The breaking change comes as a behaviour that has been removed: the readiness check for the exposed ports. It led to flakiness and for that reason we removed it.

Only for users of the testcontainers.NewRawCommand function to create executables in containers, that are assigning the function to a variable. We added a variadic argument to the signature, so the rest of the users won't be affected by this breaking change.

  • chore(deps)!: bump github.com/docker/docker from 28.1.1+incompatible to 28.2.2+incompatible (#3194) @mdelapenya

Implementers of the testcontainers.ImageBuildInfo interface, would see that testcontainers.BuildOptions has changed its signature to use non-deprecated types from docker/docker:

type ImageBuildInfo interface {
- 	 BuildOptions() (types.ImageBuildOptions, error) // converts the ImageBuildInfo to a types.ImageBuildOptions
+        BuildOptions() (build.ImageBuildOptions, error) // converts the ImageBuildInfo to a build.ImageBuildOptions

Also users of the testcontainers.FromDockerfile struct will receive this breaking change, as the BuildOptionsModifier fields has changed:

- BuildOptionsModifier func(*types.ImageBuildOptions)
+ BuildOptionsModifier func(*build.ImageBuildOptions)

🔒 Security

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

  • chore: clarify image auth warning message for public images (#3228) @diegolatorre16
  • chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.3.0 in /modules/compose (#3219) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.28.16 to 3.29.2 (#3222) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (#3225) @dependabot[bot]
  • chore(exec): remove uses of ExecOptions.Detach (#3211) @thaJeztah
  • chore(format): fix suggestions detected by gopls modernize (#3208) @peczenyj
  • chore(deps): bump github.com/containerd/containerd/v2 from 2.0.4 to 2.0.5 in /modules/compose (#3167) @dependabot[bot]
  • fix(ci): do not run sonar for Testcontainers Cloud (#3166) @mdelapenya
  • chore(ci): do not fail fast in the Testcontainers Cloud run (#3164) @mdelapenya

📦 Dependency updates

  • chore(deps): update go.mod in azure module (#3231) @spoonguard2k
  • chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.3.0 in /modules/compose (#3219) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.28.16 to 3.29.2 (#3222) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (#3225) @dependabot[bot]
  • deps: update testcontainers/sshd image to 1.3.0 (#3220) @mdelapenya
  • chore(deps): bump urllib3 from 2.2.2 to 2.5.0 (#3214) @dependabot[bot]
  • deps: gopsutil and purego update (#3217) @pdarulewski
  • chore: bump ryuk to 0.12.0 (#3195) @mdelapenya
  • chore(deps)!: bump github.com/docker/docker from 28.1.1+incompatible to 28.2.2+incompatible (#3194) @mdelapenya
  • chore(deps): bump github.com/containerd/containerd/v2 from 2.0.4 to 2.0.5 in /modules/compose (#3167) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 6.2.2 to 7.1.5 (#3137) @dependabot[bot]
  • chore(deps): bump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.4 (#3133) @dependabot[bot]
  • chore(deps): bump github.com/docker/docker from 28.0.1+incompatible to 28.1.1+incompatible (#3152) @mdelapenya