Skip to content

Commit e0273e5

Browse files
authored
Bump Testcontainers.PostgreSql from 4.7.0 to 4.8.0 (#973)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Updated [Testcontainers.PostgreSql](https://github.com/testcontainers/testcontainers-dotnet) from 4.7.0 to 4.8.0. <details> <summary>Release notes</summary> _Sourced from [Testcontainers.PostgreSql's releases](https://github.com/testcontainers/testcontainers-dotnet/releases)._ ## 4.8.0 # What's Changed Thank you to all the contributors 🙌. In version `4.7.0`, we noticed that the reuse hash could change depending on the order of dictionary values. This has been fixed to ensure that dictionary values are processed in a consistent order when generating the reuse hash. As a result, the reuse hash will likely change again with `4.8.0`. Wait strategies now default to the [`Running`](https://dotnet.testcontainers.org/api/wait_strategies/#wait-strategy-modes) mode. This mode expects the container to remain running throughout startup. If the container exits unexpectedly, Testcontainers will throw a `ContainerNotRunningException` that includes the exit code and container logs. The container startup callback now includes an additional overload that provides the actual container configuration. If you implement `IContainerBuilder<TBuilderEntity, TContainerEntity>`, you need to add the container configuration (e.g., `IContainerConfiguration`) as a third generic type constraint to `IContainerBuilder`. `IContainerBuilder.WithResourceMapping` and `IContainer.CopyAsync` now include two new optional arguments: `uid` and `gid`. If you do not need to specify those, use named arguments for the existing parameters: `fileMode` or `ct`. ## ⚠️ Breaking Changes * fix: Generate consistent reuse hashes by sorting dictionary keys (#​1554) @​0xced * feat: Throw if container not running (#​1550) @​HofmeisterAn * feat: Add startup callback overload with configuration type (#​1547) @​HofmeisterAn * feat: Support UID/GID when copying files (#​1531) @​HofmeisterAn ## 🚀 Features * feat: Throw if container not running (#​1550) @​HofmeisterAn * feat: Add startup callback overload with configuration type (#​1547) @​HofmeisterAn * feat: Add Docker build context (#​1536) @​HofmeisterAn * feat: Add `WithTarget(string)` to image builder (#​1534) @​HofmeisterAn * feat: Resolve Dockerfile ARGs pulling base images (#​1532) @​HofmeisterAn * feat: Support UID/GID when copying files (#​1531) @​HofmeisterAn * feat(Keycloak): Add API to import a realm configuration file (#​1526) @​VladislavAntonyuk ## 🐛 Bug Fixes * fix: Generate consistent reuse hashes by sorting dictionary keys (#​1554) @​0xced * fix(MongoDb): Use `db.runCommand({hello:1})` do detect readiness (#​1548) @​HofmeisterAn * fix(Papercut): Pin version 7.0 and set new HTTP and SMTP ports (#​1549) @​HofmeisterAn * fix(Pulsar): Wait for default namespace (#​1539) @​HofmeisterAn * fix(Keycloak): Wait until user created (#​1535) @​HofmeisterAn ## 📖 Documentation * docs: Remove obsolete UntilOperationIsSucceeded wait strategy example (#​1551) @​ascott18 * docs: Fix link to Ryuk in `IContainerBuilder.WithAutoRemove` code comment (#​1546) @​hojmark ## 🧹 Housekeeping * chore: Don't create a static field in a generic class (#​1555) @​HofmeisterAn * chore: Add test certificates to common project (#​1545) @​HofmeisterAn * chore: Update CI workflow to ubuntu-24.04 (#​1544) @​HofmeisterAn * chore: Collect test projects at CI runtime (#​1543) @​HofmeisterAn * chore: Fix grammar (#​1542) @​Smoothengineer * chore: Bump Ryuk (#​1537) @​HofmeisterAn ... (truncated) Commits viewable in [compare view](testcontainers/testcontainers-dotnet@4.7.0...4.8.0). </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Testcontainers.PostgreSql&package-manager=nuget&previous-version=4.7.0&new-version=4.8.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>
2 parents 2d1f723 + f1d69fb commit e0273e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RefreshTests.GameServer/RefreshTests.GameServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>
27-
<PackageReference Include="Testcontainers.PostgreSql" Version="4.7.0" />
27+
<PackageReference Include="Testcontainers.PostgreSql" Version="4.8.0" />
2828
</ItemGroup>
2929

3030
<ItemGroup>

0 commit comments

Comments
 (0)