You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by hg...@apache.org on 2025/08/07 13:12:08 UTC
(iggy) branch io_uring_tpc updated: Merge master (#2088)
This is an automated email from the ASF dual-hosted git repository.
hgruszecki pushed a commit to branch io_uring_tpc
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/io_uring_tpc by this push:
new 42a1dc12 Merge master (#2088)
42a1dc12 is described below
commit 42a1dc12d704a9d026f0a42a390e239bf24c6ddf
Author: Grzegorz Koszyk <11...@users.noreply.github.com>
AuthorDate: Thu Aug 7 15:12:04 2025 +0200
Merge master (#2088)
Signed-off-by: Sawan Srivastava <sa...@gmail.com>
Co-authored-by: Nandakumar Vadivelu <na...@apache.org>
Co-authored-by: JarekDev <48...@users.noreply.github.com>
Co-authored-by: Chengxi <ch...@gmail.com>
Co-authored-by: Piotr Gankiewicz <pi...@gmail.com>
Co-authored-by: I-Hsin Cheng <57...@users.noreply.github.com>
Co-authored-by: T1B0 <T1...@users.noreply.github.com>
Co-authored-by: Albin Skott <cs...@users.noreply.github.com>
Co-authored-by: Sawan Srivastava <49...@users.noreply.github.com>
Co-authored-by: Ćukasz Zborek <lu...@gmail.com>
Co-authored-by: Hubert Gruszecki <h....@gmail.com>
Co-authored-by: Blake <64...@users.noreply.github.com>
Co-authored-by: Dima Tisnek <di...@gmail.com>
Co-authored-by: Ilya Suhodolets <72...@users.noreply.github.com>
Co-authored-by: Maciej Modzelewski <ma...@modzelewski.dev>
Co-authored-by: WangYang <50...@users.noreply.github.com>
---
.convco | 2 +-
.github/changed-files-config.json | 3 +
.github/workflows/ci-check-go-sdk.yml | 6 +-
.github/workflows/ci-check-pr.yml | 9 +-
.github/workflows/ci-check-python-sdk.yml | 66 +-
.github/workflows/ci-prod-rust.yml | 2 +-
.github/workflows/ci-publish-go.yml | 2 +-
.github/workflows/publish_connectors.yml | 2 +-
.github/workflows/publish_mcp.yml | 2 +-
.github/workflows/publish_server.yml | 2 +-
Cargo.lock | 166 +-
Cargo.toml | 16 +-
DEPENDENCIES.md | 114 +-
README.md | 50 +-
assets/iggy_mcp_server.png | Bin 0 -> 458441 bytes
bdd/docker-compose.yml | 2 +-
bdd/go/Dockerfile | 2 +-
bdd/go/go.mod | 8 +
bdd/go/go.sum | 54 +-
bdd/go/tests/basic_messaging_test.go | 353 +++
bdd/python/tests/test_basic_messaging.py | 2 +-
core/ai/mcp/Cargo.toml | 25 +-
core/bench/dashboard/frontend/.cargo/config.toml | 17 +
core/bench/dashboard/frontend/Cargo.toml | 19 +-
core/bench/dashboard/frontend/Trunk.toml | 17 +
core/bench/dashboard/server/Cargo.toml | 21 +-
core/bench/dashboard/server/src/.cargo/config.toml | 17 +
core/bench/dashboard/shared/Cargo.toml | 17 +
core/bench/runner/Cargo.toml | 17 +
core/bench/src/actors/consumer/backend.rs | 84 -
.../src/actors/consumer/benchmark_consumer.rs | 171 +-
.../high_level.rs} | 180 +-
.../mod.rs => consumer/client/interface.rs} | 21 +-
core/bench/src/actors/consumer/client/low_level.rs | 162 ++
.../actors/{producer => consumer/client}/mod.rs | 6 +-
.../bench/src/actors/consumer/low_level_backend.rs | 201 --
core/bench/src/actors/consumer/mod.rs | 6 +-
.../actors/consumer/typed_benchmark_consumer.rs | 100 +
core/bench/src/actors/mod.rs | 20 +
.../src/actors/producer/benchmark_producer.rs | 186 +-
.../bench/src/actors/producer/client/high_level.rs | 103 +
.../mod.rs => producer/client/interface.rs} | 26 +-
core/bench/src/actors/producer/client/low_level.rs | 113 +
core/bench/src/actors/producer/{ => client}/mod.rs | 6 +-
core/bench/src/actors/producer/mod.rs | 3 +-
.../actors/producer/typed_benchmark_producer.rs | 99 +
.../benchmark_producing_consumer.rs | 563 ++--
core/bench/src/actors/producing_consumer/mod.rs | 2 +-
.../typed_banchmark_producing_consumer.rs | 128 +
core/bench/src/benchmarks/common.rs | 42 +-
core/bench/src/utils/batch_generator.rs | 4 +
core/connectors/runtime/Cargo.toml | 2 +-
core/integration/Cargo.toml | 4 +-
.../data_integrity/verify_after_server_restart.rs | 6 +-
.../tests/server/scenarios/encryption_scenario.rs | 380 +++
core/integration/tests/server/scenarios/mod.rs | 1 +
core/sdk/src/clients/binary_consumer_group.rs | 3 +-
examples/go/README.md | 47 +
examples/go/common/consts.go | 23 +
examples/go/getting-started/consumer/main.go | 128 +
examples/go/getting-started/producer/main.go | 133 +
examples/go/go.mod | 12 +
examples/go/go.sum | 4 +
foreign/cpp/tests/e2e/server.toml | 17 +
foreign/go/contracts/message_header.go | 6 +-
.../java/examples/simple-consumer/build.gradle.kts | 2 +-
.../java/examples/simple-producer/build.gradle.kts | 2 +-
foreign/java/java-sdk/build.gradle.kts | 4 +-
foreign/node/package-lock.json | 2841 +++++++++++---------
foreign/node/src/e2e/tcp.topic.e2e.ts | 1 +
foreign/node/src/e2e/tcp.user.e2e.ts | 5 +
foreign/node/src/examples/stream-file-to-topic.ts | 102 +
foreign/node/src/examples/utils.ts | 33 +-
foreign/node/src/stream/consumer-stream.ts | 15 +-
foreign/node/src/tcp.e2e.ts | 2 +
foreign/node/src/wire/client/get-client.command.ts | 8 +-
foreign/node/src/wire/command-set.ts | 18 +-
.../consumer-group/ensure-group.virtual.command.ts | 52 +
.../src/wire/consumer-group/get-group.command.ts | 4 +-
foreign/node/src/wire/consumer-group/index.ts | 2 +-
foreign/node/src/wire/offset/get-offset.command.ts | 8 +-
.../ensure-stream.virtual.command.ts} | 23 +-
foreign/node/src/wire/stream/get-stream.command.ts | 4 +-
foreign/node/src/wire/stream/index.ts | 1 +
.../ensure-topic.virtual.command.ts} | 48 +-
foreign/node/src/wire/topic/get-topic.command.ts | 4 +-
foreign/node/src/wire/topic/index.ts | 1 +
foreign/node/src/wire/topic/topic.utils.ts | 2 +-
foreign/node/src/wire/user/get-user.command.ts | 8 +-
foreign/python/Cargo.toml | 26 +-
foreign/python/README.md | 4 +-
foreign/python/{iggy_py.pyi => apache_iggy.pyi} | 24 +-
foreign/python/pyproject.toml | 19 +-
foreign/python/python_examples/consumer.py | 2 +-
foreign/python/python_examples/producer.py | 2 +-
foreign/python/scripts/test.sh | 8 +-
foreign/python/src/bin/stub_gen.rs | 4 +-
foreign/python/src/client.rs | 13 +-
foreign/python/src/consumer.rs | 133 +-
foreign/python/src/identifier.rs | 10 +-
foreign/python/src/lib.rs | 2 +-
foreign/python/tests/conftest.py | 37 +-
foreign/python/tests/test_iggy_sdk.py | 4 +-
scripts/run-go-examples-from-readme.sh | 173 ++
web/package-lock.json | 1173 +++-----
.../[partitionId=i32]/messages/+page.svelte | 6 +-
106 files changed, 5180 insertions(+), 3655 deletions(-)
diff --git a/.convco b/.convco
index 2f7fc2cc..bc81e6aa 100644
--- a/.convco
+++ b/.convco
@@ -1 +1 @@
-scopeRegex: "(ci|sdk|server|connectors|cli|bench|misc|mcp|docs|io_uring|test|repo|deps|deps-dev)(,(ci|sdk|server|connectors|cli|bench|misc|mcp|docs|io_uring|test|repo|deps|deps-dev))*"
+scopeRegex: "(ci|sdk|server|connectors|cli|bench|misc|mcp|docs|io_uring|test|repo|deps|deps-dev|web)(,(ci|sdk|server|connectors|cli|bench|misc|mcp|docs|io_uring|test|repo|deps|deps-dev|web))*"
diff --git a/.github/changed-files-config.json b/.github/changed-files-config.json
index 0588b7a0..2515555a 100644
--- a/.github/changed-files-config.json
+++ b/.github/changed-files-config.json
@@ -30,6 +30,9 @@
"bdd/go/.*\\.go",
"bdd/go/go.mod",
"bdd/go/go.sum",
+ "examples/go/.*\\.go",
+ "examples/go/go.mod",
+ "examples/go/go.sum",
".github/workflows/ci-check-go-sdk.yml"
],
"java-sdk": [
diff --git a/.github/workflows/ci-check-go-sdk.yml b/.github/workflows/ci-check-go-sdk.yml
index 3d11c56c..08b2abd5 100644
--- a/.github/workflows/ci-check-go-sdk.yml
+++ b/.github/workflows/ci-check-go-sdk.yml
@@ -46,10 +46,14 @@ jobs:
- name: Unit Test
working-directory: foreign/go
run: go test -v ./...
+
+ - name: Run and Verify CLI Commands from Go SDK Examples README
+ run: ./scripts/run-go-examples-from-readme.sh
+
lint:
strategy:
matrix:
- module: [ foreign/go, bdd/go ]
+ module: [ foreign/go, bdd/go, examples/go ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/ci-check-pr.yml b/.github/workflows/ci-check-pr.yml
index 70fcbfef..543c1329 100644
--- a/.github/workflows/ci-check-pr.yml
+++ b/.github/workflows/ci-check-pr.yml
@@ -161,7 +161,14 @@ jobs:
ci-test-bdd:
name: ci-test-bdd
needs: pr-file-changes
- if: ${{ needs.pr-file-changes.outputs.trigger-bdd == 'true' }}
+ if: ${{
+ needs.pr-file-changes.outputs.trigger-rust == 'true' ||
+ needs.pr-file-changes.outputs.trigger-java-sdk == 'true' ||
+ needs.pr-file-changes.outputs.trigger-python-sdk == 'true' ||
+ needs.pr-file-changes.outputs.trigger-go-sdk == 'true' ||
+ needs.pr-file-changes.outputs.trigger-node-sdk == 'true' ||
+ needs.pr-file-changes.outputs.trigger-csharp-sdk == 'true' ||
+ needs.pr-file-changes.outputs.trigger-bdd == 'true' }}
uses: ./.github/workflows/ci-test-bdd.yml
finalize_pr:
diff --git a/.github/workflows/ci-check-python-sdk.yml b/.github/workflows/ci-check-python-sdk.yml
index 9c5a752f..a4f69ff3 100644
--- a/.github/workflows/ci-check-python-sdk.yml
+++ b/.github/workflows/ci-check-python-sdk.yml
@@ -29,7 +29,7 @@ on:
workflow_call:
push:
tags:
- - 'python-v*'
+ - "python-v*"
permissions:
contents: read
@@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
- python-version: '3.10'
+ python-version: "3.10"
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
@@ -58,10 +58,10 @@ jobs:
with:
target: ${{ matrix.target }}
working-directory: foreign/python
- before-script-linux: 'dnf install -y perl-IPC-Cmd && (python3 -m pip --version || python3 -m ensurepip)'
- manylinux: '2_28'
+ before-script-linux: "dnf install -y perl-IPC-Cmd && (python3 -m pip --version || python3 -m ensurepip)"
+ manylinux: "2_28"
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
- sccache: 'true'
+ sccache: "true"
- name: Set up Docker Buildx
if: matrix.target == 'x86_64'
uses: docker/setup-buildx-action@v3
@@ -80,31 +80,31 @@ jobs:
name: wheels-linux-${{ matrix.target }}
path: foreign/python/dist
- windows:
- runs-on: windows-latest
- strategy:
- matrix:
- target: [x64]
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-python@v5
- with:
- python-version: '3.10'
- architecture: ${{ matrix.target }}
- - name: Set up NASM
- uses: ilammy/setup-nasm@v1
- - name: Build wheels
- uses: PyO3/maturin-action@v1
- with:
- target: ${{ matrix.target }}
- working-directory: foreign/python
- args: --release --out dist --find-interpreter
- sccache: 'true'
- - name: Upload wheels
- uses: actions/upload-artifact@v4
- with:
- name: wheels-windows-${{ matrix.target }}
- path: foreign/python/dist
+ # windows:
+ # runs-on: windows-latest
+ # strategy:
+ # matrix:
+ # target: [x64]
+ # steps:
+ # - uses: actions/checkout@v4
+ # - uses: actions/setup-python@v5
+ # with:
+ # python-version: "3.10"
+ # architecture: ${{ matrix.target }}
+ # - name: Set up NASM # Action disallowed
+ # uses: ilammy/setup-nasm@v1
+ # - name: Build wheels
+ # uses: PyO3/maturin-action@v1
+ # with:
+ # target: ${{ matrix.target }}
+ # working-directory: foreign/python
+ # args: --release --out dist --find-interpreter
+ # sccache: "true"
+ # - name: Upload wheels
+ # uses: actions/upload-artifact@v4
+ # with:
+ # name: wheels-windows-${{ matrix.target }}
+ # path: foreign/python/dist
macos:
runs-on: macos-latest
@@ -115,14 +115,14 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
- python-version: '3.10'
+ python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
working-directory: foreign/python
args: --release --out dist --find-interpreter
- sccache: 'true'
+ sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -149,7 +149,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/python-v')
- needs: [linux, windows, macos, sdist]
+ needs: [linux, macos, sdist]
steps:
- uses: actions/download-artifact@v4
with:
diff --git a/.github/workflows/ci-prod-rust.yml b/.github/workflows/ci-prod-rust.yml
index f7672d0f..ee40fbb1 100644
--- a/.github/workflows/ci-prod-rust.yml
+++ b/.github/workflows/ci-prod-rust.yml
@@ -97,7 +97,7 @@ jobs:
with:
platforms: ${{ matrix.platform.qemu_arch }}
- name: Set up Docker
- uses: crazy-max/ghaction-setup-docker@v4
+ uses: docker/setup-docker-action@v4
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
diff --git a/.github/workflows/ci-publish-go.yml b/.github/workflows/ci-publish-go.yml
index 5cab1bf5..8b52a66a 100644
--- a/.github/workflows/ci-publish-go.yml
+++ b/.github/workflows/ci-publish-go.yml
@@ -31,7 +31,7 @@ jobs:
- name: Validate tag format
run: |
- if [[ ! "$TAG" =~ ^foreign/go/v([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$ ]]; then
+ if [[ ! "$TAG" =~ ^foreign/go/v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z]+([.-][0-9A-Za-z]+)*)?$ ]]; then
echo "Tag $TAG does not match required format: foreign/go/vX.Y.Z"
exit 1
fi
diff --git a/.github/workflows/publish_connectors.yml b/.github/workflows/publish_connectors.yml
index 9f269a7e..2fcb3e89 100644
--- a/.github/workflows/publish_connectors.yml
+++ b/.github/workflows/publish_connectors.yml
@@ -162,7 +162,7 @@ jobs:
if: ${{ matrix.platform.cross }}
- name: Set up Docker
- uses: crazy-max/ghaction-setup-docker@v4
+ uses: docker/setup-docker-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
diff --git a/.github/workflows/publish_mcp.yml b/.github/workflows/publish_mcp.yml
index 6bcad502..4268d000 100644
--- a/.github/workflows/publish_mcp.yml
+++ b/.github/workflows/publish_mcp.yml
@@ -162,7 +162,7 @@ jobs:
if: ${{ matrix.platform.cross }}
- name: Set up Docker
- uses: crazy-max/ghaction-setup-docker@v4
+ uses: docker/setup-docker-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
diff --git a/.github/workflows/publish_server.yml b/.github/workflows/publish_server.yml
index 33c9c857..c2c7c58f 100644
--- a/.github/workflows/publish_server.yml
+++ b/.github/workflows/publish_server.yml
@@ -164,7 +164,7 @@ jobs:
if: ${{ matrix.platform.cross }}
- name: Set up Docker
- uses: crazy-max/ghaction-setup-docker@v4
+ uses: docker/setup-docker-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
diff --git a/Cargo.lock b/Cargo.lock
index 91504274..c566720d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -345,9 +345,9 @@ dependencies = [
[[package]]
name = "anstream"
-version = "0.6.19"
+version = "0.6.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
+checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192"
dependencies = [
"anstyle",
"anstyle-parse",
@@ -375,22 +375,22 @@ dependencies = [
[[package]]
name = "anstyle-query"
-version = "1.1.3"
+version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
+checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
name = "anstyle-wincon"
-version = "3.0.9"
+version = "3.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
+checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a"
dependencies = [
"anstyle",
"once_cell_polyfill",
- "windows-sys 0.59.0",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -422,9 +422,9 @@ checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
[[package]]
name = "arcshift"
-version = "0.4.0"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95bcd258b3b56d33539bfd0c0bd423b74ee05abe628386a3a000a88c0147748f"
+checksum = "809ce7e2c99d17c161c0ca1673665bab3a3e1aa277b0f793abffc66b57c32d9f"
[[package]]
name = "arraydeque"
@@ -542,9 +542,9 @@ dependencies = [
[[package]]
name = "async-lock"
-version = "3.4.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18"
+checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc"
dependencies = [
"event-listener",
"event-listener-strategy",
@@ -1092,7 +1092,7 @@ version = "3.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "577ae008f2ca11ca7641bd44601002ee5ab49ef0af64846ce1ab6057218a5cc1"
dependencies = [
- "darling 0.21.0",
+ "darling 0.21.1",
"ident_case",
"prettyplease",
"proc-macro2",
@@ -1277,9 +1277,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.30"
+version = "1.2.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
+checksum = "c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2"
dependencies = [
"jobserver",
"libc",
@@ -1379,9 +1379,9 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.5.42"
+version = "4.5.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882"
+checksum = "50fd97c9dc2399518aa331917ac6f274280ec5eb34e555dd291899745c48ec6f"
dependencies = [
"clap_builder",
"clap_derive",
@@ -1389,9 +1389,9 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.5.42"
+version = "4.5.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966"
+checksum = "c35b5830294e1fa0462034af85cc95225a4cb07092c088c55bda3147cfcd8f65"
dependencies = [
"anstream",
"anstyle",
@@ -1680,7 +1680,7 @@ dependencies = [
"rust-ini",
"serde",
"serde_json",
- "toml 0.9.4",
+ "toml 0.9.5",
"winnow 0.7.12",
"yaml-rust2",
]
@@ -2123,7 +2123,7 @@ dependencies = [
"futures-util",
"hyper",
"hyper-util",
- "rustls-platform-verifier 0.6.0",
+ "rustls-platform-verifier 0.6.1",
"send_wrapper",
"tower-service",
]
@@ -2140,12 +2140,12 @@ dependencies = [
[[package]]
name = "darling"
-version = "0.21.0"
+version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a79c4acb1fd5fa3d9304be4c76e031c54d2e92d172a393e24b19a14fe8532fe9"
+checksum = "d6b136475da5ef7b6ac596c0e956e37bad51b85b987ff3d5e230e964936736b2"
dependencies = [
- "darling_core 0.21.0",
- "darling_macro 0.21.0",
+ "darling_core 0.21.1",
+ "darling_macro 0.21.1",
]
[[package]]
@@ -2164,9 +2164,9 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.21.0"
+version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74875de90daf30eb59609910b84d4d368103aaec4c924824c6799b28f77d6a1d"
+checksum = "b44ad32f92b75fb438b04b68547e521a548be8acc339a6dacc4a7121488f53e6"
dependencies = [
"fnv",
"ident_case",
@@ -2189,11 +2189,11 @@ dependencies = [
[[package]]
name = "darling_macro"
-version = "0.21.0"
+version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e79f8e61677d5df9167cd85265f8e5f64b215cdea3fb55eebc3e622e44c7a146"
+checksum = "2b5be8a7a562d315a5b92a630c30cec6bcf663e6673f00fbb69cca66a6f521b9"
dependencies = [
- "darling_core 0.21.0",
+ "darling_core 0.21.1",
"quote",
"syn 2.0.104",
]
@@ -2635,9 +2635,9 @@ dependencies = [
[[package]]
name = "event-listener"
-version = "5.4.0"
+version = "5.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae"
+checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab"
dependencies = [
"concurrent-queue",
"parking",
@@ -2730,9 +2730,9 @@ dependencies = [
[[package]]
name = "file-operation"
-version = "0.5.16"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db833ed44bb54a24e43acc553147e7d0a8f1111128b261646afd11c28151a79c"
+checksum = "123d84838d0d708f7486c4c99ff04557b473987868cf50fc3cca7ac62713956c"
dependencies = [
"tokio",
]
@@ -2913,9 +2913,9 @@ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
[[package]]
name = "futures-lite"
-version = "2.6.0"
+version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532"
+checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad"
dependencies = [
"fastrand",
"futures-core",
@@ -3509,9 +3509,9 @@ dependencies = [
[[package]]
name = "governor"
-version = "0.10.0"
+version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cbe789d04bf14543f03c4b60cd494148aa79438c8440ae7d81a7778147745c3"
+checksum = "444405bbb1a762387aa22dd569429533b54a1d8759d35d3b64cb39b0293eaa19"
dependencies = [
"cfg-if",
"dashmap",
@@ -3551,9 +3551,9 @@ dependencies = [
[[package]]
name = "h2"
-version = "0.4.11"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785"
+checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386"
dependencies = [
"atomic-waker",
"bytes",
@@ -3817,7 +3817,7 @@ dependencies = [
"bytes",
"futures-channel",
"futures-util",
- "h2 0.4.11",
+ "h2 0.4.12",
"http 1.3.1",
"http-body",
"httparse",
@@ -4075,7 +4075,7 @@ dependencies = [
"serde",
"sysinfo 0.36.1",
"tokio",
- "toml 0.9.4",
+ "toml 0.9.5",
"tracing",
"tracing-appender",
"tracing-subscriber",
@@ -4126,7 +4126,7 @@ dependencies = [
"strum",
"thiserror 2.0.12",
"tokio",
- "toml 0.9.4",
+ "toml 0.9.5",
"tower-http",
"tracing",
"tracing-subscriber",
@@ -4169,7 +4169,7 @@ dependencies = [
"serde",
"serde_json",
"tokio",
- "toml 0.9.4",
+ "toml 0.9.5",
"tracing",
]
@@ -4782,9 +4782,9 @@ dependencies = [
[[package]]
name = "libbz2-rs-sys"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "775bf80d5878ab7c2b1080b5351a48b2f737d9f6f8b383574eebcc22be0dfccb"
+checksum = "2c4a545a15244c7d945065b5d392b2d2d7f21526fba56ce51467b06ed445e8f7"
[[package]]
name = "libc"
@@ -4862,9 +4862,9 @@ dependencies = [
[[package]]
name = "libredox"
-version = "0.1.8"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "360e552c93fa0e8152ab463bc4c4837fce76a225df11dfaeea66c313de5e61f7"
+checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3"
dependencies = [
"bitflags 2.9.1",
"libc",
@@ -5264,9 +5264,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
[[package]]
name = "notify"
-version = "8.1.0"
+version = "8.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3163f59cd3fa0e9ef8c32f242966a7b9994fd7378366099593e0e73077cd8c97"
+checksum = "4d3d07927151ff8575b7087f245456e549fea62edf0ec4e565a5ee50c8402bc3"
dependencies = [
"bitflags 2.9.1",
"fsevent-sys",
@@ -6001,9 +6001,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
[[package]]
name = "polling"
-version = "3.9.0"
+version = "3.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ee9b2fa7a4517d2c91ff5bc6c297a427a96749d15f98fcdbb22c05571a4d4b7"
+checksum = "b5bd19146350fe804f7cb2669c851c03d69da628803dab0d98018142aaa5d829"
dependencies = [
"cfg-if",
"concurrent-queue",
@@ -6282,9 +6282,9 @@ dependencies = [
[[package]]
name = "prost-reflect"
-version = "0.16.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e6b545c556471033fc1099868fca468bff8cf034f7bb9153b445f24d00aa28d"
+checksum = "3c9ae1e4084d9737646934f5ac36a8d77f9a82f962f43e267a382fde4f2a903d"
dependencies = [
"logos",
"miette",
@@ -6581,9 +6581,9 @@ dependencies = [
[[package]]
name = "redox_users"
-version = "0.5.0"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b"
+checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
dependencies = [
"getrandom 0.2.16",
"libredox",
@@ -6808,9 +6808,9 @@ dependencies = [
[[package]]
name = "rmcp"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "824daba0a34f8c5c5392295d381e0800f88fd986ba291699f8785f05fa344c1e"
+checksum = "1f0d0d5493be0d181a62db489eab7838669b81885972ca00ceca893cf6ac2883"
dependencies = [
"axum 0.8.4",
"base64 0.22.1",
@@ -6840,11 +6840,11 @@ dependencies = [
[[package]]
name = "rmcp-macros"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad6543c0572a4dbc125c23e6f54963ea9ba002294fd81dd4012c204219b0dcaa"
+checksum = "4aebc912b8fa7d54999adc4e45601d1d95fe458f97eb0a1277eddcd6382cf4b1"
dependencies = [
- "darling 0.21.0",
+ "darling 0.21.1",
"proc-macro2",
"quote",
"serde_json",
@@ -7038,9 +7038,9 @@ dependencies = [
[[package]]
name = "rustls-platform-verifier"
-version = "0.6.0"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eda84358ed17f1f354cf4b1909ad346e6c7bc2513e8c40eb08e0157aa13a9070"
+checksum = "be59af91596cac372a6942530653ad0c3a246cdd491aaa9dcaee47f88d67d5a0"
dependencies = [
"core-foundation",
"core-foundation-sys",
@@ -7227,9 +7227,9 @@ dependencies = [
[[package]]
name = "security-framework"
-version = "3.2.0"
+version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316"
+checksum = "80fb1d92c5028aa318b4b8bd7302a5bfcf48be96a37fc6fc790f806b0004ee0c"
dependencies = [
"bitflags 2.9.1",
"core-foundation",
@@ -7321,9 +7321,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.141"
+version = "1.0.142"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
+checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7"
dependencies = [
"itoa",
"memchr",
@@ -7514,7 +7514,7 @@ dependencies = [
"tokio",
"tokio-rustls",
"tokio-util",
- "toml 0.9.4",
+ "toml 0.9.5",
"tower-http",
"tracing",
"tracing-appender",
@@ -7574,9 +7574,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "signal-hook-registry"
-version = "1.4.5"
+version = "1.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410"
+checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b"
dependencies = [
"libc",
]
@@ -8317,9 +8317,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.47.0"
+version = "1.47.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35"
+checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038"
dependencies = [
"backtrace",
"bytes",
@@ -8370,9 +8370,9 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.15"
+version = "0.7.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df"
+checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5"
dependencies = [
"bytes",
"futures-core",
@@ -8396,9 +8396,9 @@ dependencies = [
[[package]]
name = "toml"
-version = "0.9.4"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41ae868b5a0f67631c14589f7e250c1ea2c574ee5ba21c6c8dd4b1485705a5a1"
+checksum = "75129e1dc5000bfbaa9fee9d1b21f974f9fbad9daec557a521ee6e080825f6e8"
dependencies = [
"indexmap 2.10.0",
"serde",
@@ -8454,9 +8454,9 @@ dependencies = [
[[package]]
name = "toml_parser"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97200572db069e74c512a14117b296ba0a80a30123fbbb5aa1f4a348f639ca30"
+checksum = "b551886f449aa90d4fe2bdaa9f4a2577ad2dde302c61ecf262d80b116db95c10"
dependencies = [
"winnow 0.7.12",
]
@@ -8484,7 +8484,7 @@ dependencies = [
"axum 0.7.9",
"base64 0.22.1",
"bytes",
- "h2 0.4.11",
+ "h2 0.4.12",
"http 1.3.1",
"http-body",
"http-body-util",
@@ -9822,9 +9822,9 @@ dependencies = [
[[package]]
name = "yew-hooks"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e4a023bfdcec05c9a0f6fd84f0caff8869fed4b0b73ba06e9418c8e45ce7ca5"
+checksum = "640157ac2d80cf6bf5e7fe4143b90cd6c9ef61c9cb6180f60a50c3074521a142"
dependencies = [
"gloo 0.11.0",
"js-sys",
@@ -9979,9 +9979,9 @@ dependencies = [
[[package]]
name = "zerovec"
-version = "0.11.2"
+version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
+checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b"
dependencies = [
"yoke",
"zerofrom",
diff --git a/Cargo.toml b/Cargo.toml
index cf5b7cd0..6c209860 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,11 +35,9 @@ members = [
"core/connectors/runtime",
"core/connectors/sdk",
"core/connectors/sinks/postgres_sink",
- "core/connectors/sinks/postgres_sink",
"core/connectors/sinks/quickwit_sink",
"core/connectors/sinks/stdout_sink",
"core/connectors/sources/postgres_source",
- "core/connectors/sources/postgres_source",
"core/connectors/sources/random_source",
"core/integration",
"core/sdk",
@@ -78,7 +76,7 @@ byte-unit = { version = "5.1.6", default-features = false, features = [
bytes = "1.10.1"
charming = "0.6.0"
chrono = { version = "0.4.41", features = ["serde"] }
-clap = { version = "4.5.41", features = ["derive"] }
+clap = { version = "4.5.42", features = ["derive"] }
config = { version = "0.15.13" }
comfy-table = "7.1.4"
crc32fast = "1.5.0"
@@ -99,12 +97,12 @@ futures = "0.3.31"
futures-util = "0.3.31"
human-repr = "1.1.0"
humantime = "2.2.0"
-keyring = { version = "3.6.2", features = ["sync-secret-service", "vendored"] }
+keyring = { version = "3.6.3", features = ["sync-secret-service", "vendored"] }
nonzero_lit = "0.1.2"
once_cell = "1.21.3"
passterm = "=2.0.1"
quinn = "0.11.8"
-postcard = { version = "1.1.2", features = ["alloc"] }
+postcard = { version = "1.1.3", features = ["alloc"] }
rand = "0.9.2"
reqwest = { version = "0.12.22", default-features = false, features = [
"json",
@@ -112,9 +110,9 @@ reqwest = { version = "0.12.22", default-features = false, features = [
] }
reqwest-middleware = { version = "0.4.2", features = ["json"] }
reqwest-retry = "0.7.0"
-rustls = { version = "0.23.29", features = ["ring"] }
+rustls = { version = "0.23.31", features = ["ring"] }
serde = { version = "1.0.219", features = ["derive", "rc"] }
-serde_json = "1.0.141"
+serde_json = "1.0.142"
serde_with = { version = "3.14.0", features = ["base64", "macros"] }
serde_yml = "0.0.12"
serial_test = "3.2.0"
@@ -136,7 +134,7 @@ cyper = { git = "https://github.com/krishvishal/cyper.git", rev = "cd75e266df6ab
cyper-axum = { git = "https://github.com/krishvishal/cyper", rev = "cd75e266df6ab0a9b9474eb7dda1735650d17db6" }
compio-net = { git = "https://github.com/compio-rs/compio.git", rev = "fe4243f0b6811ebc325afd081c9b087b4d9817be" }
tokio-rustls = "0.26.2"
-toml = "0.9.2"
+toml = "0.9.4"
tracing = "0.1.41"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.19", default-features = false, features = [
@@ -170,7 +168,7 @@ mockall = "0.13.1"
predicates = "3.1.3"
regex = "1.11.1"
test-case = "3.3.1"
-tokio-util = { version = "0.7.15", features = ["compat"] }
+tokio-util = { version = "0.7.16", features = ["compat"] }
tower-http = { version = "0.6.6", features = [
"add-extension",
"cors",
diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md
index 0f943481..2ff9b761 100644
--- a/DEPENDENCIES.md
+++ b/DEPENDENCIES.md
@@ -43,7 +43,7 @@ async-compression: 0.4.27, "Apache-2.0 OR MIT",
async-dropper: 0.3.1, "MIT",
async-dropper-derive: 0.3.1, "MIT",
async-dropper-simple: 0.2.6, "MIT",
-async-lock: 3.4.0, "Apache-2.0 OR MIT",
+async-lock: 3.4.1, "Apache-2.0 OR MIT",
async-scoped: 0.9.0, "Apache-2.0 OR MIT",
async-stream: 0.3.6, "MIT",
async-stream-impl: 0.3.6, "MIT",
@@ -57,8 +57,8 @@ atomic-waker: 1.1.2, "Apache-2.0 OR MIT",
attohttpc: 0.28.5, "MPL-2.0",
autocfg: 1.5.0, "Apache-2.0 OR MIT",
aws-creds: 0.38.0, "MIT",
-aws-lc-rs: 1.13.3, "ISC AND (Apache-2.0 OR ISC)",
-aws-lc-sys: 0.30.0, "ISC AND (Apache-2.0 OR ISC) AND OpenSSL",
+aws-lc-rs: 1.13.3, "(Apache-2.0 OR ISC) AND ISC",
+aws-lc-sys: 0.30.0, "(Apache-2.0 OR ISC) AND ISC AND OpenSSL",
aws-region: 0.26.0, "MIT",
axum: 0.7.9, "MIT",
axum: 0.8.4, "MIT",
@@ -69,11 +69,9 @@ backtrace: 0.3.75, "Apache-2.0 OR MIT",
base64: 0.21.7, "Apache-2.0 OR MIT",
base64: 0.22.1, "Apache-2.0 OR MIT",
base64ct: 1.8.0, "Apache-2.0 OR MIT",
-base64ct: 1.8.0, "Apache-2.0 OR MIT",
bcrypt: 0.17.0, "MIT",
bdd: 0.0.1, "Apache-2.0",
beef: 0.5.2, "Apache-2.0 OR MIT",
-beef: 0.5.2, "Apache-2.0 OR MIT",
bench-dashboard-frontend: 0.4.1, "Apache-2.0",
bench-dashboard-server: 0.4.0, "Apache-2.0",
bench-dashboard-shared: 0.1.0, "Apache-2.0",
@@ -111,7 +109,7 @@ camino: 1.1.10, "Apache-2.0 OR MIT",
cargo-platform: 0.1.9, "Apache-2.0 OR MIT",
cargo_metadata: 0.19.2, "MIT",
castaway: 0.2.4, "MIT",
-cc: 1.2.30, "Apache-2.0 OR MIT",
+cc: 1.2.31, "Apache-2.0 OR MIT",
cesu8: 1.1.0, "Apache-2.0 OR MIT",
cexpr: 0.6.0, "Apache-2.0 OR MIT",
cfg-if: 1.0.1, "Apache-2.0 OR MIT",
@@ -153,9 +151,6 @@ core-foundation-sys: 0.8.7, "Apache-2.0 OR MIT",
cpufeatures: 0.2.17, "Apache-2.0 OR MIT",
crc: 3.3.0, "Apache-2.0 OR MIT",
crc-catalog: 2.4.0, "Apache-2.0 OR MIT",
-crc32fast: 1.4.2, "Apache-2.0 OR MIT",
-crc: 3.3.0, "Apache-2.0 OR MIT",
-crc-catalog: 2.4.0, "Apache-2.0 OR MIT",
crc32fast: 1.5.0, "Apache-2.0 OR MIT",
critical-section: 1.2.0, "Apache-2.0 OR MIT",
crossbeam: 0.8.4, "Apache-2.0 OR MIT",
@@ -168,8 +163,8 @@ crossterm: 0.28.1, "MIT",
crossterm_winapi: 0.9.1, "MIT",
crunchy: 0.2.4, "MIT",
crypto-common: 0.1.6, "Apache-2.0 OR MIT",
-ctor: 0.4.2, "Apache-2.0 OR MIT",
-ctor-proc-macro: 0.0.5, "Apache-2.0 OR MIT",
+ctor: 0.4.3, "Apache-2.0 OR MIT",
+ctor-proc-macro: 0.0.6, "Apache-2.0 OR MIT",
ctr: 0.9.2, "Apache-2.0 OR MIT",
cucumber: 0.21.1, "Apache-2.0 OR MIT",
cucumber-codegen: 0.21.1, "Apache-2.0 OR MIT",
@@ -185,7 +180,6 @@ dbus: 0.9.7, "Apache-2.0 OR MIT",
dbus-secret-service: 4.0.3, "Apache-2.0 OR MIT",
deflate64: 0.1.9, "MIT",
der: 0.7.10, "Apache-2.0 OR MIT",
-der: 0.7.10, "Apache-2.0 OR MIT",
deranged: 0.4.0, "Apache-2.0 OR MIT",
derive-new: 0.7.0, "MIT",
derive_arbitrary: 1.4.1, "Apache-2.0 OR MIT",
@@ -212,7 +206,7 @@ dtoa: 1.0.10, "Apache-2.0 OR MIT",
dtor: 0.0.6, "Apache-2.0 OR MIT",
dtor-proc-macro: 0.0.5, "Apache-2.0 OR MIT",
dunce: 1.0.5, "Apache-2.0 OR CC0-1.0 OR MIT-0",
-dyn-clone: 1.0.19, "Apache-2.0 OR MIT",
+dyn-clone: 1.0.20, "Apache-2.0 OR MIT",
either: 1.15.0, "Apache-2.0 OR MIT",
embedded-io: 0.4.0, "Apache-2.0 OR MIT",
embedded-io: 0.6.1, "Apache-2.0 OR MIT",
@@ -226,9 +220,7 @@ err_trail: 0.8.5, "Apache-2.0",
errno: 0.3.13, "Apache-2.0 OR MIT",
error_set: 0.8.5, "Apache-2.0",
error_set_impl: 0.8.5, "Apache-2.0",
-etcetera: 0.8.0, "Apache-2.0 OR MIT",
-etcetera: 0.8.0, "Apache-2.0 OR MIT",
-event-listener: 5.4.0, "Apache-2.0 OR MIT",
+event-listener: 5.4.1, "Apache-2.0 OR MIT",
event-listener-strategy: 0.5.4, "Apache-2.0 OR MIT",
ext-trait: 1.0.1, "Apache-2.0 OR MIT OR Zlib",
ext-trait-proc_macros: 1.0.1, "Apache-2.0 OR MIT OR Zlib",
@@ -237,12 +229,8 @@ fast-async-mutex: 0.6.7, "Apache-2.0 OR MIT",
fastbloom: 0.9.0, "Apache-2.0 OR MIT",
fastrand: 2.3.0, "Apache-2.0 OR MIT",
figlet-rs: 0.1.5, "Apache-2.0",
-figment: 0.10.19, "Apache-2.0 OR MIT",
-file-operation: 0.5.16, "MIT",
+file-operation: 0.8.4, "MIT",
flatbuffers: 25.2.10, "Apache-2.0",
-file-operation: 0.5.12, "MIT",
-filetime: 0.2.25, "Apache-2.0 OR MIT",
-flatbuffers: 24.12.23, "Apache-2.0",
flate2: 1.1.2, "Apache-2.0 OR MIT",
float-cmp: 0.10.0, "MIT",
flume: 0.11.1, "Apache-2.0 OR MIT",
@@ -260,10 +248,8 @@ futures: 0.3.31, "Apache-2.0 OR MIT",
futures-channel: 0.3.31, "Apache-2.0 OR MIT",
futures-core: 0.3.31, "Apache-2.0 OR MIT",
futures-executor: 0.3.31, "Apache-2.0 OR MIT",
-futures-intrusive: 0.5.0, "Apache-2.0 OR MIT",
-futures-intrusive: 0.5.0, "Apache-2.0 OR MIT",
futures-io: 0.3.31, "Apache-2.0 OR MIT",
-futures-lite: 2.6.0, "Apache-2.0 OR MIT",
+futures-lite: 2.6.1, "Apache-2.0 OR MIT",
futures-macro: 0.3.31, "Apache-2.0 OR MIT",
futures-sink: 0.3.31, "Apache-2.0 OR MIT",
futures-task: 0.3.31, "Apache-2.0 OR MIT",
@@ -325,7 +311,6 @@ heck: 0.5.0, "Apache-2.0 OR MIT",
hermit-abi: 0.5.2, "Apache-2.0 OR MIT",
hex: 0.4.3, "Apache-2.0 OR MIT",
hkdf: 0.12.4, "Apache-2.0 OR MIT",
-hkdf: 0.12.4, "Apache-2.0 OR MIT",
hmac: 0.12.1, "Apache-2.0 OR MIT",
home: 0.5.11, "Apache-2.0 OR MIT",
hostname: 0.4.1, "MIT",
@@ -357,14 +342,11 @@ idna_adapter: 1.2.1, "Apache-2.0 OR MIT",
iggy: 0.7.0, "Apache-2.0",
iggy-bench: 0.2.4, "Apache-2.0",
iggy-cli: 0.9.0, "Apache-2.0",
-iggy-connectors: 0.1.0, "Apache-2.0",
-iggy-mcp: 0.1.0, "N/A",
+iggy-mcp: 0.1.0, "Apache-2.0",
iggy_binary_protocol: 0.7.0, "Apache-2.0",
iggy_common: 0.7.0, "Apache-2.0",
iggy_connector_postgres_sink: 0.1.0, "Apache-2.0",
iggy_connector_postgres_source: 0.1.0, "Apache-2.0",
-iggy_connector_postgres_sink: 0.1.0, "Apache-2.0",
-iggy_connector_postgres_source: 0.1.0, "Apache-2.0",
iggy_connector_quickwit_sink: 0.1.0, "Apache-2.0",
iggy_connector_random_source: 0.1.0, "Apache-2.0",
iggy_connector_sdk: 0.1.0, "Apache-2.0",
@@ -402,7 +384,7 @@ js-sys: 0.3.77, "Apache-2.0 OR MIT",
json5: 0.4.1, "ISC",
jsonwebtoken: 9.3.1, "MIT",
jwalk: 0.8.1, "MIT",
-keyring: 3.6.2, "Apache-2.0 OR MIT",
+keyring: 3.6.3, "Apache-2.0 OR MIT",
kqueue: 1.1.1, "MIT",
kqueue-sys: 1.0.4, "MIT",
language-tags: 0.3.2, "Apache-2.0 OR MIT",
@@ -420,11 +402,6 @@ libloading: 0.8.8, "ISC",
liblzma: 0.4.2, "Apache-2.0 OR MIT",
liblzma-sys: 0.4.4, "Apache-2.0 OR MIT",
libm: 0.2.15, "MIT",
-libm: 0.2.15, "MIT",
-libmimalloc-sys: 0.1.43, "MIT",
-libredox: 0.1.6, "MIT",
-libsqlite3-sys: 0.30.1, "MIT",
-libredox: 0.1.3, "MIT",
libsqlite3-sys: 0.30.1, "MIT",
libyml: 0.0.5, "MIT",
libz-rs-sys: 0.5.1, "Zlib",
@@ -440,25 +417,19 @@ log: 0.4.27, "Apache-2.0 OR MIT",
logos: 0.15.0, "Apache-2.0 OR MIT",
logos-codegen: 0.15.0, "Apache-2.0 OR MIT",
logos-derive: 0.15.0, "Apache-2.0 OR MIT",
-logos: 0.15.0, "Apache-2.0 OR MIT",
-logos-codegen: 0.15.0, "Apache-2.0 OR MIT",
-logos-derive: 0.15.0, "Apache-2.0 OR MIT",
loom: 0.7.2, "MIT",
lru-slab: 0.1.2, "Apache-2.0 OR MIT OR Zlib",
macro_rules_attribute: 0.1.3, "MIT",
macro_rules_attribute-proc_macro: 0.1.3, "MIT",
matchers: 0.1.0, "MIT",
-matchit: 0.7.3, "MIT AND BSD-3-Clause",
-matchit: 0.8.4, "MIT AND BSD-3-Clause",
+matchit: 0.7.3, "BSD-3-Clause AND MIT",
+matchit: 0.8.4, "BSD-3-Clause AND MIT",
maybe-async: 0.2.10, "MIT",
md-5: 0.10.6, "Apache-2.0 OR MIT",
-md-5: 0.10.6, "Apache-2.0 OR MIT",
md5: 0.7.0, "Apache-2.0 OR MIT",
memchr: 2.7.5, "MIT OR Unlicense",
miette: 7.6.0, "Apache-2.0",
miette-derive: 7.6.0, "Apache-2.0",
-miette: 7.6.0, "Apache-2.0",
-miette-derive: 7.6.0, "Apache-2.0",
mimalloc: 0.1.47, "MIT",
mime: 0.3.17, "Apache-2.0 OR MIT",
mime_guess: 2.0.5, "MIT",
@@ -477,7 +448,7 @@ nom_locate: 4.2.0, "MIT",
nonzero_ext: 0.3.0, "Apache-2.0",
nonzero_lit: 0.1.2, "Apache-2.0 OR CC0-1.0 OR MIT",
normalize-line-endings: 0.3.0, "Apache-2.0",
-notify: 8.1.0, "CC0-1.0",
+notify: 8.2.0, "CC0-1.0",
notify-types: 2.0.0, "Apache-2.0 OR MIT",
nougat: 0.2.4, "Apache-2.0 OR MIT OR Zlib",
nougat-proc_macros: 0.2.4, "Apache-2.0 OR MIT OR Zlib",
@@ -486,7 +457,6 @@ nu-ansi-term: 0.46.0, "MIT",
num: 0.4.3, "Apache-2.0 OR MIT",
num-bigint: 0.4.6, "Apache-2.0 OR MIT",
num-bigint-dig: 0.8.4, "Apache-2.0 OR MIT",
-num-bigint-dig: 0.8.4, "Apache-2.0 OR MIT",
num-complex: 0.4.6, "Apache-2.0 OR MIT",
num-conv: 0.1.0, "Apache-2.0 OR MIT",
num-integer: 0.1.46, "Apache-2.0 OR MIT",
@@ -535,7 +505,6 @@ peg-macros: 0.6.3, "MIT",
peg-runtime: 0.6.3, "MIT",
pem: 3.0.5, "MIT",
pem-rfc7468: 0.7.0, "Apache-2.0 OR MIT",
-pem-rfc7468: 0.7.0, "Apache-2.0 OR MIT",
percent-encoding: 2.3.1, "Apache-2.0 OR MIT",
pest: 2.8.1, "Apache-2.0 OR MIT",
pest_derive: 2.8.1, "Apache-2.0 OR MIT",
@@ -548,14 +517,12 @@ pin-utils: 0.1.0, "Apache-2.0 OR MIT",
pinned: 0.1.0, "Apache-2.0 OR MIT",
pkcs1: 0.7.5, "Apache-2.0 OR MIT",
pkcs8: 0.10.2, "Apache-2.0 OR MIT",
-pkcs1: 0.7.5, "Apache-2.0 OR MIT",
-pkcs8: 0.10.2, "Apache-2.0 OR MIT",
pkg-config: 0.3.32, "Apache-2.0 OR MIT",
polonius-the-crab: 0.2.1, "Apache-2.0 OR MIT OR Zlib",
polyval: 0.6.2, "Apache-2.0 OR MIT",
portable-atomic: 1.11.1, "Apache-2.0 OR MIT",
portable-atomic-util: 0.2.4, "Apache-2.0 OR MIT",
-postcard: 1.1.2, "Apache-2.0 OR MIT",
+postcard: 1.1.3, "Apache-2.0 OR MIT",
potential_utf: 0.1.2, "Unicode-3.0",
powerfmt: 0.2.0, "Apache-2.0 OR MIT",
ppmd-rust: 1.2.1, "CC0-1.0",
@@ -563,7 +530,7 @@ ppv-lite86: 0.2.21, "Apache-2.0 OR MIT",
predicates: 3.1.3, "Apache-2.0 OR MIT",
predicates-core: 1.0.9, "Apache-2.0 OR MIT",
predicates-tree: 1.0.12, "Apache-2.0 OR MIT",
-prettyplease: 0.2.35, "Apache-2.0 OR MIT",
+prettyplease: 0.2.36, "Apache-2.0 OR MIT",
proc-macro-crate: 1.3.1, "Apache-2.0 OR MIT",
proc-macro-crate: 3.3.0, "Apache-2.0 OR MIT",
proc-macro-error: 1.0.4, "Apache-2.0 OR MIT",
@@ -576,10 +543,12 @@ prometheus-client-derive-encode: 0.4.2, "Apache-2.0 OR MIT",
prost: 0.13.5, "Apache-2.0",
prost: 0.14.1, "Apache-2.0",
prost-derive: 0.13.5, "Apache-2.0",
-prost-reflect: 0.15.3, "Apache-2.0 OR MIT",
+prost-derive: 0.14.1, "Apache-2.0",
+prost-reflect: 0.16.1, "Apache-2.0 OR MIT",
prost-types: 0.13.5, "Apache-2.0",
-protox: 0.8.0, "Apache-2.0 OR MIT",
-protox-parse: 0.8.0, "Apache-2.0 OR MIT",
+prost-types: 0.14.1, "Apache-2.0",
+protox: 0.9.0, "Apache-2.0 OR MIT",
+protox-parse: 0.9.0, "Apache-2.0 OR MIT",
ptr_meta: 0.1.4, "MIT",
ptr_meta_derive: 0.1.4, "MIT",
quanta: 0.12.6, "MIT",
@@ -602,8 +571,8 @@ rayon: 1.10.0, "Apache-2.0 OR MIT",
rayon-core: 1.12.1, "Apache-2.0 OR MIT",
rcgen: 0.14.3, "Apache-2.0 OR MIT",
redox_syscall: 0.2.16, "MIT",
-redox_syscall: 0.5.15, "MIT",
-redox_users: 0.5.0, "MIT",
+redox_syscall: 0.5.17, "MIT",
+redox_users: 0.5.2, "MIT",
ref-cast: 1.0.24, "Apache-2.0 OR MIT",
ref-cast-impl: 1.0.24, "Apache-2.0 OR MIT",
regex: 1.11.1, "Apache-2.0 OR MIT",
@@ -621,21 +590,21 @@ retry-policies: 0.4.0, "Apache-2.0 OR MIT",
ring: 0.17.14, "Apache-2.0 AND ISC",
rkyv: 0.7.45, "MIT",
rkyv_derive: 0.7.45, "MIT",
-rmcp: 0.3.0, "Apache-2.0 OR MIT",
-rmcp-macros: 0.3.0, "Apache-2.0 OR MIT",
+rmcp: 0.3.2, "Apache-2.0 OR MIT",
+rmcp-macros: 0.3.2, "Apache-2.0 OR MIT",
ron: 0.8.1, "Apache-2.0 OR MIT",
route-recognizer: 0.3.1, "MIT",
rsa: 0.9.8, "Apache-2.0 OR MIT",
-rust-ini: 0.21.1, "MIT",
+rust-ini: 0.21.2, "MIT",
rust-s3: 0.36.0-beta.2, "MIT",
rust_decimal: 1.37.2, "MIT",
-rustc-demangle: 0.1.25, "Apache-2.0 OR MIT",
+rustc-demangle: 0.1.26, "Apache-2.0 OR MIT",
rustc-hash: 1.1.0, "Apache-2.0 OR MIT",
rustc-hash: 2.1.1, "Apache-2.0 OR MIT",
rustc_version: 0.4.1, "Apache-2.0 OR MIT",
rustix: 0.38.44, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
rustix: 1.0.8, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
-rustls: 0.23.29, "Apache-2.0 OR ISC OR MIT",
+rustls: 0.23.31, "Apache-2.0 OR ISC OR MIT",
rustls-native-certs: 0.8.1, "Apache-2.0 OR ISC OR MIT",
rustls-pemfile: 2.2.0, "Apache-2.0 OR ISC OR MIT",
rustls-pki-types: 1.12.0, "Apache-2.0 OR MIT",
@@ -667,7 +636,7 @@ serde-wasm-bindgen: 0.5.0, "MIT",
serde-wasm-bindgen: 0.6.5, "MIT",
serde_derive: 1.0.219, "Apache-2.0 OR MIT",
serde_derive_internals: 0.29.1, "Apache-2.0 OR MIT",
-serde_json: 1.0.141, "Apache-2.0 OR MIT",
+serde_json: 1.0.142, "Apache-2.0 OR MIT",
serde_path_to_error: 0.1.17, "Apache-2.0 OR MIT",
serde_spanned: 0.6.9, "Apache-2.0 OR MIT",
serde_spanned: 1.0.0, "Apache-2.0 OR MIT",
@@ -682,8 +651,7 @@ sha1: 0.10.6, "Apache-2.0 OR MIT",
sha2: 0.10.9, "Apache-2.0 OR MIT",
sharded-slab: 0.1.7, "MIT",
shlex: 1.3.0, "Apache-2.0 OR MIT",
-signal-hook-registry: 1.4.5, "Apache-2.0 OR MIT",
-signature: 2.2.0, "Apache-2.0 OR MIT",
+signal-hook-registry: 1.4.6, "Apache-2.0 OR MIT",
signature: 2.2.0, "Apache-2.0 OR MIT",
simd-adler32: 0.3.7, "MIT",
simd-json: 0.15.1, "Apache-2.0 OR MIT",
@@ -708,11 +676,11 @@ sqlx-macros-core: 0.8.6, "Apache-2.0 OR MIT",
sqlx-mysql: 0.8.6, "Apache-2.0 OR MIT",
sqlx-postgres: 0.8.6, "Apache-2.0 OR MIT",
sqlx-sqlite: 0.8.6, "Apache-2.0 OR MIT",
+sse-stream: 0.2.1, "Apache-2.0 OR MIT",
stable_deref_trait: 1.2.0, "Apache-2.0 OR MIT",
static-toml: 1.3.0, "MIT",
static_assertions: 1.1.0, "Apache-2.0 OR MIT",
stringprep: 0.1.5, "Apache-2.0 OR MIT",
-stringprep: 0.1.5, "Apache-2.0 OR MIT",
strsim: 0.11.1, "MIT",
strum: 0.27.2, "MIT",
strum_macros: 0.27.2, "MIT",
@@ -747,13 +715,13 @@ tiny-keccak: 2.0.2, "CC0-1.0",
tinystr: 0.8.1, "Unicode-3.0",
tinyvec: 1.9.0, "Apache-2.0 OR MIT OR Zlib",
tinyvec_macros: 0.1.1, "Apache-2.0 OR MIT OR Zlib",
-tokio: 1.46.1, "MIT",
+tokio: 1.47.1, "MIT",
tokio-macros: 2.5.0, "MIT",
tokio-rustls: 0.26.2, "Apache-2.0 OR MIT",
tokio-stream: 0.1.17, "MIT",
-tokio-util: 0.7.15, "MIT",
+tokio-util: 0.7.16, "MIT",
toml: 0.8.23, "Apache-2.0 OR MIT",
-toml: 0.9.2, "Apache-2.0 OR MIT",
+toml: 0.9.4, "Apache-2.0 OR MIT",
toml_datetime: 0.6.11, "Apache-2.0 OR MIT",
toml_datetime: 0.7.0, "Apache-2.0 OR MIT",
toml_edit: 0.19.15, "Apache-2.0 OR MIT",
@@ -787,16 +755,12 @@ ulid: 1.2.1, "MIT",
uncased: 0.9.10, "Apache-2.0 OR MIT",
unicase: 2.8.1, "Apache-2.0 OR MIT",
unicode-bidi: 0.3.18, "Apache-2.0 OR MIT",
-unicode-bidi: 0.3.18, "Apache-2.0 OR MIT",
-unicode-ident: 1.0.18, "(MIT OR Apache-2.0) AND Unicode-3.0",
+unicode-ident: 1.0.18, "(Apache-2.0 OR MIT) AND Unicode-3.0",
unicode-linebreak: 0.1.5, "Apache-2.0",
unicode-normalization: 0.1.24, "Apache-2.0 OR MIT",
unicode-properties: 0.1.3, "Apache-2.0 OR MIT",
-unicode-normalization: 0.1.24, "Apache-2.0 OR MIT",
-unicode-properties: 0.1.3, "Apache-2.0 OR MIT",
unicode-segmentation: 1.12.0, "Apache-2.0 OR MIT",
unicode-width: 0.1.14, "Apache-2.0 OR MIT",
-unicode-width: 0.1.14, "Apache-2.0 OR MIT",
unicode-width: 0.2.1, "Apache-2.0 OR MIT",
unicode-xid: 0.2.6, "Apache-2.0 OR MIT",
universal-hash: 0.5.1, "Apache-2.0 OR MIT",
@@ -823,7 +787,6 @@ want: 0.3.1, "MIT",
wasi: 0.11.1+wasi-snapshot-preview1, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasi: 0.14.2+wasi-0.2.4, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasite: 0.1.0, "Apache-2.0 OR BSL-1.0 OR MIT",
-wasite: 0.1.0, "Apache-2.0 OR BSL-1.0 OR MIT",
wasm-bindgen: 0.2.100, "Apache-2.0 OR MIT",
wasm-bindgen-backend: 0.2.100, "Apache-2.0 OR MIT",
wasm-bindgen-futures: 0.4.50, "Apache-2.0 OR MIT",
@@ -840,7 +803,6 @@ webpki-roots: 0.26.11, "CDLA-Permissive-2.0",
webpki-roots: 1.0.2, "CDLA-Permissive-2.0",
which: 4.4.2, "MIT",
whoami: 1.6.0, "Apache-2.0 OR BSL-1.0 OR MIT",
-whoami: 1.6.0, "Apache-2.0 OR BSL-1.0 OR MIT",
wide: 0.7.33, "Apache-2.0 OR MIT OR Zlib",
winapi: 0.3.9, "Apache-2.0 OR MIT",
winapi-i686-pc-windows-gnu: 0.4.0, "Apache-2.0 OR MIT",
@@ -869,7 +831,7 @@ windows-sys: 0.60.2, "Apache-2.0 OR MIT",
windows-targets: 0.42.2, "Apache-2.0 OR MIT",
windows-targets: 0.48.5, "Apache-2.0 OR MIT",
windows-targets: 0.52.6, "Apache-2.0 OR MIT",
-windows-targets: 0.53.2, "Apache-2.0 OR MIT",
+windows-targets: 0.53.3, "Apache-2.0 OR MIT",
windows-threading: 0.1.0, "Apache-2.0 OR MIT",
windows_aarch64_gnullvm: 0.42.2, "Apache-2.0 OR MIT",
windows_aarch64_gnullvm: 0.48.5, "Apache-2.0 OR MIT",
@@ -910,7 +872,7 @@ yaml-rust2: 0.10.3, "Apache-2.0 OR MIT",
yansi: 1.0.1, "Apache-2.0 OR MIT",
yasna: 0.5.2, "Apache-2.0 OR MIT",
yew: 0.21.0, "Apache-2.0 OR MIT",
-yew-hooks: 0.3.3, "Apache-2.0 OR MIT",
+yew-hooks: 0.3.4, "Apache-2.0 OR MIT",
yew-macro: 0.21.0, "Apache-2.0 OR MIT",
yew-router: 0.18.0, "Apache-2.0 OR MIT",
yew-router-macro: 0.18.0, "Apache-2.0 OR MIT",
diff --git a/README.md b/README.md
index 3d627b0c..e1ac5dcb 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ The name is an abbreviation for the Italian Greyhound - small yet extremely fast
- **Multi-tenant** support via abstraction of **streams** which group **topics**
- **TLS** support for all transport protocols (TCP, QUIC, HTTPS)
- **[Connectors](https://github.com/apache/iggy/tree/master/core/connectors)** - sinks, sources and data transformations based on the **custom Rust plugins**
+- **[Model Context Protocol](https://github.com/apache/iggy/tree/master/core/ai/mcp)** - provide context to LLM with **MCP server**
- Optional server-side as well as client-side **data encryption** using AES-256-GCM
- Optional metadata support in the form of **message headers**
- Optional **data backups and archiving** to disk or **S3** compatible cloud storage (e.g. AWS S3)
@@ -93,6 +94,8 @@ The latest released version is `0.4.300` for Iggy server, which is compatible wi
The recent improvements based on the zero-copy (de)serialization, along with updated SDKs etc. will be available in the upcoming release with Iggy server `0.5.0`, Rust SDK `0.7` and all the other SDKs.
+You can also find the `edge` versions of SDKs that are compatible with the `edge` version of Iggy Server Docker Image, but should be used with caution as these are not based on the official release.
+
---
## Roadmap
@@ -131,6 +134,45 @@ There's a dedicated Web UI for the server, which allows managing the streams, to
---
+## Connectors
+
+The highly performant and modular **[runtime](https://github.com/apache/iggy/tree/master/core/connectors)** for statically typed, yet dynamically loaded connectors. Ingest the data from the external sources and push it further to the Iggy streams, or fetch the data from the Iggy streams and push it further to the external sources. **Create your own Rust plugins** by simply implementing either the `Source` or `Sink` trait and **build custom pipelines for the data processing**.
+
+```toml
+## Configure a sink or source connector, depending on your needs
+[sinks.quickwit]
+enabled = true
+name = "Quickwit sink"
+path = "target/release/libiggy_connector_quickwit_sink"
+config_format = "yaml"
+
+[[sinks.quickwit.streams]]
+stream = "qw"
+topics = ["records"]
+schema = "json"
+batch_length = 1000
+poll_interval = "5ms"
+consumer_group = "qw_sink_connector"
+
+[[sinks.quickwit.transforms.add_fields.fields]]
+key = "random_id"
+value.computed = "uuid_v7"
+
+[sinks.quickwit.transforms.delete_fields]
+enabled = true
+fields = ["email", "created_at"]
+```
+
+---
+
+## Model Context Protocol
+
+The [Model Context Protocol](https://modelcontextprotocol.io) (MCP) is an open protocol that standardizes how applications provide context to LLMs. The **[Iggy MCP Server](https://github.com/apache/iggy/tree/master/core/ai/mcp)** is an implementation of the MCP protocol for the message streaming infrastructure. It can be used to provide context to LLMs in real-time, allowing for more accurate and relevant responses.
+
+
+
+---
+
## Docker
The official images can be found in [Docker Hub](https://hub.docker.com/r/apache/iggy), simply type `docker pull apache/iggy` to pull the image.
@@ -259,8 +301,12 @@ let client = IggyClient::from_connection_string("iggy://user:secret@localhost:80
// Create a producer for the given stream and one of its topics
let mut producer = client
.producer("dev01", "events")?
- .batch_length(1000)
- .linger_time(IggyDuration::from_str("1ms")?)
+ .direct( // Use either direct (instant) or background message sending
+ DirectConfig::builder()
+ .batch_length(1000)
+ .linger_time(IggyDuration::from_str("1ms")?)
+ .build(),
+ )
.partitioning(Partitioning::balanced())
.build();
diff --git a/assets/iggy_mcp_server.png b/assets/iggy_mcp_server.png
new file mode 100644
index 00000000..fd0a3c3e
Binary files /dev/null and b/assets/iggy_mcp_server.png differ
diff --git a/bdd/docker-compose.yml b/bdd/docker-compose.yml
index 1fc1b488..fb2a6c1a 100644
--- a/bdd/docker-compose.yml
+++ b/bdd/docker-compose.yml
@@ -71,7 +71,7 @@ services:
- IGGY_TCP_ADDRESS=iggy-server:8090
volumes:
- ./scenarios/basic_messaging.feature:/app/features/basic_messaging.feature
- command: [ "ginkgo", "-v", "-r" ]
+ command: [ "go", "test", "-v", "./..." ]
node-bdd:
build:
diff --git a/bdd/go/Dockerfile b/bdd/go/Dockerfile
index 658f6f44..0d933b74 100644
--- a/bdd/go/Dockerfile
+++ b/bdd/go/Dockerfile
@@ -27,4 +27,4 @@ RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest
WORKDIR /app/bdd/go
# Default command
-CMD ["ginkgo", "-v", "-r"]
+CMD ["go", "test", "-v", "./..."]
diff --git a/bdd/go/go.mod b/bdd/go/go.mod
index 7570f031..b05137a8 100644
--- a/bdd/go/go.mod
+++ b/bdd/go/go.mod
@@ -6,17 +6,25 @@ replace github.com/apache/iggy/foreign/go => ../../foreign/go
require (
github.com/apache/iggy/foreign/go v0.0.0-00010101000000-000000000000
+ github.com/cucumber/godog v0.15.1
github.com/google/uuid v1.6.0
github.com/onsi/ginkgo/v2 v2.23.4
github.com/onsi/gomega v1.37.0
)
require (
+ github.com/cucumber/gherkin/go/v26 v26.2.0 // indirect
+ github.com/cucumber/messages/go/v21 v21.0.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
+ github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
+ github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
+ github.com/hashicorp/go-memdb v1.3.5 // indirect
+ github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/klauspost/compress v1.17.11 // indirect
+ github.com/spf13/pflag v1.0.7 // indirect
go.uber.org/automaxprocs v1.6.0 // indirect
golang.org/x/net v0.38.0 // indirect
golang.org/x/sys v0.32.0 // indirect
diff --git a/bdd/go/go.sum b/bdd/go/go.sum
index f31ed10d..86932a34 100644
--- a/bdd/go/go.sum
+++ b/bdd/go/go.sum
@@ -1,19 +1,52 @@
+github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/cucumber/gherkin/go/v26 v26.2.0 h1:EgIjePLWiPeslwIWmNQ3XHcypPsWAHoMCz/YEBKP4GI=
+github.com/cucumber/gherkin/go/v26 v26.2.0/go.mod h1:t2GAPnB8maCT4lkHL99BDCVNzCh1d7dBhCLt150Nr/0=
+github.com/cucumber/godog v0.15.0/go.mod h1:FX3rzIDybWABU4kuIXLZ/qtqEe1Ac5RdXmqvACJOces=
+github.com/cucumber/godog v0.15.1 h1:rb/6oHDdvVZKS66hrhpjFQFHjthFSrQBCOI1LwshNTI=
+github.com/cucumber/godog v0.15.1/go.mod h1:qju+SQDewOljHuq9NSM66s0xEhogx0q30flfxL4WUk8=
+github.com/cucumber/messages/go/v21 v21.0.1 h1:wzA0LxwjlWQYZd32VTlAVDTkW6inOFmSM+RuOwHZiMI=
+github.com/cucumber/messages/go/v21 v21.0.1/go.mod h1:zheH/2HS9JLVFukdrsPWoPdmUtmYQAQPLk7w5vWsk5s=
+github.com/cucumber/messages/go/v22 v22.0.0/go.mod h1:aZipXTKc0JnjCsXrJnuZpWhtay93k7Rn3Dee7iyPJjs=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
+github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
+github.com/gofrs/uuid v4.3.1+incompatible h1:0/KbAdpx3UXAx1kEOWHJeOkpbgRFGHVgv+CFIY7dBJI=
+github.com/gofrs/uuid v4.3.1+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
+github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA=
+github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J0b1vyeLSOYI8bm5wbJM/8yDe8=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/hashicorp/go-immutable-radix v1.3.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
+github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-memdb v1.3.4 h1:XSL3NR682X/cVk2IeV0d70N4DZ9ljI885xAEU8IoK3c=
+github.com/hashicorp/go-memdb v1.3.4/go.mod h1:uBTr1oQbtuMgd1SSGoR8YV27eT3sBHbYiNm53bMpgSg=
+github.com/hashicorp/go-memdb v1.3.5 h1:b3taDMxCBCBVgyRrS1AZVHO14ubMYZB++QpNhBg+Nyo=
+github.com/hashicorp/go-memdb v1.3.5/go.mod h1:8IVKKBkVe+fxFgdFOYxzQQNjz+sWCyHCdIC/+5+Vy1Y=
+github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE=
+github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
+github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
+github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
+github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c=
+github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
+github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
-github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
-github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
+github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/onsi/ginkgo/v2 v2.23.4 h1:ktYTpKJAVZnDT4VjxSbiBenUjmlL/5QkBEocaWXiQus=
@@ -24,6 +57,18 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g=
github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U=
+github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
+github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
+github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
@@ -39,7 +84,8 @@ golang.org/x/tools v0.31.0/go.mod h1:naFTU+Cev749tSJRXJlna0T3WxKvb1kWEx15xA4SdmQ
google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/bdd/go/tests/basic_messaging_test.go b/bdd/go/tests/basic_messaging_test.go
new file mode 100644
index 00000000..7c4232a5
--- /dev/null
+++ b/bdd/go/tests/basic_messaging_test.go
@@ -0,0 +1,353 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package tests
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ iggcon "github.com/apache/iggy/foreign/go/contracts"
+ "github.com/apache/iggy/foreign/go/iggycli"
+ "github.com/apache/iggy/foreign/go/tcp"
+ "github.com/cucumber/godog"
+ "github.com/google/uuid"
+ "os"
+ "testing"
+)
+
+type basicMessagingCtxKey struct{}
+
+type basicMessagingCtx struct {
+ serverAddr *string
+ client iggycli.Client
+ lastSentMessage *iggcon.IggyMessage
+ lastPollMessages *iggcon.PolledMessage
+ lastStreamID *uint32
+ lastStreamName *string
+ lastTopicID *uint32
+ lastTopicName *string
+ lastTopicPartitions *uint32
+}
+
+func getBasicMessagingCtx(ctx context.Context) *basicMessagingCtx {
+ return ctx.Value(basicMessagingCtxKey{}).(*basicMessagingCtx)
+}
+
+func givenRunningServer(ctx context.Context) error {
+ c := getBasicMessagingCtx(ctx)
+ addr := os.Getenv("IGGY_TCP_ADDRESS")
+ if addr == "" {
+ addr = "127.0.0.1:8090"
+ }
+ c.serverAddr = &addr
+ return nil
+}
+func givenAuthenticationAsRoot(ctx context.Context) error {
+ c := getBasicMessagingCtx(ctx)
+ serverAddr := *c.serverAddr
+
+ client, err := iggycli.NewIggyClient(
+ iggycli.WithTcp(
+ tcp.WithServerAddress(serverAddr),
+ ),
+ )
+ if err != nil {
+ return fmt.Errorf("error creating client: %w", err)
+ }
+
+ if err = client.Ping(); err != nil {
+ return fmt.Errorf("error pinging client: %w", err)
+ }
+
+ if _, err = client.LoginUser("iggy", "iggy"); err != nil {
+ return fmt.Errorf("error logging in: %v", err)
+ }
+
+ c.client = client
+ return nil
+}
+
+func whenSendMessages(
+ ctx context.Context,
+ messagesCount uint32,
+ streamID uint32,
+ topicID uint32,
+ partitionID uint32) error {
+ c := getBasicMessagingCtx(ctx)
+ messages, err := createTestMessages(messagesCount)
+ if err != nil {
+ return fmt.Errorf("error creating test messages: %w", err)
+ }
+
+ streamIdentifier, _ := iggcon.NewIdentifier(streamID)
+ topicIdentifier, _ := iggcon.NewIdentifier(topicID)
+ partitioning := iggcon.PartitionId(partitionID)
+ if err = c.client.SendMessages(streamIdentifier, topicIdentifier, partitioning, messages); err != nil {
+ return fmt.Errorf("failed to sending messages: %w", err)
+ }
+
+ c.lastSentMessage = &messages[len(messages)-1]
+ return nil
+}
+
+func createTestMessages(count uint32) ([]iggcon.IggyMessage, error) {
+ messages := make([]iggcon.IggyMessage, 0, count)
+ for i := 0; uint32(i) < count; i++ {
+ id := uuid.New()
+ payload := []byte(fmt.Sprintf("test message %d", i))
+ message, err := iggcon.NewIggyMessage(payload, iggcon.WithID(id))
+ if err != nil {
+ return nil, fmt.Errorf("failed to create message: %w", err)
+ }
+ messages = append(messages, message)
+ }
+ return messages, nil
+}
+
+func whenPollMessages(
+ ctx context.Context,
+ streamID uint32,
+ topicID uint32,
+ partitionID uint32,
+ startOffset uint64) error {
+ c := getBasicMessagingCtx(ctx)
+ consumer := iggcon.DefaultConsumer()
+ streamIdentifier, _ := iggcon.NewIdentifier(streamID)
+ topicIdentifier, _ := iggcon.NewIdentifier(topicID)
+ uint32PartitionID := partitionID
+ polledMessages, err := c.client.PollMessages(
+ streamIdentifier,
+ topicIdentifier,
+ consumer,
+ iggcon.OffsetPollingStrategy(startOffset),
+ 100,
+ false,
+ &uint32PartitionID,
+ )
+ if err != nil {
+ return fmt.Errorf("failed to poll messages: %w", err)
+ }
+ c.lastPollMessages = polledMessages
+ return nil
+}
+
+func thenMessageSentSuccessfully(_ context.Context) error {
+ return nil
+}
+
+func thenShouldReceiveMessages(ctx context.Context, expectedCount uint32) error {
+ polledMessages := getBasicMessagingCtx(ctx).lastPollMessages
+ if uint32(len(polledMessages.Messages)) != expectedCount {
+ return fmt.Errorf("expected %d messages, but there is %d", expectedCount, len(polledMessages.Messages))
+ }
+ return nil
+}
+
+func thenMessagesHaveSequentialOffsets(
+ ctx context.Context,
+ startOffset uint64,
+ endOffset uint64) error {
+ polledMessages := getBasicMessagingCtx(ctx).lastPollMessages
+ for i, m := range polledMessages.Messages {
+ expectedOffset := startOffset + uint64(i)
+ if expectedOffset != m.Header.Offset {
+ return fmt.Errorf("message at index %d should have offset %d", i, expectedOffset)
+ }
+ }
+ lastMessage := polledMessages.Messages[len(polledMessages.Messages)-1]
+ if lastMessage.Header.Offset != endOffset {
+ return fmt.Errorf("last message should have offset %d", endOffset)
+ }
+ return nil
+}
+
+func thenMessagesHaveExpectedPayload(ctx context.Context) error {
+ polledMessages := getBasicMessagingCtx(ctx).lastPollMessages
+ for i, m := range polledMessages.Messages {
+ expectedPayload := fmt.Sprintf("test message %d", i)
+ if expectedPayload != string(m.Payload) {
+ return fmt.Errorf("message at offset %d should have payload '%s'", i, expectedPayload)
+ }
+ }
+ return nil
+}
+
+func thenLastPolledMessageMatchesSent(ctx context.Context) error {
+ c := getBasicMessagingCtx(ctx)
+ polledMessages := c.lastPollMessages
+ sentMessage := c.lastSentMessage
+ if len(polledMessages.Messages) == 0 {
+ return errors.New("should have at least one polled message")
+ }
+
+ lastPolled := polledMessages.Messages[len(polledMessages.Messages)-1]
+
+ if lastPolled.Header.Id != sentMessage.Header.Id {
+ return fmt.Errorf("message IDs should match: sent %d, polled %d", sentMessage.Header.Id, lastPolled.Header.Id)
+ }
+
+ if string(lastPolled.Payload) != string(sentMessage.Payload) {
+ return fmt.Errorf("message payload should match: sent %s, polled %s", sentMessage.Payload, lastPolled.Header.Id)
+ }
+ return nil
+}
+
+func givenNoStreams(ctx context.Context) error {
+ client := getBasicMessagingCtx(ctx).client
+ streams, err := client.GetStreams()
+ if err != nil {
+ return fmt.Errorf("failed to get streams: %w", err)
+ }
+
+ if len(streams) != 0 {
+ return errors.New("system should have no stream initially")
+ }
+
+ return err
+}
+
+func whenCreateStream(ctx context.Context, streamID uint32, streamName string) error {
+ c := getBasicMessagingCtx(ctx)
+ stream, err := c.client.CreateStream(streamName, &streamID)
+ if err != nil {
+ return fmt.Errorf("failed to create stream: %w", err)
+ }
+ c.lastStreamID = &stream.Id
+ c.lastStreamName = &stream.Name
+ return nil
+}
+
+func thenStreamCreatedSuccessfully(ctx context.Context) error {
+ if getBasicMessagingCtx(ctx).lastStreamID == nil {
+ return errors.New("stream should have been created")
+ }
+ return nil
+}
+
+func thenStreamHasIDAndName(
+ ctx context.Context,
+ expectedID uint32,
+ expectedName string) error {
+ c := getBasicMessagingCtx(ctx)
+ streamID := *c.lastStreamID
+ streamName := *c.lastStreamName
+ if streamID != expectedID {
+ return fmt.Errorf("expected stream ID %d, got %d", expectedID, streamID)
+ }
+ if streamName != expectedName {
+ return fmt.Errorf("expected stream name %s, got %s", expectedName, streamName)
+ }
+ return nil
+}
+
+func whenCreateTopic(
+ ctx context.Context,
+ topicID uint32,
+ topicName string,
+ streamID uint32,
+ partitionsCount uint32) error {
+ c := getBasicMessagingCtx(ctx)
+ streamIdentifier, _ := iggcon.NewIdentifier(streamID)
+ uint32TopicID := topicID
+ topic, err := c.client.CreateTopic(
+ streamIdentifier,
+ topicName,
+ partitionsCount,
+ iggcon.CompressionAlgorithmNone,
+ iggcon.IggyExpiryNeverExpire,
+ 0,
+ nil,
+ &uint32TopicID,
+ )
+ if err != nil {
+ return fmt.Errorf("failed to create topic: %w", err)
+ }
+
+ c.lastTopicID = &topic.Id
+ c.lastTopicName = &topic.Name
+ c.lastTopicPartitions = &topic.PartitionsCount
+
+ return nil
+}
+
+func thenTopicCreatedSuccessfully(ctx context.Context) error {
+ if getBasicMessagingCtx(ctx).lastTopicID == nil {
+ return errors.New("topic should have been created")
+ }
+ return nil
+}
+func thenTopicHasIDAndName(
+ ctx context.Context,
+ expectedID uint32,
+ expectedName string) error {
+ c := getBasicMessagingCtx(ctx)
+ topicID := *c.lastTopicID
+ topicName := *c.lastTopicName
+ if topicID != expectedID {
+ return fmt.Errorf("expected topic ID %d, got %d", expectedID, topicID)
+ }
+ if topicName != expectedName {
+ return fmt.Errorf("expected topic name %s, got %s", expectedName, topicName)
+ }
+ return nil
+}
+
+func thenTopicsHasPartitions(ctx context.Context, expectedTopicPartitions uint32) error {
+ topicPartitions := *getBasicMessagingCtx(ctx).lastTopicPartitions
+ if topicPartitions != expectedTopicPartitions {
+ return errors.New("topic should have expected number of partitions")
+ }
+ return nil
+}
+
+func initScenarios(sc *godog.ScenarioContext) {
+ sc.Before(func(ctx context.Context, sc *godog.Scenario) (context.Context, error) {
+ return context.WithValue(context.Background(), basicMessagingCtxKey{}, &basicMessagingCtx{}), nil
+ })
+ sc.Step(`I have a running Iggy server`, givenRunningServer)
+ sc.Step(`I am authenticated as the root user`, givenAuthenticationAsRoot)
+ sc.Step(`^I send (\d+) messages to stream (\d+), topic (\d+), partition (\d+)$`, whenSendMessages)
+ sc.Step(`^I poll messages from stream (\d+), topic (\d+), partition (\d+) starting from offset (\d+)$`, whenPollMessages)
+ sc.Step(`all messages should be sent successfully`, thenMessageSentSuccessfully)
+ sc.Step(`^I should receive (\d+) messages$`, thenShouldReceiveMessages)
+ sc.Step(`^the messages should have sequential offsets from (\d+) to (\d+)$`, thenMessagesHaveSequentialOffsets)
+ sc.Step(`each message should have the expected payload content`, thenMessagesHaveExpectedPayload)
+ sc.Step(`the last polled message should match the last sent message`, thenLastPolledMessageMatchesSent)
+ sc.Step(`^the stream should have ID (\d+) and name (.+)$`, thenStreamHasIDAndName)
+ sc.Step(`the stream should be created successfully`, thenStreamCreatedSuccessfully)
+ sc.Step(`^I create a stream with ID (\d+) and name (.+)$`, whenCreateStream)
+ sc.Step(`I have no streams in the system`, givenNoStreams)
+ sc.Step(`^I create a topic with ID (\d+) and name (.+) in stream (\d+) with (\d+) partitions$`, whenCreateTopic)
+ sc.Step(`the topic should be created successfully`, thenTopicCreatedSuccessfully)
+ sc.Step(`^the topic should have ID (\d+) and name (.+)$`, thenTopicHasIDAndName)
+ sc.Step(`^the topic should have (\d+) partitions$`, thenTopicsHasPartitions)
+}
+
+func TestFeatures(t *testing.T) {
+ suite := godog.TestSuite{
+ ScenarioInitializer: initScenarios,
+ Options: &godog.Options{
+ Format: "pretty",
+ Paths: []string{"../../scenarios/basic_messaging.feature"},
+ TestingT: t,
+ },
+ }
+ if suite.Run() != 0 {
+ t.Fatal("failing feature tests")
+ }
+}
diff --git a/bdd/python/tests/test_basic_messaging.py b/bdd/python/tests/test_basic_messaging.py
index d3875afc..9abd177c 100644
--- a/bdd/python/tests/test_basic_messaging.py
+++ b/bdd/python/tests/test_basic_messaging.py
@@ -21,7 +21,7 @@ Basic messaging BDD test implementation for Python SDK
import asyncio
import socket
from pytest_bdd import scenarios, given, when, then, parsers
-from iggy_py import IggyClient, SendMessage, PollingStrategy
+from apache_iggy import IggyClient, SendMessage, PollingStrategy
# Load scenarios from the shared feature file
scenarios('/app/features/basic_messaging.feature')
diff --git a/core/ai/mcp/Cargo.toml b/core/ai/mcp/Cargo.toml
index a8674373..0622403b 100644
--- a/core/ai/mcp/Cargo.toml
+++ b/core/ai/mcp/Cargo.toml
@@ -1,7 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "iggy-mcp"
version = "0.1.0"
+description = "MCP Server for Iggy message streaming platform"
edition = "2024"
+license = "Apache-2.0"
+repository = "https://github.com/apache/iggy"
+homepage = "https://iggy.apache.org"
+keywords = ["iggy", "messaging", "streaming", "mcp"]
+readme = "README.md"
[dependencies]
axum = { workspace = true }
@@ -10,7 +33,7 @@ config = { workspace = true }
dotenvy = { workspace = true }
figlet-rs = { workspace = true }
iggy = { workspace = true }
-rmcp = { version = "0.3.0", features = [
+rmcp = { version = "0.3.2", features = [
"server",
"transport-io",
"transport-sse-server",
diff --git a/core/bench/dashboard/frontend/.cargo/config.toml b/core/bench/dashboard/frontend/.cargo/config.toml
index 861cc80f..639e9b64 100644
--- a/core/bench/dashboard/frontend/.cargo/config.toml
+++ b/core/bench/dashboard/frontend/.cargo/config.toml
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[target.wasm32-unknown-unknown]
rustflags = ["--cfg=getrandom_backend=\"wasm_js\""]
diff --git a/core/bench/dashboard/frontend/Cargo.toml b/core/bench/dashboard/frontend/Cargo.toml
index ff299474..fd169613 100644
--- a/core/bench/dashboard/frontend/Cargo.toml
+++ b/core/bench/dashboard/frontend/Cargo.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "bench-dashboard-frontend"
license = "Apache-2.0"
@@ -27,5 +44,5 @@ web-sys = { version = "0.3", features = [
"Navigator",
] }
yew = { version = "0.21", features = ["csr"] }
-yew-hooks = "0.3.3"
+yew-hooks = "0.3.4"
yew-router = "0.18"
diff --git a/core/bench/dashboard/frontend/Trunk.toml b/core/bench/dashboard/frontend/Trunk.toml
index f2ad7b8a..e55fb31f 100644
--- a/core/bench/dashboard/frontend/Trunk.toml
+++ b/core/bench/dashboard/frontend/Trunk.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[build]
target = "index.html"
dist = "dist"
diff --git a/core/bench/dashboard/server/Cargo.toml b/core/bench/dashboard/server/Cargo.toml
index 42f20670..964f92a6 100644
--- a/core/bench/dashboard/server/Cargo.toml
+++ b/core/bench/dashboard/server/Cargo.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "bench-dashboard-server"
license = "Apache-2.0"
@@ -13,8 +30,8 @@ bench-report = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
clap = { workspace = true }
dashmap = { workspace = true }
-file-operation = "0.5.16"
-notify = "8.1.0"
+file-operation = "0.8.4"
+notify = "8.2.0"
octocrab = "0.44.1"
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
diff --git a/core/bench/dashboard/server/src/.cargo/config.toml b/core/bench/dashboard/server/src/.cargo/config.toml
index 861cc80f..639e9b64 100644
--- a/core/bench/dashboard/server/src/.cargo/config.toml
+++ b/core/bench/dashboard/server/src/.cargo/config.toml
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[target.wasm32-unknown-unknown]
rustflags = ["--cfg=getrandom_backend=\"wasm_js\""]
diff --git a/core/bench/dashboard/shared/Cargo.toml b/core/bench/dashboard/shared/Cargo.toml
index 4c5ff89b..670531a8 100644
--- a/core/bench/dashboard/shared/Cargo.toml
+++ b/core/bench/dashboard/shared/Cargo.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "bench-dashboard-shared"
license = "Apache-2.0"
diff --git a/core/bench/runner/Cargo.toml b/core/bench/runner/Cargo.toml
index a0e75d02..d078c64d 100644
--- a/core/bench/runner/Cargo.toml
+++ b/core/bench/runner/Cargo.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "bench-runner"
license = "Apache-2.0"
diff --git a/core/bench/src/actors/consumer/backend.rs b/core/bench/src/actors/consumer/backend.rs
deleted file mode 100644
index b61aaa41..00000000
--- a/core/bench/src/actors/consumer/backend.rs
+++ /dev/null
@@ -1,84 +0,0 @@
-/* Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-use bench_report::numeric_parameter::BenchmarkNumericParameter;
-use iggy::prelude::*;
-use integration::test_server::ClientFactory;
-use std::marker::PhantomData;
-use std::sync::Arc;
-use std::time::Duration;
-
-#[derive(Clone)]
-pub struct ConsumerBackendImpl<T> {
- pub client_factory: Arc<dyn ClientFactory>,
- pub config: BenchmarkConsumerConfig,
- _phantom: PhantomData<T>,
-}
-
-impl<T> ConsumerBackendImpl<T> {
- pub fn new(client_factory: Arc<dyn ClientFactory>, config: BenchmarkConsumerConfig) -> Self {
- Self {
- client_factory,
- config,
- _phantom: PhantomData,
- }
- }
-}
-
-pub struct LowLevelApiMarker;
-pub struct HighLevelApiMarker;
-
-pub type LowLevelBackend = ConsumerBackendImpl<LowLevelApiMarker>;
-pub type HighLevelBackend = ConsumerBackendImpl<HighLevelApiMarker>;
-
-pub enum ConsumerBackend {
- LowLevel(LowLevelBackend),
- HighLevel(HighLevelBackend),
-}
-
-#[derive(Debug, Clone)]
-pub struct ConsumedBatch {
- pub messages: u32,
- pub user_data_bytes: u64,
- pub total_bytes: u64,
- pub latency: Duration,
-}
-
-#[derive(Debug, Clone)]
-pub struct BenchmarkConsumerConfig {
- pub consumer_id: u32,
- pub consumer_group_id: Option<u32>,
- pub stream_id: u32,
- pub messages_per_batch: BenchmarkNumericParameter,
- pub warmup_time: IggyDuration,
- pub polling_kind: PollingKind,
- pub origin_timestamp_latency_calculation: bool,
-}
-
-pub trait BenchmarkConsumerBackend {
- type Consumer;
-
- async fn setup(&self) -> Result<Self::Consumer, IggyError>;
- async fn warmup(&self, consumer: &mut Self::Consumer) -> Result<(), IggyError>;
- async fn consume_batch(
- &self,
- consumer: &mut Self::Consumer,
- ) -> Result<Option<ConsumedBatch>, IggyError>;
- fn log_setup_info(&self);
- fn log_warmup_info(&self);
-}
diff --git a/core/bench/src/actors/consumer/benchmark_consumer.rs b/core/bench/src/actors/consumer/benchmark_consumer.rs
index b739a00d..6181fc49 100644
--- a/core/bench/src/actors/consumer/benchmark_consumer.rs
+++ b/core/bench/src/actors/consumer/benchmark_consumer.rs
@@ -16,10 +16,8 @@
* under the License.
*/
-use super::backend::{
- BenchmarkConsumerBackend, BenchmarkConsumerConfig, ConsumerBackend, HighLevelBackend,
- LowLevelBackend,
-};
+use crate::actors::consumer::client::BenchmarkConsumerClient;
+use crate::actors::consumer::client::interface::BenchmarkConsumerConfig;
use crate::analytics::metrics::individual::from_records;
use crate::analytics::record::BenchmarkRecord;
use crate::utils::finish_condition::BenchmarkFinishCondition;
@@ -30,58 +28,33 @@ use bench_report::individual_metrics::BenchmarkIndividualMetrics;
use bench_report::numeric_parameter::BenchmarkNumericParameter;
use human_repr::HumanCount;
use iggy::prelude::*;
-use integration::test_server::ClientFactory;
use std::sync::Arc;
use std::time::Duration;
use tokio::time::Instant;
use tracing::info;
-pub struct BenchmarkConsumer {
- backend: ConsumerBackend,
- benchmark_kind: BenchmarkKind,
- finish_condition: Arc<BenchmarkFinishCondition>,
- sampling_time: IggyDuration,
- moving_average_window: u32,
- limit_bytes_per_second: Option<IggyByteSize>,
- config: BenchmarkConsumerConfig,
+pub struct BenchmarkConsumer<C: BenchmarkConsumerClient> {
+ pub client: C,
+ pub benchmark_kind: BenchmarkKind,
+ pub finish_condition: Arc<BenchmarkFinishCondition>,
+ pub sampling_time: IggyDuration,
+ pub moving_average_window: u32,
+ pub limit_bytes_per_second: Option<IggyByteSize>,
+ pub config: BenchmarkConsumerConfig,
}
-impl BenchmarkConsumer {
- #[allow(clippy::too_many_arguments)]
- pub fn new(
- client_factory: Arc<dyn ClientFactory>,
+impl<C: BenchmarkConsumerClient> BenchmarkConsumer<C> {
+ pub const fn new(
+ client: C,
benchmark_kind: BenchmarkKind,
- consumer_id: u32,
- consumer_group_id: Option<u32>,
- stream_id: u32,
- messages_per_batch: BenchmarkNumericParameter,
finish_condition: Arc<BenchmarkFinishCondition>,
- warmup_time: IggyDuration,
sampling_time: IggyDuration,
moving_average_window: u32,
- polling_kind: PollingKind,
limit_bytes_per_second: Option<IggyByteSize>,
- origin_timestamp_latency_calculation: bool,
- use_high_level_api: bool,
+ config: BenchmarkConsumerConfig,
) -> Self {
- let config = BenchmarkConsumerConfig {
- consumer_id,
- consumer_group_id,
- stream_id,
- messages_per_batch,
- warmup_time,
- polling_kind,
- origin_timestamp_latency_calculation,
- };
-
- let backend = if use_high_level_api {
- ConsumerBackend::HighLevel(HighLevelBackend::new(client_factory, config.clone()))
- } else {
- ConsumerBackend::LowLevel(LowLevelBackend::new(client_factory, config.clone()))
- };
-
Self {
- backend,
+ client,
benchmark_kind,
finish_condition,
sampling_time,
@@ -91,64 +64,32 @@ impl BenchmarkConsumer {
}
}
- pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
- match self.backend {
- ConsumerBackend::LowLevel(backend) => {
- Self::run_with_backend(
- self.benchmark_kind,
- self.finish_condition,
- self.sampling_time,
- self.moving_average_window,
- self.limit_bytes_per_second,
- self.config,
- backend,
- )
- .await
- }
- ConsumerBackend::HighLevel(backend) => {
- Self::run_with_backend(
- self.benchmark_kind,
- self.finish_condition,
- self.sampling_time,
- self.moving_average_window,
- self.limit_bytes_per_second,
- self.config,
- backend,
- )
- .await
- }
- }
- }
-
- async fn run_with_backend<B: BenchmarkConsumerBackend>(
- benchmark_kind: BenchmarkKind,
- finish_condition: Arc<BenchmarkFinishCondition>,
- sampling_time: IggyDuration,
- moving_average_window: u32,
- limit_bytes_per_second: Option<IggyByteSize>,
- config: BenchmarkConsumerConfig,
- backend: B,
- ) -> Result<BenchmarkIndividualMetrics, IggyError> {
- let mut consumer = backend.setup().await?;
+ #[allow(clippy::too_many_lines)]
+ #[allow(clippy::cognitive_complexity)]
+ pub async fn run(mut self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ self.client.setup().await?;
- if config.warmup_time.get_duration() != Duration::from_millis(0) {
- backend.log_warmup_info();
- backend.warmup(&mut consumer).await?;
+ if self.config.warmup_time.get_duration() != Duration::from_millis(0) {
+ self.log_warmup_info();
+ let warmup_end = Instant::now() + self.config.warmup_time.get_duration();
+ while Instant::now() < warmup_end {
+ let _ = self.client.consume_batch().await?;
+ }
}
- backend.log_setup_info();
+ self.log_setup_info();
- let max_capacity = finish_condition.max_capacity();
+ let max_capacity = self.finish_condition.max_capacity();
let mut records = Vec::with_capacity(max_capacity);
let mut messages_processed = 0;
let mut batches_processed = 0;
let mut bytes_processed = 0;
let mut user_data_bytes_processed = 0;
let start_timestamp = Instant::now();
- let rate_limiter = limit_bytes_per_second.map(BenchmarkRateLimiter::new);
+ let rate_limiter = self.limit_bytes_per_second.map(BenchmarkRateLimiter::new);
- while !finish_condition.is_done() {
- let batch_opt = backend.consume_batch(&mut consumer).await?;
+ while !self.finish_condition.is_done() {
+ let batch_opt = self.client.consume_batch().await?;
let Some(batch) = batch_opt else {
continue;
@@ -175,31 +116,69 @@ impl BenchmarkConsumer {
.await;
}
- if finish_condition.account_and_check(batch.user_data_bytes) {
+ if self
+ .finish_condition
+ .account_and_check(batch.user_data_bytes)
+ {
break;
}
}
let metrics = from_records(
&records,
- benchmark_kind,
+ self.benchmark_kind,
ActorKind::Consumer,
- config.consumer_id,
- sampling_time,
- moving_average_window,
+ self.config.consumer_id,
+ self.sampling_time,
+ self.moving_average_window,
);
Self::log_statistics(
- config.consumer_id,
+ self.config.consumer_id,
messages_processed,
u32::try_from(batches_processed).unwrap_or(u32::MAX),
- &config.messages_per_batch,
+ &self.config.messages_per_batch,
&metrics,
);
Ok(metrics)
}
+ pub fn log_setup_info(&self) {
+ if let Some(cg_id) = self.config.consumer_group_id {
+ info!(
+ "Consumer #{}, part of consumer group #{} â polling in {} messages per batch from stream {}, using {}...",
+ self.config.consumer_id,
+ cg_id,
+ self.config.messages_per_batch,
+ self.config.stream_id,
+ C::API_LABEL,
+ );
+ } else {
+ info!(
+ "Consumer #{} â polling in {} messages per batch from stream {}, using {}...",
+ self.config.consumer_id,
+ self.config.messages_per_batch,
+ self.config.stream_id,
+ C::API_LABEL,
+ );
+ }
+ }
+
+ pub fn log_warmup_info(&self) {
+ if let Some(cg_id) = self.config.consumer_group_id {
+ info!(
+ "Consumer #{}, group #{} â warming up for {}",
+ self.config.consumer_id, cg_id, self.config.warmup_time,
+ );
+ } else {
+ info!(
+ "Consumer #{} â warming up for {}",
+ self.config.consumer_id, self.config.warmup_time,
+ );
+ }
+ }
+
pub fn log_statistics(
consumer_id: u32,
total_messages: u64,
diff --git a/core/bench/src/actors/consumer/high_level_backend.rs b/core/bench/src/actors/consumer/client/high_level.rs
similarity index 55%
rename from core/bench/src/actors/consumer/high_level_backend.rs
rename to core/bench/src/actors/consumer/client/high_level.rs
index 656fdace..362fd808 100644
--- a/core/bench/src/actors/consumer/high_level_backend.rs
+++ b/core/bench/src/actors/consumer/client/high_level.rs
@@ -16,80 +16,47 @@
* under the License.
*/
-use super::backend::{BenchmarkConsumerBackend, ConsumedBatch, HighLevelBackend};
+use crate::actors::{
+ ApiLabel, BatchMetrics, BenchmarkInit,
+ consumer::client::{
+ BenchmarkConsumerClient,
+ interface::{BenchmarkConsumerConfig, ConsumerClient},
+ },
+};
+
use futures_util::StreamExt;
use iggy::prelude::*;
-use integration::test_server::login_root;
-use std::time::Duration;
+use integration::test_server::{ClientFactory, login_root};
+use std::{sync::Arc, time::Duration};
use tokio::time::{Instant, timeout};
-use tracing::{debug, error, info, warn};
-
-impl BenchmarkConsumerBackend for HighLevelBackend {
- type Consumer = IggyConsumer;
-
- async fn setup(&self) -> Result<Self::Consumer, IggyError> {
- let topic_id: u32 = 1;
- let client = self.client_factory.create_client().await;
- let client = IggyClient::create(client, None, None);
- login_root(&client).await;
-
- let stream_id_str = self.config.stream_id.to_string();
- let topic_id_str = topic_id.to_string();
-
- let mut iggy_consumer = if let Some(cg_id) = self.config.consumer_group_id {
- let consumer_group_name = format!("cg_{cg_id}");
- // Consumer groups use auto-commit (matching PollingKind::Next behavior from low-level API)
- client
- .consumer_group(&consumer_group_name, &stream_id_str, &topic_id_str)?
- .batch_length(self.config.messages_per_batch.get())
- .auto_commit(AutoCommit::When(AutoCommitWhen::PollingMessages))
- .create_consumer_group_if_not_exists()
- .auto_join_consumer_group()
- .build()
- } else {
- // TODO(hubcio): as of now, there is no way to mimic the behavior of
- // PollingKind::Offset, because high level API doesn't provide method
- // to commit local offset manually, only auto-commit on server.
- client
- .consumer(
- &format!("hl_consumer_{}", self.config.consumer_id),
- &stream_id_str,
- &topic_id_str,
- 1,
- )?
- .batch_length(self.config.messages_per_batch.get())
- .auto_commit(AutoCommit::Disabled)
- .build()
- };
+use tracing::{error, warn};
- iggy_consumer.init().await?;
- Ok(iggy_consumer)
- }
+pub struct HighLevelConsumerClient {
+ client_factory: Arc<dyn ClientFactory>,
+ config: BenchmarkConsumerConfig,
+ consumer: Option<IggyConsumer>,
+}
- async fn warmup(&self, consumer: &mut Self::Consumer) -> Result<(), IggyError> {
- let warmup_end = Instant::now() + self.config.warmup_time.get_duration();
- while Instant::now() < warmup_end {
- if let Some(message) = consumer.next().await {
- if message.is_err() {
- break;
- }
- }
+impl HighLevelConsumerClient {
+ pub fn new(client_factory: Arc<dyn ClientFactory>, config: BenchmarkConsumerConfig) -> Self {
+ Self {
+ client_factory,
+ config,
+ consumer: None,
}
- Ok(())
}
+}
+
+impl ConsumerClient for HighLevelConsumerClient {
+ async fn consume_batch(&mut self) -> Result<Option<BatchMetrics>, IggyError> {
+ let consumer = self.consumer.as_mut().expect("Consumer not initialized");
- #[allow(clippy::cognitive_complexity)]
- async fn consume_batch(
- &self,
- consumer: &mut Self::Consumer,
- ) -> Result<Option<ConsumedBatch>, IggyError> {
let batch_start = Instant::now();
let mut batch_messages = 0;
let mut batch_user_bytes = 0;
let mut batch_total_bytes = 0;
while batch_messages < self.config.messages_per_batch.get() {
- // Use timeout to avoid getting stuck waiting for messages
let timeout_result = timeout(Duration::from_secs(1), consumer.next()).await;
match timeout_result {
@@ -101,19 +68,11 @@ impl BenchmarkConsumerBackend for HighLevelBackend {
received_message.message.get_size_bytes().as_bytes_u64();
let offset = received_message.message.header.offset;
- if batch_messages >= self.config.messages_per_batch.get() {
- info!(
- "Batch of {} messages consumed, last_offset: {}, current_offset: {}",
- batch_messages,
- received_message.message.header.offset,
- received_message.current_offset
- );
+ if batch_messages >= self.config.messages_per_batch.get() {
if let Err(error) = consumer.store_offset(offset, None).await {
error!("Failed to store offset: {offset}. {error}");
- continue;
}
- debug!("Offset: {offset} stored successfully");
break;
}
}
@@ -121,15 +80,7 @@ impl BenchmarkConsumerBackend for HighLevelBackend {
warn!("Error receiving message: {}", err);
}
},
- Ok(None) => {
- debug!("Consumer stream ended during batching");
- break;
- }
- Err(_) => {
- debug!(
- "Timeout waiting for messages, stopping batch at {} messages",
- batch_messages
- );
+ Ok(None) | Err(_) => {
break;
}
}
@@ -138,7 +89,7 @@ impl BenchmarkConsumerBackend for HighLevelBackend {
if batch_messages == 0 {
Ok(None)
} else {
- Ok(Some(ConsumedBatch {
+ Ok(Some(BatchMetrics {
messages: batch_messages,
user_data_bytes: batch_user_bytes,
total_bytes: batch_total_bytes,
@@ -146,35 +97,52 @@ impl BenchmarkConsumerBackend for HighLevelBackend {
}))
}
}
+}
- fn log_setup_info(&self) {
- if let Some(cg_id) = self.config.consumer_group_id {
- info!(
- "Consumer #{}, part of consumer group #{} â polling in {} messages per batch from stream {}, using high-level API...",
- self.config.consumer_id,
- cg_id,
- self.config.messages_per_batch,
- self.config.stream_id,
- );
- } else {
- info!(
- "Consumer #{} â polling in {} messages per batch from stream {}, using high-level API...",
- self.config.consumer_id, self.config.messages_per_batch, self.config.stream_id,
- );
- }
- }
+impl BenchmarkInit for HighLevelConsumerClient {
+ async fn setup(&mut self) -> Result<(), IggyError> {
+ let topic_id = 1;
+ let client = self.client_factory.create_client().await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
- fn log_warmup_info(&self) {
- if let Some(cg_id) = self.config.consumer_group_id {
- info!(
- "Consumer #{}, part of consumer group #{}, â warming up for {}...",
- self.config.consumer_id, cg_id, self.config.warmup_time
- );
+ let stream_id_str = self.config.stream_id.to_string();
+ let topic_id_str = topic_id.to_string();
+
+ let mut consumer = if let Some(cg_id) = self.config.consumer_group_id {
+ let consumer_group_name = format!("cg_{cg_id}");
+ client
+ .consumer_group(&consumer_group_name, &stream_id_str, &topic_id_str)?
+ .batch_length(self.config.messages_per_batch.get())
+ .auto_commit(AutoCommit::When(AutoCommitWhen::PollingMessages))
+ .create_consumer_group_if_not_exists()
+ .auto_join_consumer_group()
+ .build()
} else {
- info!(
- "Consumer #{} â warming up for {}...",
- self.config.consumer_id, self.config.warmup_time
- );
- }
+ // TODO(hubcio): as of now, there is no way to mimic the behavior of
+ // PollingKind::Offset, because high level API doesn't provide method
+ // to commit local offset manually, only auto-commit on server.
+ client
+ .consumer(
+ &format!("hl_consumer_{}", self.config.consumer_id),
+ &stream_id_str,
+ &topic_id_str,
+ 1,
+ )?
+ .polling_strategy(PollingStrategy::offset(0))
+ .batch_length(self.config.messages_per_batch.get())
+ .auto_commit(AutoCommit::Disabled)
+ .build()
+ };
+
+ consumer.init().await?;
+ self.consumer = Some(consumer);
+ Ok(())
}
}
+
+impl ApiLabel for HighLevelConsumerClient {
+ const API_LABEL: &'static str = "high-level";
+}
+
+impl BenchmarkConsumerClient for HighLevelConsumerClient {}
diff --git a/core/bench/src/actors/producing_consumer/mod.rs b/core/bench/src/actors/consumer/client/interface.rs
similarity index 53%
copy from core/bench/src/actors/producing_consumer/mod.rs
copy to core/bench/src/actors/consumer/client/interface.rs
index 2927c8d9..d1179a73 100644
--- a/core/bench/src/actors/producing_consumer/mod.rs
+++ b/core/bench/src/actors/consumer/client/interface.rs
@@ -16,6 +16,23 @@
* under the License.
*/
-pub mod benchmark_producing_consumer;
+use bench_report::numeric_parameter::BenchmarkNumericParameter;
+use iggy::prelude::*;
-pub use benchmark_producing_consumer::BenchmarkProducingConsumer;
+use crate::actors::{ApiLabel, BatchMetrics, BenchmarkInit};
+
+#[derive(Debug, Clone)]
+pub struct BenchmarkConsumerConfig {
+ pub consumer_id: u32,
+ pub consumer_group_id: Option<u32>,
+ pub stream_id: u32,
+ pub messages_per_batch: BenchmarkNumericParameter,
+ pub warmup_time: IggyDuration,
+ pub polling_kind: PollingKind,
+ pub origin_timestamp_latency_calculation: bool,
+}
+
+pub trait ConsumerClient: Send + Sync {
+ async fn consume_batch(&mut self) -> Result<Option<BatchMetrics>, IggyError>;
+}
+pub trait BenchmarkConsumerClient: ConsumerClient + BenchmarkInit + ApiLabel + Send + Sync {}
diff --git a/core/bench/src/actors/consumer/client/low_level.rs b/core/bench/src/actors/consumer/client/low_level.rs
new file mode 100644
index 00000000..3217a603
--- /dev/null
+++ b/core/bench/src/actors/consumer/client/low_level.rs
@@ -0,0 +1,162 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use crate::actors::consumer::client::BenchmarkConsumerClient;
+use crate::actors::consumer::client::interface::{BenchmarkConsumerConfig, ConsumerClient};
+use crate::actors::{ApiLabel, BatchMetrics, BenchmarkInit};
+use crate::benchmarks::common::create_consumer;
+use crate::utils::{batch_total_size_bytes, batch_user_size_bytes};
+use iggy::prelude::*;
+use integration::test_server::{ClientFactory, login_root};
+use std::sync::Arc;
+use std::time::Duration;
+use tokio::time::Instant;
+
+pub struct LowLevelConsumerClient {
+ client_factory: Arc<dyn ClientFactory>,
+ config: BenchmarkConsumerConfig,
+ client: Option<IggyClient>,
+ consumer: Option<Consumer>,
+ stream_id: Identifier,
+ topic_id: Identifier,
+ partition_id: Option<u32>,
+ polling_strategy: PollingStrategy,
+ auto_commit: bool,
+ offset: u64,
+}
+
+impl LowLevelConsumerClient {
+ pub fn new(client_factory: Arc<dyn ClientFactory>, config: BenchmarkConsumerConfig) -> Self {
+ Self {
+ client_factory,
+ config,
+ client: None,
+ consumer: None,
+ stream_id: Identifier::default(),
+ topic_id: Identifier::default(),
+ partition_id: None,
+ polling_strategy: PollingStrategy::next(),
+ auto_commit: true,
+ offset: 0,
+ }
+ }
+}
+
+impl ConsumerClient for LowLevelConsumerClient {
+ async fn consume_batch(&mut self) -> Result<Option<BatchMetrics>, IggyError> {
+ let client = self.client.as_ref().expect("client not initialized");
+ let consumer = self.consumer.as_ref().expect("consumer not initialized");
+ let messages_to_receive = self.config.messages_per_batch.get();
+
+ let before_poll = Instant::now();
+ let polled = client
+ .poll_messages(
+ &self.stream_id,
+ &self.topic_id,
+ self.partition_id,
+ consumer,
+ &self.polling_strategy,
+ messages_to_receive,
+ self.auto_commit,
+ )
+ .await;
+
+ let polled = match polled {
+ Ok(p) => p,
+ Err(e) => {
+ if matches!(e, IggyError::TopicIdNotFound(_, _)) {
+ return Ok(None);
+ }
+ return Err(e);
+ }
+ };
+
+ if polled.messages.is_empty() {
+ return Ok(None);
+ }
+ let message_count = u32::try_from(polled.messages.len()).unwrap();
+ let latency = if self.config.origin_timestamp_latency_calculation {
+ let now = IggyTimestamp::now().as_micros();
+ Duration::from_micros(now - polled.messages[0].header.origin_timestamp)
+ } else {
+ before_poll.elapsed()
+ };
+
+ let user_bytes = batch_user_size_bytes(&polled);
+ let total_bytes = batch_total_size_bytes(&polled);
+
+ self.offset += polled.messages.len() as u64;
+
+ Ok(Some(BatchMetrics {
+ messages: message_count,
+ user_data_bytes: user_bytes,
+ total_bytes,
+ latency,
+ }))
+ }
+}
+
+impl BenchmarkInit for LowLevelConsumerClient {
+ async fn setup(&mut self) -> Result<(), IggyError> {
+ let topic_id = 1u32;
+ let default_partition_id = 1u32;
+
+ let client = self.client_factory.create_client().await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
+
+ let stream_id = self.config.stream_id.try_into().unwrap();
+ let topic_id = topic_id.try_into().unwrap();
+ let partition_id = if self.config.consumer_group_id.is_some() {
+ None
+ } else {
+ Some(default_partition_id)
+ };
+
+ let consumer = create_consumer(
+ &client,
+ self.config.consumer_group_id.as_ref(),
+ &stream_id,
+ &topic_id,
+ self.config.consumer_id,
+ )
+ .await;
+ let (polling_strategy, auto_commit) = match self.config.polling_kind {
+ PollingKind::Offset => (PollingStrategy::offset(self.offset), false),
+ PollingKind::Next => (PollingStrategy::next(), true),
+ _ => panic!("Unsupported polling kind: {:?}", self.config.polling_kind),
+ };
+
+ self.client = Some(client);
+ self.consumer = Some(consumer);
+
+ self.stream_id = stream_id;
+ self.topic_id = topic_id;
+ self.partition_id = partition_id;
+ self.polling_strategy = polling_strategy;
+ self.auto_commit = auto_commit;
+
+ Ok(())
+ }
+}
+
+impl ApiLabel for LowLevelConsumerClient {
+ const API_LABEL: &'static str = "low-level";
+}
+
+impl BenchmarkConsumerClient for LowLevelConsumerClient {}
diff --git a/core/bench/src/actors/producer/mod.rs b/core/bench/src/actors/consumer/client/mod.rs
similarity index 88%
copy from core/bench/src/actors/producer/mod.rs
copy to core/bench/src/actors/consumer/client/mod.rs
index d4f6209f..7d17c685 100644
--- a/core/bench/src/actors/producer/mod.rs
+++ b/core/bench/src/actors/consumer/client/mod.rs
@@ -16,6 +16,8 @@
* under the License.
*/
-pub mod benchmark_producer;
+pub mod high_level;
+pub mod interface;
+pub mod low_level;
-pub use benchmark_producer::BenchmarkProducer;
+pub use interface::BenchmarkConsumerClient;
diff --git a/core/bench/src/actors/consumer/low_level_backend.rs b/core/bench/src/actors/consumer/low_level_backend.rs
deleted file mode 100644
index bcdb3f3e..00000000
--- a/core/bench/src/actors/consumer/low_level_backend.rs
+++ /dev/null
@@ -1,201 +0,0 @@
-/* Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-use super::backend::{BenchmarkConsumerBackend, ConsumedBatch, LowLevelBackend};
-use crate::benchmarks::common::create_consumer;
-use crate::utils::{batch_total_size_bytes, batch_user_size_bytes};
-use iggy::prelude::*;
-use integration::test_server::login_root;
-use std::time::Duration;
-use tokio::time::Instant;
-use tracing::{info, warn};
-
-impl BenchmarkConsumerBackend for LowLevelBackend {
- type Consumer = (
- IggyClient,
- Identifier,
- Identifier,
- Option<u32>,
- Consumer,
- u64,
- );
-
- async fn setup(&self) -> Result<Self::Consumer, IggyError> {
- let topic_id: u32 = 1;
- let default_partition_id: u32 = 1;
- let client = self.client_factory.create_client().await;
- let client = IggyClient::create(client, None, None);
- login_root(&client).await;
-
- let stream_id = self.config.stream_id.try_into().unwrap();
- let topic_id = topic_id.try_into().unwrap();
- let partition_id = if self.config.consumer_group_id.is_some() {
- None
- } else {
- Some(default_partition_id)
- };
- let cg_id = self.config.consumer_group_id;
- let consumer = create_consumer(
- &client,
- cg_id.as_ref(),
- &stream_id,
- &topic_id,
- self.config.consumer_id,
- )
- .await;
-
- Ok((client, stream_id, topic_id, partition_id, consumer, 0))
- }
-
- async fn warmup(&self, consumer: &mut Self::Consumer) -> Result<(), IggyError> {
- let (client, stream_id, topic_id, partition_id, consumer_obj, messages_processed) =
- consumer;
- let warmup_end = Instant::now() + self.config.warmup_time.get_duration();
- let mut warmup_messages_processed = 0;
- let mut _last_batch_user_size_bytes = 0;
-
- while Instant::now() < warmup_end {
- let messages_to_receive = self.config.messages_per_batch.get();
- let offset = *messages_processed + warmup_messages_processed;
- let (strategy, auto_commit) = match self.config.polling_kind {
- PollingKind::Offset => (PollingStrategy::offset(offset), false),
- PollingKind::Next => (PollingStrategy::next(), true),
- _ => panic!(
- "Unsupported polling kind for benchmark: {:?}",
- self.config.polling_kind
- ),
- };
- let polled_messages = client
- .poll_messages(
- stream_id,
- topic_id,
- *partition_id,
- consumer_obj,
- &strategy,
- messages_to_receive,
- auto_commit,
- )
- .await?;
-
- if polled_messages.messages.is_empty() {
- warn!(
- "Consumer #{} â Messages are empty for offset: {}, retrying...",
- self.config.consumer_id, offset
- );
- continue;
- }
- warmup_messages_processed += polled_messages.messages.len() as u64;
- _last_batch_user_size_bytes = batch_user_size_bytes(&polled_messages);
- }
- Ok(())
- }
-
- async fn consume_batch(
- &self,
- consumer: &mut Self::Consumer,
- ) -> Result<Option<ConsumedBatch>, IggyError> {
- let (client, stream_id, topic_id, partition_id, consumer_obj, messages_processed) =
- consumer;
- let messages_to_receive = self.config.messages_per_batch.get();
- let offset = *messages_processed;
- let (strategy, auto_commit) = match self.config.polling_kind {
- PollingKind::Offset => (PollingStrategy::offset(offset), false),
- PollingKind::Next => (PollingStrategy::next(), true),
- _ => panic!(
- "Unsupported polling kind for benchmark: {:?}",
- self.config.polling_kind
- ),
- };
-
- let before_poll = Instant::now();
- let polled_messages = client
- .poll_messages(
- stream_id,
- topic_id,
- *partition_id,
- consumer_obj,
- &strategy,
- messages_to_receive,
- auto_commit,
- )
- .await;
-
- let polled_messages = match polled_messages {
- Ok(messages) => messages,
- Err(e) => {
- if matches!(e, IggyError::TopicIdNotFound(_, _)) {
- return Ok(None);
- }
- return Err(e);
- }
- };
-
- if polled_messages.messages.is_empty() {
- return Ok(None);
- }
- let latency = if self.config.origin_timestamp_latency_calculation {
- let now = IggyTimestamp::now().as_micros();
- Duration::from_micros(now - polled_messages.messages[0].header.origin_timestamp)
- } else {
- before_poll.elapsed()
- };
-
- let batch_user_size_bytes = batch_user_size_bytes(&polled_messages);
- let batch_total_size_bytes = batch_total_size_bytes(&polled_messages);
-
- *messages_processed += polled_messages.messages.len() as u64;
-
- Ok(Some(ConsumedBatch {
- messages: u32::try_from(polled_messages.messages.len()).unwrap(),
- user_data_bytes: batch_user_size_bytes,
- total_bytes: batch_total_size_bytes,
- latency,
- }))
- }
-
- fn log_setup_info(&self) {
- if let Some(cg_id) = self.config.consumer_group_id {
- info!(
- "Consumer #{}, part of consumer group #{} â polling in {} messages per batch from stream {}, using low-level API...",
- self.config.consumer_id,
- cg_id,
- self.config.messages_per_batch,
- self.config.stream_id,
- );
- } else {
- info!(
- "Consumer #{} â polling in {} messages per batch from stream {}, using low-level API...",
- self.config.consumer_id, self.config.messages_per_batch, self.config.stream_id,
- );
- }
- }
-
- fn log_warmup_info(&self) {
- if let Some(cg_id) = self.config.consumer_group_id {
- info!(
- "Consumer #{}, part of consumer group #{}, â warming up for {}...",
- self.config.consumer_id, cg_id, self.config.warmup_time
- );
- } else {
- info!(
- "Consumer #{} â warming up for {}...",
- self.config.consumer_id, self.config.warmup_time
- );
- }
- }
-}
diff --git a/core/bench/src/actors/consumer/mod.rs b/core/bench/src/actors/consumer/mod.rs
index 2912806b..c7e2ae46 100644
--- a/core/bench/src/actors/consumer/mod.rs
+++ b/core/bench/src/actors/consumer/mod.rs
@@ -16,9 +16,7 @@
* under the License.
*/
-pub mod backend;
pub mod benchmark_consumer;
-pub mod high_level_backend;
-pub mod low_level_backend;
-
+pub mod client;
+pub mod typed_benchmark_consumer;
pub use benchmark_consumer::BenchmarkConsumer;
diff --git a/core/bench/src/actors/consumer/typed_benchmark_consumer.rs b/core/bench/src/actors/consumer/typed_benchmark_consumer.rs
new file mode 100644
index 00000000..fca492ea
--- /dev/null
+++ b/core/bench/src/actors/consumer/typed_benchmark_consumer.rs
@@ -0,0 +1,100 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use std::sync::Arc;
+
+use crate::{
+ actors::consumer::{
+ BenchmarkConsumer,
+ client::{
+ high_level::HighLevelConsumerClient, interface::BenchmarkConsumerConfig,
+ low_level::LowLevelConsumerClient,
+ },
+ },
+ utils::finish_condition::BenchmarkFinishCondition,
+};
+use bench_report::{
+ benchmark_kind::BenchmarkKind, individual_metrics::BenchmarkIndividualMetrics,
+ numeric_parameter::BenchmarkNumericParameter,
+};
+use iggy::prelude::*;
+use integration::test_server::ClientFactory;
+
+pub enum TypedBenchmarkConsumer {
+ High(BenchmarkConsumer<HighLevelConsumerClient>),
+ Low(BenchmarkConsumer<LowLevelConsumerClient>),
+}
+
+impl TypedBenchmarkConsumer {
+ #[allow(clippy::too_many_arguments)]
+ pub fn new(
+ use_high_level_api: bool,
+ client_factory: Arc<dyn ClientFactory>,
+ benchmark_kind: BenchmarkKind,
+ consumer_id: u32,
+ consumer_group_id: Option<u32>,
+ stream_id: u32,
+ messages_per_batch: BenchmarkNumericParameter,
+ finish_condition: Arc<BenchmarkFinishCondition>,
+ warmup_time: IggyDuration,
+ sampling_time: IggyDuration,
+ moving_average_window: u32,
+ polling_kind: PollingKind,
+ limit_bytes_per_second: Option<IggyByteSize>,
+ origin_timestamp_latency_calculation: bool,
+ ) -> Self {
+ let config = BenchmarkConsumerConfig {
+ consumer_id,
+ consumer_group_id,
+ stream_id,
+ messages_per_batch,
+ warmup_time,
+ polling_kind,
+ origin_timestamp_latency_calculation,
+ };
+
+ if use_high_level_api {
+ Self::High(BenchmarkConsumer::new(
+ HighLevelConsumerClient::new(client_factory, config.clone()),
+ benchmark_kind,
+ finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ config,
+ ))
+ } else {
+ Self::Low(BenchmarkConsumer::new(
+ LowLevelConsumerClient::new(client_factory, config.clone()),
+ benchmark_kind,
+ finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ config,
+ ))
+ }
+ }
+
+ pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ match self {
+ Self::High(c) => c.run().await,
+ Self::Low(c) => c.run().await,
+ }
+ }
+}
diff --git a/core/bench/src/actors/mod.rs b/core/bench/src/actors/mod.rs
index 128fafe1..d992ad5a 100644
--- a/core/bench/src/actors/mod.rs
+++ b/core/bench/src/actors/mod.rs
@@ -16,6 +16,26 @@
* under the License.
*/
+use std::time::Duration;
+
+use iggy::prelude::IggyError;
+
pub mod consumer;
pub mod producer;
pub mod producing_consumer;
+
+#[derive(Debug, Clone)]
+pub struct BatchMetrics {
+ pub messages: u32,
+ pub user_data_bytes: u64,
+ pub total_bytes: u64,
+ pub latency: Duration,
+}
+
+pub trait BenchmarkInit: Send + Sync {
+ async fn setup(&mut self) -> Result<(), IggyError>;
+}
+
+pub trait ApiLabel {
+ const API_LABEL: &'static str;
+}
diff --git a/core/bench/src/actors/producer/benchmark_producer.rs b/core/bench/src/actors/producer/benchmark_producer.rs
index dff7b18b..9c9f2a55 100644
--- a/core/bench/src/actors/producer/benchmark_producer.rs
+++ b/core/bench/src/actors/producer/benchmark_producer.rs
@@ -16,144 +16,102 @@
* under the License.
*/
-use crate::analytics::metrics::individual::from_records;
-use crate::analytics::record::BenchmarkRecord;
-use crate::utils::batch_generator::BenchmarkBatchGenerator;
-use crate::utils::finish_condition::BenchmarkFinishCondition;
-use crate::utils::rate_limiter::BenchmarkRateLimiter;
+use crate::{
+ actors::producer::client::{BenchmarkProducerClient, interface::BenchmarkProducerConfig},
+ analytics::{metrics::individual::from_records, record::BenchmarkRecord},
+ utils::{
+ batch_generator::BenchmarkBatchGenerator, finish_condition::BenchmarkFinishCondition,
+ rate_limiter::BenchmarkRateLimiter,
+ },
+};
use bench_report::actor_kind::ActorKind;
use bench_report::benchmark_kind::BenchmarkKind;
use bench_report::individual_metrics::BenchmarkIndividualMetrics;
use bench_report::numeric_parameter::BenchmarkNumericParameter;
use human_repr::HumanCount;
use iggy::prelude::*;
-use integration::test_server::{ClientFactory, login_root};
-use std::sync::Arc;
-use std::time::Duration;
+use std::{sync::Arc, time::Duration};
use tokio::time::Instant;
use tracing::info;
-pub struct BenchmarkProducer {
- client_factory: Arc<dyn ClientFactory>,
- benchmark_kind: BenchmarkKind,
- producer_id: u32,
- stream_id: u32,
- partitions: u32,
- messages_per_batch: BenchmarkNumericParameter,
- message_size: BenchmarkNumericParameter,
- finish_condition: Arc<BenchmarkFinishCondition>,
- warmup_time: IggyDuration,
- sampling_time: IggyDuration,
- moving_average_window: u32,
- limit_bytes_per_second: Option<IggyByteSize>,
+pub struct BenchmarkProducer<P: BenchmarkProducerClient> {
+ pub client: P,
+ pub benchmark_kind: BenchmarkKind,
+ pub finish_condition: Arc<BenchmarkFinishCondition>,
+ pub sampling_time: IggyDuration,
+ pub moving_average_window: u32,
+ pub limit_bytes_per_second: Option<IggyByteSize>,
+ pub config: BenchmarkProducerConfig,
}
-impl BenchmarkProducer {
+impl<P: BenchmarkProducerClient> BenchmarkProducer<P> {
#[allow(clippy::too_many_arguments)]
- pub fn new(
- client_factory: Arc<dyn ClientFactory>,
+ pub const fn new(
+ client: P,
benchmark_kind: BenchmarkKind,
- producer_id: u32,
- stream_id: u32,
- partitions: u32,
- messages_per_batch: BenchmarkNumericParameter,
- message_size: BenchmarkNumericParameter,
finish_condition: Arc<BenchmarkFinishCondition>,
- warmup_time: IggyDuration,
sampling_time: IggyDuration,
moving_average_window: u32,
limit_bytes_per_second: Option<IggyByteSize>,
+ config: BenchmarkProducerConfig,
) -> Self {
Self {
- client_factory,
+ client,
benchmark_kind,
- producer_id,
- stream_id,
- partitions,
- messages_per_batch,
- message_size,
finish_condition,
- warmup_time,
sampling_time,
moving_average_window,
limit_bytes_per_second,
+ config,
}
}
+ #[allow(clippy::too_many_lines)]
#[allow(clippy::cognitive_complexity)]
- pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ pub async fn run(mut self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ info!(
+ "Producer #{} â sending {} ({} msgs/batch) on stream {}, rate limit: {:?}",
+ self.config.producer_id,
+ self.finish_condition.total_str(),
+ self.config.messages_per_batch,
+ self.config.stream_id,
+ self.limit_bytes_per_second,
+ );
+
+ self.client.setup().await?;
+
let mut batch_generator =
- BenchmarkBatchGenerator::new(self.message_size, self.messages_per_batch);
- let rate_limiter = self.limit_bytes_per_second.map(BenchmarkRateLimiter::new);
+ BenchmarkBatchGenerator::new(self.config.message_size, self.config.messages_per_batch);
- let topic_id: u32 = 1;
- let default_partition_id: u32 = 1;
- let partitions = self.partitions;
- let client = self.client_factory.create_client().await;
- let client = IggyClient::create(client, None, None);
- login_root(&client).await;
-
- let stream_id = self.stream_id.try_into()?;
- let topic_id = topic_id.try_into()?;
- let partitioning = match partitions {
- 0 => panic!("Partition count must be greater than 0"),
- 1 => Partitioning::partition_id(default_partition_id),
- 2.. => Partitioning::balanced(),
- };
-
- // -----------------------
- // WARM-UP
- // -----------------------
-
- if self.warmup_time.get_duration() != Duration::from_millis(0) {
- info!(
- "Producer #{} â warming up for {}...",
- self.producer_id, self.warmup_time
- );
- let warmup_end = Instant::now() + self.warmup_time.get_duration();
+ if self.config.warmup_time.get_duration() != Duration::from_millis(0) {
+ self.log_warmup_info();
+ let warmup_end = Instant::now() + self.config.warmup_time.get_duration();
while Instant::now() < warmup_end {
- let batch = batch_generator.generate_batch();
- client
- .send_messages(&stream_id, &topic_id, &partitioning, &mut batch.messages)
- .await?;
+ let _ = self.client.produce_batch(&mut batch_generator).await?;
}
}
- // -----------------------
- // MAIN BENCHMARK
- // -----------------------
- info!(
- "Producer #{} â sending {} in batches of {} messages to stream {} with {} partitions, partitioning: {}, rate limit: {:?}...",
- self.producer_id,
- self.finish_condition.total_str(),
- self.messages_per_batch,
- stream_id,
- partitions,
- partitioning,
- self.limit_bytes_per_second
- );
+ self.log_setup_info();
let max_capacity = self.finish_condition.max_capacity();
- let mut records: Vec<BenchmarkRecord> = Vec::with_capacity(max_capacity);
+ let mut records = Vec::with_capacity(max_capacity);
let mut messages_processed = 0;
let mut batches_processed = 0;
- let mut total_bytes_processed = 0;
let mut user_data_bytes_processed = 0;
+ let mut total_bytes_processed = 0;
+
+ let rate_limiter = self.limit_bytes_per_second.map(BenchmarkRateLimiter::new);
let start_timestamp = Instant::now();
- loop {
- if self.finish_condition.is_done() {
- break;
- }
- let batch = batch_generator.generate_batch();
- let before_send = Instant::now();
- client
- .send_messages(&stream_id, &topic_id, &partitioning, &mut batch.messages)
- .await?;
- let latency = before_send.elapsed();
-
- messages_processed += batch.messages.len() as u64;
+ while !self.finish_condition.is_done() {
+ let batch_opt = self.client.produce_batch(&mut batch_generator).await?;
+
+ let Some(batch) = batch_opt else {
+ continue;
+ };
+
+ messages_processed += u64::from(batch.messages);
batches_processed += 1;
user_data_bytes_processed += batch.user_data_bytes;
total_bytes_processed += batch.total_bytes;
@@ -161,7 +119,7 @@ impl BenchmarkProducer {
records.push(BenchmarkRecord {
elapsed_time_us: u64::try_from(start_timestamp.elapsed().as_micros())
.unwrap_or(u64::MAX),
- latency_us: u64::try_from(latency.as_micros()).unwrap_or(u64::MAX),
+ latency_us: u64::try_from(batch.latency.as_micros()).unwrap_or(u64::MAX),
messages: messages_processed,
message_batches: batches_processed,
user_data_bytes: user_data_bytes_processed,
@@ -178,6 +136,15 @@ impl BenchmarkProducer {
.finish_condition
.account_and_check(batch.user_data_bytes)
{
+ info!(
+ "Producer #{} â finished sending {} messages in {} batches ({} user bytes, {} total bytes), send finish condition: {}",
+ self.config.producer_id,
+ messages_processed.human_count_bare(),
+ batches_processed.human_count_bare(),
+ user_data_bytes_processed.human_count_bytes(),
+ total_bytes_processed.human_count_bytes(),
+ self.finish_condition.status(),
+ );
break;
}
}
@@ -186,22 +153,41 @@ impl BenchmarkProducer {
&records,
self.benchmark_kind,
ActorKind::Producer,
- self.producer_id,
+ self.config.producer_id,
self.sampling_time,
self.moving_average_window,
);
Self::log_statistics(
- self.producer_id,
+ self.config.producer_id,
messages_processed,
batches_processed,
- &self.messages_per_batch,
+ &self.config.messages_per_batch,
&metrics,
);
Ok(metrics)
}
+ fn log_setup_info(&self) {
+ info!(
+ "Producer #{} â sending {} messages per batch (each {} bytes) to stream {} across {} partition(s), using {}...",
+ self.config.producer_id,
+ self.config.messages_per_batch,
+ self.config.message_size,
+ self.config.stream_id,
+ self.config.partitions,
+ P::API_LABEL,
+ );
+ }
+
+ fn log_warmup_info(&self) {
+ info!(
+ "Producer #{} â warming up for {}...",
+ self.config.producer_id, self.config.warmup_time,
+ );
+ }
+
fn log_statistics(
producer_id: u32,
total_messages: u64,
diff --git a/core/bench/src/actors/producer/client/high_level.rs b/core/bench/src/actors/producer/client/high_level.rs
new file mode 100644
index 00000000..e740716b
--- /dev/null
+++ b/core/bench/src/actors/producer/client/high_level.rs
@@ -0,0 +1,103 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use crate::actors::{
+ ApiLabel, BatchMetrics, BenchmarkInit,
+ producer::client::{
+ BenchmarkProducerClient,
+ interface::{BenchmarkProducerConfig, ProducerClient},
+ },
+};
+use iggy::prelude::*;
+use integration::test_server::{ClientFactory, login_root};
+use std::sync::Arc;
+use tokio::time::Instant;
+
+pub struct HighLevelProducerClient {
+ client_factory: Arc<dyn ClientFactory>,
+ config: BenchmarkProducerConfig,
+ producer: Option<IggyProducer>,
+}
+
+impl HighLevelProducerClient {
+ pub fn new(client_factory: Arc<dyn ClientFactory>, config: BenchmarkProducerConfig) -> Self {
+ Self {
+ client_factory,
+ config,
+ producer: None,
+ }
+ }
+}
+#[allow(clippy::significant_drop_tightening)]
+impl ProducerClient for HighLevelProducerClient {
+ async fn produce_batch(
+ &mut self,
+ batch_generator: &mut crate::utils::batch_generator::BenchmarkBatchGenerator,
+ ) -> Result<Option<BatchMetrics>, IggyError> {
+ let producer = self.producer.as_mut().expect("Producer not initialized");
+
+ let batch = batch_generator.generate_owned_batch();
+ if batch.messages.is_empty() {
+ return Ok(None);
+ }
+ let message_count = u32::try_from(batch.messages.len()).unwrap();
+ let before_send = Instant::now();
+ producer.send(batch.messages).await?;
+ let latency = before_send.elapsed();
+
+ Ok(Some(BatchMetrics {
+ messages: message_count,
+ user_data_bytes: batch.user_data_bytes,
+ total_bytes: batch.total_bytes,
+ latency,
+ }))
+ }
+}
+
+impl BenchmarkInit for HighLevelProducerClient {
+ async fn setup(&mut self) -> Result<(), IggyError> {
+ let topic_id: u32 = 1;
+
+ let client = self.client_factory.create_client().await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
+
+ let stream_id_str = self.config.stream_id.to_string();
+ let topic_id_str = topic_id.to_string();
+
+ self.producer = Some(
+ client
+ .producer(&stream_id_str, &topic_id_str)?
+ .create_stream_if_not_exists()
+ .create_topic_if_not_exists(
+ self.config.partitions,
+ Some(1),
+ IggyExpiry::NeverExpire,
+ MaxTopicSize::ServerDefault,
+ )
+ .build(),
+ );
+
+ self.producer.as_mut().unwrap().init().await?;
+ Ok(())
+ }
+}
+impl ApiLabel for HighLevelProducerClient {
+ const API_LABEL: &'static str = "high-level";
+}
+impl BenchmarkProducerClient for HighLevelProducerClient {}
diff --git a/core/bench/src/actors/producing_consumer/mod.rs b/core/bench/src/actors/producer/client/interface.rs
similarity index 51%
copy from core/bench/src/actors/producing_consumer/mod.rs
copy to core/bench/src/actors/producer/client/interface.rs
index 2927c8d9..f2dd6823 100644
--- a/core/bench/src/actors/producing_consumer/mod.rs
+++ b/core/bench/src/actors/producer/client/interface.rs
@@ -16,6 +16,28 @@
* under the License.
*/
-pub mod benchmark_producing_consumer;
+use crate::{
+ actors::{ApiLabel, BatchMetrics, BenchmarkInit},
+ utils::batch_generator::BenchmarkBatchGenerator,
+};
+use bench_report::numeric_parameter::BenchmarkNumericParameter;
+use iggy::prelude::*;
-pub use benchmark_producing_consumer::BenchmarkProducingConsumer;
+#[derive(Debug, Clone)]
+pub struct BenchmarkProducerConfig {
+ pub producer_id: u32,
+ pub stream_id: u32,
+ pub partitions: u32,
+ pub messages_per_batch: BenchmarkNumericParameter,
+ pub message_size: BenchmarkNumericParameter,
+ pub warmup_time: IggyDuration,
+}
+
+pub trait ProducerClient: Send + Sync {
+ async fn produce_batch(
+ &mut self,
+ batch_generator: &mut BenchmarkBatchGenerator,
+ ) -> Result<Option<BatchMetrics>, IggyError>;
+}
+
+pub trait BenchmarkProducerClient: ProducerClient + BenchmarkInit + ApiLabel + Send + Sync {}
diff --git a/core/bench/src/actors/producer/client/low_level.rs b/core/bench/src/actors/producer/client/low_level.rs
new file mode 100644
index 00000000..c657f354
--- /dev/null
+++ b/core/bench/src/actors/producer/client/low_level.rs
@@ -0,0 +1,113 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use std::sync::Arc;
+
+use crate::{
+ actors::{
+ ApiLabel, BatchMetrics, BenchmarkInit,
+ producer::client::{
+ BenchmarkProducerClient,
+ interface::{BenchmarkProducerConfig, ProducerClient},
+ },
+ },
+ utils::batch_generator::BenchmarkBatchGenerator,
+};
+use iggy::prelude::*;
+use integration::test_server::{ClientFactory, login_root};
+use tokio::time::Instant;
+
+pub struct LowLevelProducerClient {
+ client_factory: Arc<dyn ClientFactory>,
+ config: BenchmarkProducerConfig,
+ client: Option<IggyClient>,
+ stream_id: Identifier,
+ topic_id: Identifier,
+ partitioning: Partitioning,
+}
+
+impl LowLevelProducerClient {
+ pub fn new(client_factory: Arc<dyn ClientFactory>, config: BenchmarkProducerConfig) -> Self {
+ Self {
+ client_factory,
+ config,
+ client: None,
+ stream_id: Identifier::default(),
+ topic_id: Identifier::default(),
+ partitioning: Partitioning::partition_id(1),
+ }
+ }
+}
+
+impl ProducerClient for LowLevelProducerClient {
+ async fn produce_batch(
+ &mut self,
+ batch_generator: &mut BenchmarkBatchGenerator,
+ ) -> Result<Option<BatchMetrics>, IggyError> {
+ let client = self.client.as_mut().unwrap();
+ let batch = batch_generator.generate_batch();
+ if batch.messages.is_empty() {
+ return Ok(None);
+ }
+
+ let before_send = Instant::now();
+ client
+ .send_messages(
+ &self.stream_id,
+ &self.topic_id,
+ &self.partitioning,
+ &mut batch.messages,
+ )
+ .await?;
+ let latency = before_send.elapsed();
+
+ Ok(Some(BatchMetrics {
+ messages: u32::try_from(batch.messages.len()).unwrap(),
+ user_data_bytes: batch.user_data_bytes,
+ total_bytes: batch.total_bytes,
+ latency,
+ }))
+ }
+}
+
+impl BenchmarkInit for LowLevelProducerClient {
+ async fn setup(&mut self) -> Result<(), IggyError> {
+ let default_partition_id = 1;
+ let partitions = self.config.partitions;
+
+ let client = self.client_factory.create_client().await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
+
+ let partitioning = match partitions {
+ 0 => panic!("Partition count must be greater than 0"),
+ 1 => Partitioning::partition_id(default_partition_id),
+ _ => Partitioning::balanced(),
+ };
+
+ self.client = Some(client);
+ self.partitioning = partitioning;
+ self.stream_id = self.config.stream_id.try_into()?;
+ self.topic_id = Identifier::numeric(1)?;
+ Ok(())
+ }
+}
+impl ApiLabel for LowLevelProducerClient {
+ const API_LABEL: &'static str = "low-level";
+}
+impl BenchmarkProducerClient for LowLevelProducerClient {}
diff --git a/core/bench/src/actors/producer/mod.rs b/core/bench/src/actors/producer/client/mod.rs
similarity index 88%
copy from core/bench/src/actors/producer/mod.rs
copy to core/bench/src/actors/producer/client/mod.rs
index d4f6209f..20280351 100644
--- a/core/bench/src/actors/producer/mod.rs
+++ b/core/bench/src/actors/producer/client/mod.rs
@@ -16,6 +16,8 @@
* under the License.
*/
-pub mod benchmark_producer;
+pub mod high_level;
+pub mod interface;
+pub mod low_level;
-pub use benchmark_producer::BenchmarkProducer;
+pub use interface::BenchmarkProducerClient;
diff --git a/core/bench/src/actors/producer/mod.rs b/core/bench/src/actors/producer/mod.rs
index d4f6209f..36d70119 100644
--- a/core/bench/src/actors/producer/mod.rs
+++ b/core/bench/src/actors/producer/mod.rs
@@ -17,5 +17,6 @@
*/
pub mod benchmark_producer;
-
+pub mod client;
+pub mod typed_benchmark_producer;
pub use benchmark_producer::BenchmarkProducer;
diff --git a/core/bench/src/actors/producer/typed_benchmark_producer.rs b/core/bench/src/actors/producer/typed_benchmark_producer.rs
new file mode 100644
index 00000000..ee2de483
--- /dev/null
+++ b/core/bench/src/actors/producer/typed_benchmark_producer.rs
@@ -0,0 +1,99 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use crate::{
+ actors::producer::{
+ BenchmarkProducer,
+ client::{
+ high_level::HighLevelProducerClient, interface::BenchmarkProducerConfig,
+ low_level::LowLevelProducerClient,
+ },
+ },
+ utils::finish_condition::BenchmarkFinishCondition,
+};
+use bench_report::{
+ benchmark_kind::BenchmarkKind, individual_metrics::BenchmarkIndividualMetrics,
+ numeric_parameter::BenchmarkNumericParameter,
+};
+use iggy::prelude::*;
+use integration::test_server::ClientFactory;
+use std::sync::Arc;
+
+pub enum TypedBenchmarkProducer {
+ High(BenchmarkProducer<HighLevelProducerClient>),
+ Low(BenchmarkProducer<LowLevelProducerClient>),
+}
+
+impl TypedBenchmarkProducer {
+ #[allow(clippy::too_many_arguments)]
+ pub fn new(
+ use_high_level_api: bool,
+ client_factory: Arc<dyn ClientFactory>,
+ benchmark_kind: BenchmarkKind,
+ producer_id: u32,
+ stream_id: u32,
+ partitions: u32,
+ messages_per_batch: BenchmarkNumericParameter,
+ message_size: BenchmarkNumericParameter,
+ finish_condition: Arc<BenchmarkFinishCondition>,
+ warmup_time: IggyDuration,
+ sampling_time: IggyDuration,
+ moving_average_window: u32,
+ limit_bytes_per_second: Option<IggyByteSize>,
+ ) -> Self {
+ let config = BenchmarkProducerConfig {
+ producer_id,
+ stream_id,
+ partitions,
+ messages_per_batch,
+ message_size,
+ warmup_time,
+ };
+
+ if use_high_level_api {
+ let client = HighLevelProducerClient::new(client_factory, config.clone());
+ Self::High(BenchmarkProducer::new(
+ client,
+ benchmark_kind,
+ finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ config,
+ ))
+ } else {
+ let client = LowLevelProducerClient::new(client_factory, config.clone());
+ Self::Low(BenchmarkProducer::new(
+ client,
+ benchmark_kind,
+ finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ config,
+ ))
+ }
+ }
+
+ pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ match self {
+ Self::High(producer) => producer.run().await,
+ Self::Low(producer) => producer.run().await,
+ }
+ }
+}
diff --git a/core/bench/src/actors/producing_consumer/benchmark_producing_consumer.rs b/core/bench/src/actors/producing_consumer/benchmark_producing_consumer.rs
index 2969c4a6..0f5d323a 100644
--- a/core/bench/src/actors/producing_consumer/benchmark_producing_consumer.rs
+++ b/core/bench/src/actors/producing_consumer/benchmark_producing_consumer.rs
@@ -16,437 +16,193 @@
* under the License.
*/
-use crate::analytics::record::BenchmarkRecord;
-use crate::benchmarks::common::create_consumer;
-use crate::utils::batch_generator::BenchmarkBatchGenerator;
-use crate::utils::finish_condition::BenchmarkFinishCondition;
-use crate::utils::{batch_total_size_bytes, batch_user_size_bytes};
+use std::{sync::Arc, time::Duration};
+
use crate::{
- analytics::metrics::individual::from_records, utils::rate_limiter::BenchmarkRateLimiter,
+ actors::{
+ consumer::client::{BenchmarkConsumerClient, interface::BenchmarkConsumerConfig},
+ producer::client::{BenchmarkProducerClient, interface::BenchmarkProducerConfig},
+ },
+ analytics::{metrics::individual::from_records, record::BenchmarkRecord},
+ utils::{
+ batch_generator::BenchmarkBatchGenerator, finish_condition::BenchmarkFinishCondition,
+ rate_limiter::BenchmarkRateLimiter,
+ },
+};
+use bench_report::{
+ actor_kind::ActorKind, benchmark_kind::BenchmarkKind,
+ individual_metrics::BenchmarkIndividualMetrics, numeric_parameter::BenchmarkNumericParameter,
};
-use bench_report::actor_kind::ActorKind;
-use bench_report::benchmark_kind::BenchmarkKind;
-use bench_report::individual_metrics::BenchmarkIndividualMetrics;
-use bench_report::numeric_parameter::BenchmarkNumericParameter;
use human_repr::HumanCount;
use iggy::prelude::*;
-use integration::test_server::{ClientFactory, login_root};
-use std::sync::Arc;
-use std::time::Duration;
use tokio::time::Instant;
-use tracing::{info, warn};
-
-pub struct BenchmarkProducingConsumer {
- client_factory: Arc<dyn ClientFactory>,
- benchmark_kind: BenchmarkKind,
- actor_id: u32,
- consumer_group_id: Option<u32>,
- stream_id: u32,
- partitions_count: u32,
- messages_per_batch: BenchmarkNumericParameter,
- message_size: BenchmarkNumericParameter,
- send_finish_condition: Arc<BenchmarkFinishCondition>,
- poll_finish_condition: Arc<BenchmarkFinishCondition>,
- warmup_time: IggyDuration,
- sampling_time: IggyDuration,
- moving_average_window: u32,
- limit_bytes_per_second: Option<IggyByteSize>,
- polling_kind: PollingKind,
+use tracing::info;
+
+pub struct BenchmarkProducingConsumer<P, C>
+where
+ P: BenchmarkProducerClient,
+ C: BenchmarkConsumerClient,
+{
+ pub producer: P,
+ pub consumer: C,
+ pub benchmark_kind: BenchmarkKind,
+ pub send_finish_condition: Arc<BenchmarkFinishCondition>,
+ pub poll_finish_condition: Arc<BenchmarkFinishCondition>,
+ pub sampling_time: IggyDuration,
+ pub moving_average_window: u32,
+ pub limit_bytes_per_second: Option<IggyByteSize>,
+ pub producer_config: BenchmarkProducerConfig,
+ pub consumer_config: BenchmarkConsumerConfig,
}
-impl BenchmarkProducingConsumer {
+impl<P, C> BenchmarkProducingConsumer<P, C>
+where
+ P: BenchmarkProducerClient,
+ C: BenchmarkConsumerClient,
+{
#[allow(clippy::too_many_arguments)]
- pub fn new(
- client_factory: Arc<dyn ClientFactory>,
+ pub const fn new(
+ producer: P,
+ consumer: C,
benchmark_kind: BenchmarkKind,
- actor_id: u32,
- consumer_group_id: Option<u32>,
- stream_id: u32,
- partitions_count: u32,
- messages_per_batch: BenchmarkNumericParameter,
- message_size: BenchmarkNumericParameter,
send_finish_condition: Arc<BenchmarkFinishCondition>,
poll_finish_condition: Arc<BenchmarkFinishCondition>,
- warmup_time: IggyDuration,
sampling_time: IggyDuration,
moving_average_window: u32,
limit_bytes_per_second: Option<IggyByteSize>,
- polling_kind: PollingKind,
+ producer_config: BenchmarkProducerConfig,
+ consumer_config: BenchmarkConsumerConfig,
) -> Self {
Self {
- client_factory,
+ producer,
+ consumer,
benchmark_kind,
- actor_id,
- consumer_group_id,
- stream_id,
- partitions_count,
- messages_per_batch,
- message_size,
send_finish_condition,
poll_finish_condition,
- warmup_time,
sampling_time,
moving_average_window,
limit_bytes_per_second,
- polling_kind,
+ producer_config,
+ consumer_config,
}
}
-
- pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
- let (
- client,
- stream_id,
- topic_id,
- partitioning,
- partition_id,
- consumer,
- mut batch_generator,
- rate_limiter,
- ) = self.setup_client().await?;
-
- if self.warmup_time.get_duration() != Duration::from_millis(0) {
- self.run_warmup(
- &client,
- &stream_id,
- &topic_id,
- &partitioning,
- partition_id,
- &consumer,
- &mut batch_generator,
- )
- .await?;
- }
-
- let metrics = self
- .run_benchmark(
- client,
- stream_id,
- topic_id,
- partitioning,
- partition_id,
- consumer,
- batch_generator,
- rate_limiter,
- )
- .await?;
- Ok(metrics)
- }
-
- async fn setup_client(
- &self,
- ) -> Result<
- (
- IggyClient,
- Identifier,
- Identifier,
- Partitioning,
- Option<u32>,
- Consumer,
- BenchmarkBatchGenerator,
- Option<BenchmarkRateLimiter>,
- ),
- IggyError,
- > {
- let topic_id: u32 = 1;
- let default_partition_id: u32 = 1;
-
- let client = self.client_factory.create_client().await;
- let client = IggyClient::create(client, None, None);
- login_root(&client).await;
-
- let stream_id = self.stream_id.try_into()?;
- let topic_id = topic_id.try_into()?;
- let partitioning = match self.partitions_count {
- 0 => panic!("Partition count must be greater than 0"),
- 1 => Partitioning::partition_id(default_partition_id),
- 2.. => Partitioning::balanced(),
- };
- let partition_id = if self.consumer_group_id.is_some() {
- None
- } else {
- Some(default_partition_id)
- };
-
- let consumer = create_consumer(
- &client,
- self.consumer_group_id.as_ref(),
- &stream_id,
- &topic_id,
- self.actor_id,
- )
- .await;
-
- let batch_generator =
- BenchmarkBatchGenerator::new(self.message_size, self.messages_per_batch);
+ #[allow(clippy::too_many_lines)]
+ #[allow(clippy::cognitive_complexity)]
+ pub async fn run(mut self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ info!(
+ "ProducingConsumer #{producer_id} â sending {send_status} and polling {poll_status} ({messages_per_batch} msgs/batch) on stream {stream_id}, rate limit: {rate_limit:?}",
+ producer_id = self.producer_config.producer_id,
+ send_status = self.send_finish_condition.total_str(),
+ poll_status = self.poll_finish_condition.total_str(),
+ messages_per_batch = self.producer_config.messages_per_batch,
+ stream_id = self.producer_config.stream_id,
+ rate_limit = self.limit_bytes_per_second,
+ );
+ self.producer.setup().await?;
+ self.consumer.setup().await?;
+ let mut batch_generator = BenchmarkBatchGenerator::new(
+ self.producer_config.message_size,
+ self.producer_config.messages_per_batch,
+ );
let rate_limiter = self.limit_bytes_per_second.map(BenchmarkRateLimiter::new);
+ if self.producer_config.warmup_time.get_duration() != Duration::from_millis(0) {
+ self.log_warmup_info();
+ let warmup_end = Instant::now() + self.producer_config.warmup_time.get_duration();
- Ok((
- client,
- stream_id,
- topic_id,
- partitioning,
- partition_id,
- consumer,
- batch_generator,
- rate_limiter,
- ))
- }
-
- #[allow(clippy::too_many_arguments, clippy::cognitive_complexity)]
- async fn run_warmup(
- &self,
- client: &IggyClient,
- stream_id: &Identifier,
- topic_id: &Identifier,
- partitioning: &Partitioning,
- partition_id: Option<u32>,
- consumer: &Consumer,
- batch_generator: &mut BenchmarkBatchGenerator,
- ) -> Result<(), IggyError> {
- let warmup_end = Instant::now() + self.warmup_time.get_duration();
- let mut offset: u64 = 0;
- let mut last_warning_time: Option<Instant> = None;
- let mut skipped_warnings_count: u32 = 0;
-
- if let Some(cg_id) = self.consumer_group_id {
- info!(
- "ProducingConsumer #{}, part of consumer group #{}, â warming up for {}...",
- self.actor_id, cg_id, self.warmup_time
- );
- } else {
- info!(
- "ProducingConsumer #{} â warming up for {}...",
- self.actor_id, self.warmup_time
- );
- }
- while Instant::now() < warmup_end {
- let batch = batch_generator.generate_batch();
- client
- .send_messages(stream_id, topic_id, partitioning, &mut batch.messages)
- .await?;
-
- let (strategy, auto_commit) = match self.polling_kind {
- PollingKind::Offset => (PollingStrategy::offset(offset), false),
- PollingKind::Next => (PollingStrategy::next(), true),
- other => panic!("Unsupported polling kind for warmup: {other:?}"),
- };
-
- let polled_messages = client
- .poll_messages(
- stream_id,
- topic_id,
- partition_id,
- consumer,
- &strategy,
- u32::try_from(batch.messages.len()).unwrap_or(u32::MAX),
- auto_commit,
- )
- .await?;
-
- if polled_messages.messages.is_empty() {
- let should_warn =
- last_warning_time.is_none_or(|t| t.elapsed() >= Duration::from_secs(1));
-
- if should_warn {
- warn!(
- "ProducingConsumer #{actor_id} (warmup) â expected {messages_per_batch} messages but got {actual_count}, retrying... ({skipped_warnings_count} warnings skipped)",
- actor_id = self.actor_id,
- messages_per_batch = self.messages_per_batch,
- actual_count = polled_messages.messages.len()
- );
- last_warning_time = Some(Instant::now());
- skipped_warnings_count = 0;
- } else {
- skipped_warnings_count += 1;
- }
- continue;
+ while Instant::now() < warmup_end {
+ let _ = self.producer.produce_batch(&mut batch_generator).await;
+ let _ = self.consumer.consume_batch().await;
}
-
- offset += u64::try_from(batch.messages.len()).unwrap_or(u64::MAX);
}
- Ok(())
- }
-
- #[allow(
- clippy::too_many_arguments,
- clippy::too_many_lines,
- clippy::cognitive_complexity
- )]
- async fn run_benchmark(
- self,
- client: IggyClient,
- stream_id: Identifier,
- topic_id: Identifier,
- partitioning: Partitioning,
- partition_id: Option<u32>,
- consumer: Consumer,
- mut batch_generator: BenchmarkBatchGenerator,
- rate_limiter: Option<BenchmarkRateLimiter>,
- ) -> Result<BenchmarkIndividualMetrics, IggyError> {
- info!(
- "ProducingConsumer #{} â sending {} and polling {} ({} msgs/batch) on stream {}, rate limit: {:?}",
- self.actor_id,
- self.send_finish_condition.total_str(),
- self.poll_finish_condition.total_str(),
- self.messages_per_batch,
- stream_id,
- self.limit_bytes_per_second
- );
+ self.log_setup_info();
let max_capacity = self
.send_finish_condition
.max_capacity()
.max(self.poll_finish_condition.max_capacity());
- let mut records: Vec<BenchmarkRecord> = Vec::with_capacity(max_capacity);
- let mut offset = 0;
- let mut last_warning_time: Option<Instant> = None;
- let mut skipped_warnings_count = 0;
-
- let mut total_user_data_bytes_processed;
- let mut total_bytes_processed;
- let mut total_messages_processed = 0;
- let mut total_batches_processed = 0;
+ let mut records = Vec::with_capacity(max_capacity);
- let mut sent_user_bytes_processed = 0;
- let mut sent_total_bytes_processed = 0;
+ let mut rl_value = 0;
+ let mut sent_user_bytes = 0;
+ let mut sent_total_bytes = 0;
let mut sent_messages = 0;
let mut sent_batches = 0;
- let mut received_user_bytes_processed = 0;
- let mut received_total_bytes_processed = 0;
- let mut received_messages = 0;
- let mut received_batches = 0;
-
- let mut last_received_batch_user_data_bytes;
- let mut rl_value = 0;
+ let mut recv_user_bytes = 0;
+ let mut recv_total_bytes = 0;
+ let mut recv_messages = 0;
+ let mut recv_batches = 0;
let is_producer = self.send_finish_condition.total() > 0;
let is_consumer = self.poll_finish_condition.total() > 0;
- let require_reply = is_producer && is_consumer && self.consumer_group_id.is_none();
+ let require_reply =
+ is_producer && is_consumer && self.consumer_config.consumer_group_id.is_none();
let mut awaiting_reply = false;
- let start_timestamp = Instant::now();
+ let start = Instant::now();
while !(self.send_finish_condition.is_done() && self.poll_finish_condition.is_done()) {
- let may_send = is_producer
+ if is_producer
&& !self.send_finish_condition.is_done()
- && (!require_reply || !awaiting_reply);
-
- if may_send {
- let batch = batch_generator.generate_batch();
- client
- .send_messages(&stream_id, &topic_id, &partitioning, &mut batch.messages)
- .await?;
-
- rl_value += batch.user_data_bytes;
-
- sent_total_bytes_processed += batch.total_bytes;
- sent_user_bytes_processed += batch.user_data_bytes;
- sent_messages += u32::try_from(batch.messages.len()).unwrap_or(u32::MAX);
- sent_batches += 1;
-
- awaiting_reply = is_consumer;
-
- if self
- .send_finish_condition
- .account_and_check(batch.user_data_bytes)
- {
- info!(
- "ProducingConsumer #{actor_id} â finished sending {sent_messages} messages in {sent_batches} batches ({sent_user_bytes_processed} bytes of user data, {sent_total_bytes_processed} bytes of total data), send finish condition: {send_status}, poll finish condition: {poll_status}",
- actor_id = self.actor_id,
- sent_messages = sent_messages.human_count_bare(),
- sent_batches = sent_batches.human_count_bare(),
- sent_user_bytes_processed = sent_user_bytes_processed.human_count_bytes(),
- sent_total_bytes_processed = sent_total_bytes_processed.human_count_bytes(),
- send_status = self.send_finish_condition.status(),
- poll_status = self.poll_finish_condition.status()
- );
- }
- }
-
- if is_consumer && !self.poll_finish_condition.is_done() {
- let (strategy, auto_commit) = match self.polling_kind {
- PollingKind::Offset => (PollingStrategy::offset(offset), false),
- PollingKind::Next => (PollingStrategy::next(), true),
- other => panic!("Unsupported polling kind for benchmark: {other:?}"),
- };
-
- let polled_messages = client
- .poll_messages(
- &stream_id,
- &topic_id,
- partition_id,
- &consumer,
- &strategy,
- self.messages_per_batch.max(),
- auto_commit,
- )
- .await?;
-
- if polled_messages.messages.is_empty() {
- let should_warn =
- last_warning_time.is_none_or(|t| t.elapsed() >= Duration::from_secs(1));
-
- if should_warn {
- warn!(
- "ProducingConsumer #{actor_id} â received empty batch, sent: {send_status}, polled: {poll_status}, polling kind: {polling_kind:?}, retrying... ({skipped_warnings_count} warnings skipped in last second)",
- actor_id = self.actor_id,
+ && (!require_reply || !awaiting_reply)
+ {
+ if let Some(batch) = self.producer.produce_batch(&mut batch_generator).await? {
+ rl_value += batch.user_data_bytes;
+ sent_user_bytes += batch.user_data_bytes;
+ sent_total_bytes += batch.total_bytes;
+ sent_messages += u64::from(batch.messages);
+ sent_batches += 1;
+ awaiting_reply = is_consumer;
+
+ if self
+ .send_finish_condition
+ .account_and_check(batch.user_data_bytes)
+ {
+ info!(
+ "ProducingConsumer #{actor_id} â finished sending {sent_messages} messages in {sent_batches} batches ({sent_user_bytes} bytes of user data, {sent_total_bytes} bytes of total data), send finish condition: {send_status}, poll finish condition: {poll_status}",
+ actor_id = self.producer_config.producer_id,
+ sent_messages = sent_messages.human_count_bare(),
+ sent_batches = sent_batches.human_count_bare(),
+ sent_user_bytes = sent_user_bytes.human_count_bytes(),
+ sent_total_bytes = sent_total_bytes.human_count_bytes(),
send_status = self.send_finish_condition.status(),
- poll_status = self.poll_finish_condition.status(),
- polling_kind = self.polling_kind
+ poll_status = self.poll_finish_condition.status()
);
- last_warning_time = Some(Instant::now());
- skipped_warnings_count = 0;
- } else {
- skipped_warnings_count += 1;
}
-
- continue;
- }
-
- let now = IggyTimestamp::now().as_micros();
- let latency = Duration::from_micros(
- now - polled_messages.messages[0].header.origin_timestamp,
- );
-
- last_received_batch_user_data_bytes = batch_user_size_bytes(&polled_messages);
- rl_value += last_received_batch_user_data_bytes;
-
- received_user_bytes_processed += last_received_batch_user_data_bytes;
- received_total_bytes_processed += batch_total_size_bytes(&polled_messages);
- received_messages +=
- u32::try_from(polled_messages.messages.len()).unwrap_or(u32::MAX);
- received_batches += 1;
-
- offset += u64::try_from(polled_messages.messages.len()).unwrap_or(u64::MAX);
-
- total_user_data_bytes_processed =
- received_user_bytes_processed + sent_user_bytes_processed;
- total_bytes_processed = received_total_bytes_processed + sent_total_bytes_processed;
- total_messages_processed = received_messages + sent_messages;
- total_batches_processed = received_batches + sent_batches;
-
- records.push(BenchmarkRecord {
- elapsed_time_us: u64::try_from(start_timestamp.elapsed().as_micros())
- .unwrap_or(u64::MAX),
- latency_us: u64::try_from(latency.as_micros()).unwrap_or(u64::MAX),
- messages: u64::from(total_messages_processed),
- message_batches: total_batches_processed,
- user_data_bytes: total_user_data_bytes_processed,
- total_bytes: total_bytes_processed,
- });
-
- if let Some(rate_limiter) = &rate_limiter {
- rate_limiter.wait_until_necessary(rl_value).await;
- rl_value = 0;
}
+ }
- self.poll_finish_condition
- .account_and_check(last_received_batch_user_data_bytes);
+ if is_consumer && !self.poll_finish_condition.is_done() {
+ if let Some(batch) = self.consumer.consume_batch().await? {
+ rl_value += batch.user_data_bytes;
+ recv_user_bytes += batch.user_data_bytes;
+ recv_total_bytes += batch.total_bytes;
+ recv_messages += u64::from(batch.messages);
+ recv_batches += 1;
+
+ let elapsed = u64::try_from(start.elapsed().as_micros()).unwrap_or(u64::MAX);
+ let latency = u64::try_from(batch.latency.as_micros()).unwrap_or(u64::MAX);
+
+ records.push(BenchmarkRecord {
+ elapsed_time_us: elapsed,
+ latency_us: latency,
+ messages: sent_messages + recv_messages,
+ message_batches: sent_batches + recv_batches,
+ user_data_bytes: sent_user_bytes + recv_user_bytes,
+ total_bytes: sent_total_bytes + recv_total_bytes,
+ });
+
+ if let Some(limiter) = &rate_limiter {
+ limiter.wait_until_necessary(rl_value).await;
+ rl_value = 0;
+ }
- if require_reply {
- awaiting_reply = false;
+ self.poll_finish_condition
+ .account_and_check(batch.user_data_bytes);
+ if require_reply {
+ awaiting_reply = false;
+ }
}
}
}
@@ -455,21 +211,60 @@ impl BenchmarkProducingConsumer {
&records,
self.benchmark_kind,
ActorKind::ProducingConsumer,
- self.actor_id,
+ self.producer_config.producer_id,
self.sampling_time,
self.moving_average_window,
);
Self::log_statistics(
- self.actor_id,
- u64::from(total_messages_processed),
- total_batches_processed,
- &self.messages_per_batch,
+ self.producer_config.producer_id,
+ recv_messages,
+ recv_batches,
+ &self.producer_config.messages_per_batch,
&metrics,
);
Ok(metrics)
}
+ fn log_setup_info(&self) {
+ if let Some(cg_id) = self.consumer_config.consumer_group_id {
+ info!(
+ "ProducingConsumer #{} â sending & polling {} messages per batch ({} bytes each) on stream {} with {} partition(s), part of CG #{} ({})",
+ self.producer_config.producer_id,
+ self.producer_config.messages_per_batch,
+ self.producer_config.message_size,
+ self.producer_config.stream_id,
+ self.producer_config.partitions,
+ cg_id,
+ C::API_LABEL
+ );
+ } else {
+ info!(
+ "ProducingConsumer #{} â sending & polling {} messages per batch ({} bytes each) on stream {} with {} partition(s) ({})",
+ self.producer_config.producer_id,
+ self.producer_config.messages_per_batch,
+ self.producer_config.message_size,
+ self.producer_config.stream_id,
+ self.producer_config.partitions,
+ C::API_LABEL
+ );
+ }
+ }
+
+ fn log_warmup_info(&self) {
+ if let Some(cg_id) = self.consumer_config.consumer_group_id {
+ info!(
+ "ProducingConsumer #{}, part of consumer group #{} â warming up for {}...",
+ self.consumer_config.consumer_id, cg_id, self.consumer_config.warmup_time
+ );
+ } else {
+ info!(
+ "ProducingConsumer #{} â warming up for {}...",
+ self.consumer_config.consumer_id, self.consumer_config.warmup_time
+ );
+ }
+ }
+
fn log_statistics(
actor_id: u32,
total_messages: u64,
diff --git a/core/bench/src/actors/producing_consumer/mod.rs b/core/bench/src/actors/producing_consumer/mod.rs
index 2927c8d9..165a6f88 100644
--- a/core/bench/src/actors/producing_consumer/mod.rs
+++ b/core/bench/src/actors/producing_consumer/mod.rs
@@ -17,5 +17,5 @@
*/
pub mod benchmark_producing_consumer;
-
+pub mod typed_banchmark_producing_consumer;
pub use benchmark_producing_consumer::BenchmarkProducingConsumer;
diff --git a/core/bench/src/actors/producing_consumer/typed_banchmark_producing_consumer.rs b/core/bench/src/actors/producing_consumer/typed_banchmark_producing_consumer.rs
new file mode 100644
index 00000000..26e3e0fb
--- /dev/null
+++ b/core/bench/src/actors/producing_consumer/typed_banchmark_producing_consumer.rs
@@ -0,0 +1,128 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use std::sync::Arc;
+
+use crate::{
+ actors::{
+ consumer::client::{
+ high_level::HighLevelConsumerClient, interface::BenchmarkConsumerConfig,
+ low_level::LowLevelConsumerClient,
+ },
+ producer::client::{
+ high_level::HighLevelProducerClient, interface::BenchmarkProducerConfig,
+ low_level::LowLevelProducerClient,
+ },
+ producing_consumer::BenchmarkProducingConsumer,
+ },
+ utils::finish_condition::BenchmarkFinishCondition,
+};
+use bench_report::{
+ benchmark_kind::BenchmarkKind, individual_metrics::BenchmarkIndividualMetrics,
+ numeric_parameter::BenchmarkNumericParameter,
+};
+
+use iggy::prelude::*;
+use integration::test_server::ClientFactory;
+
+pub enum TypedBenchmarkProducingConsumer {
+ High(BenchmarkProducingConsumer<HighLevelProducerClient, HighLevelConsumerClient>),
+ Low(BenchmarkProducingConsumer<LowLevelProducerClient, LowLevelConsumerClient>),
+}
+impl TypedBenchmarkProducingConsumer {
+ #[allow(clippy::too_many_arguments)]
+ pub fn new(
+ use_high_level_api: bool,
+ client_factory: Arc<dyn ClientFactory>,
+ benchmark_kind: BenchmarkKind,
+ actor_id: u32,
+ consumer_group_id: Option<u32>,
+ stream_id: u32,
+ partitions_count: u32,
+ messages_per_batch: BenchmarkNumericParameter,
+ message_size: BenchmarkNumericParameter,
+ send_finish_condition: Arc<BenchmarkFinishCondition>,
+ poll_finish_condition: Arc<BenchmarkFinishCondition>,
+ warmup_time: IggyDuration,
+ sampling_time: IggyDuration,
+ moving_average_window: u32,
+ limit_bytes_per_second: Option<IggyByteSize>,
+ polling_kind: PollingKind,
+ origin_timestamp_latency_calculation: bool,
+ ) -> Self {
+ let producer_config = BenchmarkProducerConfig {
+ producer_id: actor_id,
+ stream_id,
+ partitions: partitions_count,
+ messages_per_batch,
+ message_size,
+ warmup_time,
+ };
+
+ let consumer_config = BenchmarkConsumerConfig {
+ consumer_id: actor_id,
+ consumer_group_id,
+ stream_id,
+ messages_per_batch,
+ warmup_time,
+ polling_kind,
+ origin_timestamp_latency_calculation,
+ };
+
+ if use_high_level_api {
+ let producer =
+ HighLevelProducerClient::new(client_factory.clone(), producer_config.clone());
+ let consumer = HighLevelConsumerClient::new(client_factory, consumer_config.clone());
+ Self::High(BenchmarkProducingConsumer::new(
+ producer,
+ consumer,
+ benchmark_kind,
+ send_finish_condition,
+ poll_finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ producer_config,
+ consumer_config,
+ ))
+ } else {
+ let producer =
+ LowLevelProducerClient::new(client_factory.clone(), producer_config.clone());
+ let consumer = LowLevelConsumerClient::new(client_factory, consumer_config.clone());
+ Self::Low(BenchmarkProducingConsumer::new(
+ producer,
+ consumer,
+ benchmark_kind,
+ send_finish_condition,
+ poll_finish_condition,
+ sampling_time,
+ moving_average_window,
+ limit_bytes_per_second,
+ producer_config,
+ consumer_config,
+ ))
+ }
+ }
+
+ pub async fn run(self) -> Result<BenchmarkIndividualMetrics, IggyError> {
+ match self {
+ Self::High(p) => p.run().await,
+ Self::Low(p) => p.run().await,
+ }
+ }
+}
diff --git a/core/bench/src/benchmarks/common.rs b/core/bench/src/benchmarks/common.rs
index 6c774443..d5436b56 100644
--- a/core/bench/src/benchmarks/common.rs
+++ b/core/bench/src/benchmarks/common.rs
@@ -19,8 +19,9 @@
use super::{CONSUMER_GROUP_BASE_ID, CONSUMER_GROUP_NAME_PREFIX};
use crate::{
actors::{
- consumer::BenchmarkConsumer, producer::BenchmarkProducer,
- producing_consumer::BenchmarkProducingConsumer,
+ consumer::typed_benchmark_consumer::TypedBenchmarkConsumer,
+ producer::typed_benchmark_producer::TypedBenchmarkProducer,
+ producing_consumer::typed_banchmark_producing_consumer::TypedBenchmarkProducingConsumer,
},
args::common::IggyBenchArgs,
utils::finish_condition::{BenchmarkFinishCondition, BenchmarkFinishConditionMode},
@@ -128,6 +129,7 @@ pub fn build_producer_futures(
let shared_finish_condition =
BenchmarkFinishCondition::new(args, BenchmarkFinishConditionMode::Shared);
let rate_limit = rate_limit_per_actor(args.rate_limit(), actors);
+ let use_high_level_api = args.high_level_api();
(1..=producers)
.map(|producer_id| {
@@ -142,7 +144,8 @@ pub fn build_producer_futures(
let stream_id = start_stream_id + 1 + (producer_id % streams);
async move {
- let producer = BenchmarkProducer::new(
+ let producer = TypedBenchmarkProducer::new(
+ use_high_level_api,
client_factory,
kind,
producer_id,
@@ -213,7 +216,8 @@ pub fn build_consumer_futures(
};
async move {
- let consumer = BenchmarkConsumer::new(
+ let consumer = TypedBenchmarkConsumer::new(
+ use_high_level_api,
client_factory,
kind,
consumer_id,
@@ -227,7 +231,6 @@ pub fn build_consumer_futures(
polling_kind,
rate_limit,
origin_timestamp_latency_calculation,
- use_high_level_api,
);
consumer.run().await
}
@@ -263,7 +266,15 @@ pub fn build_producing_consumers_futures(
&args,
BenchmarkFinishConditionMode::PerProducingConsumer,
);
-
+ let origin_timestamp_latency_calculation = match args.kind() {
+ BenchmarkKind::PinnedConsumer
+ | BenchmarkKind::PinnedProducerAndConsumer
+ | BenchmarkKind::BalancedConsumerGroup // TODO(hubcio): in future, PinnedProducerAndConsumer can also be true
+ | BenchmarkKind::EndToEndProducingConsumer => false,
+ BenchmarkKind::BalancedProducerAndConsumerGroup => true,
+ _ => unreachable!(),
+ };
+ let use_high_level_api = args.high_level_api();
let rate_limit = rate_limit_per_actor(args.rate_limit(), producing_consumers);
async move {
@@ -271,7 +282,8 @@ pub fn build_producing_consumers_futures(
"Executing producing consumer #{}, stream_id={}",
actor_id, stream_id
);
- let actor = BenchmarkProducingConsumer::new(
+ let actor = TypedBenchmarkProducingConsumer::new(
+ use_high_level_api,
client_factory_clone,
args_clone.kind(),
actor_id,
@@ -287,6 +299,7 @@ pub fn build_producing_consumers_futures(
args_clone.moving_average_window(),
rate_limit,
polling_kind,
+ origin_timestamp_latency_calculation,
);
actor.run().await
}
@@ -310,7 +323,7 @@ pub fn build_producing_consumer_groups_futures(
let start_stream_id = args.start_stream_id();
let start_consumer_group_id = CONSUMER_GROUP_BASE_ID;
let polling_kind = PollingKind::Next;
-
+ let use_high_level_api = args.high_level_api();
let shared_send_finish_condition =
BenchmarkFinishCondition::new(&args, BenchmarkFinishConditionMode::SharedHalf);
@@ -349,6 +362,14 @@ pub fn build_producing_consumer_groups_futures(
} else {
None
};
+ let origin_timestamp_latency_calculation = match args.kind() {
+ BenchmarkKind::PinnedConsumer
+ | BenchmarkKind::PinnedProducerAndConsumer
+ | BenchmarkKind::BalancedConsumerGroup // TODO(hubcio): in future, PinnedProducerAndConsumer can also be true
+ | BenchmarkKind::EndToEndProducingConsumer => false,
+ BenchmarkKind::BalancedProducerAndConsumerGroup => true,
+ _ => unreachable!(),
+ };
async move {
let actor_type = match (should_produce, should_consume) {
@@ -369,7 +390,8 @@ pub fn build_producing_consumer_groups_futures(
stream_id,
actor_type
);
- let actor = BenchmarkProducingConsumer::new(
+ let actor = TypedBenchmarkProducingConsumer::new(
+ use_high_level_api,
client_factory_clone,
args_clone.kind(),
actor_id,
@@ -385,7 +407,9 @@ pub fn build_producing_consumer_groups_futures(
args_clone.moving_average_window(),
rate_limit,
polling_kind,
+ origin_timestamp_latency_calculation,
);
+
actor.run().await
}
})
diff --git a/core/bench/src/utils/batch_generator.rs b/core/bench/src/utils/batch_generator.rs
index 22994bf1..e406a70c 100644
--- a/core/bench/src/utils/batch_generator.rs
+++ b/core/bench/src/utils/batch_generator.rs
@@ -113,6 +113,10 @@ impl BenchmarkBatchGenerator {
&mut self.batch
}
+ pub fn generate_owned_batch(&self) -> BenchmarkMessagesBatch {
+ self.build_single_fixed()
+ }
+
#[inline]
fn build_single_fixed(&self) -> BenchmarkMessagesBatch {
let payload_length = self.message_size.max();
diff --git a/core/connectors/runtime/Cargo.toml b/core/connectors/runtime/Cargo.toml
index 84912851..168deb32 100644
--- a/core/connectors/runtime/Cargo.toml
+++ b/core/connectors/runtime/Cargo.toml
@@ -21,7 +21,7 @@ version = "0.1.0"
description = "Connectors runtime for Iggy message streaming platform"
edition = "2024"
license = "Apache-2.0"
-keywords = ["iggy", "messaging", "streaming"]
+keywords = ["iggy", "messaging", "streaming", "connectors"]
categories = ["command-line-utilities", "database", "network-programming"]
homepage = "https://iggy.apache.org"
documentation = "https://iggy.apache.org/docs"
diff --git a/core/integration/Cargo.toml b/core/integration/Cargo.toml
index f9982bff..0824ce8d 100644
--- a/core/integration/Cargo.toml
+++ b/core/integration/Cargo.toml
@@ -32,7 +32,7 @@ assert_cmd = "2.0.17"
async-trait = { workspace = true }
bytes = { workspace = true }
chrono = { workspace = true }
-ctor = "0.4.2"
+ctor = "0.4.3"
derive_more = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
@@ -48,7 +48,7 @@ predicates = { workspace = true }
rand = { workspace = true }
rcgen = "0.14.3"
reqwest = { workspace = true }
-rmcp = { version = "0.3.0", features = [
+rmcp = { version = "0.3.2", features = [
"client",
"reqwest",
"transport-streamable-http-client",
diff --git a/core/integration/tests/data_integrity/verify_after_server_restart.rs b/core/integration/tests/data_integrity/verify_after_server_restart.rs
index 22939896..9570b9b8 100644
--- a/core/integration/tests/data_integrity/verify_after_server_restart.rs
+++ b/core/integration/tests/data_integrity/verify_after_server_restart.rs
@@ -46,7 +46,9 @@ fn cache_none() -> &'static str {
}
// TODO(numminex) - Move the message generation method from benchmark run to a special method.
-#[test_matrix([cache_open_segment(), cache_all(), cache_none()])]
+#[test_matrix(
+ [cache_open_segment(), cache_all(), cache_none()]
+)]
#[tokio::test]
#[parallel]
async fn should_fill_data_and_verify_after_restart(cache_setting: &'static str) {
@@ -128,7 +130,7 @@ async fn should_fill_data_and_verify_after_restart(cache_setting: &'static str)
drop(test_server);
// 7. Restart server with same settings
- let mut test_server = TestServer::new(Some(env_vars), false, None, IpAddrKind::V4);
+ let mut test_server = TestServer::new(Some(env_vars.clone()), false, None, IpAddrKind::V4);
test_server.start();
let server_addr = test_server.get_raw_tcp_addr().unwrap();
diff --git a/core/integration/tests/server/scenarios/encryption_scenario.rs b/core/integration/tests/server/scenarios/encryption_scenario.rs
new file mode 100644
index 00000000..d8b884a4
--- /dev/null
+++ b/core/integration/tests/server/scenarios/encryption_scenario.rs
@@ -0,0 +1,380 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+use bytes::Bytes;
+use iggy::prelude::*;
+use integration::{
+ tcp_client::TcpClientFactory,
+ test_server::{ClientFactory, IpAddrKind, SYSTEM_PATH_ENV_VAR, TestServer, login_root},
+};
+use serial_test::parallel;
+use std::{collections::HashMap, str::FromStr};
+use test_case::test_matrix;
+
+fn encryption_enabled() -> bool {
+ true
+}
+
+fn encryption_disabled() -> bool {
+ false
+}
+
+#[test_matrix(
+ [encryption_enabled(), encryption_disabled()]
+)]
+#[tokio::test]
+#[parallel]
+async fn should_fill_data_with_headers_and_verify_after_restart_using_api(encryption: bool) {
+ // 1. Start server
+ let mut env_vars = HashMap::from([(
+ SYSTEM_PATH_ENV_VAR.to_owned(),
+ TestServer::get_random_path(),
+ )]);
+
+ if encryption {
+ env_vars.insert(
+ "IGGY_SYSTEM_ENCRYPTION_ENABLED".to_string(),
+ "true".to_string(),
+ );
+ env_vars.insert(
+ "IGGY_SYSTEM_ENCRYPTION_KEY".to_string(),
+ "/rvT1xP4V8u1EAhk4xDdqzqM2UOPXyy9XYkl4uRShgE=".to_string(),
+ );
+ }
+
+ let mut test_server = TestServer::new(Some(env_vars.clone()), false, None, IpAddrKind::V4);
+ test_server.start();
+ let server_addr = test_server.get_raw_tcp_addr().unwrap();
+ let local_data_path = test_server.get_local_data_path().to_owned();
+
+ // 2. Connect and create initial client
+ let client = TcpClientFactory {
+ server_addr,
+ ..Default::default()
+ }
+ .create_client()
+ .await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
+
+ // 3. Create test stream and topic
+ let stream_id = 1001;
+ let topic_id = 1;
+ let partition_count = 1;
+
+ client
+ .create_stream("test-stream-api", Some(stream_id))
+ .await
+ .unwrap();
+ client
+ .create_topic(
+ &Identifier::numeric(stream_id).unwrap(),
+ "test-topic-api",
+ partition_count,
+ CompressionAlgorithm::default(),
+ None,
+ Some(topic_id),
+ IggyExpiry::NeverExpire,
+ MaxTopicSize::ServerDefault,
+ )
+ .await
+ .unwrap();
+
+ // 4. Send messages with headers (first batch)
+ let messages_per_batch = 1000;
+ let mut messages_batch_1 = Vec::new();
+
+ for i in 0..messages_per_batch {
+ let mut headers = HashMap::new();
+ headers.insert(
+ HeaderKey::new("batch").unwrap(),
+ HeaderValue::from_uint64(1).unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("index").unwrap(),
+ HeaderValue::from_uint64(i).unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("type").unwrap(),
+ HeaderValue::from_str("test-message").unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("encrypted").unwrap(),
+ HeaderValue::from_bool(encryption).unwrap(),
+ );
+
+ let message = IggyMessage::builder()
+ .id((i + 1) as u128)
+ .payload(Bytes::from(format!(
+ "Message batch 1 index {i} with encryption {encryption}"
+ )))
+ .user_headers(headers)
+ .build()
+ .expect("Failed to create message");
+
+ messages_batch_1.push(message);
+ }
+
+ client
+ .send_messages(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ &Partitioning::partition_id(1),
+ &mut messages_batch_1,
+ )
+ .await
+ .unwrap();
+
+ // 5. Flush and get initial stats
+ client
+ .flush_unsaved_buffer(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ 1,
+ true, // Force flush
+ )
+ .await
+ .unwrap();
+
+ // Give the server a moment to process encrypted messages
+ tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
+
+ let initial_stats = client.get_stats().await.unwrap();
+ let initial_messages_count = initial_stats.messages_count;
+ let initial_messages_size = initial_stats.messages_size_bytes;
+
+ // 6. Poll messages to verify initial batch
+ let consumer = Consumer::default();
+ let polled = client
+ .poll_messages(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ Some(1),
+ &consumer,
+ &PollingStrategy::offset(0),
+ messages_per_batch.try_into().unwrap(),
+ false,
+ )
+ .await
+ .unwrap();
+
+ let all_polled_messages_1 = polled.messages;
+
+ // Verify we got all messages with correct headers
+ eprintln!(
+ "Polled {} messages, expected {}",
+ all_polled_messages_1.len(),
+ messages_per_batch
+ );
+ if !all_polled_messages_1.is_empty() {
+ eprintln!(
+ "First message offset: {}",
+ all_polled_messages_1[0].header.offset
+ );
+ if all_polled_messages_1.len() > 1 {
+ eprintln!(
+ "Last message offset: {}",
+ all_polled_messages_1.last().unwrap().header.offset
+ );
+ }
+ }
+ assert_eq!(all_polled_messages_1.len(), messages_per_batch as usize);
+ for msg in all_polled_messages_1.iter() {
+ assert!(msg.user_headers.is_some());
+ let headers = msg.user_headers_map().unwrap().unwrap();
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("batch").unwrap())
+ .unwrap()
+ .as_uint64()
+ .unwrap(),
+ 1
+ );
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("type").unwrap())
+ .unwrap()
+ .as_str()
+ .unwrap(),
+ "test-message"
+ );
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("encrypted").unwrap())
+ .unwrap()
+ .as_bool()
+ .unwrap(),
+ encryption
+ );
+ }
+
+ // 7. Stop and restart server
+ test_server.stop();
+ drop(test_server);
+
+ let mut test_server = TestServer::new(Some(env_vars.clone()), false, None, IpAddrKind::V4);
+ test_server.start();
+ let server_addr = test_server.get_raw_tcp_addr().unwrap();
+
+ // 8. Reconnect after restart
+ let client = TcpClientFactory {
+ server_addr,
+ ..Default::default()
+ }
+ .create_client()
+ .await;
+ let client = IggyClient::create(client, None, None);
+ login_root(&client).await;
+
+ // 9. Send second batch of messages with different headers
+ let mut messages_batch_2 = Vec::new();
+
+ for i in 0..messages_per_batch {
+ let mut headers = HashMap::new();
+ headers.insert(
+ HeaderKey::new("batch").unwrap(),
+ HeaderValue::from_uint64(2).unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("index").unwrap(),
+ HeaderValue::from_uint64(i).unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("type").unwrap(),
+ HeaderValue::from_str("test-message-after-restart").unwrap(),
+ );
+ headers.insert(
+ HeaderKey::new("encrypted").unwrap(),
+ HeaderValue::from_bool(encryption).unwrap(),
+ );
+
+ let message = IggyMessage::builder()
+ .id((messages_per_batch + i + 1) as u128)
+ .payload(Bytes::from(format!(
+ "Message batch 2 index {i} with encryption {encryption}"
+ )))
+ .user_headers(headers)
+ .build()
+ .expect("Failed to create message");
+
+ messages_batch_2.push(message);
+ }
+
+ client
+ .send_messages(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ &Partitioning::partition_id(1), // Use specific partition for testing
+ &mut messages_batch_2,
+ )
+ .await
+ .unwrap();
+
+ // Flush the buffer after sending second batch
+ client
+ .flush_unsaved_buffer(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ 1,
+ true, // Force flush
+ )
+ .await
+ .unwrap();
+
+ // Give the server a moment to process encrypted messages
+ tokio::time::sleep(tokio::time::Duration::from_millis(100)).await;
+
+ // 10. Poll all messages (both batches) and verify
+ let polled = client
+ .poll_messages(
+ &Identifier::numeric(stream_id).unwrap(),
+ &Identifier::numeric(topic_id).unwrap(),
+ Some(1),
+ &consumer,
+ &PollingStrategy::offset(0),
+ messages_per_batch as u32 * 2,
+ false,
+ )
+ .await
+ .unwrap();
+
+ let all_polled_messages = polled.messages;
+
+ // Verify we have all messages from both batches
+ assert_eq!(all_polled_messages.len(), (messages_per_batch * 2) as usize);
+
+ // Count messages by batch
+ let mut batch_1_count = 0;
+ let mut batch_2_count = 0;
+
+ for msg in &all_polled_messages {
+ assert!(msg.user_headers.is_some());
+ let headers = msg.user_headers_map().unwrap().unwrap();
+ let batch_num = headers
+ .get(&HeaderKey::new("batch").unwrap())
+ .unwrap()
+ .as_uint64()
+ .unwrap();
+
+ if batch_num == 1 {
+ batch_1_count += 1;
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("type").unwrap())
+ .unwrap()
+ .as_str()
+ .unwrap(),
+ "test-message"
+ );
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("encrypted").unwrap())
+ .unwrap()
+ .as_bool()
+ .unwrap(),
+ encryption
+ );
+ } else if batch_num == 2 {
+ batch_2_count += 1;
+ assert_eq!(
+ headers
+ .get(&HeaderKey::new("type").unwrap())
+ .unwrap()
+ .as_str()
+ .unwrap(),
+ "test-message-after-restart"
+ );
+ }
+ }
+
+ assert_eq!(batch_1_count, messages_per_batch as usize);
+ assert_eq!(batch_2_count, messages_per_batch as usize);
+
+ // 11. Verify final stats
+ let final_stats = client.get_stats().await.unwrap();
+ assert_eq!(final_stats.messages_count, initial_messages_count * 2);
+ assert!(
+ final_stats.messages_size_bytes.as_bytes_u64() >= initial_messages_size.as_bytes_u64() * 2,
+ "Final message size ({}) should be at least 2x initial size ({})",
+ final_stats.messages_size_bytes.as_bytes_u64(),
+ initial_messages_size.as_bytes_u64()
+ );
+
+ // 12. Cleanup
+ std::fs::remove_dir_all(local_data_path).unwrap();
+}
diff --git a/core/integration/tests/server/scenarios/mod.rs b/core/integration/tests/server/scenarios/mod.rs
index 4671a95e..b37835ea 100644
--- a/core/integration/tests/server/scenarios/mod.rs
+++ b/core/integration/tests/server/scenarios/mod.rs
@@ -22,6 +22,7 @@ pub mod consumer_group_with_multiple_clients_polling_messages_scenario;
pub mod consumer_group_with_single_client_polling_messages_scenario;
pub mod create_message_payload;
pub mod delete_segments_scenario;
+pub mod encryption_scenario;
pub mod message_headers_scenario;
pub mod message_size_scenario;
pub mod stream_size_validation_scenario;
diff --git a/core/sdk/src/clients/binary_consumer_group.rs b/core/sdk/src/clients/binary_consumer_group.rs
index e3ea34ff..b0ef8c67 100644
--- a/core/sdk/src/clients/binary_consumer_group.rs
+++ b/core/sdk/src/clients/binary_consumer_group.rs
@@ -20,8 +20,7 @@ use crate::prelude::IggyClient;
use async_dropper::AsyncDrop;
use async_trait::async_trait;
use iggy_binary_protocol::{ConsumerGroupClient, UserClient};
-use iggy_common::locking::IggyRwLockFn;
-use iggy_common::{ConsumerGroup, ConsumerGroupDetails, Identifier, IggyError};
+use iggy_common::{locking::IggyRwLockFn, ConsumerGroup, ConsumerGroupDetails, Identifier, IggyError};
#[async_trait]
impl ConsumerGroupClient for IggyClient {
diff --git a/examples/go/README.md b/examples/go/README.md
new file mode 100644
index 00000000..c482fd7c
--- /dev/null
+++ b/examples/go/README.md
@@ -0,0 +1,47 @@
+# Iggy Examples
+
+This directory contains comprehensive sample applications that showcase various usage patterns of the Iggy client SDK, from basic operations to advanced multi-tenant scenarios. To learn more about building applications with Iggy, please refer to the [getting started](https://iggy.apache.org/docs/introduction/getting-started) guide.
+
+## Running Examples
+
+To run any example, first start the server with `cargo run --bin iggy-server` and then run the desired example.
+
+For server configuration options and help:
+
+```bash
+cargo run --bin iggy-server -- --help
+```
+
+You can also customize the server using environment variables:
+
+```bash
+## Example: Enable HTTP transport and set custom address
+IGGY_HTTP_ENABLED=true IGGY_TCP_ADDRESS=0.0.0.0:8090 cargo run --bin iggy-server
+```
+
+You can run multiple producers and consumers simultaneously to observe how messages are distributed across clients.
+
+
+
+## Basic Examples
+
+### Getting Started
+
+Perfect introduction for newcomers to Iggy:
+
+```bash
+go run ./getting-started/producer/main.go
+go run ./getting-started/consumer/main.go
+```
+
+## Example Structure
+
+All examples can be executed directly from the repository. Follow these steps:
+
+1. **Start the Iggy server**: `cargo run --bin iggy-server`
+2. **Run desired example**: `go run ./xxx/xxx/main.go`
+3. **Check source code**: Examples include detailed comments explaining concepts and usage patterns
+
+These examples use IggyClient with TCP transport and demonstrate automatic stream/topic creation with basic message handling.
+
+The examples are automatically tested via `scripts/run-go-examples-from-readme.sh` to ensure they remain functional and up-to-date with the latest API changes.
diff --git a/examples/go/common/consts.go b/examples/go/common/consts.go
new file mode 100644
index 00000000..b0adab84
--- /dev/null
+++ b/examples/go/common/consts.go
@@ -0,0 +1,23 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package common
+
+const (
+ DefaultRootUsername = "iggy"
+ DefaultRootPassword = "iggy"
+)
diff --git a/examples/go/getting-started/consumer/main.go b/examples/go/getting-started/consumer/main.go
new file mode 100644
index 00000000..6e3c8eed
--- /dev/null
+++ b/examples/go/getting-started/consumer/main.go
@@ -0,0 +1,128 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package main
+
+import (
+ "flag"
+ "github.com/apache/iggy/examples/go/common"
+ iggcon "github.com/apache/iggy/foreign/go/contracts"
+ "github.com/apache/iggy/foreign/go/iggycli"
+ "github.com/apache/iggy/foreign/go/tcp"
+ "log"
+ "net"
+ "time"
+)
+
+var (
+ StreamID = uint32(1)
+ TopicID = uint32(1)
+ PartitionID = uint32(1)
+ BatchesLimit = uint32(5)
+)
+
+func main() {
+ client, err := iggycli.NewIggyClient(
+ iggycli.WithTcp(
+ tcp.WithServerAddress(getTcpServerAddr()),
+ ),
+ )
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ _, err = client.LoginUser(common.DefaultRootUsername, common.DefaultRootPassword)
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ err = consumeMessages(client)
+ if err != nil {
+ log.Fatal(err)
+ }
+}
+
+func consumeMessages(client iggycli.Client) error {
+ interval := 500 * time.Millisecond
+ log.Printf(
+ "Messages will be consumed from stream: %d, topic: %d, partition: %d with interval %s.",
+ StreamID, TopicID, PartitionID, interval,
+ )
+
+ offset := uint64(0)
+ const messagePerBatch = 10
+ consumedBatches := uint32(0)
+ consumer := iggcon.DefaultConsumer()
+ for {
+ if consumedBatches == BatchesLimit {
+ log.Printf("Consumed %d batches of messages, exiting.", consumedBatches)
+ return nil
+ }
+
+ streamIdentifier, _ := iggcon.NewIdentifier(StreamID)
+ topicIdentifier, _ := iggcon.NewIdentifier(TopicID)
+ pollMessages, err := client.
+ PollMessages(
+ streamIdentifier,
+ topicIdentifier,
+ consumer,
+ iggcon.OffsetPollingStrategy(offset),
+ messagePerBatch,
+ false,
+ &PartitionID,
+ )
+ if err != nil {
+ return err
+ }
+
+ if len(pollMessages.Messages) == 0 {
+ log.Println("No messages found.")
+ time.Sleep(interval)
+ continue
+ }
+
+ offset += uint64(len(pollMessages.Messages))
+ for _, message := range pollMessages.Messages {
+ err = handleMessage(message)
+ if err != nil {
+ return err
+ }
+ }
+ consumedBatches++
+ time.Sleep(interval)
+ }
+}
+
+func handleMessage(message iggcon.IggyMessage) error {
+ payload := string(message.Payload)
+ log.Printf(
+ "Handling message at offset: %d, payload: %s...",
+ message.Header.Offset, payload)
+ return nil
+}
+
+func getTcpServerAddr() string {
+ tcpServerAddr := flag.String("tcp-server-address", "127.0.0.1:8090", "TCP server address")
+ flag.Parse()
+
+ if _, err := net.ResolveTCPAddr("tcp", *tcpServerAddr); err != nil {
+ log.Fatalf("Invalid server address %s! Usage: --tcp-server-address <server-address>", *tcpServerAddr)
+ }
+
+ log.Printf("Using server address: %s\n", *tcpServerAddr)
+ return *tcpServerAddr
+}
diff --git a/examples/go/getting-started/producer/main.go b/examples/go/getting-started/producer/main.go
new file mode 100644
index 00000000..5b48119f
--- /dev/null
+++ b/examples/go/getting-started/producer/main.go
@@ -0,0 +1,133 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package main
+
+import (
+ "flag"
+ "fmt"
+ "github.com/apache/iggy/examples/go/common"
+ iggcon "github.com/apache/iggy/foreign/go/contracts"
+ "log"
+ "net"
+ "time"
+
+ "github.com/apache/iggy/foreign/go/iggycli"
+ "github.com/apache/iggy/foreign/go/tcp"
+)
+
+var (
+ StreamId = uint32(1)
+ TopicId = uint32(1)
+ PartitionId = uint32(1)
+ BatchesLimit = uint32(5)
+)
+
+func main() {
+ client, err := iggycli.NewIggyClient(
+ iggycli.WithTcp(
+ tcp.WithServerAddress(getTcpServerAddr()),
+ ),
+ )
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ if _, err := client.LoginUser(common.DefaultRootUsername, common.DefaultRootPassword); err != nil {
+ log.Fatalf("Login failed: %v", err)
+ }
+ initSystem(client)
+ if err := produceMessages(client); err != nil {
+ log.Fatalf("Producing messages failed: %v", err)
+ }
+}
+
+func initSystem(client iggycli.Client) {
+ if _, err := client.CreateStream("sample-stream", &StreamId); err != nil {
+ log.Printf("WARN: Stream already exists or error: %v", err)
+ }
+ log.Println("Stream was created.")
+
+ streamIdentifier, _ := iggcon.NewIdentifier(StreamId)
+ if _, err := client.CreateTopic(
+ streamIdentifier,
+ "sample-topic",
+ 1,
+ iggcon.CompressionAlgorithmNone,
+ iggcon.IggyExpiryNeverExpire,
+ 0,
+ nil,
+ &TopicId); err != nil {
+ log.Printf("WARN: Topic already exists and will not be created again or error: %v", err)
+ }
+ log.Println("Topic was created.")
+}
+
+func produceMessages(client iggycli.Client) error {
+ interval := 500 * time.Millisecond
+ log.Printf(
+ "Messages will be sent to stream: %d, topic: %d, partition: %d with interval %s.",
+ StreamId, TopicId, PartitionId, interval)
+
+ currentID := 0
+ messagesPerBatch := 10
+ sentBatches := uint32(0)
+ partitioning := iggcon.PartitionId(PartitionId)
+
+ ticker := time.NewTicker(interval)
+ defer ticker.Stop()
+
+ for {
+ if sentBatches == BatchesLimit {
+ log.Printf("Sent %d batches of messages, exiting.", sentBatches)
+ return nil
+ }
+ <-ticker.C
+
+ var messages = make([]iggcon.IggyMessage, 0, messagesPerBatch)
+ for i := 0; i < messagesPerBatch; i++ {
+ currentID++
+ payload := fmt.Sprintf("message-%d", currentID)
+ message, _ := iggcon.NewIggyMessage([]byte(payload))
+ messages = append(messages, message)
+ }
+
+ streamIdentifier, _ := iggcon.NewIdentifier(StreamId)
+ topicIdentifier, _ := iggcon.NewIdentifier(TopicId)
+ if err := client.SendMessages(
+ streamIdentifier,
+ topicIdentifier,
+ partitioning,
+ messages); err != nil {
+ return err
+ }
+ sentBatches++
+ log.Printf("Sent %d message(s).", messagesPerBatch)
+ }
+}
+
+func getTcpServerAddr() string {
+ tcpServerAddr := flag.String("tcp-server-address", "127.0.0.1:8090", "TCP server address")
+ flag.Parse()
+
+ if _, err := net.ResolveTCPAddr("tcp", *tcpServerAddr); err != nil {
+ log.Fatalf("Invalid server address %s! Usage: --tcp-server-address <server-address>", *tcpServerAddr)
+ }
+
+ log.Printf("Using server address: %s\n", *tcpServerAddr)
+ return *tcpServerAddr
+}
diff --git a/examples/go/go.mod b/examples/go/go.mod
new file mode 100644
index 00000000..0bbbb495
--- /dev/null
+++ b/examples/go/go.mod
@@ -0,0 +1,12 @@
+module github.com/apache/iggy/examples/go
+
+go 1.23.0
+
+replace github.com/apache/iggy/foreign/go => ../../foreign/go
+
+require github.com/apache/iggy/foreign/go v0.0.0-00010101000000-000000000000
+
+require (
+ github.com/google/uuid v1.6.0 // indirect
+ github.com/klauspost/compress v1.17.11 // indirect
+)
diff --git a/examples/go/go.sum b/examples/go/go.sum
new file mode 100644
index 00000000..e99a5df2
--- /dev/null
+++ b/examples/go/go.sum
@@ -0,0 +1,4 @@
+github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
+github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
+github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
diff --git a/foreign/cpp/tests/e2e/server.toml b/foreign/cpp/tests/e2e/server.toml
index cc8242dd..c541a43c 100644
--- a/foreign/cpp/tests/e2e/server.toml
+++ b/foreign/cpp/tests/e2e/server.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
# HTTP server configuration
[http]
# Determines if the HTTP server is active.
diff --git a/foreign/go/contracts/message_header.go b/foreign/go/contracts/message_header.go
index 30b630f3..88afa0c9 100644
--- a/foreign/go/contracts/message_header.go
+++ b/foreign/go/contracts/message_header.go
@@ -53,9 +53,9 @@ func MessageHeaderFromBytes(data []byte) (*MessageHeader, error) {
}
checksum := binary.LittleEndian.Uint64(data[0:8])
id := data[8:24]
- timestamp := binary.LittleEndian.Uint64(data[24:32])
- originTimestamp := binary.LittleEndian.Uint64(data[32:40])
- offset := binary.LittleEndian.Uint64(data[40:48])
+ offset := binary.LittleEndian.Uint64(data[24:32])
+ timestamp := binary.LittleEndian.Uint64(data[32:40])
+ originTimestamp := binary.LittleEndian.Uint64(data[40:48])
userHeaderLength := binary.LittleEndian.Uint32(data[48:52])
payloadLength := binary.LittleEndian.Uint32(data[52:56])
diff --git a/foreign/java/examples/simple-consumer/build.gradle.kts b/foreign/java/examples/simple-consumer/build.gradle.kts
index 3445a078..7660fa63 100644
--- a/foreign/java/examples/simple-consumer/build.gradle.kts
+++ b/foreign/java/examples/simple-consumer/build.gradle.kts
@@ -22,7 +22,7 @@ plugins {
}
group = "org.apache.iggy"
-version = "0.2.0-SNAPSHOT"
+version = "0.5.0"
repositories {
mavenCentral()
diff --git a/foreign/java/examples/simple-producer/build.gradle.kts b/foreign/java/examples/simple-producer/build.gradle.kts
index 3445a078..7660fa63 100644
--- a/foreign/java/examples/simple-producer/build.gradle.kts
+++ b/foreign/java/examples/simple-producer/build.gradle.kts
@@ -22,7 +22,7 @@ plugins {
}
group = "org.apache.iggy"
-version = "0.2.0-SNAPSHOT"
+version = "0.5.0"
repositories {
mavenCentral()
diff --git a/foreign/java/java-sdk/build.gradle.kts b/foreign/java/java-sdk/build.gradle.kts
index dedefe21..e2a47e6d 100644
--- a/foreign/java/java-sdk/build.gradle.kts
+++ b/foreign/java/java-sdk/build.gradle.kts
@@ -25,7 +25,7 @@ plugins {
}
group = "org.apache.iggy"
-version = "0.2.0-SNAPSHOT"
+version = "0.5.0"
repositories {
mavenCentral()
@@ -68,7 +68,7 @@ publishing {
create<MavenPublication>("maven") {
groupId = "org.apache.iggy"
artifactId = "iggy-java-sdk"
- version = "0.2.0-SNAPSHOT"
+ version = "0.5.0"
from(components["java"])
diff --git a/foreign/node/package-lock.json b/foreign/node/package-lock.json
index d5f4df94..3bbc4296 100644
--- a/foreign/node/package-lock.json
+++ b/foreign/node/package-lock.json
@@ -1,10 +1,14 @@
{
+ "name": "apache-iggy",
+ "version": "0.5.0",
"name": "apache-iggy",
"version": "0.5.0-edge.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
+ "name": "apache-iggy",
+ "version": "0.5.0",
"name": "apache-iggy",
"version": "0.5.0-edge.1",
"license": "Apache-2.0",
@@ -17,6 +21,7 @@
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@cucumber/cucumber": "11.3.0",
+ "@cucumber/cucumber": "11.3.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
@@ -31,24 +36,24 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.26.2",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
- "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
+ "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.25.9",
+ "@babel/helper-validator-identifier": "^7.27.1",
"js-tokens": "^4.0.0",
- "picocolors": "^1.0.0"
+ "picocolors": "^1.1.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
- "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
+ "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
"dev": true,
"license": "MIT",
"engines": {
@@ -103,51 +108,27 @@
}
},
"node_modules/@commitlint/config-validator": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.5.0.tgz",
- "integrity": "sha512-CHtj92H5rdhKt17RmgALhfQt95VayrUo2tSqY9g2w+laAXyk7K/Ef6uPm9tn5qSIwSmrLjKaXK9eiNuxmQrDBw==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.8.1.tgz",
+ "integrity": "sha512-0jvJ4u+eqGPBIzzSdqKNX1rvdbSU1lPNYlfQQRIFnBgLy26BtC0cFnr7c/AyuzExMxWsMOte6MkTi9I3SQ3iGQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/types": "^19.5.0",
+ "@commitlint/types": "^19.8.1",
"ajv": "^8.11.0"
},
"engines": {
"node": ">=v18"
}
},
- "node_modules/@commitlint/config-validator/node_modules/ajv": {
- "version": "8.17.1",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3",
- "fast-uri": "^3.0.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/@commitlint/config-validator/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@commitlint/ensure": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.5.0.tgz",
- "integrity": "sha512-Kv0pYZeMrdg48bHFEU5KKcccRfKmISSm9MvgIgkpI6m+ohFTB55qZlBW6eYqh/XDfRuIO0x4zSmvBjmOwWTwkg==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.8.1.tgz",
+ "integrity": "sha512-mXDnlJdvDzSObafjYrOSvZBwkD01cqB4gbnnFuVyNpGUM5ijwU/r/6uqUmBXAAOKRfyEjpkGVZxaDsCVnHAgyw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/types": "^19.5.0",
+ "@commitlint/types": "^19.8.1",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
@@ -159,9 +140,9 @@
}
},
"node_modules/@commitlint/execute-rule": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.5.0.tgz",
- "integrity": "sha512-aqyGgytXhl2ejlk+/rfgtwpPexYyri4t8/n4ku6rRJoRhGZpLFMqrZ+YaubeGysCP6oz4mMA34YSTaSOKEeNrg==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.8.1.tgz",
+ "integrity": "sha512-YfJyIqIKWI64Mgvn/sE7FXvVMQER/Cd+s3hZke6cI1xgNT/f6ZAz5heND0QtffH+KbcqAwXDEE1/5niYayYaQA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -169,13 +150,13 @@
}
},
"node_modules/@commitlint/format": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.5.0.tgz",
- "integrity": "sha512-yNy088miE52stCI3dhG/vvxFo9e4jFkU1Mj3xECfzp/bIS/JUay4491huAlVcffOoMK1cd296q0W92NlER6r3A==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.8.1.tgz",
+ "integrity": "sha512-kSJj34Rp10ItP+Eh9oCItiuN/HwGQMXBnIRk69jdOwEW9llW9FlyqcWYbHPSGofmjsqeoxa38UaEA5tsbm2JWw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/types": "^19.5.0",
+ "@commitlint/types": "^19.8.1",
"chalk": "^5.3.0"
},
"engines": {
@@ -183,13 +164,13 @@
}
},
"node_modules/@commitlint/is-ignored": {
- "version": "19.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.6.0.tgz",
- "integrity": "sha512-Ov6iBgxJQFR9koOupDPHvcHU9keFupDgtB3lObdEZDroiG4jj1rzky60fbQozFKVYRTUdrBGICHG0YVmRuAJmw==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.8.1.tgz",
+ "integrity": "sha512-AceOhEhekBUQ5dzrVhDDsbMaY5LqtN8s1mqSnT2Kz1ERvVZkNihrs3Sfk1Je/rxRNbXYFzKZSHaPsEJJDJV8dg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/types": "^19.5.0",
+ "@commitlint/types": "^19.8.1",
"semver": "^7.6.0"
},
"engines": {
@@ -197,32 +178,32 @@
}
},
"node_modules/@commitlint/lint": {
- "version": "19.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.6.0.tgz",
- "integrity": "sha512-LRo7zDkXtcIrpco9RnfhOKeg8PAnE3oDDoalnrVU/EVaKHYBWYL1DlRR7+3AWn0JiBqD8yKOfetVxJGdEtZ0tg==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.8.1.tgz",
+ "integrity": "sha512-52PFbsl+1EvMuokZXLRlOsdcLHf10isTPlWwoY1FQIidTsTvjKXVXYb7AvtpWkDzRO2ZsqIgPK7bI98x8LRUEw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/is-ignored": "^19.6.0",
- "@commitlint/parse": "^19.5.0",
- "@commitlint/rules": "^19.6.0",
- "@commitlint/types": "^19.5.0"
+ "@commitlint/is-ignored": "^19.8.1",
+ "@commitlint/parse": "^19.8.1",
+ "@commitlint/rules": "^19.8.1",
+ "@commitlint/types": "^19.8.1"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/load": {
- "version": "19.6.1",
- "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.6.1.tgz",
- "integrity": "sha512-kE4mRKWWNju2QpsCWt428XBvUH55OET2N4QKQ0bF85qS/XbsRGG1MiTByDNlEVpEPceMkDr46LNH95DtRwcsfA==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.8.1.tgz",
+ "integrity": "sha512-9V99EKG3u7z+FEoe4ikgq7YGRCSukAcvmKQuTtUyiYPnOd9a2/H9Ak1J9nJA1HChRQp9OA/sIKPugGS+FK/k1A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/config-validator": "^19.5.0",
- "@commitlint/execute-rule": "^19.5.0",
- "@commitlint/resolve-extends": "^19.5.0",
- "@commitlint/types": "^19.5.0",
+ "@commitlint/config-validator": "^19.8.1",
+ "@commitlint/execute-rule": "^19.8.1",
+ "@commitlint/resolve-extends": "^19.8.1",
+ "@commitlint/types": "^19.8.1",
"chalk": "^5.3.0",
"cosmiconfig": "^9.0.0",
"cosmiconfig-typescript-loader": "^6.1.0",
@@ -235,9 +216,9 @@
}
},
"node_modules/@commitlint/message": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-19.5.0.tgz",
- "integrity": "sha512-R7AM4YnbxN1Joj1tMfCyBryOC5aNJBdxadTZkuqtWi3Xj0kMdutq16XQwuoGbIzL2Pk62TALV1fZDCv36+JhTQ==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-19.8.1.tgz",
+ "integrity": "sha512-+PMLQvjRXiU+Ae0Wc+p99EoGEutzSXFVwQfa3jRNUZLNW5odZAyseb92OSBTKCu+9gGZiJASt76Cj3dLTtcTdg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -245,13 +226,13 @@
}
},
"node_modules/@commitlint/parse": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.5.0.tgz",
- "integrity": "sha512-cZ/IxfAlfWYhAQV0TwcbdR1Oc0/r0Ik1GEessDJ3Lbuma/MRO8FRQX76eurcXtmhJC//rj52ZSZuXUg0oIX0Fw==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.8.1.tgz",
+ "integrity": "sha512-mmAHYcMBmAgJDKWdkjIGq50X4yB0pSGpxyOODwYmoexxxiUCy5JJT99t1+PEMK7KtsCtzuWYIAXYAiKR+k+/Jw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/types": "^19.5.0",
+ "@commitlint/types": "^19.8.1",
"conventional-changelog-angular": "^7.0.0",
"conventional-commits-parser": "^5.0.0"
},
@@ -259,87 +240,39 @@
"node": ">=v18"
}
},
- "node_modules/@commitlint/parse/node_modules/conventional-changelog-angular": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz",
- "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "compare-func": "^2.0.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@commitlint/parse/node_modules/conventional-commits-parser": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz",
- "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-text-path": "^2.0.0",
- "JSONStream": "^1.3.5",
- "meow": "^12.0.1",
- "split2": "^4.0.0"
- },
- "bin": {
- "conventional-commits-parser": "cli.mjs"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/@commitlint/parse/node_modules/meow": {
- "version": "12.1.1",
- "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz",
- "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=16.10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/parse/node_modules/split2": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
- "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": ">= 10.x"
- }
- },
"node_modules/@commitlint/read": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.5.0.tgz",
- "integrity": "sha512-TjS3HLPsLsxFPQj6jou8/CZFAmOP2y+6V4PGYt3ihbQKTY1Jnv0QG28WRKl/d1ha6zLODPZqsxLEov52dhR9BQ==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.8.1.tgz",
+ "integrity": "sha512-03Jbjb1MqluaVXKHKRuGhcKWtSgh3Jizqy2lJCRbRrnWpcM06MYm8th59Xcns8EqBYvo0Xqb+2DoZFlga97uXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/top-level": "^19.5.0",
- "@commitlint/types": "^19.5.0",
+ "@commitlint/top-level": "^19.8.1",
+ "@commitlint/types": "^19.8.1",
"git-raw-commits": "^4.0.0",
"minimist": "^1.2.8",
- "tinyexec": "^0.3.0"
+ "tinyexec": "^1.0.0"
},
"engines": {
"node": ">=v18"
}
},
+ "node_modules/@commitlint/read/node_modules/tinyexec": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.1.tgz",
+ "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@commitlint/resolve-extends": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.5.0.tgz",
- "integrity": "sha512-CU/GscZhCUsJwcKTJS9Ndh3AKGZTNFIOoQB2n8CmFnizE0VnEuJoum+COW+C1lNABEeqk6ssfc1Kkalm4bDklA==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.8.1.tgz",
+ "integrity": "sha512-GM0mAhFk49I+T/5UCYns5ayGStkTt4XFFrjjf0L4S26xoMTSkdCf9ZRO8en1kuopC4isDFuEm7ZOm/WRVeElVg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/config-validator": "^19.5.0",
- "@commitlint/types": "^19.5.0",
+ "@commitlint/config-validator": "^19.8.1",
+ "@commitlint/types": "^19.8.1",
"global-directory": "^4.0.1",
"import-meta-resolve": "^4.0.0",
"lodash.mergewith": "^4.6.2",
@@ -350,25 +283,25 @@
}
},
"node_modules/@commitlint/rules": {
- "version": "19.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.6.0.tgz",
- "integrity": "sha512-1f2reW7lbrI0X0ozZMesS/WZxgPa4/wi56vFuJENBmed6mWq5KsheN/nxqnl/C23ioxpPO/PL6tXpiiFy5Bhjw==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.8.1.tgz",
+ "integrity": "sha512-Hnlhd9DyvGiGwjfjfToMi1dsnw1EXKGJNLTcsuGORHz6SS9swRgkBsou33MQ2n51/boIDrbsg4tIBbRpEWK2kw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@commitlint/ensure": "^19.5.0",
- "@commitlint/message": "^19.5.0",
- "@commitlint/to-lines": "^19.5.0",
- "@commitlint/types": "^19.5.0"
+ "@commitlint/ensure": "^19.8.1",
+ "@commitlint/message": "^19.8.1",
+ "@commitlint/to-lines": "^19.8.1",
+ "@commitlint/types": "^19.8.1"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/to-lines": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.5.0.tgz",
- "integrity": "sha512-R772oj3NHPkodOSRZ9bBVNq224DOxQtNef5Pl8l2M8ZnkkzQfeSTr4uxawV2Sd3ui05dUVzvLNnzenDBO1KBeQ==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.8.1.tgz",
+ "integrity": "sha512-98Mm5inzbWTKuZQr2aW4SReY6WUukdWXuZhrqf1QdKPZBCCsXuG87c+iP0bwtD6DBnmVVQjgp4whoHRVixyPBg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -376,9 +309,9 @@
}
},
"node_modules/@commitlint/top-level": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-19.5.0.tgz",
- "integrity": "sha512-IP1YLmGAk0yWrImPRRc578I3dDUI5A2UBJx9FbSOjxe9sTlzFiwVJ+zeMLgAtHMtGZsC8LUnzmW1qRemkFU4ng==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-19.8.1.tgz",
+ "integrity": "sha512-Ph8IN1IOHPSDhURCSXBz44+CIu+60duFwRsg6HqaISFHQHbmBtxVw4ZrFNIYUzEP7WwrNPxa2/5qJ//NK1FGcw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -388,99 +321,10 @@
"node": ">=v18"
}
},
- "node_modules/@commitlint/top-level/node_modules/find-up": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
- "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "locate-path": "^7.2.0",
- "path-exists": "^5.0.0",
- "unicorn-magic": "^0.1.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/locate-path": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
- "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-locate": "^6.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/p-limit": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz",
- "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "yocto-queue": "^1.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/p-locate": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz",
- "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-limit": "^4.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/path-exists": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
- "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/yocto-queue": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz",
- "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12.20"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/@commitlint/types": {
- "version": "19.5.0",
- "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz",
- "integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==",
+ "version": "19.8.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.8.1.tgz",
+ "integrity": "sha512-/yCrWGCoA1SVKOks25EGadP9Pnj0oAIHGpl2wH2M2Y46dPM2ueb8wyCVOD7O3WCTkaJ0IkKvzhl1JY7+uCT2Dw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -565,6 +409,22 @@
"regexp-match-indices": "1.0.2"
}
},
+ "node_modules/@cucumber/cucumber/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
"node_modules/@cucumber/cucumber/node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -595,59 +455,17 @@
"node": ">=8"
}
},
- "node_modules/@cucumber/cucumber/node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/@cucumber/cucumber/node_modules/figures": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
- "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "escape-string-regexp": "^1.0.5"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@cucumber/cucumber/node_modules/mime": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz",
- "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==",
+ "node_modules/@cucumber/cucumber/node_modules/semver": {
+ "version": "7.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
+ "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/@cucumber/cucumber/node_modules/supports-color": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "has-flag": "^4.0.0"
+ "semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
"node_modules/@cucumber/gherkin": {
@@ -830,13 +648,14 @@
}
},
"node_modules/@cucumber/query": {
- "version": "13.2.0",
- "resolved": "https://registry.npmjs.org/@cucumber/query/-/query-13.2.0.tgz",
- "integrity": "sha512-S3g4u+2u/vo444bR1xL0+oVZmF8zb9QZ3MoiNF4GjBt6gG7Kf4S3NyJKjGUAQfESTb8oumOR1YMKHbv79FzA5w==",
+ "version": "13.5.0",
+ "resolved": "https://registry.npmjs.org/@cucumber/query/-/query-13.5.0.tgz",
+ "integrity": "sha512-8L/7qMRixZZJl0S+ao4sq7IobLD1gAdr2H0KDVg81r4M063ZeWDNBSXAr2BXSAYL5I7cpNxpfbfU2VgXPaqapA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@teppeis/multimaps": "3.0.0"
+ "@teppeis/multimaps": "3.0.0",
+ "lodash.sortby": "^4.7.0"
},
"peerDependencies": {
"@cucumber/messages": "*"
@@ -850,21 +669,21 @@
"license": "MIT"
},
"node_modules/@emnapi/core": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.3.1.tgz",
- "integrity": "sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==",
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.5.tgz",
+ "integrity": "sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/wasi-threads": "1.0.1",
+ "@emnapi/wasi-threads": "1.0.4",
"tslib": "^2.4.0"
}
},
"node_modules/@emnapi/runtime": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz",
- "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==",
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.5.tgz",
+ "integrity": "sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -873,9 +692,9 @@
}
},
"node_modules/@emnapi/wasi-threads": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.1.tgz",
- "integrity": "sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.4.tgz",
+ "integrity": "sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -884,9 +703,9 @@
}
},
"node_modules/@eslint-community/eslint-utils": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz",
- "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==",
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
+ "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -926,14 +745,14 @@
}
},
"node_modules/@eslint/config-array": {
- "version": "0.19.0",
- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.0.tgz",
- "integrity": "sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==",
+ "version": "0.21.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz",
+ "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
"dependencies": {
- "@eslint/object-schema": "^2.1.4",
+ "@eslint/object-schema": "^2.1.6",
"debug": "^4.3.1",
"minimatch": "^3.1.2"
},
@@ -941,21 +760,35 @@
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz",
+ "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "peer": true,
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
"node_modules/@eslint/core": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.9.0.tgz",
- "integrity": "sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==",
+ "version": "0.15.1",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",
+ "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
"node_modules/@eslint/eslintrc": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz",
- "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
+ "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
"dev": true,
"license": "MIT",
"peer": true,
@@ -977,35 +810,50 @@
"url": "https://opencollective.com/eslint"
}
},
- "node_modules/@eslint/eslintrc/node_modules/strip-json-comments": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "node_modules/@eslint/eslintrc/node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
"license": "MIT",
"peer": true,
- "engines": {
- "node": ">=8"
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
}
},
+ "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
"node_modules/@eslint/js": {
- "version": "9.15.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.15.0.tgz",
- "integrity": "sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==",
+ "version": "9.32.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz",
+ "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==",
"dev": true,
"license": "MIT",
"peer": true,
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
}
},
"node_modules/@eslint/object-schema": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz",
- "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==",
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
+ "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
@@ -1014,13 +862,14 @@
}
},
"node_modules/@eslint/plugin-kit": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.3.tgz",
- "integrity": "sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==",
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz",
+ "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
"dependencies": {
+ "@eslint/core": "^0.15.1",
"levn": "^0.4.1"
},
"engines": {
@@ -1084,9 +933,9 @@
}
},
"node_modules/@humanwhocodes/retry": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz",
- "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==",
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
@@ -1116,19 +965,6 @@
"node": ">=12"
}
},
- "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
- "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
"node_modules/@isaacs/cliui/node_modules/emoji-regex": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@@ -1154,51 +990,17 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^6.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
- }
- },
- "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^6.1.0",
- "string-width": "^5.0.1",
- "strip-ansi": "^7.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
"node_modules/@napi-rs/wasm-runtime": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.5.tgz",
- "integrity": "sha512-kwUxR7J9WLutBbulqg1dfOrMTwhMdXLdcGUhcbCcGwnPLt3gz19uHVdwH1syKVDbE022ZS2vZxOWflFLS0YTjw==",
+ "version": "0.2.12",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz",
+ "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/core": "^1.1.0",
- "@emnapi/runtime": "^1.1.0",
- "@tybys/wasm-util": "^0.9.0"
+ "@emnapi/core": "^1.4.3",
+ "@emnapi/runtime": "^1.4.3",
+ "@tybys/wasm-util": "^0.10.0"
}
},
"node_modules/@nodelib/fs.scandir": {
@@ -1240,38 +1042,38 @@
}
},
"node_modules/@octokit/auth-token": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz",
- "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
+ "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
}
},
"node_modules/@octokit/core": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz",
- "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.3.tgz",
+ "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/auth-token": "^5.0.0",
- "@octokit/graphql": "^8.0.0",
- "@octokit/request": "^9.0.0",
- "@octokit/request-error": "^6.0.1",
- "@octokit/types": "^13.0.0",
- "before-after-hook": "^3.0.2",
+ "@octokit/auth-token": "^6.0.0",
+ "@octokit/graphql": "^9.0.1",
+ "@octokit/request": "^10.0.2",
+ "@octokit/request-error": "^7.0.0",
+ "@octokit/types": "^14.0.0",
+ "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
}
},
"node_modules/@octokit/endpoint": {
- "version": "10.1.4",
- "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz",
- "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==",
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.0.tgz",
+ "integrity": "sha512-hoYicJZaqISMAI3JfaDr1qMNi48OctWuOih1m80bkYow/ayPw6Jj52tqWJ6GEoFTk1gBqfanSoI1iY99Z5+ekQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1279,171 +1081,120 @@
"universal-user-agent": "^7.0.2"
},
"engines": {
- "node": ">= 18"
- }
- },
- "node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types": {
- "version": "25.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
- "integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@octokit/endpoint/node_modules/@octokit/types": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
- "integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@octokit/openapi-types": "^25.0.0"
+ "node": ">= 20"
}
},
"node_modules/@octokit/graphql": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz",
- "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==",
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
+ "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/request": "^9.0.0",
- "@octokit/types": "^13.0.0",
+ "@octokit/request": "^10.0.2",
+ "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
}
},
"node_modules/@octokit/openapi-types": {
- "version": "24.2.0",
- "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz",
- "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==",
+ "version": "25.1.0",
+ "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
+ "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==",
"dev": true,
"license": "MIT"
},
"node_modules/@octokit/plugin-paginate-rest": {
- "version": "11.6.0",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.6.0.tgz",
- "integrity": "sha512-n5KPteiF7pWKgBIBJSk8qzoZWcUkza2O6A0za97pMGVrGfPdltxrfmfF5GucHYvHGZD8BdaZmmHGz5cX/3gdpw==",
+ "version": "13.1.1",
+ "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.1.1.tgz",
+ "integrity": "sha512-q9iQGlZlxAVNRN2jDNskJW/Cafy7/XE52wjZ5TTvyhyOD904Cvx//DNyoO3J/MXJ0ve3rPoNWKEg5iZrisQSuw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/types": "^13.10.0"
+ "@octokit/types": "^14.1.0"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
},
"peerDependencies": {
"@octokit/core": ">=6"
}
},
"node_modules/@octokit/plugin-retry": {
- "version": "7.1.2",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.2.tgz",
- "integrity": "sha512-XOWnPpH2kJ5VTwozsxGurw+svB2e61aWlmk5EVIYZPwFK5F9h4cyPyj9CIKRyMXMHSwpIsI3mPOdpMmrRhe7UQ==",
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-8.0.1.tgz",
+ "integrity": "sha512-KUoYR77BjF5O3zcwDQHRRZsUvJwepobeqiSSdCJ8lWt27FZExzb0GgVxrhhfuyF6z2B2zpO0hN5pteni1sqWiw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/request-error": "^6.0.0",
- "@octokit/types": "^13.0.0",
+ "@octokit/request-error": "^7.0.0",
+ "@octokit/types": "^14.0.0",
"bottleneck": "^2.15.3"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
},
"peerDependencies": {
- "@octokit/core": ">=6"
+ "@octokit/core": ">=7"
}
},
"node_modules/@octokit/plugin-throttling": {
- "version": "9.3.2",
- "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.2.tgz",
- "integrity": "sha512-FqpvcTpIWFpMMwIeSoypoJXysSAQ3R+ALJhXXSG1HTP3YZOIeLmcNcimKaXxTcws+Sh6yoRl13SJ5r8sXc1Fhw==",
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-11.0.1.tgz",
+ "integrity": "sha512-S+EVhy52D/272L7up58dr3FNSMXWuNZolkL4zMJBNIfIxyZuUcczsQAU4b5w6dewJXnKYVgSHSV5wxitMSW1kw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/types": "^13.0.0",
+ "@octokit/types": "^14.0.0",
"bottleneck": "^2.15.3"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
},
"peerDependencies": {
- "@octokit/core": "^6.0.0"
+ "@octokit/core": "^7.0.0"
}
},
"node_modules/@octokit/request": {
- "version": "9.2.3",
- "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.3.tgz",
- "integrity": "sha512-Ma+pZU8PXLOEYzsWf0cn/gY+ME57Wq8f49WTXA8FMHp2Ps9djKw//xYJ1je8Hm0pR2lU9FUGeJRWOtxq6olt4w==",
+ "version": "10.0.3",
+ "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.3.tgz",
+ "integrity": "sha512-V6jhKokg35vk098iBqp2FBKunk3kMTXlmq+PtbV9Gl3TfskWlebSofU9uunVKhUN7xl+0+i5vt0TGTG8/p/7HA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/endpoint": "^10.1.4",
- "@octokit/request-error": "^6.1.8",
+ "@octokit/endpoint": "^11.0.0",
+ "@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0",
- "fast-content-type-parse": "^2.0.0",
+ "fast-content-type-parse": "^3.0.0",
"universal-user-agent": "^7.0.2"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 20"
}
},
"node_modules/@octokit/request-error": {
- "version": "6.1.8",
- "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz",
- "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.0.tgz",
+ "integrity": "sha512-KRA7VTGdVyJlh0cP5Tf94hTiYVVqmt2f3I6mnimmaVz4UG3gQV/k4mDJlJv3X67iX6rmN7gSHCF8ssqeMnmhZg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@octokit/types": "^14.0.0"
},
"engines": {
- "node": ">= 18"
- }
- },
- "node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": {
- "version": "25.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
- "integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@octokit/request-error/node_modules/@octokit/types": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
- "integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@octokit/openapi-types": "^25.0.0"
- }
- },
- "node_modules/@octokit/request/node_modules/@octokit/openapi-types": {
- "version": "25.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
- "integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@octokit/request/node_modules/@octokit/types": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
- "integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@octokit/openapi-types": "^25.0.0"
+ "node": ">= 20"
}
},
"node_modules/@octokit/types": {
- "version": "13.10.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz",
- "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz",
+ "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/openapi-types": "^24.2.0"
+ "@octokit/openapi-types": "^25.1.0"
}
},
"node_modules/@oxc-resolver/binding-darwin-arm64": {
@@ -1686,9 +1437,9 @@
}
},
"node_modules/@semantic-release/commit-analyzer": {
- "version": "13.0.0",
- "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz",
- "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==",
+ "version": "13.0.1",
+ "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.1.tgz",
+ "integrity": "sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1697,7 +1448,7 @@
"conventional-commits-filter": "^5.0.0",
"conventional-commits-parser": "^6.0.0",
"debug": "^4.0.0",
- "import-from-esm": "^1.0.3",
+ "import-from-esm": "^2.0.0",
"lodash-es": "^4.17.21",
"micromatch": "^4.0.2"
},
@@ -1708,6 +1459,49 @@
"semantic-release": ">=20.1.0"
}
},
+ "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-changelog-angular": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz",
+ "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "compare-func": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-commits-parser": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.2.0.tgz",
+ "integrity": "sha512-uLnoLeIW4XaoFtH37qEcg/SXMJmKF4vi7V0H2rnPueg+VEtFGA/asSCNTcq4M/GQ6QmlzchAEtOoDTtKqWeHag==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "meow": "^13.0.0"
+ },
+ "bin": {
+ "conventional-commits-parser": "dist/cli/index.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@semantic-release/commit-analyzer/node_modules/import-from-esm": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-2.0.0.tgz",
+ "integrity": "sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.4",
+ "import-meta-resolve": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=18.20"
+ }
+ },
"node_modules/@semantic-release/error": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz",
@@ -1763,16 +1557,16 @@
}
},
"node_modules/@semantic-release/github": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-11.0.1.tgz",
- "integrity": "sha512-Z9cr0LgU/zgucbT9cksH0/pX9zmVda9hkDPcgIE0uvjMQ8w/mElDivGjx1w1pEQ+MuQJ5CBq3VCF16S6G4VH3A==",
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-11.0.3.tgz",
+ "integrity": "sha512-T2fKUyFkHHkUNa5XNmcsEcDPuG23hwBKptfUVcFXDVG2cSjXXZYDOfVYwfouqbWo/8UefotLaoGfQeK+k3ep6A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@octokit/core": "^6.0.0",
- "@octokit/plugin-paginate-rest": "^11.0.0",
- "@octokit/plugin-retry": "^7.0.0",
- "@octokit/plugin-throttling": "^9.0.0",
+ "@octokit/core": "^7.0.0",
+ "@octokit/plugin-paginate-rest": "^13.0.0",
+ "@octokit/plugin-retry": "^8.0.0",
+ "@octokit/plugin-throttling": "^11.0.0",
"@semantic-release/error": "^4.0.0",
"aggregate-error": "^5.0.0",
"debug": "^4.3.4",
@@ -1836,6 +1630,19 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@semantic-release/github/node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@semantic-release/github/node_modules/indent-string": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
@@ -1849,10 +1656,26 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@semantic-release/github/node_modules/mime": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.7.tgz",
+ "integrity": "sha512-2OfDPL+e03E0LrXaGYOtTFIYhiuzep94NSsuhrNULq+stylcJedcHdzHtz0atMUuGwJfFYs0YL5xeC/Ca2x0eQ==",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/broofa"
+ ],
+ "license": "MIT",
+ "bin": {
+ "mime": "bin/cli.js"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
"node_modules/@semantic-release/npm": {
- "version": "12.0.1",
- "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.1.tgz",
- "integrity": "sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==",
+ "version": "12.0.2",
+ "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.2.tgz",
+ "integrity": "sha512-+M9/Lb35IgnlUO6OSJ40Ie+hUsZLuph2fqXC/qrKn0fMvUU/jiCjpoL6zEm69vzcmaZJ8yNKtMBEKHWN49WBbQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1863,7 +1686,7 @@
"lodash-es": "^4.17.21",
"nerf-dart": "^1.0.0",
"normalize-url": "^8.0.0",
- "npm": "^10.5.0",
+ "npm": "^10.9.3",
"rc": "^1.2.8",
"read-pkg": "^9.0.0",
"registry-auth-token": "^5.0.0",
@@ -1933,25 +1756,38 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@semantic-release/npm/node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@semantic-release/npm/node_modules/execa": {
- "version": "9.5.1",
- "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.1.tgz",
- "integrity": "sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==",
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz",
+ "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@sindresorhus/merge-streams": "^4.0.0",
- "cross-spawn": "^7.0.3",
+ "cross-spawn": "^7.0.6",
"figures": "^6.1.0",
"get-stream": "^9.0.0",
- "human-signals": "^8.0.0",
+ "human-signals": "^8.0.1",
"is-plain-obj": "^4.1.0",
"is-stream": "^4.0.1",
"npm-run-path": "^6.0.0",
- "pretty-ms": "^9.0.0",
+ "pretty-ms": "^9.2.0",
"signal-exit": "^4.1.0",
"strip-final-newline": "^4.0.0",
- "yoctocolors": "^2.0.0"
+ "yoctocolors": "^2.1.1"
},
"engines": {
"node": "^18.19.0 || >=20.5.0"
@@ -1960,6 +1796,22 @@
"url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
+ "node_modules/@semantic-release/npm/node_modules/figures": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz",
+ "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-unicode-supported": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@semantic-release/npm/node_modules/get-stream": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz",
@@ -1978,9 +1830,9 @@
}
},
"node_modules/@semantic-release/npm/node_modules/human-signals": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz",
- "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==",
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz",
+ "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -2107,6 +1959,35 @@
"semantic-release": ">=20.1.0"
}
},
+ "node_modules/@semantic-release/release-notes-generator/node_modules/conventional-changelog-angular": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz",
+ "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "compare-func": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@semantic-release/release-notes-generator/node_modules/conventional-commits-parser": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.2.0.tgz",
+ "integrity": "sha512-uLnoLeIW4XaoFtH37qEcg/SXMJmKF4vi7V0H2rnPueg+VEtFGA/asSCNTcq4M/GQ6QmlzchAEtOoDTtKqWeHag==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "meow": "^13.0.0"
+ },
+ "bin": {
+ "conventional-commits-parser": "dist/cli/index.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@sindresorhus/is": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
@@ -2187,16 +2068,16 @@
}
},
"node_modules/@swc/core": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.9.3.tgz",
- "integrity": "sha512-oRj0AFePUhtatX+BscVhnzaAmWjpfAeySpM1TCbxA1rtBDeH/JDhi5yYzAKneDYtVtBvA7ApfeuzhMC9ye4xSg==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.13.3.tgz",
+ "integrity": "sha512-ZaDETVWnm6FE0fc+c2UE8MHYVS3Fe91o5vkmGfgwGXFbxYvAjKSqxM/j4cRc9T7VZNSJjriXq58XkfCp3Y6f+w==",
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"peer": true,
"dependencies": {
"@swc/counter": "^0.1.3",
- "@swc/types": "^0.1.17"
+ "@swc/types": "^0.1.23"
},
"engines": {
"node": ">=10"
@@ -2206,19 +2087,19 @@
"url": "https://opencollective.com/swc"
},
"optionalDependencies": {
- "@swc/core-darwin-arm64": "1.9.3",
- "@swc/core-darwin-x64": "1.9.3",
- "@swc/core-linux-arm-gnueabihf": "1.9.3",
- "@swc/core-linux-arm64-gnu": "1.9.3",
- "@swc/core-linux-arm64-musl": "1.9.3",
- "@swc/core-linux-x64-gnu": "1.9.3",
- "@swc/core-linux-x64-musl": "1.9.3",
- "@swc/core-win32-arm64-msvc": "1.9.3",
- "@swc/core-win32-ia32-msvc": "1.9.3",
- "@swc/core-win32-x64-msvc": "1.9.3"
+ "@swc/core-darwin-arm64": "1.13.3",
+ "@swc/core-darwin-x64": "1.13.3",
+ "@swc/core-linux-arm-gnueabihf": "1.13.3",
+ "@swc/core-linux-arm64-gnu": "1.13.3",
+ "@swc/core-linux-arm64-musl": "1.13.3",
+ "@swc/core-linux-x64-gnu": "1.13.3",
+ "@swc/core-linux-x64-musl": "1.13.3",
+ "@swc/core-win32-arm64-msvc": "1.13.3",
+ "@swc/core-win32-ia32-msvc": "1.13.3",
+ "@swc/core-win32-x64-msvc": "1.13.3"
},
"peerDependencies": {
- "@swc/helpers": "*"
+ "@swc/helpers": ">=0.5.17"
},
"peerDependenciesMeta": {
"@swc/helpers": {
@@ -2227,9 +2108,9 @@
}
},
"node_modules/@swc/core-darwin-arm64": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.9.3.tgz",
- "integrity": "sha512-hGfl/KTic/QY4tB9DkTbNuxy5cV4IeejpPD4zo+Lzt4iLlDWIeANL4Fkg67FiVceNJboqg48CUX+APhDHO5G1w==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.13.3.tgz",
+ "integrity": "sha512-ux0Ws4pSpBTqbDS9GlVP354MekB1DwYlbxXU3VhnDr4GBcCOimpocx62x7cFJkSpEBF8bmX8+/TTCGKh4PbyXw==",
"cpu": [
"arm64"
],
@@ -2245,9 +2126,9 @@
}
},
"node_modules/@swc/core-darwin-x64": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.9.3.tgz",
- "integrity": "sha512-IaRq05ZLdtgF5h9CzlcgaNHyg4VXuiStnOFpfNEMuI5fm5afP2S0FHq8WdakUz5WppsbddTdplL+vpeApt/WCQ==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.13.3.tgz",
+ "integrity": "sha512-p0X6yhxmNUOMZrbeZ3ZNsPige8lSlSe1llllXvpCLkKKxN/k5vZt1sULoq6Nj4eQ7KeHQVm81/+AwKZyf/e0TA==",
"cpu": [
"x64"
],
@@ -2263,9 +2144,9 @@
}
},
"node_modules/@swc/core-linux-arm-gnueabihf": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.9.3.tgz",
- "integrity": "sha512-Pbwe7xYprj/nEnZrNBvZfjnTxlBIcfApAGdz2EROhjpPj+FBqBa3wOogqbsuGGBdCphf8S+KPprL1z+oDWkmSQ==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.13.3.tgz",
+ "integrity": "sha512-OmDoiexL2fVWvQTCtoh0xHMyEkZweQAlh4dRyvl8ugqIPEVARSYtaj55TBMUJIP44mSUOJ5tytjzhn2KFxFcBA==",
"cpu": [
"arm"
],
@@ -2281,9 +2162,9 @@
}
},
"node_modules/@swc/core-linux-arm64-gnu": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.9.3.tgz",
- "integrity": "sha512-AQ5JZiwNGVV/2K2TVulg0mw/3LYfqpjZO6jDPtR2evNbk9Yt57YsVzS+3vHSlUBQDRV9/jqMuZYVU3P13xrk+g==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.13.3.tgz",
+ "integrity": "sha512-STfKku3QfnuUj6k3g9ld4vwhtgCGYIFQmsGPPgT9MK/dI3Lwnpe5Gs5t1inoUIoGNP8sIOLlBB4HV4MmBjQuhw==",
"cpu": [
"arm64"
],
@@ -2299,9 +2180,9 @@
}
},
"node_modules/@swc/core-linux-arm64-musl": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.9.3.tgz",
- "integrity": "sha512-tzVH480RY6RbMl/QRgh5HK3zn1ZTFsThuxDGo6Iuk1MdwIbdFYUY034heWUTI4u3Db97ArKh0hNL0xhO3+PZdg==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.13.3.tgz",
+ "integrity": "sha512-bc+CXYlFc1t8pv9yZJGus372ldzOVscBl7encUBlU1m/Sig0+NDJLz6cXXRcFyl6ABNOApWeR4Yl7iUWx6C8og==",
"cpu": [
"arm64"
],
@@ -2317,9 +2198,9 @@
}
},
"node_modules/@swc/core-linux-x64-gnu": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.9.3.tgz",
- "integrity": "sha512-ivXXBRDXDc9k4cdv10R21ccBmGebVOwKXT/UdH1PhxUn9m/h8erAWjz5pcELwjiMf27WokqPgaWVfaclDbgE+w==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.13.3.tgz",
+ "integrity": "sha512-dFXoa0TEhohrKcxn/54YKs1iwNeW6tUkHJgXW33H381SvjKFUV53WR231jh1sWVJETjA3vsAwxKwR23s7UCmUA==",
"cpu": [
"x64"
],
@@ -2335,9 +2216,9 @@
}
},
"node_modules/@swc/core-linux-x64-musl": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.9.3.tgz",
- "integrity": "sha512-ILsGMgfnOz1HwdDz+ZgEuomIwkP1PHT6maigZxaCIuC6OPEhKE8uYna22uU63XvYcLQvZYDzpR3ms47WQPuNEg==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.13.3.tgz",
+ "integrity": "sha512-ieyjisLB+ldexiE/yD8uomaZuZIbTc8tjquYln9Quh5ykOBY7LpJJYBWvWtm1g3pHv6AXlBI8Jay7Fffb6aLfA==",
"cpu": [
"x64"
],
@@ -2353,9 +2234,9 @@
}
},
"node_modules/@swc/core-win32-arm64-msvc": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.9.3.tgz",
- "integrity": "sha512-e+XmltDVIHieUnNJHtspn6B+PCcFOMYXNJB1GqoCcyinkEIQNwC8KtWgMqUucUbEWJkPc35NHy9k8aCXRmw9Kg==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.13.3.tgz",
+ "integrity": "sha512-elTQpnaX5vESSbhCEgcwXjpMsnUbqqHfEpB7ewpkAsLzKEXZaK67ihSRYAuAx6ewRQTo7DS5iTT6X5aQD3MzMw==",
"cpu": [
"arm64"
],
@@ -2371,9 +2252,9 @@
}
},
"node_modules/@swc/core-win32-ia32-msvc": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.9.3.tgz",
- "integrity": "sha512-rqpzNfpAooSL4UfQnHhkW8aL+oyjqJniDP0qwZfGnjDoJSbtPysHg2LpcOBEdSnEH+uIZq6J96qf0ZFD8AGfXA==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.13.3.tgz",
+ "integrity": "sha512-nvehQVEOdI1BleJpuUgPLrclJ0TzbEMc+MarXDmmiRFwEUGqj+pnfkTSb7RZyS1puU74IXdK/YhTirHurtbI9w==",
"cpu": [
"ia32"
],
@@ -2389,9 +2270,9 @@
}
},
"node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.9.3.tgz",
- "integrity": "sha512-3YJJLQ5suIEHEKc1GHtqVq475guiyqisKSoUnoaRtxkDaW5g1yvPt9IoSLOe2mRs7+FFhGGU693RsBUSwOXSdQ==",
+ "version": "1.13.3",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.13.3.tgz",
+ "integrity": "sha512-A+JSKGkRbPLVV2Kwx8TaDAV0yXIXm/gc8m98hSkVDGlPBBmydgzNdWy3X7HTUBM7IDk7YlWE7w2+RUGjdgpTmg==",
"cpu": [
"x64"
],
@@ -2415,9 +2296,9 @@
"peer": true
},
"node_modules/@swc/types": {
- "version": "0.1.17",
- "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.17.tgz",
- "integrity": "sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==",
+ "version": "0.1.23",
+ "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.23.tgz",
+ "integrity": "sha512-u1iIVZV9Q0jxY+yM2vw/hZGDNudsN85bBpTqzAQ9rzkxW9D+e3aEM4Han+ow518gSewkXgjmEK0BD79ZcNVgPw==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
@@ -2436,9 +2317,9 @@
}
},
"node_modules/@tybys/wasm-util": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz",
- "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==",
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.0.tgz",
+ "integrity": "sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -2467,9 +2348,9 @@
}
},
"node_modules/@types/estree": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
- "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
"dev": true,
"license": "MIT",
"peer": true
@@ -2483,9 +2364,9 @@
"peer": true
},
"node_modules/@types/ms": {
- "version": "0.7.34",
- "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",
- "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
"dev": true,
"license": "MIT"
},
@@ -2506,13 +2387,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/semver": {
- "version": "7.5.8",
- "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
- "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@types/uuid": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",
@@ -2673,6 +2547,9 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
@@ -2745,9 +2622,9 @@
}
},
"node_modules/acorn": {
- "version": "8.14.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
- "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
+ "version": "8.15.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
+ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
"dev": true,
"license": "MIT",
"peer": true,
@@ -2770,14 +2647,11 @@
}
},
"node_modules/agent-base": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
- "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "debug": "^4.3.4"
- },
"engines": {
"node": ">= 14"
}
@@ -2797,17 +2671,16 @@
}
},
"node_modules/ajv": {
- "version": "6.12.6",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
- "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "version": "8.17.1",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
+ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
+ "fast-deep-equal": "^3.1.3",
+ "fast-uri": "^3.0.1",
+ "json-schema-traverse": "^1.0.0",
+ "require-from-string": "^2.0.2"
},
"funding": {
"type": "github",
@@ -2831,29 +2704,23 @@
}
},
"node_modules/ansi-regex": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
- "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",
+ "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ "node": ">=6"
}
},
"node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
"engines": {
- "node": ">=8"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
@@ -2907,9 +2774,9 @@
"license": "MIT"
},
"node_modules/before-after-hook": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz",
- "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
+ "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==",
"dev": true,
"license": "Apache-2.0"
},
@@ -2921,12 +2788,14 @@
"license": "MIT"
},
"node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -2975,9 +2844,9 @@
}
},
"node_modules/chalk": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
- "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.5.0.tgz",
+ "integrity": "sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3036,6 +2905,32 @@
"npm": ">=5.0.0"
}
},
+ "node_modules/cli-highlight/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cli-highlight/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
"node_modules/cli-highlight/node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -3065,6 +2960,50 @@
"wrap-ansi": "^7.0.0"
}
},
+ "node_modules/cli-highlight/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cli-highlight/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cli-highlight/node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/cli-highlight/node_modules/yargs": {
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
@@ -3125,6 +3064,63 @@
"node": ">=12"
}
},
+ "node_modules/cliui/node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cliui/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/cliui/node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cliui/node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@@ -3178,8 +3174,7 @@
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/config-chain": {
"version": "1.1.13",
@@ -3192,17 +3187,24 @@
"proto-list": "~1.2.1"
}
},
+ "node_modules/config-chain/node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/conventional-changelog-angular": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz",
- "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz",
+ "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==",
"dev": true,
"license": "ISC",
"dependencies": {
"compare-func": "^2.0.0"
},
"engines": {
- "node": ">=18"
+ "node": ">=16"
}
},
"node_modules/conventional-changelog-conventionalcommits": {
@@ -3219,13 +3221,12 @@
}
},
"node_modules/conventional-changelog-writer": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.0.0.tgz",
- "integrity": "sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==",
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.2.0.tgz",
+ "integrity": "sha512-Y2aW4596l9AEvFJRwFGJGiQjt2sBYTjPD18DdvxX9Vpz0Z7HQ+g1Z+6iYDAm1vR3QOJrDBkRHixHK/+FhkR6Pw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/semver": "^7.5.5",
"conventional-commits-filter": "^5.0.0",
"handlebars": "^4.7.7",
"meow": "^13.0.0",
@@ -3249,19 +3250,35 @@
}
},
"node_modules/conventional-commits-parser": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz",
- "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz",
+ "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "meow": "^13.0.0"
+ "is-text-path": "^2.0.0",
+ "JSONStream": "^1.3.5",
+ "meow": "^12.0.1",
+ "split2": "^4.0.0"
},
"bin": {
- "conventional-commits-parser": "dist/cli/index.js"
+ "conventional-commits-parser": "cli.mjs"
},
"engines": {
- "node": ">=18"
+ "node": ">=16"
+ }
+ },
+ "node_modules/conventional-commits-parser/node_modules/meow": {
+ "version": "12.1.1",
+ "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz",
+ "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/convert-hrtime": {
@@ -3489,9 +3506,9 @@
"license": "MIT"
},
"node_modules/env-ci": {
- "version": "11.1.0",
- "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.0.tgz",
- "integrity": "sha512-Z8dnwSDbV1XYM9SBF2J0GcNVvmfmfh3a49qddGIROhBoVro6MZVTji15z/sJbQ2ko2ei8n988EU1wzoLU/tF+g==",
+ "version": "11.1.1",
+ "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.1.1.tgz",
+ "integrity": "sha512-mT3ks8F0kwpo7SYNds6nWj0PaRh+qJxIeBVBXAKTN9hphAzZv7s0QAZQbqnB1fAv/r4pJUGE15BV9UrS31FP2w==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3700,46 +3717,48 @@
}
},
"node_modules/escape-string-regexp": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
- "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
- "node": ">=12"
+ "node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/eslint": {
- "version": "9.15.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.15.0.tgz",
- "integrity": "sha512-7CrWySmIibCgT1Os28lUU6upBshZ+GxybLOrmRzi08kS8MBuO8QA7pXEgYgY5W8vK3e74xv0lpjo9DbaGU9Rkw==",
+ "version": "9.32.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz",
+ "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.12.1",
- "@eslint/config-array": "^0.19.0",
- "@eslint/core": "^0.9.0",
- "@eslint/eslintrc": "^3.2.0",
- "@eslint/js": "9.15.0",
- "@eslint/plugin-kit": "^0.2.3",
+ "@eslint/config-array": "^0.21.0",
+ "@eslint/config-helpers": "^0.3.0",
+ "@eslint/core": "^0.15.0",
+ "@eslint/eslintrc": "^3.3.1",
+ "@eslint/js": "9.32.0",
+ "@eslint/plugin-kit": "^0.3.4",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
- "@humanwhocodes/retry": "^0.4.1",
+ "@humanwhocodes/retry": "^0.4.2",
"@types/estree": "^1.0.6",
"@types/json-schema": "^7.0.15",
"ajv": "^6.12.4",
"chalk": "^4.0.0",
- "cross-spawn": "^7.0.5",
+ "cross-spawn": "^7.0.6",
"debug": "^4.3.2",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^8.2.0",
- "eslint-visitor-keys": "^4.2.0",
- "espree": "^10.3.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.0",
"esquery": "^1.5.0",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -3774,9 +3793,9 @@
}
},
"node_modules/eslint-scope": {
- "version": "8.2.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz",
- "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==",
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
"dev": true,
"license": "BSD-2-Clause",
"peer": true,
@@ -3792,9 +3811,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
- "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -3804,36 +3823,57 @@
"url": "https://opencollective.com/eslint"
}
},
- "node_modules/eslint/node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "node_modules/eslint/node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/eslint/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
},
"engines": {
- "node": ">=10"
+ "node": ">=8"
},
"funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/eslint/node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "node_modules/eslint/node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"license": "MIT",
"peer": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
"engines": {
"node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/eslint/node_modules/find-up": {
@@ -3854,19 +3894,13 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/eslint/node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "node_modules/eslint/node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true,
- "license": "ISC",
- "peer": true,
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
+ "license": "MIT",
+ "peer": true
},
"node_modules/eslint/node_modules/locate-path": {
"version": "6.0.0",
@@ -3930,17 +3964,45 @@
"node": ">=8"
}
},
+ "node_modules/eslint/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/eslint/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/espree": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz",
- "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==",
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
"dev": true,
"license": "BSD-2-Clause",
"peer": true,
"dependencies": {
- "acorn": "^8.14.0",
+ "acorn": "^8.15.0",
"acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^4.2.0"
+ "eslint-visitor-keys": "^4.2.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4037,9 +4099,9 @@
}
},
"node_modules/fast-content-type-parse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz",
- "integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz",
+ "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==",
"dev": true,
"funding": [
{
@@ -4061,9 +4123,9 @@
"license": "MIT"
},
"node_modules/fast-glob": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
- "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4071,12 +4133,25 @@
"@nodelib/fs.walk": "^1.2.3",
"glob-parent": "^5.1.2",
"merge2": "^1.3.0",
- "micromatch": "^4.0.4"
+ "micromatch": "^4.0.8"
},
"engines": {
"node": ">=8.6.0"
}
},
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@@ -4094,9 +4169,9 @@
"peer": true
},
"node_modules/fast-uri": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.5.tgz",
- "integrity": "sha512-5JnBCWpFlMo0a3ciDy/JckMzzv1U9coZrIhedq+HXxxUfDTAiS0LA8OKVao4G9BxmCVck/jtA5r3KAtRWEyD8Q==",
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz",
+ "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==",
"dev": true,
"funding": [
{
@@ -4111,9 +4186,9 @@
"license": "BSD-3-Clause"
},
"node_modules/fastq": {
- "version": "1.17.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
- "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
+ "version": "1.19.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
+ "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
"dev": true,
"license": "ISC",
"dependencies": {
@@ -4121,21 +4196,31 @@
}
},
"node_modules/figures": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz",
- "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-unicode-supported": "^2.0.0"
+ "escape-string-regexp": "^1.0.5"
},
"engines": {
- "node": ">=18"
+ "node": ">=8"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/figures/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
"node_modules/file-entry-cache": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
@@ -4164,22 +4249,27 @@
}
},
"node_modules/find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
+ "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "locate-path": "^2.0.0"
+ "locate-path": "^7.2.0",
+ "path-exists": "^5.0.0",
+ "unicorn-magic": "^0.1.0"
},
"engines": {
- "node": ">=4"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/find-up-simple": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz",
- "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz",
+ "integrity": "sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -4222,9 +4312,9 @@
}
},
"node_modules/flatted": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz",
- "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
+ "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
"dev": true,
"license": "ISC",
"peer": true
@@ -4271,9 +4361,9 @@
}
},
"node_modules/fs-extra": {
- "version": "11.2.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
- "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
+ "version": "11.3.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz",
+ "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4345,6 +4435,16 @@
"traverse": "0.6.8"
}
},
+ "node_modules/git-log-parser/node_modules/split2": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz",
+ "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "through2": "~2.0.0"
+ }
+ },
"node_modules/git-raw-commits": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz",
@@ -4376,16 +4476,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/git-raw-commits/node_modules/split2": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
- "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": ">= 10.x"
- }
- },
"node_modules/glob": {
"version": "10.4.5",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
@@ -4408,19 +4498,23 @@
}
},
"node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
"dev": true,
"license": "ISC",
+ "peer": true,
"dependencies": {
- "is-glob": "^4.0.1"
+ "is-glob": "^4.0.3"
},
"engines": {
- "node": ">= 6"
+ "node": ">=10.13.0"
}
},
"node_modules/glob/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
@@ -4462,16 +4556,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/global-directory/node_modules/ini": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
- "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
"node_modules/global-dirs": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz",
@@ -4513,18 +4597,18 @@
}
},
"node_modules/globby": {
- "version": "14.0.2",
- "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz",
- "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz",
+ "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@sindresorhus/merge-streams": "^2.1.0",
- "fast-glob": "^3.3.2",
- "ignore": "^5.2.4",
- "path-type": "^5.0.0",
+ "fast-glob": "^3.3.3",
+ "ignore": "^7.0.3",
+ "path-type": "^6.0.0",
"slash": "^5.1.0",
- "unicorn-magic": "^0.1.0"
+ "unicorn-magic": "^0.3.0"
},
"engines": {
"node": ">=18"
@@ -4533,14 +4617,37 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/globby/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
"node_modules/globby/node_modules/path-type": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz",
- "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz",
+ "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=12"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globby/node_modules/unicorn-magic": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz",
+ "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -4595,16 +4702,6 @@
"node": ">=8"
}
},
- "node_modules/has-ansi/node_modules/ansi-regex": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",
- "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -4666,13 +4763,13 @@
}
},
"node_modules/https-proxy-agent": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
- "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "agent-base": "^7.0.2",
+ "agent-base": "^7.1.2",
"debug": "4"
},
"engines": {
@@ -4716,9 +4813,9 @@
}
},
"node_modules/import-fresh": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
- "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4789,9 +4886,9 @@
}
},
"node_modules/index-to-position": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz",
- "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz",
+ "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -4809,11 +4906,14 @@
"license": "ISC"
},
"node_modules/ini": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
- "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
+ "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
"dev": true,
- "license": "ISC"
+ "license": "ISC",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
},
"node_modules/into-stream": {
"version": "7.0.0",
@@ -5029,9 +5129,9 @@
}
},
"node_modules/jiti": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz",
- "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.5.1.tgz",
+ "integrity": "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==",
"dev": true,
"license": "MIT",
"bin": {
@@ -5081,12 +5181,11 @@
"license": "MIT"
},
"node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
"dev": true,
- "license": "MIT",
- "peer": true
+ "license": "MIT"
},
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
@@ -5210,17 +5309,19 @@
}
},
"node_modules/locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
+ "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
+ "p-locate": "^6.0.0"
},
"engines": {
- "node": ">=4"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/lodash": {
@@ -5300,6 +5401,13 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/lodash.sortby": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
+ "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/lodash.startcase": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz",
@@ -5369,25 +5477,38 @@
}
},
"node_modules/marked-terminal": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.2.1.tgz",
- "integrity": "sha512-rQ1MoMFXZICWNsKMiiHwP/Z+92PLKskTPXj+e7uwXmuMPkNn7iTqC+IvDekVm1MPeC9wYQeLxeFaOvudRR/XbQ==",
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.3.0.tgz",
+ "integrity": "sha512-t4rBvPsHc57uE/2nJOLmMbZCQ4tgAccAED3ngXQqW6g+TxA488JzJ+FK3lQkzBQOI1mRV/r/Kq+1ZlJ4D0owQw==",
"dev": true,
"license": "MIT",
"dependencies": {
"ansi-escapes": "^7.0.0",
"ansi-regex": "^6.1.0",
- "chalk": "^5.3.0",
+ "chalk": "^5.4.1",
"cli-highlight": "^2.1.11",
"cli-table3": "^0.6.5",
- "node-emoji": "^2.1.3",
+ "node-emoji": "^2.2.0",
"supports-hyperlinks": "^3.1.0"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {
- "marked": ">=1 <15"
+ "marked": ">=1 <16"
+ }
+ },
+ "node_modules/marked-terminal/node_modules/ansi-regex": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
"node_modules/meow": {
@@ -5435,19 +5556,16 @@
}
},
"node_modules/mime": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz",
- "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz",
+ "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==",
"dev": true,
- "funding": [
- "https://github.com/sponsors/broofa"
- ],
"license": "MIT",
"bin": {
- "mime": "bin/cli.js"
+ "mime": "cli.js"
},
"engines": {
- "node": ">=16"
+ "node": ">=10.0.0"
}
},
"node_modules/mimic-fn": {
@@ -5466,7 +5584,6 @@
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"dev": true,
"license": "ISC",
- "peer": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -5561,9 +5678,9 @@
}
},
"node_modules/node-emoji": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz",
- "integrity": "sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz",
+ "integrity": "sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5592,9 +5709,9 @@
}
},
"node_modules/normalize-url": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
- "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.2.tgz",
+ "integrity": "sha512-Ee/R3SyN4BuynXcnTaekmaVdbDAEiNrHqjQIA37mHU8G9pf7aaAD4ZX3XjBLo6rsdcxA/gtkcNYZLt30ACgynw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5605,9 +5722,9 @@
}
},
"node_modules/npm": {
- "version": "10.9.1",
- "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.1.tgz",
- "integrity": "sha512-yJUw03xLqjiv1D52oHeoS5qmOEC5hkJlhP1cWlSrCgshuxWVyFEEK3M3hLC0NwbTaklLTYrhoIanYsuNP5WUKg==",
+ "version": "10.9.3",
+ "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.3.tgz",
+ "integrity": "sha512-6Eh1u5Q+kIVXeA8e7l2c/HpnFFcwrkt37xDMujD5be1gloWa9p6j3Fsv3mByXXmqJHy+2cElRMML8opNT7xIJQ==",
"bundleDependencies": [
"@isaacs/string-locale-compare",
"@npmcli/arborist",
@@ -5689,37 +5806,37 @@
],
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
- "@npmcli/arborist": "^8.0.0",
+ "@npmcli/arborist": "^8.0.1",
"@npmcli/config": "^9.0.0",
"@npmcli/fs": "^4.0.0",
- "@npmcli/map-workspaces": "^4.0.1",
- "@npmcli/package-json": "^6.0.1",
+ "@npmcli/map-workspaces": "^4.0.2",
+ "@npmcli/package-json": "^6.2.0",
"@npmcli/promise-spawn": "^8.0.2",
- "@npmcli/redact": "^3.0.0",
- "@npmcli/run-script": "^9.0.1",
- "@sigstore/tuf": "^3.0.0",
- "abbrev": "^3.0.0",
+ "@npmcli/redact": "^3.2.2",
+ "@npmcli/run-script": "^9.1.0",
+ "@sigstore/tuf": "^3.1.1",
+ "abbrev": "^3.0.1",
"archy": "~1.0.0",
"cacache": "^19.0.1",
- "chalk": "^5.3.0",
- "ci-info": "^4.1.0",
+ "chalk": "^5.4.1",
+ "ci-info": "^4.2.0",
"cli-columns": "^4.0.0",
"fastest-levenshtein": "^1.0.16",
"fs-minipass": "^3.0.3",
"glob": "^10.4.5",
"graceful-fs": "^4.2.11",
- "hosted-git-info": "^8.0.2",
+ "hosted-git-info": "^8.1.0",
"ini": "^5.0.0",
- "init-package-json": "^7.0.1",
- "is-cidr": "^5.1.0",
+ "init-package-json": "^7.0.2",
+ "is-cidr": "^5.1.1",
"json-parse-even-better-errors": "^4.0.0",
"libnpmaccess": "^9.0.0",
- "libnpmdiff": "^7.0.0",
- "libnpmexec": "^9.0.0",
- "libnpmfund": "^6.0.0",
+ "libnpmdiff": "^7.0.1",
+ "libnpmexec": "^9.0.1",
+ "libnpmfund": "^6.0.1",
"libnpmhook": "^11.0.0",
"libnpmorg": "^7.0.0",
- "libnpmpack": "^8.0.0",
+ "libnpmpack": "^8.0.1",
"libnpmpublish": "^10.0.1",
"libnpmsearch": "^8.0.0",
"libnpmteam": "^7.0.0",
@@ -5729,23 +5846,23 @@
"minipass": "^7.1.1",
"minipass-pipeline": "^1.2.4",
"ms": "^2.1.2",
- "node-gyp": "^10.2.0",
- "nopt": "^8.0.0",
+ "node-gyp": "^11.2.0",
+ "nopt": "^8.1.0",
"normalize-package-data": "^7.0.0",
"npm-audit-report": "^6.0.0",
"npm-install-checks": "^7.1.1",
- "npm-package-arg": "^12.0.0",
+ "npm-package-arg": "^12.0.2",
"npm-pick-manifest": "^10.0.0",
"npm-profile": "^11.0.1",
"npm-registry-fetch": "^18.0.2",
"npm-user-validate": "^3.0.0",
- "p-map": "^4.0.0",
+ "p-map": "^7.0.3",
"pacote": "^19.0.1",
"parse-conflict-json": "^4.0.0",
"proc-log": "^5.0.0",
"qrcode-terminal": "^0.12.0",
- "read": "^4.0.0",
- "semver": "^7.6.3",
+ "read": "^4.1.0",
+ "semver": "^7.7.2",
"spdx-expression-parse": "^4.0.0",
"ssri": "^12.0.0",
"supports-color": "^9.4.0",
@@ -5753,7 +5870,7 @@
"text-table": "~0.2.0",
"tiny-relative-date": "^1.3.0",
"treeverse": "^3.0.0",
- "validate-npm-package-name": "^6.0.0",
+ "validate-npm-package-name": "^6.0.1",
"which": "^5.0.0",
"write-file-atomic": "^6.0.0"
},
@@ -5880,7 +5997,7 @@
}
},
"node_modules/npm/node_modules/@npmcli/arborist": {
- "version": "8.0.0",
+ "version": "8.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -5960,7 +6077,7 @@
}
},
"node_modules/npm/node_modules/@npmcli/git": {
- "version": "6.0.1",
+ "version": "6.0.3",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -5970,7 +6087,6 @@
"lru-cache": "^10.0.1",
"npm-pick-manifest": "^10.0.0",
"proc-log": "^5.0.0",
- "promise-inflight": "^1.0.1",
"promise-retry": "^2.0.1",
"semver": "^7.3.5",
"which": "^5.0.0"
@@ -5996,7 +6112,7 @@
}
},
"node_modules/npm/node_modules/@npmcli/map-workspaces": {
- "version": "4.0.1",
+ "version": "4.0.2",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6076,7 +6192,7 @@
}
},
"node_modules/npm/node_modules/@npmcli/package-json": {
- "version": "6.0.1",
+ "version": "6.2.0",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6085,9 +6201,9 @@
"glob": "^10.2.2",
"hosted-git-info": "^8.0.0",
"json-parse-even-better-errors": "^4.0.0",
- "normalize-package-data": "^7.0.0",
"proc-log": "^5.0.0",
- "semver": "^7.5.3"
+ "semver": "^7.5.3",
+ "validate-npm-package-license": "^3.0.4"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
@@ -6106,19 +6222,19 @@
}
},
"node_modules/npm/node_modules/@npmcli/query": {
- "version": "4.0.0",
+ "version": "4.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "postcss-selector-parser": "^6.1.2"
+ "postcss-selector-parser": "^7.0.0"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/npm/node_modules/@npmcli/redact": {
- "version": "3.0.0",
+ "version": "3.2.2",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6127,7 +6243,7 @@
}
},
"node_modules/npm/node_modules/@npmcli/run-script": {
- "version": "9.0.1",
+ "version": "9.1.0",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6135,7 +6251,7 @@
"@npmcli/node-gyp": "^4.0.0",
"@npmcli/package-json": "^6.0.0",
"@npmcli/promise-spawn": "^8.0.0",
- "node-gyp": "^10.0.0",
+ "node-gyp": "^11.0.0",
"proc-log": "^5.0.0",
"which": "^5.0.0"
},
@@ -6154,21 +6270,21 @@
}
},
"node_modules/npm/node_modules/@sigstore/protobuf-specs": {
- "version": "0.3.2",
+ "version": "0.4.3",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"engines": {
- "node": "^16.14.0 || >=18.0.0"
+ "node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/npm/node_modules/@sigstore/tuf": {
- "version": "3.0.0",
+ "version": "3.1.1",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
- "@sigstore/protobuf-specs": "^0.3.2",
+ "@sigstore/protobuf-specs": "^0.4.1",
"tuf-js": "^3.0.1"
},
"engines": {
@@ -6185,7 +6301,7 @@
}
},
"node_modules/npm/node_modules/abbrev": {
- "version": "3.0.0",
+ "version": "3.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6194,30 +6310,14 @@
}
},
"node_modules/npm/node_modules/agent-base": {
- "version": "7.1.1",
+ "version": "7.1.3",
"dev": true,
"inBundle": true,
"license": "MIT",
- "dependencies": {
- "debug": "^4.3.4"
- },
"engines": {
"node": ">= 14"
}
},
- "node_modules/npm/node_modules/aggregate-error": {
- "version": "3.1.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "clean-stack": "^2.0.0",
- "indent-string": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/npm/node_modules/ansi-regex": {
"version": "5.0.1",
"dev": true,
@@ -6286,7 +6386,7 @@
}
},
"node_modules/npm/node_modules/brace-expansion": {
- "version": "2.0.1",
+ "version": "2.0.2",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -6326,19 +6426,6 @@
"node": ">=18"
}
},
- "node_modules/npm/node_modules/cacache/node_modules/minizlib": {
- "version": "3.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minipass": "^7.0.4",
- "rimraf": "^5.0.5"
- },
- "engines": {
- "node": ">= 18"
- }
- },
"node_modules/npm/node_modules/cacache/node_modules/mkdirp": {
"version": "3.0.1",
"dev": true,
@@ -6354,18 +6441,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/npm/node_modules/cacache/node_modules/p-map": {
- "version": "7.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/npm/node_modules/cacache/node_modules/tar": {
"version": "7.4.3",
"dev": true,
@@ -6393,7 +6468,7 @@
}
},
"node_modules/npm/node_modules/chalk": {
- "version": "5.3.0",
+ "version": "5.4.1",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -6414,7 +6489,7 @@
}
},
"node_modules/npm/node_modules/ci-info": {
- "version": "4.1.0",
+ "version": "4.2.0",
"dev": true,
"funding": [
{
@@ -6429,7 +6504,7 @@
}
},
"node_modules/npm/node_modules/cidr-regex": {
- "version": "4.1.1",
+ "version": "4.1.3",
"dev": true,
"inBundle": true,
"license": "BSD-2-Clause",
@@ -6440,15 +6515,6 @@
"node": ">=14"
}
},
- "node_modules/npm/node_modules/clean-stack": {
- "version": "2.2.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/npm/node_modules/cli-columns": {
"version": "4.0.0",
"dev": true,
@@ -6537,7 +6603,7 @@
}
},
"node_modules/npm/node_modules/debug": {
- "version": "4.3.7",
+ "version": "4.4.1",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -6600,7 +6666,7 @@
"license": "MIT"
},
"node_modules/npm/node_modules/exponential-backoff": {
- "version": "3.1.1",
+ "version": "3.1.2",
"dev": true,
"inBundle": true,
"license": "Apache-2.0"
@@ -6615,12 +6681,12 @@
}
},
"node_modules/npm/node_modules/foreground-child": {
- "version": "3.3.0",
+ "version": "3.3.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "cross-spawn": "^7.0.0",
+ "cross-spawn": "^7.0.6",
"signal-exit": "^4.0.1"
},
"engines": {
@@ -6669,7 +6735,7 @@
"license": "ISC"
},
"node_modules/npm/node_modules/hosted-git-info": {
- "version": "8.0.2",
+ "version": "8.1.0",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6681,7 +6747,7 @@
}
},
"node_modules/npm/node_modules/http-cache-semantics": {
- "version": "4.1.1",
+ "version": "4.2.0",
"dev": true,
"inBundle": true,
"license": "BSD-2-Clause"
@@ -6700,12 +6766,12 @@
}
},
"node_modules/npm/node_modules/https-proxy-agent": {
- "version": "7.0.5",
+ "version": "7.0.6",
"dev": true,
"inBundle": true,
"license": "MIT",
"dependencies": {
- "agent-base": "^7.0.2",
+ "agent-base": "^7.1.2",
"debug": "4"
},
"engines": {
@@ -6746,15 +6812,6 @@
"node": ">=0.8.19"
}
},
- "node_modules/npm/node_modules/indent-string": {
- "version": "4.0.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/npm/node_modules/ini": {
"version": "5.0.0",
"dev": true,
@@ -6765,7 +6822,7 @@
}
},
"node_modules/npm/node_modules/init-package-json": {
- "version": "7.0.1",
+ "version": "7.0.2",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -6808,7 +6865,7 @@
}
},
"node_modules/npm/node_modules/is-cidr": {
- "version": "5.1.0",
+ "version": "5.1.1",
"dev": true,
"inBundle": true,
"license": "BSD-2-Clause",
@@ -6828,12 +6885,6 @@
"node": ">=8"
}
},
- "node_modules/npm/node_modules/is-lambda": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT"
- },
"node_modules/npm/node_modules/isexe": {
"version": "2.0.0",
"dev": true,
@@ -6914,12 +6965,12 @@
}
},
"node_modules/npm/node_modules/libnpmdiff": {
- "version": "7.0.0",
+ "version": "7.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "@npmcli/arborist": "^8.0.0",
+ "@npmcli/arborist": "^8.0.1",
"@npmcli/installed-package-contents": "^3.0.0",
"binary-extensions": "^2.3.0",
"diff": "^5.1.0",
@@ -6933,12 +6984,12 @@
}
},
"node_modules/npm/node_modules/libnpmexec": {
- "version": "9.0.0",
+ "version": "9.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "@npmcli/arborist": "^8.0.0",
+ "@npmcli/arborist": "^8.0.1",
"@npmcli/run-script": "^9.0.1",
"ci-info": "^4.0.0",
"npm-package-arg": "^12.0.0",
@@ -6954,12 +7005,12 @@
}
},
"node_modules/npm/node_modules/libnpmfund": {
- "version": "6.0.0",
+ "version": "6.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "@npmcli/arborist": "^8.0.0"
+ "@npmcli/arborist": "^8.0.1"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
@@ -6992,12 +7043,12 @@
}
},
"node_modules/npm/node_modules/libnpmpack": {
- "version": "8.0.0",
+ "version": "8.0.1",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "@npmcli/arborist": "^8.0.0",
+ "@npmcli/arborist": "^8.0.1",
"@npmcli/run-script": "^9.0.1",
"npm-package-arg": "^12.0.0",
"pacote": "^19.0.0"
@@ -7140,7 +7191,7 @@
}
},
"node_modules/npm/node_modules/minipass-fetch": {
- "version": "4.0.0",
+ "version": "4.0.1",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -7156,19 +7207,6 @@
"encoding": "^0.1.13"
}
},
- "node_modules/npm/node_modules/minipass-fetch/node_modules/minizlib": {
- "version": "3.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minipass": "^7.0.4",
- "rimraf": "^5.0.5"
- },
- "engines": {
- "node": ">= 18"
- }
- },
"node_modules/npm/node_modules/minipass-flush": {
"version": "1.0.5",
"dev": true,
@@ -7242,28 +7280,15 @@
}
},
"node_modules/npm/node_modules/minizlib": {
- "version": "2.1.2",
+ "version": "3.0.2",
"dev": true,
"inBundle": true,
"license": "MIT",
"dependencies": {
- "minipass": "^3.0.0",
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/npm/node_modules/minizlib/node_modules/minipass": {
- "version": "3.3.6",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^4.0.0"
+ "minipass": "^7.1.2"
},
"engines": {
- "node": ">=8"
+ "node": ">= 18"
}
},
"node_modules/npm/node_modules/mkdirp": {
@@ -7293,230 +7318,87 @@
"node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/npm/node_modules/negotiator": {
- "version": "0.6.4",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/npm/node_modules/node-gyp": {
- "version": "10.2.0",
+ "version": "11.2.0",
"dev": true,
"inBundle": true,
"license": "MIT",
"dependencies": {
"env-paths": "^2.2.0",
"exponential-backoff": "^3.1.1",
- "glob": "^10.3.10",
"graceful-fs": "^4.2.6",
- "make-fetch-happen": "^13.0.0",
- "nopt": "^7.0.0",
- "proc-log": "^4.1.0",
+ "make-fetch-happen": "^14.0.3",
+ "nopt": "^8.0.0",
+ "proc-log": "^5.0.0",
"semver": "^7.3.5",
- "tar": "^6.2.1",
- "which": "^4.0.0"
- },
- "bin": {
- "node-gyp": "bin/node-gyp.js"
- },
- "engines": {
- "node": "^16.14.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent": {
- "version": "2.2.2",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "agent-base": "^7.1.0",
- "http-proxy-agent": "^7.0.0",
- "https-proxy-agent": "^7.0.1",
- "lru-cache": "^10.0.1",
- "socks-proxy-agent": "^8.0.3"
- },
- "engines": {
- "node": "^16.14.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/fs": {
- "version": "3.1.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "semver": "^7.3.5"
- },
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/abbrev": {
- "version": "2.0.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/cacache": {
- "version": "18.0.4",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "@npmcli/fs": "^3.1.0",
- "fs-minipass": "^3.0.0",
- "glob": "^10.2.2",
- "lru-cache": "^10.0.1",
- "minipass": "^7.0.3",
- "minipass-collect": "^2.0.1",
- "minipass-flush": "^1.0.5",
- "minipass-pipeline": "^1.2.4",
- "p-map": "^4.0.0",
- "ssri": "^10.0.0",
- "tar": "^6.1.11",
- "unique-filename": "^3.0.0"
- },
- "engines": {
- "node": "^16.14.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/isexe": {
- "version": "3.1.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen": {
- "version": "13.0.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "@npmcli/agent": "^2.0.0",
- "cacache": "^18.0.0",
- "http-cache-semantics": "^4.1.1",
- "is-lambda": "^1.0.1",
- "minipass": "^7.0.2",
- "minipass-fetch": "^3.0.0",
- "minipass-flush": "^1.0.5",
- "minipass-pipeline": "^1.2.4",
- "negotiator": "^0.6.3",
- "proc-log": "^4.2.0",
- "promise-retry": "^2.0.1",
- "ssri": "^10.0.0"
- },
- "engines": {
- "node": "^16.14.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/minipass-fetch": {
- "version": "3.0.5",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minipass": "^7.0.3",
- "minipass-sized": "^1.0.3",
- "minizlib": "^2.1.2"
- },
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- },
- "optionalDependencies": {
- "encoding": "^0.1.13"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/nopt": {
- "version": "7.2.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "abbrev": "^2.0.0"
+ "tar": "^7.4.3",
+ "tinyglobby": "^0.2.12",
+ "which": "^5.0.0"
},
"bin": {
- "nopt": "bin/nopt.js"
- },
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
- "node_modules/npm/node_modules/node-gyp/node_modules/proc-log": {
- "version": "4.2.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
+ "node-gyp": "bin/node-gyp.js"
+ },
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ "node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/npm/node_modules/node-gyp/node_modules/ssri": {
- "version": "10.0.6",
+ "node_modules/npm/node_modules/node-gyp/node_modules/chownr": {
+ "version": "3.0.0",
"dev": true,
"inBundle": true,
- "license": "ISC",
- "dependencies": {
- "minipass": "^7.0.3"
- },
+ "license": "BlueOak-1.0.0",
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ "node": ">=18"
}
},
- "node_modules/npm/node_modules/node-gyp/node_modules/unique-filename": {
- "version": "3.0.0",
+ "node_modules/npm/node_modules/node-gyp/node_modules/mkdirp": {
+ "version": "3.0.1",
"dev": true,
"inBundle": true,
- "license": "ISC",
- "dependencies": {
- "unique-slug": "^4.0.0"
+ "license": "MIT",
+ "bin": {
+ "mkdirp": "dist/cjs/src/bin.js"
},
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/npm/node_modules/node-gyp/node_modules/unique-slug": {
- "version": "4.0.0",
+ "node_modules/npm/node_modules/node-gyp/node_modules/tar": {
+ "version": "7.4.3",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "imurmurhash": "^0.1.4"
+ "@isaacs/fs-minipass": "^4.0.0",
+ "chownr": "^3.0.0",
+ "minipass": "^7.1.2",
+ "minizlib": "^3.0.1",
+ "mkdirp": "^3.0.1",
+ "yallist": "^5.0.0"
},
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ "node": ">=18"
}
},
- "node_modules/npm/node_modules/node-gyp/node_modules/which": {
- "version": "4.0.0",
+ "node_modules/npm/node_modules/node-gyp/node_modules/yallist": {
+ "version": "5.0.0",
"dev": true,
"inBundle": true,
- "license": "ISC",
- "dependencies": {
- "isexe": "^3.1.1"
- },
- "bin": {
- "node-which": "bin/which.js"
- },
+ "license": "BlueOak-1.0.0",
"engines": {
- "node": "^16.13.0 || >=18.0.0"
+ "node": ">=18"
}
},
"node_modules/npm/node_modules/nopt": {
- "version": "8.0.0",
+ "version": "8.1.0",
"dev": true,
"inBundle": true,
"license": "ISC",
"dependencies": {
- "abbrev": "^2.0.0"
+ "abbrev": "^3.0.0"
},
"bin": {
"nopt": "bin/nopt.js"
@@ -7525,15 +7407,6 @@
"node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/npm/node_modules/nopt/node_modules/abbrev": {
- "version": "2.0.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
"node_modules/npm/node_modules/normalize-package-data": {
"version": "7.0.0",
"dev": true,
@@ -7591,7 +7464,7 @@
}
},
"node_modules/npm/node_modules/npm-package-arg": {
- "version": "12.0.0",
+ "version": "12.0.2",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -7664,19 +7537,6 @@
"node": "^18.17.0 || >=20.5.0"
}
},
- "node_modules/npm/node_modules/npm-registry-fetch/node_modules/minizlib": {
- "version": "3.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minipass": "^7.0.4",
- "rimraf": "^5.0.5"
- },
- "engines": {
- "node": ">= 18"
- }
- },
"node_modules/npm/node_modules/npm-user-validate": {
"version": "3.0.0",
"dev": true,
@@ -7687,15 +7547,12 @@
}
},
"node_modules/npm/node_modules/p-map": {
- "version": "4.0.0",
+ "version": "7.0.3",
"dev": true,
"inBundle": true,
"license": "MIT",
- "dependencies": {
- "aggregate-error": "^3.0.0"
- },
"engines": {
- "node": ">=10"
+ "node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -7778,7 +7635,7 @@
}
},
"node_modules/npm/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
+ "version": "7.1.0",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -7826,12 +7683,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/npm/node_modules/promise-inflight": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC"
- },
"node_modules/npm/node_modules/promise-retry": {
"version": "2.0.1",
"dev": true,
@@ -7866,7 +7717,7 @@
}
},
"node_modules/npm/node_modules/read": {
- "version": "4.0.0",
+ "version": "4.1.0",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -7908,21 +7759,6 @@
"node": ">= 4"
}
},
- "node_modules/npm/node_modules/rimraf": {
- "version": "5.0.10",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "glob": "^10.3.7"
- },
- "bin": {
- "rimraf": "dist/esm/bin.mjs"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"node_modules/npm/node_modules/safer-buffer": {
"version": "2.1.2",
"dev": true,
@@ -7931,7 +7767,7 @@
"optional": true
},
"node_modules/npm/node_modules/semver": {
- "version": "7.6.3",
+ "version": "7.7.2",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -7976,29 +7812,29 @@
}
},
"node_modules/npm/node_modules/sigstore": {
- "version": "3.0.0",
+ "version": "3.1.0",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
- "@sigstore/bundle": "^3.0.0",
+ "@sigstore/bundle": "^3.1.0",
"@sigstore/core": "^2.0.0",
- "@sigstore/protobuf-specs": "^0.3.2",
- "@sigstore/sign": "^3.0.0",
- "@sigstore/tuf": "^3.0.0",
- "@sigstore/verify": "^2.0.0"
+ "@sigstore/protobuf-specs": "^0.4.0",
+ "@sigstore/sign": "^3.1.0",
+ "@sigstore/tuf": "^3.1.0",
+ "@sigstore/verify": "^2.1.0"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle": {
- "version": "3.0.0",
+ "version": "3.1.0",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
- "@sigstore/protobuf-specs": "^0.3.2"
+ "@sigstore/protobuf-specs": "^0.4.0"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
@@ -8014,15 +7850,15 @@
}
},
"node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign": {
- "version": "3.0.0",
+ "version": "3.1.0",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
- "@sigstore/bundle": "^3.0.0",
+ "@sigstore/bundle": "^3.1.0",
"@sigstore/core": "^2.0.0",
- "@sigstore/protobuf-specs": "^0.3.2",
- "make-fetch-happen": "^14.0.1",
+ "@sigstore/protobuf-specs": "^0.4.0",
+ "make-fetch-happen": "^14.0.2",
"proc-log": "^5.0.0",
"promise-retry": "^2.0.1"
},
@@ -8031,14 +7867,14 @@
}
},
"node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify": {
- "version": "2.0.0",
+ "version": "2.1.1",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
"dependencies": {
- "@sigstore/bundle": "^3.0.0",
+ "@sigstore/bundle": "^3.1.0",
"@sigstore/core": "^2.0.0",
- "@sigstore/protobuf-specs": "^0.3.2"
+ "@sigstore/protobuf-specs": "^0.4.1"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
@@ -8055,7 +7891,7 @@
}
},
"node_modules/npm/node_modules/socks": {
- "version": "2.8.3",
+ "version": "2.8.5",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -8069,12 +7905,12 @@
}
},
"node_modules/npm/node_modules/socks-proxy-agent": {
- "version": "8.0.4",
+ "version": "8.0.5",
"dev": true,
"inBundle": true,
"license": "MIT",
"dependencies": {
- "agent-base": "^7.1.1",
+ "agent-base": "^7.1.2",
"debug": "^4.3.4",
"socks": "^2.8.3"
},
@@ -8119,7 +7955,7 @@
}
},
"node_modules/npm/node_modules/spdx-license-ids": {
- "version": "3.0.20",
+ "version": "3.0.21",
"dev": true,
"inBundle": true,
"license": "CC0-1.0"
@@ -8258,6 +8094,31 @@
"node": ">=8"
}
},
+ "node_modules/npm/node_modules/tar/node_modules/minizlib": {
+ "version": "2.1.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "dependencies": {
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass": {
+ "version": "3.3.6",
+ "dev": true,
+ "inBundle": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/npm/node_modules/text-table": {
"version": "0.2.0",
"dev": true,
@@ -8270,6 +8131,48 @@
"inBundle": true,
"license": "MIT"
},
+ "node_modules/npm/node_modules/tinyglobby": {
+ "version": "0.2.14",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.4.6",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.2",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/npm/node_modules/treeverse": {
"version": "3.0.0",
"dev": true,
@@ -8357,7 +8260,7 @@
... 4278 lines suppressed ...