Skip to content

Commit da47f5d

Browse files
committed
chore: use new version (v0.39.0) in modules and examples
1 parent 404b345 commit da47f5d

File tree

72 files changed

+113
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+113
-113
lines changed

docs/features/common_functional_options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ If you need to prevent the container from being started after creation, you can
439439

440440
##### WithProvider
441441

442-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
442+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
443443

444444
If you need specify which provider to use to run the container, you can use the `testcontainers.WithProvider` option.
445445
Currently only `docker` or `podman` are supported.

docs/features/common_functional_options_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The following options are exposed by the `testcontainers` package.
6060
- [`CustomizeRequest`](/features/creating_container/#customizerequest) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.20.0"><span class="tc-version">:material-tag: v0.20.0</span></a>
6161
- [`WithName`](/features/creating_container/#withname) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
6262
- [`WithNoStart`](/features/creating_container/#withnostart) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
63-
- [`WithProvider`](/features/creating_container/#withprovider) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
63+
- [`WithProvider`](/features/creating_container/#withprovider) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
6464

6565

6666
### Experimental Options

docs/modules/dockermcpgateway.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Docker MCP Gateway
22

3-
Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
3+
Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/dockermcpgateway
2424

2525
### Run function
2626

27-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
27+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
2828

2929
The DockerMCPGateway module exposes one entrypoint function to create the DockerMCPGateway container, and this function receives three parameters:
3030

@@ -49,7 +49,7 @@ When starting the DockerMCPGateway container, you can pass options in a variadic
4949

5050
#### WithTools
5151

52-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
52+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
5353

5454
Use the `WithTools` option to set the tools from a server to be available in the MCP Gateway container. Adding multiple tools for the same server will append to the existing tools for that server, and no duplicate tools will be added for the same server.
5555

@@ -59,7 +59,7 @@ dockermcpgateway.WithTools("brave", []string{"brave_local_search", "brave_web_se
5959

6060
#### WithSecrets
6161

62-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
62+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
6363

6464
Use the `WithSecrets` option to set the tools from a server to be available in the MCP Gateway container. Empty keys are not allowed, although empty values are allowed for a key.
6565

@@ -77,7 +77,7 @@ The DockerMCPGateway container exposes the following methods:
7777

7878
#### Tools
7979

80-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
80+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
8181

8282
Returns a map of tools available in the MCP Gateway container, where the key is the server name and the value is a slice of tool names.
8383

@@ -87,7 +87,7 @@ tools := ctr.Tools()
8787

8888
#### GatewayEndpoint
8989

90-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
90+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
9191

9292
Returns the endpoint of the MCP Gateway container, which is a string containing the host and mapped port for the default MCP Gateway port (8811/tcp).
9393

docs/modules/mongodb-atlaslocal.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MongoDB Atlas Local
22

3-
Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
3+
Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
44

55
## Introduction
66

@@ -29,7 +29,7 @@ go get github.com/testcontainers/testcontainers-go/modules/mongodb/atlaslocal
2929

3030
### Run function
3131

32-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
32+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
3333

3434
The `atlaslocal` module exposes one entrypoint function to create the MongoDB Atlas Local container, and this
3535
function receives three parameters:
@@ -53,94 +53,94 @@ When starting the MongoDB Atlas Local container, you can pass options in a varia
5353

5454
#### WithUsername
5555

56-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
56+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
5757

5858
This functional option sets the initial username to be created when the container starts, populating the
5959
`MONGODB_INITDB_ROOT_USERNAME` environment variable. You cannot mix this option with `WithUsernameFile`, as it will
6060
result in an error.
6161

6262
#### WithPassword
6363

64-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
64+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
6565

6666
This functional option sets the initial password to be created when the container starts, populating the
6767
`MONGODB_INITDB_ROOT_PASSWORD` environment variable. You cannot mix this option with `WithPasswordFile`, as it will
6868
result in an error.
6969

7070
#### WithUsernameFile
7171

72-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
72+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
7373

7474
This functional option mounts a local file as the MongoDB root username secret at `/run/secrets/mongo-root-username`
7575
and sets the `MONGODB_INITDB_ROOT_USERNAME_FILE` environment variable. The path must be absolute and exist; no-op if
7676
empty.
7777

7878
#### WithPasswordFile
7979

80-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
80+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
8181

8282
This functional option mounts a local file as the MongoDB root password secret at `/run/secrets/mongo-root-password` and
8383
sets the `MONGODB_INITDB_ROOT_PASSWORD_FILE` environment variable. The path must be absolute and exist; no-op if empty.
8484

8585
#### WithNoTelemetry
8686

87-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
87+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
8888

8989
This functional option disables the telemetry feature of MongoDB Atlas Local, setting the `DO_NOT_TRACK` environment
9090
variable to `1`.
9191

9292
#### WithInitDatabase
9393

94-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
94+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
9595

9696
This functional option allows you to specify a database name to be initialized when the container starts, populating
9797
the `MONGODB_INITDB_DATABASE` environment variable.
9898

9999
#### WithInitScripts
100100

101-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
101+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
102102

103103
Mounts a directory into `/docker-entrypoint-initdb.d`, running `.sh`/`.js` scripts on startup. Calling this function
104104
multiple times mounts only the latest directory.
105105

106106
#### WithMongotLogFile
107107

108-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
108+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
109109

110110
This functional option writes the mongot logs to `/tmp/mongot.log` inside the container. See
111111
`(*Container).ReadMongotLogs` to read the logs locally.
112112

113113
#### WithMongotLogToStdout
114114

115-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
115+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
116116

117117
This functional option writes the mongot logs to `/dev/stdout` inside the container. See
118118
`(*Container).ReadMongotLogs` to read the logs locally.
119119

120120
#### WithMongotLogToStderr
121121

122-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
122+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
123123

124124
This functional option writes the mongot logs to `/dev/stderr` inside the container. See
125125
`(*Container).ReadMongotLogs` to read the logs locally.
126126

127127
#### WithRunnerLogFile
128128

129-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
129+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
130130

131131
This functional option writes the runner logs to `/tmp/runner.log` inside the container. See
132132
`(*Container).ReadRunnerLogs` to read the logs locally.
133133

134134
#### WithRunnerLogToStdout
135135

136-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
136+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
137137

138138
This functional option writes the runner logs to `/dev/stdout` inside the container. See
139139
`(*Container).ReadRunnerLogs` to read the logs locally.
140140

141141
#### WithRunnerLogToStderr
142142

143-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
143+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
144144

145145
This functional option writes the runner logs to `/dev/stderr` inside the container. See
146146
`(*Container).ReadRunnerLogs` to read the logs locally.
@@ -154,7 +154,7 @@ The MongoDB Atlas Local container exposes the following methods:
154154

155155
#### ConnectionString
156156

157-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
157+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
158158

159159
The `ConnectionString` method returns the connection string to connect to the MongoDB Atlas Local container.
160160
It returns a string with the format `mongodb://<host>:<port>[/<db>]/?directConnection=true[&authSource=admin]`.
@@ -167,7 +167,7 @@ It can be used to configure a MongoDB client (`go.mongodb.org/mongo-driver/v2/mo
167167

168168
#### ReadMongotLogs
169169

170-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
170+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
171171

172172
The `ReadMongotLogs` returns a reader for the log solution specified when constructing the container.
173173

@@ -178,7 +178,7 @@ The `ReadMongotLogs` returns a reader for the log solution specified when constr
178178

179179
#### ReadRunnerLogs
180180

181-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
181+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
182182

183183
The `ReadRunnerLogs` returns a reader for the log solution specified when constructing the container.
184184

docs/modules/nebulagraph.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NebulaGraph
22

3-
Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
3+
Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/nebulagraph
2424

2525
### RunCluster function
2626

27-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
27+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
2828

2929
The NebulaGraph module provides a function to create a complete NebulaGraph cluster within a Docker network:
3030

@@ -92,7 +92,7 @@ The `Cluster` struct provides the following methods:
9292

9393
#### ConnectionString
9494

95-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
95+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
9696

9797
Returns the host:port string for connecting to the NebulaGraph graph service (graphd).
9898

@@ -102,7 +102,7 @@ func (c *Cluster) ConnectionString(ctx context.Context) (string, error)
102102

103103
#### Terminate
104104

105-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
105+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
106106

107107
Stops and removes all containers in the NebulaGraph cluster (Meta, Storage, Graph, and Activator services) and cleans up the associated Docker network.
108108

docs/modules/redpanda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The `WithEnableSchemaRegistryHTTPBasicAuth` enables HTTP basic authentication fo
124124

125125
#### WithHTTPProxyAuthMethod
126126

127-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
127+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
128128

129129
The `WithHTTPProxyAuthMethod` sets the authentication method for the HTTP Proxy API (PandaProxy). For HTTP Proxy to have BasicAuth, SASL must be enabled. See `WithEnableSASL()`.
130130

@@ -199,7 +199,7 @@ is an HTTP-based API and thus the returned format will be: http://host:port.
199199
200200
#### HTTPProxyAddress
201201
202-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
202+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
203203
204204
HTTPProxyAddress returns the address to the HTTP Proxy API (PandaProxy). This
205205
is an HTTP-based API and thus the returned format will be: http://host:port.

docs/modules/registry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ If the push operation is successful, the method will internally wait for the ima
139139

140140
#### PullImage
141141

142-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
142+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
143143

144144
The `PullImage` method allows to pull an image to local Docker daemon.
145145
This method downloads (copies) the specified image reference so it becomes available locally for further operations such as tagging or pushing.
@@ -154,7 +154,7 @@ It receives the Go context and the image reference as parameters, pulling the im
154154
155155
#### TagImage
156156
157-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
157+
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.39.0"><span class="tc-version">:material-tag: v0.39.0</span></a>
158158
159159
The `TagImage` method allows to tag an image from the local Registry. It receives the Go context, the image reference and the name of the new tag as parameters.
160160

0 commit comments

Comments
 (0)