Skip to content

Commit

Permalink
Bump Testcontainers.MsSql from 3.10.0 to 4.0.0 in /src/backend (#344)
Browse files Browse the repository at this point in the history
Bumps
[Testcontainers.MsSql](https://github.com/testcontainers/testcontainers-dotnet)
from 3.10.0 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testcontainers/testcontainers-dotnet/releases">Testcontainers.MsSql's
releases</a>.</em></p>
<blockquote>
<h2>4.0.0</h2>
<h1>What's Changed</h1>
<p>Thanks so much for all the effort you put into this release 🙌. We are
continuing to align Testcontainers for .NET with other language
implementations and working on improving the domain-specific
language.</p>
<p>We have updated the <code>IImage</code> interface to follow the
domain-specific language with the correct property names. The table
below shows the changes. We tried to make the transition as smooth as
possible, but be aware that relying on the <code>Repository</code>
property might cause issues since it now resolves a different value than
before. We have kept the old properties, marked them as obsolete, and
provided guidance on how to migrate.</p>
<table>
<thead>
<tr>
<th></th>
<th>Actual</th>
<th>Expected (New)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Registry</td>
<td>-</td>
<td>myregistryhost:5000</td>
</tr>
<tr>
<td>Repository</td>
<td>myregistryhost:5000/fedora</td>
<td>fedora/httpd</td>
</tr>
<tr>
<td>Name</td>
<td>httpd</td>
<td>-</td>
</tr>
<tr>
<td>Tag</td>
<td>version1.0</td>
<td>version1.0</td>
</tr>
<tr>
<td>Digest</td>
<td>-</td>
<td>sha256:37a3b014d320...</td>
</tr>
<tr>
<td>GetHostname()</td>
<td>myregistryhost:5000</td>
<td>myregistryhost:5000</td>
</tr>
</tbody>
</table>
<h2>⚠️ Breaking Changes</h2>
<ul>
<li>fix: Bump MSSQL image version, remove Azure SQL Edge <del>and
Papercut</del> module (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1265">#1265</a>)
<a
href="https://github.com/HofmeisterAn"><code>@​HofmeisterAn</code></a></li>
<li>feat: Align <code>IImage</code> properties with Docker DSL (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1256">#1256</a>)
<a
href="https://github.com/HofmeisterAn"><code>@​HofmeisterAn</code></a></li>
</ul>
<h2>🚀 Features</h2>
<ul>
<li>feat: Use <code>exec</code> to replace current shell with the Kafka
process (as ENTRYPOINT) (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1282">#1282</a>)
<a
href="https://github.com/jasoncouture"><code>@​jasoncouture</code></a></li>
<li>feat: Add getter for Azurite blob, queue and table endpoint (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1278">#1278</a>)
<a href="https://github.com/pregress"><code>@​pregress</code></a></li>
<li>feat: Reintroduce Papercut module (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1268">#1268</a>)
<a href="https://github.com/TechLiam"><code>@​TechLiam</code></a></li>
<li>feat: Add Neo4j Enterprise Edition support
(<code>WithEnterpriseEdition(bool)</code>) (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1269">#1269</a>)
<a
href="https://github.com/Sossenbinder"><code>@​Sossenbinder</code></a></li>
<li>feat: Support digest in <code>IImage</code>,
<code>DockerImage</code> and in the <code>WithImage(string)</code>
implementation (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1249">#1249</a>)
<a href="https://github.com/Kielek"><code>@​Kielek</code></a></li>
<li>feat: Align <code>IImage</code> properties with Docker DSL (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1256">#1256</a>)
<a
href="https://github.com/HofmeisterAn"><code>@​HofmeisterAn</code></a></li>
<li>feat: Change visibility of <code>AccountName</code> and
<code>AccountKey</code> to public, move to <code>AzuriteBuilder</code>
(<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1258">#1258</a>)
<a href="https://github.com/mikecole"><code>@​mikecole</code></a></li>
<li>feat: Get Docker endpoint from Docker context (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1235">#1235</a>)
<a href="https://github.com/0xced"><code>@​0xced</code></a></li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>fix: Bump MSSQL image version, remove Azure SQL Edge and Papercut
module (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1265">#1265</a>)
<a
href="https://github.com/HofmeisterAn"><code>@​HofmeisterAn</code></a></li>
<li>fix: Throw exception if Docker resource does not exist instead of
silently ignoring it (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1254">#1254</a>)
<a href="https://github.com/0xced"><code>@​0xced</code></a></li>
</ul>
<h2>🧹 Housekeeping</h2>
<ul>
<li>fix: Do not run reusable resource tests in parallel (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1267">#1267</a>)
<a
href="https://github.com/HofmeisterAn"><code>@​HofmeisterAn</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/1a78654e9205d3ff01b807967a5408feec921622"><code>1a78654</code></a>
fix: XML comment has cref attribute 'FullName' that could not be
resolved</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/dfb9f41fbfc62d2bc93cdcfb3dd098f4d8d9d954"><code>dfb9f41</code></a>
feat: Use <code>exec</code> to replace current shell with the Kafka
process (as ENTRYPOI...</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/a75cb73bf9c022d0f78ec85f327cdef7c396c98a"><code>a75cb73</code></a>
feat: Add getter for Azurite blob, queue and table endpoint (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1278">#1278</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/12cccf9506801a0d05ebe27cd021e4a8201b8c8f"><code>12cccf9</code></a>
chore: Bump System.Text.Json</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/159e4bf60b297a18fc09ead6ba8d7fe751984edc"><code>159e4bf</code></a>
feat: Reintroduce Papercut module (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1268">#1268</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/f4966d8d73c6b82cfd9f3c1b7a2712d0a587ca87"><code>f4966d8</code></a>
fix: Remove Sonar code smells</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/e96d4e6cb68c999847cdd94b1c826297034af2f2"><code>e96d4e6</code></a>
feat: Add Neo4j Enterprise Edition support
(<code>WithEnterpriseEdition(bool)</code>) (#...</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/0b8b34b456c2dea0abb1d797c4587fe0ac9cc886"><code>0b8b34b</code></a>
chore: Run test projects sequentially</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/1cc56eaca21b520a46c004442a7dbfe6a910baa1"><code>1cc56ea</code></a>
fix: Use correct JSON node to install C# Dev Kit extension</li>
<li><a
href="https://github.com/testcontainers/testcontainers-dotnet/commit/340a93afff0622e6d1fb30f0796edd44f8c42577"><code>340a93a</code></a>
fix: Do not run reusable resource tests in parallel (<a
href="https://github.com/testcontainers/testcontainers-dotnet/issues/1267">#1267</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/testcontainers/testcontainers-dotnet/compare/3.10.0...4.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Testcontainers.MsSql&package-manager=nuget&previous-version=3.10.0&new-version=4.0.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 6, 2024
1 parent 754af79 commit 77ea7f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/backend/WebApi.Tests/WebApi.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Testcontainers.MsSql" Version="3.10.0" />
<PackageReference Include="Testcontainers.MsSql" Version="4.0.0" />
<PackageReference Include="Testcontainers.RabbitMq" Version="4.0.0" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions tests/backend/WebApi.Tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"Testcontainers.MsSql": {
"type": "Direct",
"requested": "[3.10.0, )",
"resolved": "3.10.0",
"contentHash": "8FDr/j1RUN7sCDJnInXT19llmuDUXy4zB7uY9sjYXnBX6LduIamFimOkrwFY2BhzxTwvnVjiDw9acDBPQjQqvQ==",
"requested": "[4.0.0, )",
"resolved": "4.0.0",
"contentHash": "HausfOB3+UDDujygP2laXCUiNtrKrWJMeKnpTvP4F9JP0GswSsYlJS/mKEWw8ZXSpUd31K8enGZ7wW0HHeyg0w==",
"dependencies": {
"Testcontainers": "3.10.0"
"Testcontainers": "4.0.0"
}
},
"Testcontainers.RabbitMq": {
Expand Down

0 comments on commit 77ea7f4

Please sign in to comment.