Skip to content

v0.35.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jan 13:23
· 6 commits to refs/heads/main since this release

What's Changed

⚠️ Breaking Changes

  • feat(termination)!: make container termination timeout configurable (#2926) @moogacs

The container.Terminate(ctx) method now accepts an extra variadic argument with termination options. The breaking change only affects users assigning this method to a variable, receiving a compile-time error. The rest of the users will simply satisfy the new signature with an empty slice of termination options.

The ShouldPrintBuildLog function of the ContainerRequest has been removed. Instead, a BuildLogWriter function appears, that returns the user-defined io.Writer for writing the image-build logs. In case there is no writer, and the FromDockerfile.PrintBuildLog is set to true, os.Stderr would be used.

  • feat(gcloud)!: add support to seed data when using RunBigQueryContainer (#2523) @mtellis2

Users of the GCloud module and the WithProjectID option must handle the error that this option now returns. This can be get at compile time, as all the functional options for container customisers must return an error.

  • fix!: port forwarding clean up and make private (#2881) @stevenh

The types and functions of the PortForwarder type are now private, as they are implementation details of the library, so there is no need for them to be exposed.

Usages of the GenericProviderOptions.DefaultNetwork field must be removed, as this field is now private. The container runtime should provide the default network under the hood.

🔒 Security

  • security(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#2916) @dependabot

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates