github testcontainers/testcontainers-dotnet 2.3.0
Release 2.3.0

latest releases: 4.9.0, 4.8.1, 4.8.0...
3 years ago

As part of this release we had 9 issues closed.

Added

  • #531 Add Docker health status wait strategy (@kfrajtak)
  • #640 Add ITestcontainersBuilder<TDockerContainer>.WithResourceMapping to copy files or any binary contents into the created container before it is started
  • #654 Add ITestcontainersNetworkBuilder.WithOption (@vlaskal)
  • #678 Add support of custom configuration TESTCONTAINERS_HOST_OVERRIDE and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE
  • #694 Add Resource Reaper (Ryuk) privileged mode support (TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED)

Changed

  • #642 Expose container port bindings automatically
  • #603 Add default logger that forwards messages to the console (does not support every test environment)
  • #683 Return the gateway address (IDockerContainer.Hostname) of a network if one is assigned
  • #703 ResourceReaper.GetAndStartDefaultAsync no longer support optional arguments, it is necessary to set the Resource Reaper configuration immediately

Fixed

  • #610 Trim traling slashes in Dockerfile directory path (otherwise, it cuts the first character of the relative path), Normalize paths to forward slashes
  • #648 Always include .dockerignore and Dockerfile files in tarball (docker build)
  • #650 Update SharpZipLib to version 1.4.1 to prevent a deadlock in the Docker container image build
  • #666 DockerImageNotFoundException when logged in with Docker Desktop instead of the CLI

Thanks for your contributions 🙏

Don't miss a new testcontainers-dotnet release

NewReleases is sending notifications on new releases.