thomhurst / TUnit

A modern, fast and flexible .NET testing framework
MIT License
2.31k stars 37 forks source link

Update dependency Testcontainers.PostgreSql to v4 #1133

Closed thomhurst closed 1 week ago

thomhurst commented 1 week ago

This PR contains the following updates:

Package Type Update Change
Testcontainers.PostgreSql (source) nuget major 3.10.0 -> 4.0.0

Release Notes

testcontainers/testcontainers-dotnet (Testcontainers.PostgreSql) ### [`v4.0.0`](https://redirect.github.com/testcontainers/testcontainers-dotnet/releases/tag/4.0.0) [Compare Source](https://redirect.github.com/testcontainers/testcontainers-dotnet/compare/3.10.0...4.0.0) ### What's Changed 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. We have updated the `IImage` 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 `Repository` 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. | | Actual | Expected (New) | |---|---|---| | Registry | - | myregistryhost:5000 | | Repository | myregistryhost:5000/fedora | fedora/httpd | | Name | httpd | - | | Tag | version1.0 | version1.0 | | Digest | - | sha256:37a3b014d320... | | GetHostname() | myregistryhost:5000 | myregistryhost:5000 | #### โš ๏ธ Breaking Changes - fix: Bump MSSQL image version, remove Azure SQL Edge ~~and Papercut~~ module ([#​1265](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1265)) [@​HofmeisterAn](https://redirect.github.com/HofmeisterAn) - feat: Align `IImage` properties with Docker DSL ([#​1256](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1256)) [@​HofmeisterAn](https://redirect.github.com/HofmeisterAn) #### ๐Ÿš€ Features - feat: Use `exec` to replace current shell with the Kafka process (as ENTRYPOINT) ([#​1282](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1282)) [@​jasoncouture](https://redirect.github.com/jasoncouture) - feat: Add getter for Azurite blob, queue and table endpoint ([#​1278](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1278)) [@​pregress](https://redirect.github.com/pregress) - feat: Reintroduce Papercut module ([#​1268](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1268)) [@​TechLiam](https://redirect.github.com/TechLiam) - feat: Add Neo4j Enterprise Edition support (`WithEnterpriseEdition(bool)`) ([#​1269](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1269)) [@​Sossenbinder](https://redirect.github.com/Sossenbinder) - feat: Support digest in `IImage`, `DockerImage` and in the `WithImage(string)` implementation ([#​1249](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1249)) [@​Kielek](https://redirect.github.com/Kielek) - feat: Align `IImage` properties with Docker DSL ([#​1256](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1256)) [@​HofmeisterAn](https://redirect.github.com/HofmeisterAn) - feat: Change visibility of `AccountName` and `AccountKey` to public, move to `AzuriteBuilder` ([#​1258](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1258)) [@​mikecole](https://redirect.github.com/mikecole) - feat: Get Docker endpoint from Docker context ([#​1235](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1235)) [@​0xced](https://redirect.github.com/0xced) #### ๐Ÿ› Bug Fixes - fix: Bump MSSQL image version, remove Azure SQL Edge and Papercut module ([#​1265](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1265)) [@​HofmeisterAn](https://redirect.github.com/HofmeisterAn) - fix: Throw exception if Docker resource does not exist instead of silently ignoring it ([#​1254](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1254)) [@​0xced](https://redirect.github.com/0xced) #### ๐Ÿงน Housekeeping - fix: Do not run reusable resource tests in parallel ([#​1267](https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1267)) [@​HofmeisterAn](https://redirect.github.com/HofmeisterAn)

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot.