Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b56e703
Release 11.0.0
cristianrgreco Mar 18, 2025
786e367
Fix lint
cristianrgreco Mar 18, 2025
4e3651b
Arangojs already dropped node 18 support even though it is supported
cristianrgreco Mar 18, 2025
4400f34
Set minimum node version to 20
cristianrgreco Mar 18, 2025
ccdb52b
Fixes for docker-compose
cristianrgreco Mar 18, 2025
c12a2f1
Fix typo
cristianrgreco Mar 18, 2025
f701426
Fixes for undici
cristianrgreco Mar 18, 2025
215abd8
Fixes for docker-compose
cristianrgreco Mar 18, 2025
898bbb2
Fix test helper
cristianrgreco Mar 18, 2025
42f1afe
Remove default images from modules
cristianrgreco Mar 18, 2025
c24b783
Fixes
cristianrgreco Mar 18, 2025
ae48eda
Try re-enabling couchbase tests
cristianrgreco Mar 19, 2025
8d72a34
Fix elasticsearch tests
cristianrgreco Mar 19, 2025
3c11b70
Merge branch 'main' into release-11.0.0
cristianrgreco Mar 19, 2025
21ec355
Update README
cristianrgreco Mar 19, 2025
e03ddd5
Merge branch 'main' into release-11.0.0
cristianrgreco Mar 21, 2025
e854d5a
Fix compilation issues + add CICD step
cristianrgreco Mar 21, 2025
ceaae83
Update pipeline
cristianrgreco Mar 21, 2025
095c9eb
Update pipeline
cristianrgreco Mar 21, 2025
e938940
Update pipeline
cristianrgreco Mar 21, 2025
d22f402
Update pipeline
cristianrgreco Mar 21, 2025
3213a46
Update pipeline
cristianrgreco Mar 21, 2025
653f53f
Merge branch 'main' into release-11.0.0
cristianrgreco Mar 22, 2025
8858c07
Merge branch 'main' into release-11.0.0
cristianrgreco Mar 22, 2025
cbf237d
Ignore scripts when compiling
cristianrgreco Mar 22, 2025
05baff3
Remove unnecessary unique port generator
cristianrgreco Mar 24, 2025
ace19a0
Merge branch 'main' into release-11.0.0
cristianrgreco Mar 24, 2025
2297ff0
Fix azurecosmosdb import
cristianrgreco Mar 24, 2025
20cdb6d
Merge branch 'main' into release-11.0.0
cristianrgreco Apr 6, 2025
08a76b2
Update postgresql snapshot tests
cristianrgreco Apr 6, 2025
418e729
Specify tags for gcloud containers
cristianrgreco Apr 6, 2025
bea105b
Fix azurite tests
cristianrgreco Apr 6, 2025
1283cd6
Merge branch 'main' into release-11.0.0
cristianrgreco Apr 9, 2025
f45453a
Fix compilation issue
cristianrgreco Apr 9, 2025
5111f7e
Add node 24 to pipeline matrix
cristianrgreco May 7, 2025
b263dad
Merge branch 'main' into release-11.0.0
cristianrgreco May 7, 2025
4da5869
Update deps, specifically jwa
cristianrgreco May 8, 2025
f60ba18
Fix compilation issues
cristianrgreco May 8, 2025
172ebec
Revert msw update for gcloud module
cristianrgreco May 8, 2025
c46c561
@mswjs/interceptors override
cristianrgreco May 8, 2025
0be7eab
Remove comment
cristianrgreco May 8, 2025
68a03bc
Merge branch 'main' into release-11.0.0
cristianrgreco May 22, 2025
06daa8b
Simplify configuration strategy
cristianrgreco May 22, 2025
ac9bc55
Merge branch 'main' into release-11.0.0
cristianrgreco May 22, 2025
db0f1ff
Update redis test
cristianrgreco May 22, 2025
9b57beb
Merge branch 'main' into release-11.0.0
cristianrgreco May 22, 2025
9f6b9b1
Merge branch 'main' into release-11.0.0
cristianrgreco May 23, 2025
8dc8d93
Bump nvmrc from 22 -> 24
cristianrgreco May 23, 2025
ee43b3a
Merge branch 'main' into release-11.0.0
cristianrgreco May 23, 2025
7074057
Remove @types/couchbase
cristianrgreco May 23, 2025
9787374
Bump TS lib/target from ES2022->ES2023
cristianrgreco May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "18"
"version": "24"
},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:

- name: Update versions
run: |
npm version ${{ github.event.release.tag_name }} -ws --allow-same-version
npm version ${{ github.event.release.tag_name }} --ws --allow-same-version
for module in packages/modules/*; do npm install testcontainers@${{ github.event.release.tag_name }} --save -w $module; done
sed -i -E "s/(sonar.projectVersion)=.+/\1=${{ github.event.release.tag_name }}/" sonar-project.properties

- name: Build packages
run: |
npm ci --omit=optional
npm run build -ws
npm run build --ws

- name: Git commit and push
run: |
git commit -am "${{ github.event.release.tag_name }}"
git push

- name: Publish packages to NPM
run: npm publish -ws
run: npm publish --ws
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
40 changes: 36 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,53 @@ jobs:
uses: ./.github/actions/npm-setup
with:
runner: ubuntu-22.04
node-version: 22.x
node-version: 24.x
workspace: "${{ matrix.module }}"
- name: Code linting
env:
WORKSPACE_PATH: ${{ steps.npm-install.outputs.workspace_path }}
run: npm run lint:ci

compile:
if: ${{ needs.detect-modules.outputs.modules_count > 0 }}
name: Compile
needs:
- detect-modules
- lint
strategy:
fail-fast: false
matrix:
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
runs-on: ubuntu-22.04
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Install Node and Dependencies
id: npm-install
uses: ./.github/actions/npm-setup
with:
runner: ubuntu-22.04
node-version: 24.x
workspace: "${{ matrix.module }}"
- name: Compile
run: |
npm run build --ignore-scripts --workspace packages/testcontainers -- --project tsconfig.json
if [ "${{ matrix.module }}" != "testcontainers" ]; then
npm run build --ignore-scripts --workspace ${{ steps.npm-install.outputs.workspace_path }} -- --project tsconfig.json --noEmit
fi

smoke-test:
if: ${{ needs.detect-modules.outputs.modules_count > 0 }}
needs:
- detect-modules
- lint
- compile
name: Smoke tests
strategy:
fail-fast: true
matrix:
runner: [ubuntu-22.04]
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
runs-on: ${{ matrix.runner }}
steps:
- name: Code checkout
Expand Down Expand Up @@ -111,12 +140,13 @@ jobs:
needs:
- detect-modules
- lint
- compile
- smoke-test
strategy:
fail-fast: false
matrix:
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
uses: ./.github/workflows/test-template.yml
with:
runner: ubuntu-22.04
Expand All @@ -130,13 +160,14 @@ jobs:
needs:
- detect-modules
- lint
- compile
- smoke-test
- test
strategy:
fail-fast: false
matrix:
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
uses: ./.github/workflows/test-template.yml
with:
runner: ubuntu-22.04
Expand All @@ -150,6 +181,7 @@ jobs:
needs:
- detect-modules
- lint
- compile
- smoke-test
- test
- test-podman
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref }}

- name: Install NodeJS 18.x
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 24.x

- name: Install dependencies
run: npm ci --omit=optional
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v24
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 - 2023 Cristian Greco
Copyright (c) 2018 - 2025 Cristian Greco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ See [LICENSE](https://github.com/testcontainers/testcontainers-node/blob/main/LI

## Copyright

Copyright (c) 2018 - 2023 Cristian Greco and other authors.
Copyright (c) 2018 - 2025 Cristian Greco and other authors.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for how to contribute to this repo.

See [contributors](https://github.com/testcontainers/testcontainers-node/graphs/contributors/) for all contributors.


----
---

Join our [Slack workspace](https://slack.testcontainers.org/) | [Testcontainers OSS](https://java.testcontainers.org/) | [Testcontainers Cloud](https://www.testcontainers.cloud/)
Loading