chore(wait)!: change url callback in wait.ForSQL to accept network.Port (#3650) @thaJeztah
Users of wait.ForSQL need to follow the new API contract, using Moby's network.Port instead of string when building the callback function to check the URL. Please see https://golang.testcontainers.org/features/wait/sql/
feat!: add PullImageWithPlatform to DockerProvider (#3710) @blueprismo
Users implementing their own testcontainers.ImageProvider need to implement the new PullImageWithPlatform method introduced by this PR.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) | `v0.42.0` → `v0.43.0` |  |  |
| [github.com/testcontainers/testcontainers-go/modules/mariadb](https://github.com/testcontainers/testcontainers-go) | `v0.42.0` → `v0.43.0` |  |  |
---
### Release Notes
<details>
<summary>testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)</summary>
### [`v0.43.0`](https://github.com/testcontainers/testcontainers-go/releases/tag/v0.43.0)
[Compare Source](https://github.com/testcontainers/testcontainers-go/compare/v0.42.0...v0.43.0)
##### What's Changed
##### ⚠️ Breaking Changes
- chore(wait)!: change url callback in wait.ForSQL to accept network.Port ([#​3650](https://github.com/testcontainers/testcontainers-go/issues/3650)) [@​thaJeztah](https://github.com/thaJeztah)
> Users of `wait.ForSQL` need to follow the new API contract, using Moby's `network.Port` instead of `string` when building the callback function to check the URL. Please see <https://golang.testcontainers.org/features/wait/sql/>
- feat!: add PullImageWithPlatform to DockerProvider ([#​3710](https://github.com/testcontainers/testcontainers-go/issues/3710)) [@​blueprismo](https://github.com/blueprismo)
> Users implementing their own `testcontainers.ImageProvider` need to implement the new `PullImageWithPlatform` method introduced by this PR.
##### 🚀 Features
- feat(k3s): pull image opts ([#​3716](https://github.com/testcontainers/testcontainers-go/issues/3716)) [@​blueprismo](https://github.com/blueprismo)
- feat(wait): implement AnyMultiStrategy: ForAny equivalent to ForAll. ([#​3719](https://github.com/testcontainers/testcontainers-go/issues/3719)) [@​jeanbza](https://github.com/jeanbza)
- feat(eventhubs): add WithAzuriteContainer and functional-options config builder ([#​3722](https://github.com/testcontainers/testcontainers-go/issues/3722)) [@​mdelapenya](https://github.com/mdelapenya)
- feat!: add PullImageWithPlatform to DockerProvider ([#​3710](https://github.com/testcontainers/testcontainers-go/issues/3710)) [@​blueprismo](https://github.com/blueprismo)
- feat(modules/dex): add Dex OIDC provider module ([#​3659](https://github.com/testcontainers/testcontainers-go/issues/3659)) [@​guilycst](https://github.com/guilycst)
##### 🐛 Bug Fixes
- fix(security): remove debug code that leaks Docker credentials ([#​3721](https://github.com/testcontainers/testcontainers-go/issues/3721)) [@​mdelapenya](https://github.com/mdelapenya)
- fix(ollama): align local exec test with Ollama 0.30.6 log format ([#​3715](https://github.com/testcontainers/testcontainers-go/issues/3715)) [@​mdelapenya](https://github.com/mdelapenya)
- fix: close temp file handle before removal ([#​3672](https://github.com/testcontainers/testcontainers-go/issues/3672)) [@​acouvreur](https://github.com/acouvreur)
- fix(compose): close docker clients to prevent goroutine leaks ([#​3661](https://github.com/testcontainers/testcontainers-go/issues/3661)) [@​mdelapenya](https://github.com/mdelapenya)
- fix: wait for log production goroutine to drain on stop ([#​3660](https://github.com/testcontainers/testcontainers-go/issues/3660)) [@​mdelapenya](https://github.com/mdelapenya)
##### 📖 Documentation
- chore: update usage metrics (2026-06) ([#​3714](https://github.com/testcontainers/testcontainers-go/issues/3714)) @​[github-actions\[bot\]](https://github.com/apps/github-actions)
##### 🧹 Housekeeping
- chore(wait)!: change url callback in wait.ForSQL to accept network.Port ([#​3650](https://github.com/testcontainers/testcontainers-go/issues/3650)) [@​thaJeztah](https://github.com/thaJeztah)
- chore: update usage metrics (2026-05) ([#​3670](https://github.com/testcontainers/testcontainers-go/issues/3670)) @​[github-actions\[bot\]](https://github.com/apps/github-actions)
- chore: remove cgroupnsMode setting from K3s container configuration ([#​3653](https://github.com/testcontainers/testcontainers-go/issues/3653)) [@​lixin9311](https://github.com/lixin9311)
##### 📦 Dependency updates
- chore(deps): update dependencies to latest versions in go.mod and go.sum ([#​3729](https://github.com/testcontainers/testcontainers-go/issues/3729)) [@​Steven-Harris](https://github.com/Steven-Harris)
- chore: bump sshd-docker image to 1.4.0 ([#​3727](https://github.com/testcontainers/testcontainers-go/issues/3727)) [@​mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump Ryuk to v0.14.0 ([#​3313](https://github.com/testcontainers/testcontainers-go/issues/3313)) [@​mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.4 to 4.26.5 ([#​3713](https://github.com/testcontainers/testcontainers-go/issues/3713)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump golang.org/x/sys from 0.44.0 to 0.45.0 ([#​3712](https://github.com/testcontainers/testcontainers-go/issues/3712)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump mkdocs-include-markdown-plugin from 7.2.2 to 7.3.0 ([#​3711](https://github.com/testcontainers/testcontainers-go/issues/3711)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump slackapi/slack-github-action from 2.1.1 to 3.0.3 ([#​3677](https://github.com/testcontainers/testcontainers-go/issues/3677)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump idna from 3.11 to 3.15 ([#​3708](https://github.com/testcontainers/testcontainers-go/issues/3708)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/containerd/containerd/v2 from 2.2.2 to 2.2.4 in /modules/compose ([#​3709](https://github.com/testcontainers/testcontainers-go/issues/3709)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump urllib3 from 2.6.3 to 2.7.0 ([#​3704](https://github.com/testcontainers/testcontainers-go/issues/3704)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/shirou/gopsutil/v4 from 4.26.3 to 4.26.4 ([#​3667](https://github.com/testcontainers/testcontainers-go/issues/3667)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/moby/moby/api from 1.54.1 to 1.54.2 ([#​3676](https://github.com/testcontainers/testcontainers-go/issues/3676)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.51.0 ([#​3689](https://github.com/testcontainers/testcontainers-go/issues/3689)) [@​mdelapenya](https://github.com/mdelapenya)
- chore(deps): bump google.golang.org/grpc from 1.79.3 to 1.81.0 in /modules/gcloud ([#​3690](https://github.com/testcontainers/testcontainers-go/issues/3690)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump google.golang.org/grpc from 1.75.0 to 1.81.0 in /modules/dex ([#​3686](https://github.com/testcontainers/testcontainers-go/issues/3686)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/in-toto/in-toto-golang from 0.10.0 to 0.11.0 in /modules/compose ([#​3674](https://github.com/testcontainers/testcontainers-go/issues/3674)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump docker/setup-docker-action from 4.5.0 to 5.1.0 ([#​3664](https://github.com/testcontainers/testcontainers-go/issues/3664)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump mkdocs-include-markdown-plugin from 7.2.1 to 7.2.2 ([#​3665](https://github.com/testcontainers/testcontainers-go/issues/3665)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/apache/thrift from 0.21.0 to 0.23.0 in /modules/nebulagraph ([#​3673](https://github.com/testcontainers/testcontainers-go/issues/3673)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/Azure/go-ntlmssp from 0.0.0-20221128193559-754e69321358 to 0.1.1 in /modules/openldap ([#​3658](https://github.com/testcontainers/testcontainers-go/issues/3658)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2 in /modules/postgres ([#​3657](https://github.com/testcontainers/testcontainers-go/issues/3657)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.2 in /modules/cockroachdb ([#​3656](https://github.com/testcontainers/testcontainers-go/issues/3656)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
- chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /modules/postgres ([#​3652](https://github.com/testcontainers/testcontainers-go/issues/3652)) @​[dependabot\[bot\]](https://github.com/apps/dependabot)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjMuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE2My4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tYXRlZCIsImRlcGVuZGVuY2llcyJdfQ==-->
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):
2 additional dependencies were updated
Details:
Package
Change
github.com/moby/moby/api
v1.54.1 -> v1.54.2
github.com/shirou/gopsutil/v4
v4.26.3 -> v4.26.5
### ℹ️ Artifact update notice
##### File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s):
- 2 additional dependencies were updated
Details:
| **Package** | **Change** |
| :------------------------------ | :--------------------- |
| `github.com/moby/moby/api` | `v1.54.1` -> `v1.54.2` |
| `github.com/shirou/gopsutil/v4` | `v4.26.3` -> `v4.26.5` |
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v0.42.0→v0.43.0v0.42.0→v0.43.0Release Notes
testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)
v0.43.0Compare Source
What's Changed
⚠️ Breaking Changes
🚀 Features
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/moby/moby/apiv1.54.1->v1.54.2github.com/shirou/gopsutil/v4v4.26.3->v4.26.5