Skip to content

Releases: testcontainers/testcontainers-go

v0.40.0

06 Nov 11:04
71b5775

Choose a tag to compare

What's Changed

⚠️ Breaking Changes

The below modules receive a breaking change in the signature of their functional options, as now all of them return an error when needed (returning nil for success). Therefore, you're only affected when assigning the options to variables.

  • Old: type Option func(*options)
  • New: type Option func(*options) error

🚀 Features

🐛 Bug Fixes

  • fix(udp): expose UDP ports properly (#3485) @blueprismo
  • fix(compose): update to docker compose v2.40.2 and use api.Compose interface (#3456) @mdelapenya
  • fix(surrealdb): use true as value for WithAllowAllCaps option (#3436) @mdelapenya
  • fix: use path.Join instead of url.JoinPath when prepending a custom registry to an image (#3308) @fedorkanin

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump amannn/action-semantic-pull-request from 5.5.3 to 6.1.1 (#3328) @dependabot[bot]
  • chore(deps): bump golang.org/x/sys from 0.36.0 to 0.37.0 and golang.org/x/crypto from 0.42.0 to 0.43.0 (#3465) @dependabot[bot]
  • chore(deps): bump github.com/docker/docker from 28.3.3+incompatible to 28.5.1+incompatible (#3464) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.6 to 7.2.0 (#3463) @dependabot[bot]
  • chore(deps): bump actions/setup-go from 5.4.0 to 6.0.0 (#3462) @dependabot[bot]
  • fix(compose): update to docker compose v2.40.2 and use api.Compose interface (#3456) @mdelapenya
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.6 to 7.1.8 (#3455) @dependabot[bot]
  • chore(deps): bump slackapi/slack-github-action from 2.0.0 to 2.1.1 (#3329) @dependabot[bot]
  • chore(deps): bump github.com/cenkalti/backoff/v4 from 4.2.1 to 4.3.0 (#3333) @dependabot[bot]
  • chore(deps): bump golang.org/x/crypto from 0.37.0 to 0.42.0 (#3332) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.6 to 7.2.0 (#3330) @dependabot[bot]
  • chore(deps): bump github.com/stretchr/testify from 1.10 to 1.11.1 (#3399) @mdelapenya
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.6 to 7.1.8 (#3322) @dependabot[bot]

v0.39.0

19 Sep 09:52

Choose a tag to compare

What's Changed

🚀 Features

🐛 Bug Fixes

  • fix: preserve unix socket schema in testcontainersHostFromProperties (#3213) @knqyf263
  • fix(reaper): remove termSignal override (#3261) @buraindo
  • fix(registry): update WithHtpasswd to use os.CreateTemp instead of os.Create with filepath.Join. (#3272) @jakobmoellerdev
  • fix(nats): use wait for listening port instead of wait for log (#3256) @own2pwn
  • fix(postgres): snapshot restore (#3264) @ascheman

📖 Documentation

  • docs: clarify no client SDKs in production modules/images, in contributing.md (#3279) @nimdrak

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump golang.org/x/net from 0.28.0 to 0.38.0 (#3299) @dependabot[bot]
  • chore(deps): bump dario.cat/mergo from 1.0.1 to 1.0.2 (#3238) @dependabot[bot]
  • chore(deps): bump golang.org/x/sys from 0.32.0 to 0.36.0 (#3282) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.29.3 to 3.30.3 (#3287) @dependabot[bot]
  • chore(go): bump to Go 1.24 as minimal version (#3298) @mdelapenya
  • deps(mongodb): update MongoDB Go Driver to v2 (#3278) @matthewdale
  • chore(deps): bump github.com/shirou/gopsutil/v4 from 4.25.5 to 4.25.6 (#3224) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.6 to 7.1.7 (#3284) @dependabot[bot]
  • chore(deps): bump github.com/docker/go-connections from 0.5.0 to 0.6.0 (#3285) @dependabot[bot]
  • chore(deps): bump tj-actions/changed-files from 46.0.3 to 47.0.0 (#3283) @dependabot[bot]
  • chore(deps): bump github.com/docker/docker from 28.2.2+incompatible to 28.3.3+incompatible in /modules/nebulagraph (#3277) @dependabot[bot]
  • chore(deps): bump ryuk to v0.13.0, which uses scratch as base image (#3274) @mdelapenya
  • chore(deps): bump github.com/docker/docker from 28.2.2+incompatible to 28.3.3+incompatible (#3270) @mdelapenya
  • chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in /modules/compose (#3267) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.29.2 to 3.29.3 (#3237) @dependabot[bot]
  • chore(deps): bump golang.org/x/oauth2 from 0.25.0 to 0.27.0 in /modules/weaviate (#3240) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (#3239) @dependabot[bot]
  • chore(deps): bump requests from 2.32.0 to 2.32.4 (#3204) @dependabot[bot]
  • chore(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.27.0 in /modules/pulsar (#3236) @dependabot[bot]
  • chore(deps): bump golang.org/x/oauth2 from 0.22.0 to 0.27.0 in /modules/gcloud (#3235) @dependabot[bot]
  • chore(deps): bump golang.org/x/oauth2 from 0.18.0 to 0.27.0 in /modules/k3s (#3234) @dependabot[bot]

v0.38.0

15 Jul 09:16

Choose a tag to compare

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

v0.37.0

25 Apr 11:48

Choose a tag to compare

What's Changed

🔒 Security

  • chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0 in /modules/aerospike (#3105) @dependabot[bot]
  • chore(pulsar): bump github.com/apache/pulsar-client-go from 0.10.0 to 0.14.0 in /modules/pulsar (#3100) @mdelapenya
  • chore(clickhouse): bump github.com/ClickHouse/clickhouse-go/v2 from 2.20.0 to 2.34.0 in /modules/clickhouse (#3099) @dependabot[bot]
  • security(compose): upgrade github.com/docker/compose/v2 to fix security vulnerability (#3095) @sigi-glovebox

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump github/codeql-action from 3.28.15 to 3.28.16 (#3120) @dependabot[bot]
  • chore(deps): bump mkdocs-include-markdown-plugin from 6.2.2 to 7.1.5 (#3119) @dependabot[bot]
  • chore(deps): bump github.com/magiconair/properties from 1.8.9 to 1.8.10 (#3118) @dependabot[bot]
  • deps(aerospike): replace core module in go.mod (#3116) @mdelapenya
  • chore(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /modules and /examples (#3114) @mdelapenya
  • deps: use pinned dependencies on GH actions (#3110) @mdelapenya
  • chore(deps): bump jinja2 from 3.1.5 to 3.1.6 (#3109) @dependabot[bot]
  • deps(ci): use python 3.13 on Netlify deployments (#3107) @mdelapenya
  • chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0 in /modules/aerospike (#3105) @dependabot[bot]
  • chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /modules/pulsar (#3101) @dependabot[bot]
  • chore(pulsar): bump github.com/apache/pulsar-client-go from 0.10.0 to 0.14.0 in /modules/pulsar (#3100) @mdelapenya
  • chore(clickhouse): bump github.com/ClickHouse/clickhouse-go/v2 from 2.20.0 to 2.34.0 in /modules/clickhouse (#3099) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.28.13 to 3.28.15 (#3097) @dependabot[bot]
  • chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.37.0 (#3098) @dependabot[bot]
  • security(compose): upgrade github.com/docker/compose/v2 to fix security vulnerability (#3095) @sigi-glovebox
  • chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /modules/arangodb (#3087) @dependabot[bot]
  • chore(deps): bump actions/upload-artifact from 4.6.0 to 4.6.2 (#3086) @dependabot[bot]
  • chore(deps): bump SonarSource/sonarqube-scan-action from 5.0.0 to 5.1.0 (#3085) @dependabot[bot]
  • chore: bump golangci-lint to v2 (#3082) @mdelapenya
  • chore(deps): bump docker/setup-docker-action from 4.2.0 to 4.3.0 (#3077) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#3078) @dependabot[bot]
  • chore(deps): bump tj-actions/changed-files from 45.0.4 to 46.0.3 (#3076) @dependabot[bot]
  • chore(deps): replace golang.org/x/exp/slices with stdlib (#3075) @Juneezee

v0.36.0

27 Mar 12:11

Choose a tag to compare

What's Changed

⚠️ Breaking Changes

  • feat(azure)!: add Azurite, EventHubs and ServiceBus in the new Azure module, deprecating the old Azurite module (#3008) @mdelapenya

Users of the old Azurite module must update their code to use the new Azure module instead, which contains the same functionality under the azurite sub-package.
We took this opportunity to remove the unnecessarily exported Settings field from the Azurite container type,
so users of the Azurite container type must update their code to simply do not use that field.

  • chore(deps)!: bump github.com/docker/docker from 27.1.1+incompatible to 28.0.1+incompatible (#3017) @dependabot[bot]

Bumping the Docker package to a newer major version came with lots of benefits, but also some breaking changes. For that reason, users of the following
container methods and types must update their code to use the new types and methods instead:

  • Container.Inspect: the return type has been changed from types.ContainerJSON to container.InspectResponse.
  • Container.State: the return type has been changed from types.ContainerState to container.State.
  • DockerProvider.ContainerFromType: the method signature has been changed to accept a container.Summary instead of a types.Container.
    At the same time, if consuming Docker types or methods, users must update their code to use the new types and methods instead.
    As a good rule of thumb, users of the "github.com/docker/docker/api/types" package must update their code to use "github.com/docker/docker/api/types/container" instead.
  • chore!: export DockerCompose type in compose package (#2953) @jasonyunicorn

Users of the deprecated DockerCompose type from the compose module must update their code to use DockerComposer instead.
The former unexported dockerCompose type has been renamed to DockerCompose. This breaking change was done because returning
an un-exported type from a constructor function limits the flexibility and usability of the returned instance. Callers could use
the exported methods, but could not declare variables of that type, pass instances to other functions, or embed them in structs
without exposing the constructor itself. This breaking change was needed to improve the usability of the compose module.

Users of the testcontainers.Logging variable and the testcontainers.TestLogger function must update their code to use the new log.Default() logger instance and the log.TestLogger() function instead, and
users of the testcontainers.Logger interface must update their code to use the new log.Logger interface instead.
The new log package allows users to set a custom logger instance calling the log.SetDefault(l log.Logger) function.
This breaking change was needed to improve the usability of the logging functionality when using the testcontainers package.

  • chore(nats)!: remove variadic arguments from nats ConnectionString (#2967) @jasonyunicorn

Users of the NATS module and the ConnectionString type must remove the variadic arguments from the ConnectionString method. This breaking change was needed because those arguments weren't in use.

  • chore!: rename EnpointSettingsModifier to EndpointSettingsModifier (#2941) @NathanBaulch

We fixed a typo in the exported field of the ContainerRequest struct, so users of the EnpointSettingsModifier type must update their code to use the EndpointSettingsModifier type instead.

🔒 Security

  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/dynamodb (#3059) @mdelapenya
  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/scylladb (#3058) @dependabot[bot]
  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/databend (#3055) @dependabot[bot]
  • chore(deps): bump golang.org/x/net from 0.26.0 to 0.33.0 (#2961) @dependabot[bot]

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/dynamodb (#3059) @mdelapenya
  • chore(deps): bump github.com/magiconair/properties from 1.8.7 to 1.8.9 (#3057) @dependabot[bot]
  • chore(deps): bump golangci/golangci-lint-action from 6.3.0 to 6.5.2 (#3052) @dependabot[bot]
  • chore(deps): bump golang.org/x/sys from 0.28.0 to 0.31.0 (#3056) @dependabot[bot]
  • chore(deps): bump actions/setup-go from 5.3.0 to 5.4.0 (#3054) @dependabot[bot]
  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/scylladb (#3058) @dependabot[bot]
  • chore(deps): bump github/codeql-action from 3.28.11 to 3.28.12 (#3053) @dependabot[bot]
  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/databend (#3055) @dependabot[bot]
  • chore(deps): bump github.com/docker/buildx from 0.21.2 to 0.21.3 in /modules/compose (#3043) @dependabot[bot]
  • chore(deps): bump github.com/containerd/containerd/v2 from 2.0.3 to 2.0.4 in /modules/compose (#3042) @dependabot[bot]
  • deps(compose): bump compose to v2.34.0 and compose-go to v2.4.9 (#3041) @mdelapenya
  • chore(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 in /modules/yugabytedb (#3040) @dependabot[bot]
  • chore(deps)!: bump github.com/docker/docker from 27.1.1+incompatible to 28.0.1+incompatible (#3017) @dependabot[bot]
  • chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /modules (#3033) @dependabot[bot]
  • chore(deps): bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1, dario.cat/mergo from 1.0.0 to 1.0.1 (#3030) @mdelapenya
  • chore(deps): bump github/codeql-action from 3.28.0 to 3.28.11 (#3014) @dependabot[bot]
  • chore(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#3013) @dependabot[bot]
  • chore(modules): update Weaviate version to v1.29.0 and Weaviate Go client to v5.0.2 (#3006) @antas-marcin
  • chore(deps): bump docker/setup-docker-action from 4.1.0 to 4.2.0 (#3002) @dependabot[bot]
  • chore(ci): run compose module tests against the upstream compose projects (#2990) @mdelapenya
  • deps: update go version from 1.22.0 to 1.23.0 (#2985) @mmorel-35
  • chore(ollama): bump default version to 0.5.7 (#2966) @mdelapenya
  • chore(deps): bump actions/checkout from 4.1.7 to 4.2.2 (#2971) @dependabot[bot]
  • chore(deps): bump release-draf...
Read more

v0.35.0

10 Jan 13:23

Choose a tag to compare

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

v0.34.0

21 Oct 12:27

Choose a tag to compare

What's Changed

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

v0.33.0

20 Aug 11:52

Choose a tag to compare

What's Changed

⚠️ Breaking Changes

If you are building Docker images with the FromDockerfile struct in the GenericContainerRequest, please consider that the ContextArchive field in that struct has changed from io.Reader to io.ReadSeeker. This is needed because we want to be able to rewind to do multiple passes when reading all the images that are present in a Dockerfile.

🔒 Security

  • chore(deps): bump github.com/docker/docker from 27.1.0+incompatible to 27.1.1+incompatible (#2733) @mdelapenya

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump github.com/docker/docker from 27.1.0+incompatible to 27.1.1+incompatible (#2733) @mdelapenya
  • chore(deps): bump github.com/docker/docker from 27.0.3+incompatible to 27.1.0+incompatible (#2682) @mdelapenya
  • chore(deps): bump Ryuk to 0.8.1 (#2648) @mdelapenya
  • chore(deps): use "github.com/containerd/platforms" instead (#2638) @mdelapenya
  • chore(deps): bump google.golang.org/grpc to 1.64.1 (#2635) @mdelapenya
  • chore(deps): bump certifi from 2024.2.2 to 2024.7.4 (#2631) @dependabot

v0.32.0

05 Jul 16:58

Choose a tag to compare

What's Changed

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.2.1 (#2617) @dependabot
  • chore(deps): bump peter-evans/slash-command-dispatch from 3.0.2 to 4.0.0 (#2561) @dependabot
  • chore(deps): bump github.com/docker/docker from v27.0.2 to v27.0.3 (#2615) @thaJeztah
  • chore(deps): bump github.com/docker/docker from v26.1.4 to v27.0.2 (#2593) @thaJeztah
  • chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /modules/vault (#2605) @dependabot
  • Add support for Weaviate v1.25 (#2604) @antas-marcin
  • chore(deps): bump urllib3 from 2.2.1 to 2.2.2 (#2590) @dependabot
  • docs: fix deprecation warning for material extensions emoji (#2592) @mdelapenya
  • gha: update golangci-lint to v1.59.1 (#2588) @thaJeztah
  • chore(deps): bump github.com/docker/docker from v25.0.5 to v26.1.4 (#2584) @thaJeztah
  • chore: pin vearch version (#2568) @mdelapenya
  • chore: run tests against latest Docker engine, nightly (#2566) @mdelapenya
  • chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.0.7 (#2562) @dependabot
  • chore(deps): bump requests from 2.31.0 to 2.32.0 (#2549) @dependabot

v0.31.0

09 May 18:28

Choose a tag to compare

What's Changed

⚠️ Breaking Changes

  • break: return error from Customize request option (#2267) @stevenh

Are you hosting your own Testcontainers for Go module?

If you are hosting your own module, please update all the custom options you created for the module, updating them to return an error in the case it occurs. This breaking change is needed to provide a more robust and consistent API for creating modules, allowing module authors to create custom code to customise the container avoiding panics.

🔒 Security

  • chore(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.15 (#2517) @mdelapenya

🚀 Features

🐛 Bug Fixes

  • fix(modules.kafka): Use broker container IP instead of host IP for advertised broker listener (#1989) @khartld
  • fix(compose): avoid race conditions when caching services (#2528) @mdelapenya
  • fix: enhance host configuration port binding (#2512) @wilsouza
  • fix: don't retry on permanent APIClient errors (#2506) @p-jahn
  • fix: fallback to URL-path when parsing auth config URL without scheme (#2488) @p-jahn
  • fix(postgres): Fix the non-default dbname error (#2489) @Minivera

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

  • chore(deps): bump test-summary action to v2.3 (#2535) @mdelapenya
  • chore(deps): bump jinja2 from 3.1.3 to 3.1.4 (#2533) @dependabot
  • Update devcontainer image (#2531) @bells17
  • chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 5.1.0 (#2525) @dependabot
  • chore(deps): bump mkdocs-material from 8.2.7 to 9.5.18 (#2524) @dependabot
  • chore(deps): bump github.com/compose-spec/compose-go/v2 from v2.0.0-rc8 to v2.1.0 (#2519) @mdelapenya
  • chore(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.15 (#2517) @mdelapenya
  • chore(deps): bump golang.org/x/net in modules (minio, gcloud, weaviate, compose, qdrant, couchbase, k3s, milvus, mockserver, pulsar, kafka) (#2505) @mdelapenya
  • chore(deps): bump idna from 3.6 to 3.7 (#2480) @dependabot