v0.31.0
·
116 commits
to refs/heads/main
since this release
What's Changed
⚠️ Breaking Changes
Are you hosting your own Testcontainers for Go module?
If you are hosting your own module, please update all the custom options you created for the module, updating them to return an error in the case it occurs. This breaking change is needed to provide a more robust and consistent API for creating modules, allowing module authors to create custom code to customise the container avoiding panics.
🔒 Security
- chore(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.15 (#2517) @mdelapenya
🚀 Features
- feat(modules.mongodb): add replica set support via opts (#2469) @heiytor
- feat: expose JSON representation of a container with Inspect (#2534) @mdelapenya
- feat: forward host ports to a container using an SSH tunnel (#2471) @mdelapenya
- feat: support overriding the default recreate options for compose (#2511) @mdelapenya
- feat: support passing io.Reader for compose files when creating a compose instance (#2509) @mdelapenya
- feat: support Ryuk for the compose module (#2485) @mdelapenya
- feat: Bump default postgres version (#2481) @bearrito
- support Dolt (#2177) @coffeegoddd
- Elasticsearch disable CA retrieval when ssl is disabled (#2475) @Anaethelion
🐛 Bug Fixes
- fix(modules.kafka): Use broker container IP instead of host IP for advertised broker listener (#1989) @khartld
- fix(compose): avoid race conditions when caching services (#2528) @mdelapenya
- fix: enhance host configuration port binding (#2512) @wilsouza
- fix: don't retry on permanent APIClient errors (#2506) @p-jahn
- fix: fallback to URL-path when parsing auth config URL without scheme (#2488) @p-jahn
- fix(postgres): Fix the non-default dbname error (#2489) @Minivera
📖 Documentation
- docs: add documentation for Exec method (#2451) @gustavosbarreto
- docs: document the SSHd tunnel (#2514) @mdelapenya
- [doc] Fix follow_logs.md by adding missing package (#2513) @JulienBreux
🧹 Housekeeping
- chore(influxdb): include more characters in wait for log regex (#2532) @mdelapenya
- chore(compose): return error in options (#2520) @mdelapenya
- fix: use new UUID for sshd server password (#2515) @mdelapenya
- chore: add funding button for testcontainers (#2510) @mdelapenya
- chore: create TLS certs in a consistent manner (#2478) @mdelapenya
- fix: handle dockerignore exclusions properly (#2476) @mdelapenya
📦 Dependency updates
- chore(deps): bump test-summary action to v2.3 (#2535) @mdelapenya
- chore(deps): bump jinja2 from 3.1.3 to 3.1.4 (#2533) @dependabot
- Update devcontainer image (#2531) @bells17
- chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 5.1.0 (#2525) @dependabot
- chore(deps): bump mkdocs-material from 8.2.7 to 9.5.18 (#2524) @dependabot
- chore(deps): bump github.com/compose-spec/compose-go/v2 from v2.0.0-rc8 to v2.1.0 (#2519) @mdelapenya
- chore(deps): bump github.com/containerd/containerd from 1.7.12 to 1.7.15 (#2517) @mdelapenya
- chore(deps): bump golang.org/x/net in modules (minio, gcloud, weaviate, compose, qdrant, couchbase, k3s, milvus, mockserver, pulsar, kafka) (#2505) @mdelapenya
- chore(deps): bump idna from 3.6 to 3.7 (#2480) @dependabot