Skip to content

Commit 41bd601

Browse files
committed
chore: use new version (v0.38.0) in modules and examples
1 parent a771fee commit 41bd601

File tree

65 files changed

+88
-88
lines changed

Some content is hidden

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

65 files changed

+88
-88
lines changed

docs/features/common_functional_options.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ At the same time, it's possible to set a wait strategy and a custom deadline wit
3838

3939
##### WithAdditionalWaitStrategy
4040

41-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
41+
- 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>
4242

4343
If you need to add a wait strategy to the existing wait strategy, you can use `testcontainers.WithAdditionalWaitStrategy`.
4444

@@ -47,7 +47,7 @@ If you need to add a wait strategy to the existing wait strategy, you can use `t
4747

4848
##### WithAdditionalWaitStrategyAndDeadline
4949

50-
- - Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
50+
- - 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>
5151

5252
At the same time, it's possible to add a wait strategy and a custom deadline with `testcontainers.WithAdditionalWaitStrategyAndDeadline`.
5353

@@ -113,13 +113,13 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
113113

114114
##### WithLifecycleHooks
115115

116-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
116+
- 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>
117117

118118
If you need to set the lifecycle hooks for the container, you can use `testcontainers.WithLifecycleHooks`, which replaces the existing lifecycle hooks with the new ones.
119119

120120
##### WithAdditionalLifecycleHooks
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.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
123123

124124
You can also use `testcontainers.WithAdditionalLifecycleHooks`, which appends the new lifecycle hooks to the existing ones.
125125

@@ -261,7 +261,7 @@ func (g *TestLogConsumer) Accept(l Log) {
261261

262262
##### WithLogConsumerConfig
263263

264-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
264+
- 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>
265265

266266
If you need to set the log consumer config for the container, you can use `testcontainers.WithLogConsumerConfig`. This option completely replaces the existing log consumer config, including the log consumers and the log production options.
267267

@@ -295,7 +295,7 @@ Please read the [Following Container Logs](/features/follow_logs) documentation
295295

296296
##### WithAlwaysPull
297297

298-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
298+
- 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>
299299

300300
If you need to pull the image before starting the container, you can use `testcontainers.WithAlwaysPull()`.
301301

@@ -318,7 +318,7 @@ Using the `WithImageSubstitutors` options, you could define your own substitutio
318318

319319
##### WithImagePlatform
320320

321-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
321+
- 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>
322322

323323
If you need to set the platform for a container, you can use `testcontainers.WithImagePlatform(platform string)`.
324324

@@ -337,7 +337,7 @@ In the case you need to retrieve the network name, you can simply read it from t
337337

338338
##### WithNetworkByName
339339

340-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
340+
- 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>
341341

342342
If you want to attach your containers to an already existing Docker network by its name, you can use the `network.WithNetworkName(aliases []string, networkName string)` option, which receives an alias as parameter and the network name, attaching the container to it, and setting the network alias for that network.
343343

@@ -346,7 +346,7 @@ If you want to attach your containers to an already existing Docker network by i
346346

347347
##### WithBridgeNetwork
348348

349-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
349+
- 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>
350350

351351
If you want to attach your containers to the `bridge` network, you can use the `network.WithBridgeNetwork()` option.
352352

@@ -417,7 +417,7 @@ The above example is updating the predefined command of the image, **appending**
417417

418418
##### WithName
419419

420-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
420+
- 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>
421421

422422
If you need to set the name of the container, you can use the `testcontainers.WithName` option.
423423

@@ -433,7 +433,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
433433

434434
##### WithNoStart
435435

436-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
436+
- 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>
437437

438438
If you need to prevent the container from being started after creation, you can use the `testcontainers.WithNoStart` option.
439439

docs/features/common_functional_options_list.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ The following options are exposed by the `testcontainers` package.
55
- [`WithExposedPorts`](/features/creating_container/#withexposedports) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
66
- [`WithEnv`](/features/creating_container/#withenv) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.29.0"><span class="tc-version">:material-tag: v0.29.0</span></a>
77
- [`WithWaitStrategy`](/features/creating_container/#withwaitstrategy) 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>
8-
- [`WithAdditionalWaitStrategy`](/features/creating_container/#withadditionalwaitstrategy) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
8+
- [`WithAdditionalWaitStrategy`](/features/creating_container/#withadditionalwaitstrategy) 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>
99
- [`WithWaitStrategyAndDeadline`](/features/creating_container/#withwaitstrategyanddeadline) 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>
10-
- [`WithAdditionalWaitStrategyAndDeadline`](/features/creating_container/#withadditionalwaitstrategyanddeadline) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
10+
- [`WithAdditionalWaitStrategyAndDeadline`](/features/creating_container/#withadditionalwaitstrategyanddeadline) 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>
1111
- [`WithEntrypoint`](/features/creating_container/#withentrypoint) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
1212
- [`WithEntrypointArgs`](/features/creating_container/#withentrypointargs) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
1313
- [`WithCmd`](/features/creating_container/#withcmd) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
@@ -16,8 +16,8 @@ The following options are exposed by the `testcontainers` package.
1616

1717
### Lifecycle Options
1818

19-
- [`WithLifecycleHooks`](/features/creating_container/#withlifecyclehooks) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
20-
- [`WithAdditionalLifecycleHooks`](/features/creating_container/#withadditionallifecyclehooks) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
19+
- [`WithLifecycleHooks`](/features/creating_container/#withlifecyclehooks) 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>
20+
- [`WithAdditionalLifecycleHooks`](/features/creating_container/#withadditionallifecyclehooks) 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>
2121
- [`WithStartupCommand`](/features/creating_container/#withstartupcommand) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.25.0"><span class="tc-version">:material-tag: v0.25.0</span></a>
2222
- [`WithAfterReadyCommand`](/features/creating_container/#withafterreadycommand) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.28.0"><span class="tc-version">:material-tag: v0.28.0</span></a>
2323

@@ -35,20 +35,20 @@ The following options are exposed by the `testcontainers` package.
3535
### Logging Options
3636

3737
- [`WithLogConsumers`](/features/creating_container/#withlogconsumers) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.28.0"><span class="tc-version">:material-tag: v0.28.0</span></a>
38-
- [`WithLogConsumerConfig`](/features/creating_container/#withlogconsumerconfig) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
38+
- [`WithLogConsumerConfig`](/features/creating_container/#withlogconsumerconfig) 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>
3939
- [`WithLogger`](/features/creating_container/#withlogger) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.29.0"><span class="tc-version">:material-tag: v0.29.0</span></a>
4040

4141
### Image Options
4242

43-
- [`WithAlwaysPull`](/features/creating_container/#withalwayspull) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
43+
- [`WithAlwaysPull`](/features/creating_container/#withalwayspull) 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>
4444
- [`WithImageSubstitutors`](/features/creating_container/#withimagesubstitutors) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.26.0"><span class="tc-version">:material-tag: v0.26.0</span></a>
45-
- [`WithImagePlatform`](/features/creating_container/#withimageplatform) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
45+
- [`WithImagePlatform`](/features/creating_container/#withimageplatform) 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>
4646

4747
### Networking Options
4848

4949
- [`WithNetwork`](/features/creating_container/#withnetwork) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.27.0"><span class="tc-version">:material-tag: v0.27.0</span></a>
50-
- [`WithNetworkByName`](/features/creating_container/#withnetworkbyname) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
51-
- [`WithBridgeNetwork`](/features/creating_container/#withbridgenetwork) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
50+
- [`WithNetworkByName`](/features/creating_container/#withnetworkbyname) 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>
51+
- [`WithBridgeNetwork`](/features/creating_container/#withbridgenetwork) 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>
5252
- [`WithNewNetwork`](/features/creating_container/#withnewnetwork) Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.27.0"><span class="tc-version">:material-tag: v0.27.0</span></a>
5353

5454
### Advanced Options
@@ -58,8 +58,8 @@ The following options are exposed by the `testcontainers` package.
5858
- [`WithHostConfigModifier`](/features/creating_container/#withhostconfigmodifier) 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>
5959
- [`WithEndpointSettingsModifier`](/features/creating_container/#withendpointsettingsmodifier) 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>
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>
61-
- [`WithName`](/features/creating_container/#withname) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
62-
- [`WithNoStart`](/features/creating_container/#withnostart) Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
61+
- [`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>
62+
- [`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>
6363

6464
### Experimental Options
6565

docs/modules/memcached.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Memcached
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.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/memcached
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.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
2828

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

@@ -53,7 +53,7 @@ The Memcached container exposes the following methods:
5353

5454
#### HostPort
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.38.0"><span class="tc-version">:material-tag: v0.38.0</span></a>
5757

5858
The `HostPort` method returns the host and port of the Memcached container, in the format `host:port`. Use this method to connect to the Memcached container from your application.
5959

docs/modules/valkey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In the case you have a custom config file for Valkey, it's possible to copy that
6666

6767
#### WithTLS
6868

69-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
69+
- 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>
7070

7171
In the case you want to enable TLS for the Valkey container, you can use the `WithTLS()` option. This options enables TLS on the `6379/tcp` port and uses a secure URL (e.g. `rediss://host:port`).
7272

@@ -93,7 +93,7 @@ This method returns the connection string to connect to the Valkey container, us
9393

9494
#### TLSConfig
9595

96-
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
96+
- 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>
9797

9898
This method returns the TLS configuration for the Valkey container, nil if TLS is not enabled.
9999

examples/nginx/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.23.6
66

77
require (
88
github.com/stretchr/testify v1.10.0
9-
github.com/testcontainers/testcontainers-go v0.37.0
9+
github.com/testcontainers/testcontainers-go v0.38.0
1010
)
1111

1212
replace github.com/testcontainers/testcontainers-go => ../..

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ nav:
149149
- Getting help: getting_help.md
150150
edit_uri: edit/main/docs/
151151
extra:
152-
latest_version: v0.37.0
152+
latest_version: v0.38.0

modules/aerospike/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.23.0
55
require (
66
github.com/aerospike/aerospike-client-go/v8 v8.2.0
77
github.com/stretchr/testify v1.10.0
8-
github.com/testcontainers/testcontainers-go v0.37.0
8+
github.com/testcontainers/testcontainers-go v0.38.0
99
)
1010

1111
require (

modules/arangodb/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.1
77
require (
88
github.com/arangodb/go-driver/v2 v2.1.3
99
github.com/stretchr/testify v1.10.0
10-
github.com/testcontainers/testcontainers-go v0.37.0
10+
github.com/testcontainers/testcontainers-go v0.38.0
1111
)
1212

1313
require (

modules/artemis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/docker/go-connections v0.5.0
99
github.com/go-stomp/stomp/v3 v3.0.5
1010
github.com/stretchr/testify v1.10.0
11-
github.com/testcontainers/testcontainers-go v0.37.0
11+
github.com/testcontainers/testcontainers-go v0.38.0
1212
)
1313

1414
require (

modules/azure/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/Azure/azure-sdk-for-go/sdk/storage/azqueue v1.0.0
1212
github.com/docker/go-connections v0.5.0
1313
github.com/stretchr/testify v1.10.0
14-
github.com/testcontainers/testcontainers-go v0.37.0
14+
github.com/testcontainers/testcontainers-go v0.38.0
1515
github.com/testcontainers/testcontainers-go/modules/mssql v0.37.0
1616
)
1717

0 commit comments

Comments
 (0)