Skip to content

Commit

Permalink
chore(deps): bump github.com/testcontainers/testcontainers-go from 0.…
Browse files Browse the repository at this point in the history
…34.0 to 0.35.0 (#12525)

Bumps
[github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go)
from 0.34.0 to 0.35.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testcontainers/testcontainers-go/releases">github.com/testcontainers/testcontainers-go's
releases</a>.</em></p>
<blockquote>
<h2>v0.35.0</h2>
<h1>What's Changed</h1>
<h2>⚠️ Breaking Changes</h2>
<ul>
<li>feat(termination)!: make container termination timeout configurable
(<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2926">#2926</a>)
<a href="https://github.com/moogacs"><code>@​moogacs</code></a></li>
</ul>
<blockquote>
<p>The <code>container.Terminate(ctx)</code> 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.</p>
</blockquote>
<ul>
<li>feat!: build log writer for container request (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2925">#2925</a>)
<a href="https://github.com/zenkovev"><code>@​zenkovev</code></a></li>
</ul>
<blockquote>
<p>The <code>ShouldPrintBuildLog</code> function of the
<code>ContainerRequest</code> has been removed. Instead, a
<code>BuildLogWriter</code> function appears, that returns the
user-defined <code>io.Writer</code> for writing the image-build logs. In
case there is no writer, and the
<code>FromDockerfile.PrintBuildLog</code> is set to true,
<code>os.Stderr</code> would be used.</p>
</blockquote>
<ul>
<li>feat(gcloud)!: add support to seed data when using
RunBigQueryContainer (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2523">#2523</a>)
<a href="https://github.com/mtellis2"><code>@​mtellis2</code></a></li>
</ul>
<blockquote>
<p>Users of the GCloud module and the <code>WithProjectID</code> 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.</p>
</blockquote>
<ul>
<li>fix!: port forwarding clean up and make private (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2881">#2881</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
</ul>
<blockquote>
<p>The types and functions of the <code>PortForwarder</code> type are
now private, as they are implementation details of the library, so there
is no need for them to be exposed.</p>
</blockquote>
<ul>
<li>fix!: data races (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2843">#2843</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
</ul>
<blockquote>
<p>Usages of the <code>GenericProviderOptions.DefaultNetwork</code>
field must be removed, as this field is now private. The container
runtime should provide the default network under the hood.</p>
</blockquote>
<h2>🔒 Security</h2>
<ul>
<li>security(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2916">#2916</a>)
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>🚀 Features</h2>
<ul>
<li>feat(postgres): ssl for postgres (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2473">#2473</a>)
<a href="https://github.com/bearrito"><code>@​bearrito</code></a></li>
<li>feat(ollama): support calling the Ollama local process (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2923">#2923</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>feat(termination)!: make container termination timeout configurable
(<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2926">#2926</a>)
<a href="https://github.com/moogacs"><code>@​moogacs</code></a></li>
<li>feat(wait): log sub match callback (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2929">#2929</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>feat!: build log writer for container request (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2925">#2925</a>)
<a href="https://github.com/zenkovev"><code>@​zenkovev</code></a></li>
<li>feat(gcloud)!: add support to seed data when using
RunBigQueryContainer (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2523">#2523</a>)
<a href="https://github.com/mtellis2"><code>@​mtellis2</code></a></li>
<li>feat(nats): WithConfigFile - pass a configuration file to nats
server (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2905">#2905</a>)
<a href="https://github.com/vyskocilm"><code>@​vyskocilm</code></a></li>
<li>feat(wait): strategy walk (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2895">#2895</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>feat(wait): tls strategy (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2896">#2896</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>feat: add build to life cycle hooks (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2653">#2653</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>fix: handle nil value in CleanupNetwork (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2928">#2928</a>)
<a href="https://github.com/l0nax"><code>@​l0nax</code></a></li>
<li>fix: avoid double lock in DockerProvider.DaemonHost() (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2900">#2900</a>)
<a href="https://github.com/vikstrous"><code>@​vikstrous</code></a></li>
<li>fix: container binds syntax (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2899">#2899</a>)
<a href="https://github.com/zregvart"><code>@​zregvart</code></a></li>
<li>fix(influxdb): Respect custom waitStrategy (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2845">#2845</a>)
<a
href="https://github.com/marcinmilewski93"><code>@​marcinmilewski93</code></a></li>
<li>fix(redpanda): temporary file use (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2884">#2884</a>)
<a href="https://github.com/cavus700"><code>@​cavus700</code></a></li>
<li>fix: host access port instability (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2867">#2867</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>fix: docker auth for identity tokens (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2866">#2866</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>fix(compose): container initialisation (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2844">#2844</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>fix!: data races (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2843">#2843</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
<li>fix: mongodb replicaset should work with auth (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2847">#2847</a>)
<a
href="https://github.com/abhipranay"><code>@​abhipranay</code></a></li>
<li>fix: simplify fully-qualified image names (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2846">#2846</a>)
<a
href="https://github.com/mdelapenya"><code>@​mdelapenya</code></a></li>
<li>fix(compose): race condition (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2842">#2842</a>)
<a href="https://github.com/stevenh"><code>@​stevenh</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/add4ac3f019b773ae08c1af05f57554ba6819430"><code>add4ac3</code></a>
chore: use new version (v0.35.0) in modules and examples</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/3330dc1d098e155a1c14f061b8bb5875d8cc35e6"><code>3330dc1</code></a>
feat(postgres): ssl for postgres (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2473">#2473</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/6ec91f1ea81779b2859aaae53a7f553be282efcf"><code>6ec91f1</code></a>
feat(ollama): support calling the Ollama local process (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2923">#2923</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/632249a3d322b046d2bd999ef0c2874a12c5324f"><code>632249a</code></a>
chore(deps): bump jinja2 from 3.1.4 to 3.1.5 (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2935">#2935</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/7ca837dc011ed788a1ae159fb924c19df9a5a1d5"><code>7ca837d</code></a>
chore(deps): bump sonarsource/sonarcloud-github-action (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2933">#2933</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/6f718ee2f04205e5534af556384963ef871a508d"><code>6f718ee</code></a>
feat(termination)!: make container termination timeout configurable (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2926">#2926</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/eb5b8ed3597dfe7fe38c7910b446397ee4921d2a"><code>eb5b8ed</code></a>
chore(deps): bump slackapi/slack-github-action from 1.26.0 to 2.0.0 (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2934">#2934</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/cc55f13bf9480645bb4b1d6a8e89800c057e7f6b"><code>cc55f13</code></a>
chore(deps): bump github/codeql-action from 3.25.15 to 3.28.0 (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2932">#2932</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/63fad4d8bda2c92beccec9929b976e93401ab679"><code>63fad4d</code></a>
feat(wait): log sub match callback (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2929">#2929</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-go/commit/4f67ae08757f3b880691d2496e62cb9c696523af"><code>4f67ae0</code></a>
fix: Handle nil value in CleanupNetwork (<a
href="https://redirect.github.com/testcontainers/testcontainers-go/issues/2928">#2928</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/testcontainers/testcontainers-go/compare/v0.34.0...v0.35.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/testcontainers/testcontainers-go&package-manager=go_modules&previous-version=0.34.0&new-version=0.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 13, 2025
1 parent 8bdb8e1 commit 42d576c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spiffe/go-spiffe/v2 v2.4.0
github.com/testcontainers/testcontainers-go v0.34.0
github.com/testcontainers/testcontainers-go v0.35.0
github.com/tonglil/opentelemetry-go-datadog-propagator v0.1.3
github.com/vishvananda/netlink v1.3.0
github.com/vishvananda/netns v0.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/testcontainers/testcontainers-go v0.34.0 h1:5fbgF0vIN5u+nD3IWabQwRybuB4GY8G2HHgCkbMzMHo=
github.com/testcontainers/testcontainers-go v0.34.0/go.mod h1:6P/kMkQe8yqPHfPWNulFGdFHTD8HB2vLq/231xY2iPQ=
github.com/testcontainers/testcontainers-go v0.35.0 h1:uADsZpTKFAtp8SLK+hMwSaa+X+JiERHtd4sQAFmXeMo=
github.com/testcontainers/testcontainers-go v0.35.0/go.mod h1:oEVBj5zrfJTrgjwONs1SsRbnBtH9OKl+IGl3UMcr2B4=
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8=
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
Expand Down

0 comments on commit 42d576c

Please sign in to comment.