diff --git a/docs/features/common_functional_options.md b/docs/features/common_functional_options.md
index d7a23c8559..209ad654df 100644
--- a/docs/features/common_functional_options.md
+++ b/docs/features/common_functional_options.md
@@ -27,7 +27,7 @@ postgres, err = postgresModule.RunContainer(ctx, testcontainers.WithEnv(map[stri
#### WithHostPortAccess
-- Not available until the next release of testcontainers-go :material-tag: main
+- Since testcontainers-go :material-tag: v0.31.0
If you need to access a port that is already running in the host, you can use `testcontainers.WithHostPortAccess` for example:
diff --git a/docs/features/networking.md b/docs/features/networking.md
index 2eb6ef2812..ca0a53f7e4 100644
--- a/docs/features/networking.md
+++ b/docs/features/networking.md
@@ -49,7 +49,7 @@ It is normally advisable to use `Host` and `MappedPort` together when constructi
## Exposing host ports to the container
-- Not available until the next release of testcontainers-go :material-tag: main
+- Since testcontainers-go :material-tag: v0.31.0
In some cases it is necessary to make a network connection from a container to a socket that is listening on the host machine. Natively, Docker has limited support for this model across platforms. Testcontainers, however, makes this possible, allowing your code to access services running on the host machine.
diff --git a/docs/modules/dolt.md b/docs/modules/dolt.md
index 3e7fdfc43e..6d4710e65f 100644
--- a/docs/modules/dolt.md
+++ b/docs/modules/dolt.md
@@ -1,6 +1,6 @@
# Dolt
-Not available until the next release of testcontainers-go :material-tag: main
+Since testcontainers-go :material-tag: v0.31.0
## Introduction
diff --git a/docs/modules/mongodb.md b/docs/modules/mongodb.md
index 3562aada1f..ba1989042e 100644
--- a/docs/modules/mongodb.md
+++ b/docs/modules/mongodb.md
@@ -60,7 +60,7 @@ E.g. `testcontainers.WithPassword("mymongopwd")`.
#### WithReplicaSet
-- Not available until the next release of testcontainers-go :material-tag: main
+- Since testcontainers-go :material-tag: v0.31.0
The `WithReplicaSet` functional option configures the container to run a single-node MongoDB replica set named `rs`. The MongoDB container will wait until the replica set is ready.
diff --git a/examples/nginx/go.mod b/examples/nginx/go.mod
index d60be577c2..9eed5009db 100644
--- a/examples/nginx/go.mod
+++ b/examples/nginx/go.mod
@@ -2,7 +2,7 @@ module github.com/testcontainers/testcontainers-go/examples/nginx
go 1.21
-require github.com/testcontainers/testcontainers-go v0.30.0
+require github.com/testcontainers/testcontainers-go v0.31.0
replace github.com/testcontainers/testcontainers-go => ../..
diff --git a/examples/toxiproxy/go.mod b/examples/toxiproxy/go.mod
index a3c57204ba..126a798723 100644
--- a/examples/toxiproxy/go.mod
+++ b/examples/toxiproxy/go.mod
@@ -6,7 +6,7 @@ require (
github.com/Shopify/toxiproxy/v2 v2.8.0
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.6.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/mkdocs.yml b/mkdocs.yml
index 6e72971c1e..f2ab39f0eb 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -129,4 +129,4 @@ nav:
- Getting help: getting_help.md
edit_uri: edit/main/docs/
extra:
- latest_version: v0.30.0
+ latest_version: v0.31.0
diff --git a/modules/artemis/go.mod b/modules/artemis/go.mod
index f1a3290564..5aa3fc5710 100644
--- a/modules/artemis/go.mod
+++ b/modules/artemis/go.mod
@@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/go-stomp/stomp/v3 v3.0.5
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/cassandra/go.mod b/modules/cassandra/go.mod
index 2547b23c19..b61f4910d2 100644
--- a/modules/cassandra/go.mod
+++ b/modules/cassandra/go.mod
@@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/gocql/gocql v1.6.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/chroma/go.mod b/modules/chroma/go.mod
index 008908546d..e9ea3ddcb7 100644
--- a/modules/chroma/go.mod
+++ b/modules/chroma/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/amikos-tech/chroma-go v0.1.2
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/clickhouse/go.mod b/modules/clickhouse/go.mod
index a06e80cae4..e535511804 100644
--- a/modules/clickhouse/go.mod
+++ b/modules/clickhouse/go.mod
@@ -7,7 +7,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/cockroachdb/go.mod b/modules/cockroachdb/go.mod
index 9b9baa826c..8b36f92182 100644
--- a/modules/cockroachdb/go.mod
+++ b/modules/cockroachdb/go.mod
@@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/jackc/pgx/v5 v5.5.4
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/compose/go.mod b/modules/compose/go.mod
index b07f1da56a..8f41f17a1d 100644
--- a/modules/compose/go.mod
+++ b/modules/compose/go.mod
@@ -11,7 +11,7 @@ require (
github.com/docker/docker v26.1.0+incompatible
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/sync v0.7.0
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/modules/consul/go.mod b/modules/consul/go.mod
index 081b0b50a2..c69c774538 100644
--- a/modules/consul/go.mod
+++ b/modules/consul/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/hashicorp/consul/api v1.27.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/couchbase/go.mod b/modules/couchbase/go.mod
index ab8ec6e7ef..6890061a4e 100644
--- a/modules/couchbase/go.mod
+++ b/modules/couchbase/go.mod
@@ -8,7 +8,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/couchbase/gocb/v2 v2.7.2
github.com/docker/go-connections v0.5.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
github.com/tidwall/gjson v1.17.1
)
diff --git a/modules/dolt/go.mod b/modules/dolt/go.mod
index d5c48c8fe9..9bfe3a907e 100644
--- a/modules/dolt/go.mod
+++ b/modules/dolt/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/go-sql-driver/mysql v1.7.1
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/elasticsearch/go.mod b/modules/elasticsearch/go.mod
index c2e0ed79b1..1104bc43ba 100644
--- a/modules/elasticsearch/go.mod
+++ b/modules/elasticsearch/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/elastic/go-elasticsearch/v8 v8.12.1
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)
diff --git a/modules/gcloud/go.mod b/modules/gcloud/go.mod
index 1e3f2a7932..1e397c8339 100644
--- a/modules/gcloud/go.mod
+++ b/modules/gcloud/go.mod
@@ -10,7 +10,7 @@ require (
cloud.google.com/go/pubsub v1.36.2
cloud.google.com/go/spanner v1.57.0
github.com/docker/go-connections v0.5.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
google.golang.org/api v0.168.0
google.golang.org/grpc v1.62.0
)
diff --git a/modules/inbucket/go.mod b/modules/inbucket/go.mod
index ceffac58d5..d099d7cb5c 100644
--- a/modules/inbucket/go.mod
+++ b/modules/inbucket/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/inbucket/inbucket v2.0.0+incompatible
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/influxdb/go.mod b/modules/influxdb/go.mod
index d6b4e8020f..d9402f3ae8 100644
--- a/modules/influxdb/go.mod
+++ b/modules/influxdb/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/k3s/go.mod b/modules/k3s/go.mod
index 236ec89874..cb73ed5e97 100644
--- a/modules/k3s/go.mod
+++ b/modules/k3s/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.29.2
k8s.io/apimachinery v0.29.2
diff --git a/modules/k6/go.mod b/modules/k6/go.mod
index 428b3e7d45..1d6cd8c64e 100644
--- a/modules/k6/go.mod
+++ b/modules/k6/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/kafka/go.mod b/modules/kafka/go.mod
index e45a2c3363..ac7e51d206 100644
--- a/modules/kafka/go.mod
+++ b/modules/kafka/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/IBM/sarama v1.42.1
github.com/docker/go-connections v0.5.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)
diff --git a/modules/localstack/go.mod b/modules/localstack/go.mod
index 5c41132f16..3bc040016d 100644
--- a/modules/localstack/go.mod
+++ b/modules/localstack/go.mod
@@ -11,7 +11,7 @@ require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)
diff --git a/modules/mariadb/go.mod b/modules/mariadb/go.mod
index c74cf8f257..35646ae0db 100644
--- a/modules/mariadb/go.mod
+++ b/modules/mariadb/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/go-sql-driver/mysql v1.7.1
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/milvus/go.mod b/modules/milvus/go.mod
index dd725046b5..f2a7530386 100644
--- a/modules/milvus/go.mod
+++ b/modules/milvus/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/milvus-io/milvus-sdk-go/v2 v2.3.6
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/minio/go.mod b/modules/minio/go.mod
index 5c74f092c3..8e280f19d4 100644
--- a/modules/minio/go.mod
+++ b/modules/minio/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/minio/minio-go/v7 v7.0.68
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/mockserver/go.mod b/modules/mockserver/go.mod
index ce76725644..5ea46617a4 100644
--- a/modules/mockserver/go.mod
+++ b/modules/mockserver/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/BraspagDevelopers/mock-server-client v0.2.2
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/mongodb/go.mod b/modules/mongodb/go.mod
index c9672f27ce..f1f0d75271 100644
--- a/modules/mongodb/go.mod
+++ b/modules/mongodb/go.mod
@@ -3,7 +3,7 @@ module github.com/testcontainers/testcontainers-go/modules/mongodb
go 1.21
require (
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
go.mongodb.org/mongo-driver v1.13.1
)
diff --git a/modules/mssql/go.mod b/modules/mssql/go.mod
index 50b42ba97f..373b75075f 100644
--- a/modules/mssql/go.mod
+++ b/modules/mssql/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/microsoft/go-mssqldb v1.7.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/mysql/go.mod b/modules/mysql/go.mod
index 2f86863ef6..b6c466639d 100644
--- a/modules/mysql/go.mod
+++ b/modules/mysql/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/go-sql-driver/mysql v1.7.1
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
diff --git a/modules/nats/go.mod b/modules/nats/go.mod
index 3cd41fc6e5..1abb3c76ca 100644
--- a/modules/nats/go.mod
+++ b/modules/nats/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/nats-io/nats.go v1.33.1
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/neo4j/go.mod b/modules/neo4j/go.mod
index 86968c5de4..a49b6a7e1c 100644
--- a/modules/neo4j/go.mod
+++ b/modules/neo4j/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/neo4j/neo4j-go-driver/v5 v5.18.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/ollama/go.mod b/modules/ollama/go.mod
index 01de3a03e3..56a028040a 100644
--- a/modules/ollama/go.mod
+++ b/modules/ollama/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/google/uuid v1.6.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
github.com/tmc/langchaingo v0.1.5
)
diff --git a/modules/openfga/go.mod b/modules/openfga/go.mod
index 916a96ef62..d8f57711e1 100644
--- a/modules/openfga/go.mod
+++ b/modules/openfga/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/openfga/go-sdk v0.3.5
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/openldap/go.mod b/modules/openldap/go.mod
index 2a274acf58..43c2688987 100644
--- a/modules/openldap/go.mod
+++ b/modules/openldap/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/go-ldap/ldap/v3 v3.4.6
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/opensearch/go.mod b/modules/opensearch/go.mod
index e9f614cf6f..f230bb8ed9 100644
--- a/modules/opensearch/go.mod
+++ b/modules/opensearch/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-units v0.5.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/postgres/go.mod b/modules/postgres/go.mod
index a2273829fb..fdcebe2946 100644
--- a/modules/postgres/go.mod
+++ b/modules/postgres/go.mod
@@ -7,7 +7,7 @@ require (
github.com/jackc/pgx/v5 v5.5.4
github.com/lib/pq v1.10.9
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
diff --git a/modules/pulsar/go.mod b/modules/pulsar/go.mod
index 6c91618cad..a761fc4d46 100644
--- a/modules/pulsar/go.mod
+++ b/modules/pulsar/go.mod
@@ -7,7 +7,7 @@ require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
replace github.com/testcontainers/testcontainers-go => ../..
diff --git a/modules/qdrant/go.mod b/modules/qdrant/go.mod
index 4291fa74e0..952c33601a 100644
--- a/modules/qdrant/go.mod
+++ b/modules/qdrant/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/qdrant/go-client v1.7.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
google.golang.org/grpc v1.62.0
)
diff --git a/modules/rabbitmq/go.mod b/modules/rabbitmq/go.mod
index 1ec1549363..c66cf14f5b 100644
--- a/modules/rabbitmq/go.mod
+++ b/modules/rabbitmq/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/rabbitmq/amqp091-go v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require golang.org/x/crypto v0.22.0 // indirect
diff --git a/modules/redis/go.mod b/modules/redis/go.mod
index efcd1da467..3365dfbca3 100644
--- a/modules/redis/go.mod
+++ b/modules/redis/go.mod
@@ -6,7 +6,7 @@ require (
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
diff --git a/modules/redpanda/go.mod b/modules/redpanda/go.mod
index 831f3a0617..a4c86ba5d8 100644
--- a/modules/redpanda/go.mod
+++ b/modules/redpanda/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
github.com/twmb/franz-go v1.16.1
github.com/twmb/franz-go/pkg/kadm v1.11.0
golang.org/x/mod v0.16.0
diff --git a/modules/registry/go.mod b/modules/registry/go.mod
index ffa2cc2871..cc71b539c9 100644
--- a/modules/registry/go.mod
+++ b/modules/registry/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/surrealdb/go.mod b/modules/surrealdb/go.mod
index 546a4cf5ee..b190df9a8a 100644
--- a/modules/surrealdb/go.mod
+++ b/modules/surrealdb/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/surrealdb/surrealdb.go v0.2.1
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
)
require (
diff --git a/modules/vault/go.mod b/modules/vault/go.mod
index acdebbe88b..67feec2b95 100644
--- a/modules/vault/go.mod
+++ b/modules/vault/go.mod
@@ -6,7 +6,7 @@ require (
github.com/docker/docker v25.0.5+incompatible
github.com/hashicorp/vault-client-go v0.4.3
github.com/stretchr/testify v1.9.0
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
github.com/tidwall/gjson v1.17.1
)
diff --git a/modules/weaviate/go.mod b/modules/weaviate/go.mod
index d571f6c66c..83b9dec6d2 100644
--- a/modules/weaviate/go.mod
+++ b/modules/weaviate/go.mod
@@ -3,7 +3,7 @@ module github.com/testcontainers/testcontainers-go/modules/weaviate
go 1.21
require (
- github.com/testcontainers/testcontainers-go v0.30.0
+ github.com/testcontainers/testcontainers-go v0.31.0
github.com/weaviate/weaviate-go-client/v4 v4.13.1
google.golang.org/grpc v1.62.1
)
diff --git a/sonar-project.properties b/sonar-project.properties
index dcef78cc69..8bd8dfc463 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -7,7 +7,7 @@ sonar.projectKey=testcontainers_testcontainers-go
sonar.projectName=testcontainers-go
-sonar.projectVersion=v0.30.0
+sonar.projectVersion=v0.31.0
sonar.sources=.