Skip to content

Releases: testcontainers/testcontainers-python

testcontainers: v4.15.0-rc4

11 Jun 01:39
c353b17

Choose a tag to compare

4.15.0-rc4 (2026-06-11)

Features

  • extended configuration options for container.exec method (#1050) (7dee471)
  • main: enable typing for complete package (237be27)
  • main: make legacy imports available with deprecation notice (ab6cca8)
  • test: start working on parallel-running tests (WIP!) (2d24429)

Bug Fixes

  • arangodb: replace deprecated add_hash_index with add_persistent_index (50bb202)
  • aws: wrong path of test (38089b0)
  • ci: correct coverage paths (b21eccd)
  • ci: fix community test selection (5287fc8)
  • ci: ignore @overload in coverage (592c6d1)
  • ci: ignore TYPE_CHECKING block in coverage (3bdc561)
  • core/registry: use relative import for _LocalRegistryContainer (961e3d1)
  • core: make is_podman respect resolved docker host (#1048) (6018da3)
  • docs: update docs reflecting new structure (9427055)
  • doctests: Ensure paths are correct (f777673)
  • k3s: replace tmpfs dict kwarg with with_tmpfs_mount() (4d1da0c)
  • keycloak: disable SSL requirement for master realm after start (2a85595)
  • main: adopt ci to new src structure (dae421d)
  • main: adopt imports to new structure (9155677)
  • rabbitmq: declare queue as durable (2622736)
  • ruff: add **/*_example.py to per-file-ignores for T201 (01dbd16)
  • sftp: remove redundant start() calls and fix SSH connection options (54cef56)
  • trino: increase default startup timeout from 30s to 60s (2940501)
  • weaviate: update and fix module (5dd2aa1)

testcontainers: v4.15.0-rc3

03 Jun 11:13
3cbd956

Choose a tag to compare

4.15.0-rc3 (2026-06-03)

Features

Bug Fixes

  • core: add container logs to TimeoutError when wait strategy times out (#1007) (1fadb40)
  • core: close Reaper socket at interpreter exit to prevent ResourceWarning (#1017) (d3a1517)
  • cosmosdb: replace distutils.strtobool removed in Python 3.12 (#1018) (3e487f4)
  • mongodb: Use wait strategy instead of deprecated wait_for_logs (#943) (c8118e7)
  • mssql: use ExecWaitStrategy instead of deprecated wait_container_is_ready (#1016) (4c53b89), closes #874
  • neo4j: Swap out use of depricated wait utils for wait_strategies (#1012) (6deaf3b)

testcontainers: v4.15.0-rc2

30 Apr 00:47
79d920e

Choose a tag to compare

4.15.0-rc2 (2026-04-30)

Features

Bug Fixes

testcontainers: v4.15.0-rc.1

07 Apr 23:43
6ecf347

Choose a tag to compare

4.15.0-rc.1 (2026-04-07)

Features

  • compose: add structured container inspect information (#897) (58459a1)
  • core: support SSH-based DOCKER_HOST (#993) (d48115d)
  • generic: Reintroducing the generic SQL module (#892) (2ca2321)
  • keycloak: support for relative path and management relative path (#982) (898faf6)
  • mqtt: MosquittoContainer: Add version 2.1.2 (#978) (af382f7)

Bug Fixes

  • azurite: make visible to type checkers (#927) (baa5668)
  • clickhouse: add HttpWaitStrategy instead of deprecated wait_container_is_ready (#962) (8034541)
  • compose: return type in get_service_port docstring (#939) (fed65fe)
  • core: Refactor copy file (#996) (0e0bb24)
  • core: wait for ryuk more reliably, improve tests: long_running, filter logs (#984) (b12ae13)
  • generic: Migrate ServerContainer from deprecated decorator to HttpWaitStrategy (#971) (460b0d8)
  • kafka: Use wait strategy instead of deprecated wait_for_logs (#903) (87332c1)
  • postgres: add py.typed marker to postgres module (#849) (c8a5bbd)
  • qdrant: migrate Qdrant from deprecated decorator. (#963) (407f798)
  • redis: Use wait strategy instead of deprecated decorator (#914) (e25713a)
  • sftp: Avoid using wait_for_logs in module. (#995) (83157eb)

testcontainers: v4.14.2

18 Mar 05:18
5c67efb

Choose a tag to compare

4.14.2 (2026-03-18)

Features

  • kafka: allow configurable listener name and security protocol (#966) (44dd40b)

testcontainers: v4.14.1

31 Jan 23:13
17eb0b0

Choose a tag to compare

4.14.1 (2026-01-31)

Bug Fixes

  • Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino (#953) (be4d09e)
  • compose: expose useful compose options (#951) (183e1aa)
  • core: bring back dind tests (7337266)
  • core: Use WaitStrategy internally for wait_for function (#942) (e323317)
  • nats: add support for jetstream (#938) (49c9af8)
  • Support Elasticsearch 9.x (#881) (f690e88), closes #860

testcontainers: v4.14.0

07 Jan 23:34
d7953b8

Choose a tag to compare

4.14.0 (2026-01-07)

Features

  • Add ExecWaitStrategy and migrate Postgres from deprecated decorator (#935) (2d9eee3)

Bug Fixes

  • add ruff to deps (#919) (5853d32)
  • cassandra,mysqk,kafka: Use wait strategy instead of deprecated wait_for_logs (#945) (b7791b9)
  • core: recreate poetry lockfile with latest versions of libraries (#946) (9a97385)
  • elasticsearch: Use wait strategy instead of deprecated decorator (#915) (c785ecd)
  • minio: minio client requires kwargs now (#933) (37f5902)
  • minio: Use wait strategy instead of deprecated decorator (#899) (febccb7)

testcontainers: v4.13.3

14 Nov 05:08
5c00041

Choose a tag to compare

4.13.3 (2025-11-14)

python 3.14 is now supported!

Bug Fixes

  • do not require consumer of library to state nonsupport for py4 (#912) (f608df9)
  • docs: Update dependencies for docs (#900) (3f66784)

testcontainers: v4.13.2

07 Oct 21:52
5c1504c

Choose a tag to compare

4.13.2 (2025-10-07)

Bug Fixes

  • core: Fix issues with doctests (#893) (2e4d80a)
  • core: waiting improvements + remove decorators in core (#894) (f93f379)
  • issue #889 by changing the annotated return type of waiting_for to Self. (#890) (fe941b1)
  • mongo: mongo start waiting forever for old mongo versions (#783) (1388612)
  • redpanda: copy the startup script to a path that can be written … (#867) (e6b976d)
  • trino: Remove deprecated class and decorator from Trino container (#895) (bb646e9)

testcontainers: v4.13.1

24 Sep 22:46
ce12f22

Choose a tag to compare

4.13.1 (2025-09-24)

Bug Fixes

  • core: Added 'compose' in compose_command_property (#879) (769b7b6)
  • core: make sure context manager exits (#876) (10089f6)