This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/dev/pr-13301-aaa9e8871b6a1d33f2e2ee1a7c03977f26a91978 in repository https://gitbox.apache.org/repos/asf/seatunnel.git
commit 1b5ecf3d41a636ecaf34527b8c234ab471e4ed7a Author: zhiweiniu <[email protected]> AuthorDate: Thu Nov 19 07:38:51 2026 +0000 [Improve][Core] Update snapshot version to 3.1.1 (#13301) --- .github/workflows/upgrade_compatibility.yml | 10 ++++------ deploy/kubernetes/seatunnel/Chart.yaml | 4 ++-- docs/en/connectors/connector-isolated-dependency.md | 2 +- docs/en/engines/zeta/rest-api-v1.md | 2 +- docs/en/engines/zeta/rest-api-v2.md | 2 +- docs/en/getting-started/docker/docker.md | 2 +- docs/en/getting-started/kubernetes/helm.md | 8 ++++---- docs/en/getting-started/submit-job-to-remote-zeta-cluster.md | 6 +++--- docs/zh/connectors/connector-isolated-dependency.md | 2 +- docs/zh/engines/zeta/rest-api-v1.md | 2 +- docs/zh/engines/zeta/rest-api-v2.md | 2 +- docs/zh/getting-started/docker/docker.md | 2 +- docs/zh/getting-started/kubernetes/helm.md | 8 ++++---- docs/zh/getting-started/submit-job-to-remote-zeta-cluster.md | 6 +++--- plugins/README.md | 2 +- pom.xml | 2 +- .../apache/seatunnel/installer/InstallPluginScriptTest.java | 4 ++-- tools/upgrade_compatibility/README.md | 4 ++-- tools/upgrade_compatibility/run_upgrade_compatibility.sh | 2 +- tools/upgrade_compatibility/run_upgrade_compatibility_test.sh | 8 ++++---- 20 files changed, 39 insertions(+), 41 deletions(-) diff --git a/.github/workflows/upgrade_compatibility.yml b/.github/workflows/upgrade_compatibility.yml index c147ac1473..aacc79a8a0 100644 --- a/.github/workflows/upgrade_compatibility.yml +++ b/.github/workflows/upgrade_compatibility.yml @@ -23,7 +23,7 @@ on: old_version: description: "SeaTunnel release used to create the savepoint" required: false - default: "3.0.0" + default: "3.1.0" scenario: description: "Restore scenario under tools/upgrade_compatibility/scenarios" required: false @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 env: - OLD_SEATUNNEL_VERSION: ${{ github.event.inputs.old_version || '3.0.0' }} + OLD_SEATUNNEL_VERSION: ${{ github.event.inputs.old_version || '3.1.0' }} SCENARIO: ${{ github.event.inputs.scenario || 'all' }} steps: - uses: actions/checkout@v4 @@ -52,10 +52,8 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - # JDK 11, not 17: this job boots the OLD release (3.0.0), whose bundled - # config/jvm_*_options do not include the JDK 9+ --add-opens flags, so running it - # under JDK 17's strong encapsulation could fail for reasons unrelated to upgrade - # compatibility. Java 11 is the minimum runtime both versions support. + # Use the minimum supported JDK for both the released baseline and current dev + # to isolate SeaTunnel version compatibility from runtime-version differences. java-version: "11" - name: Test upgrade compatibility tooling diff --git a/deploy/kubernetes/seatunnel/Chart.yaml b/deploy/kubernetes/seatunnel/Chart.yaml index 5e64507888..ed1f8347c0 100644 --- a/deploy/kubernetes/seatunnel/Chart.yaml +++ b/deploy/kubernetes/seatunnel/Chart.yaml @@ -35,10 +35,10 @@ keywords: type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 3.1.0 +version: 3.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. # It doubles as the default image tag (templates/_helpers.tpl), so it must reference a published # apache/seatunnel image, not an in-development version: helm-chart-check pulls it directly. -appVersion: 3.0.0 +appVersion: 3.1.0 diff --git a/docs/en/connectors/connector-isolated-dependency.md b/docs/en/connectors/connector-isolated-dependency.md index 3a5d4cb792..513088fa12 100644 --- a/docs/en/connectors/connector-isolated-dependency.md +++ b/docs/en/connectors/connector-isolated-dependency.md @@ -45,5 +45,5 @@ SEATUNNEL_HOME/ - By checking the job logs, you can confirm that each connector only loads its own dependency jars. ```log - 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.0-SNAPSHOT-2.12.15.jar] + 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.1-SNAPSHOT-2.12.15.jar] ``` diff --git a/docs/en/engines/zeta/rest-api-v1.md b/docs/en/engines/zeta/rest-api-v1.md index 02611be848..59daef25f7 100644 --- a/docs/en/engines/zeta/rest-api-v1.md +++ b/docs/en/engines/zeta/rest-api-v1.md @@ -175,7 +175,7 @@ network: ```json { - "projectVersion":"3.1.0-SNAPSHOT", + "projectVersion":"3.1.1-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/en/engines/zeta/rest-api-v2.md b/docs/en/engines/zeta/rest-api-v2.md index 91aef8cc5c..874114cadd 100644 --- a/docs/en/engines/zeta/rest-api-v2.md +++ b/docs/en/engines/zeta/rest-api-v2.md @@ -251,7 +251,7 @@ The [OpenAPI 3.1 contract for the read-only REST v2 subset](openapi-v2.yaml) cur ```json { - "projectVersion":"3.1.0-SNAPSHOT", + "projectVersion":"3.1.1-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/en/getting-started/docker/docker.md b/docs/en/getting-started/docker/docker.md index 80c4c89c6a..5cf6ba8580 100644 --- a/docs/en/getting-started/docker/docker.md +++ b/docs/en/getting-started/docker/docker.md @@ -56,7 +56,7 @@ cd seatunnel-dist docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0 -t apache/seatunnel:3.1.0 . # If you build from dev branch, you should add SNAPSHOT suffix to the version -docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0-SNAPSHOT -t apache/seatunnel:3.1.0-SNAPSHOT . +docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.1-SNAPSHOT -t apache/seatunnel:3.1.1-SNAPSHOT . # Check the docker image docker images | grep apache/seatunnel diff --git a/docs/en/getting-started/kubernetes/helm.md b/docs/en/getting-started/kubernetes/helm.md index 957c84c440..718cbeb67d 100644 --- a/docs/en/getting-started/kubernetes/helm.md +++ b/docs/en/getting-started/kubernetes/helm.md @@ -28,24 +28,24 @@ minikube start --kubernetes-version=v1.23.3 ## Install -Install with default settings. +Chart 3.1.0 defaults to the 3.0.0 image. Set `image.tag` to deploy SeaTunnel 3.1.0. ```bash # Choose the corresponding version yourself export VERSION=3.1.0 helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION} tar -xvf seatunnel-helm-${VERSION}.tgz cd seatunnel-helm -helm install seatunnel . +helm install seatunnel . --set-string image.tag="${VERSION}" ``` Install with another namespace. ```bash -helm install seatunnel . -n <your-namespace> +helm install seatunnel . --set-string image.tag="${VERSION}" -n <your-namespace> ``` For managed Kubernetes services, keep provider-specific changes in a separate values file and pass it with `-f`, for example: ```bash -helm install seatunnel . -n <your-namespace> -f values-eks.yaml +helm install seatunnel . --set-string image.tag="${VERSION}" -n <your-namespace> -f values-eks.yaml ``` Common managed-cluster values to review include: diff --git a/docs/en/getting-started/submit-job-to-remote-zeta-cluster.md b/docs/en/getting-started/submit-job-to-remote-zeta-cluster.md index f327f72a90..33d8e8ddc2 100644 --- a/docs/en/getting-started/submit-job-to-remote-zeta-cluster.md +++ b/docs/en/getting-started/submit-job-to-remote-zeta-cluster.md @@ -304,7 +304,7 @@ helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION} tar -xvf seatunnel-helm-${VERSION}.tgz cd seatunnel-helm -helm install seatunnel . \ +helm install seatunnel . --set-string image.tag="${VERSION}" \ --namespace seatunnel \ --create-namespace ``` @@ -312,7 +312,7 @@ helm install seatunnel . \ Scale masters and workers with the `master.replicas` and `worker.replicas` values: ```bash -helm upgrade seatunnel . --namespace seatunnel \ +helm upgrade seatunnel . --reuse-values --namespace seatunnel \ --set master.replicas=2 \ --set worker.replicas=4 ``` @@ -370,7 +370,7 @@ The chart has no `seatunnel.config` values tree. To customize engine files such Apply with: ```bash -helm upgrade seatunnel . \ +helm upgrade seatunnel . --reuse-values \ --namespace seatunnel \ -f values-prod.yaml ``` diff --git a/docs/zh/connectors/connector-isolated-dependency.md b/docs/zh/connectors/connector-isolated-dependency.md index 2890689bb0..c062147889 100644 --- a/docs/zh/connectors/connector-isolated-dependency.md +++ b/docs/zh/connectors/connector-isolated-dependency.md @@ -45,5 +45,5 @@ SEATUNNEL_HOME/ - 通过追踪任务日志,确认每个连接器只加载了自己独立的依赖 jar。 ```log - 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.0-SNAPSHOT-2.12.15.jar] + 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.1-SNAPSHOT-2.12.15.jar] ``` diff --git a/docs/zh/engines/zeta/rest-api-v1.md b/docs/zh/engines/zeta/rest-api-v1.md index ebe4ef888e..c54b5e2ec5 100644 --- a/docs/zh/engines/zeta/rest-api-v1.md +++ b/docs/zh/engines/zeta/rest-api-v1.md @@ -174,7 +174,7 @@ network: ```json { - "projectVersion":"3.1.0-SNAPSHOT", + "projectVersion":"3.1.1-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/zh/engines/zeta/rest-api-v2.md b/docs/zh/engines/zeta/rest-api-v2.md index b233c47a12..2fcf7d37e2 100644 --- a/docs/zh/engines/zeta/rest-api-v2.md +++ b/docs/zh/engines/zeta/rest-api-v2.md @@ -246,7 +246,7 @@ seatunnel: ```json { - "projectVersion":"3.1.0-SNAPSHOT", + "projectVersion":"3.1.1-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/zh/getting-started/docker/docker.md b/docs/zh/getting-started/docker/docker.md index c02d0dc3db..9e96d8787e 100644 --- a/docs/zh/getting-started/docker/docker.md +++ b/docs/zh/getting-started/docker/docker.md @@ -56,7 +56,7 @@ cd seatunnel-dist docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0 -t apache/seatunnel:3.1.0 . # If you build from dev branch, you should add SNAPSHOT suffix to the version -docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0-SNAPSHOT -t apache/seatunnel:3.1.0-SNAPSHOT . +docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.1-SNAPSHOT -t apache/seatunnel:3.1.1-SNAPSHOT . # Check the docker image docker images | grep apache/seatunnel diff --git a/docs/zh/getting-started/kubernetes/helm.md b/docs/zh/getting-started/kubernetes/helm.md index 34d0851ef0..4db82a10b0 100644 --- a/docs/zh/getting-started/kubernetes/helm.md +++ b/docs/zh/getting-started/kubernetes/helm.md @@ -28,25 +28,25 @@ minikube start --kubernetes-version=v1.23.3 ## 安装 -使用默认配置安装: +3.1.0 版 Chart 默认使用 3.0.0 镜像。部署 SeaTunnel 3.1.0 时,请指定 `image.tag`。 ```bash # 自行选择对应版本 export VERSION=3.1.0 helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION} tar -xvf seatunnel-helm-${VERSION}.tgz cd seatunnel-helm -helm install seatunnel . +helm install seatunnel . --set-string image.tag="${VERSION}" ``` 如果您需要使用其他命名空间进行安装: ```bash -helm install seatunnel . -n <your-namespace> +helm install seatunnel . --set-string image.tag="${VERSION}" -n <your-namespace> ``` 对于托管 Kubernetes 服务,建议将云厂商相关的差异化配置单独维护在一个 values 文件中,并通过 `-f` 传入,例如: ```bash -helm install seatunnel . -n <your-namespace> -f values-eks.yaml +helm install seatunnel . --set-string image.tag="${VERSION}" -n <your-namespace> -f values-eks.yaml ``` 在托管集群上常见需要复核的 values 包括: diff --git a/docs/zh/getting-started/submit-job-to-remote-zeta-cluster.md b/docs/zh/getting-started/submit-job-to-remote-zeta-cluster.md index 5418cd29bc..5680d3b33f 100644 --- a/docs/zh/getting-started/submit-job-to-remote-zeta-cluster.md +++ b/docs/zh/getting-started/submit-job-to-remote-zeta-cluster.md @@ -296,7 +296,7 @@ helm pull oci://registry-1.docker.io/apache/seatunnel-helm --version ${VERSION} tar -xvf seatunnel-helm-${VERSION}.tgz cd seatunnel-helm -helm install seatunnel . \ +helm install seatunnel . --set-string image.tag="${VERSION}" \ --namespace seatunnel \ --create-namespace ``` @@ -304,7 +304,7 @@ helm install seatunnel . \ 使用 `master.replicas` 和 `worker.replicas` 调整 master / worker 副本数: ```bash -helm upgrade seatunnel . --namespace seatunnel \ +helm upgrade seatunnel . --reuse-values --namespace seatunnel \ --set master.replicas=2 \ --set worker.replicas=4 ``` @@ -360,7 +360,7 @@ chart 不存在 `seatunnel.config` 这个 values 配置树。若要自定义 `se 应用配置: ```bash -helm upgrade seatunnel . \ +helm upgrade seatunnel . --reuse-values \ --namespace seatunnel \ -f values-prod.yaml ``` diff --git a/plugins/README.md b/plugins/README.md index 3a5d4cb792..513088fa12 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -45,5 +45,5 @@ SEATUNNEL_HOME/ - By checking the job logs, you can confirm that each connector only loads its own dependency jars. ```log - 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.0-SNAPSHOT-2.12.15.jar] + 2025-08-13T17:55:48.7732601Z [] 2025-08-13 17:55:47,270 INFO org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - find connector jar and dependency for PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='Jdbc'}: [file:/tmp/seatunnel/plugins/Jdbc/lib/vertica-jdbc-12.0.3-0.jar, file:/tmp/seatunnel/connectors/connector-jdbc-3.1.1-SNAPSHOT-2.12.15.jar] ``` diff --git a/pom.xml b/pom.xml index b94099c903..5614c672ef 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ <properties> <!--todo The classification is too confusing, reclassify by type--> - <revision>3.1.0-SNAPSHOT</revision> + <revision>3.1.1-SNAPSHOT</revision> <seatunnel.config.shade.version>2.1.1</seatunnel.config.shade.version> <!-- The seatunnel shade version e.g. ${seatunnel.shade.hazelcast.version}-${seatunnel.shade.version} --> <seatunnel.shade.version>3.0.1</seatunnel.shade.version> diff --git a/seatunnel-dist/src/test/java/org/apache/seatunnel/installer/InstallPluginScriptTest.java b/seatunnel-dist/src/test/java/org/apache/seatunnel/installer/InstallPluginScriptTest.java index f3bc44389d..72384cf8fb 100644 --- a/seatunnel-dist/src/test/java/org/apache/seatunnel/installer/InstallPluginScriptTest.java +++ b/seatunnel-dist/src/test/java/org/apache/seatunnel/installer/InstallPluginScriptTest.java @@ -195,12 +195,12 @@ public class InstallPluginScriptTest { int exitCode = runInstaller( - distribution, fakeBinaryDirectory, "3.1.0-SNAPSHOT", capturedArguments); + distribution, fakeBinaryDirectory, "3.1.1-SNAPSHOT", capturedArguments); Assertions.assertEquals(0, exitCode); String arguments = new String(Files.readAllBytes(capturedArguments), StandardCharsets.UTF_8); - Assertions.assertTrue(arguments.contains("-Dversion=3.1.0-SNAPSHOT")); + Assertions.assertTrue(arguments.contains("-Dversion=3.1.1-SNAPSHOT")); Assertions.assertTrue(arguments.contains("-DartifactId=connector-fake")); } diff --git a/tools/upgrade_compatibility/README.md b/tools/upgrade_compatibility/README.md index fc315804a7..ab532f3900 100644 --- a/tools/upgrade_compatibility/README.md +++ b/tools/upgrade_compatibility/README.md @@ -54,14 +54,14 @@ Build the current distribution first: Then run the default scenario: ```shell -OLD_SEATUNNEL_VERSION=3.0.0 SCENARIO=generic-fake-localfile \ +OLD_SEATUNNEL_VERSION=3.1.0 SCENARIO=generic-fake-localfile \ bash tools/upgrade_compatibility/run_upgrade_compatibility.sh ``` To run the MySQL CDC scenario: ```shell -OLD_SEATUNNEL_VERSION=3.0.0 SCENARIO=mysql-cdc-multitable-localfile \ +OLD_SEATUNNEL_VERSION=3.1.0 SCENARIO=mysql-cdc-multitable-localfile \ bash tools/upgrade_compatibility/run_upgrade_compatibility.sh ``` diff --git a/tools/upgrade_compatibility/run_upgrade_compatibility.sh b/tools/upgrade_compatibility/run_upgrade_compatibility.sh index d8fec7c08c..cfc42167ac 100755 --- a/tools/upgrade_compatibility/run_upgrade_compatibility.sh +++ b/tools/upgrade_compatibility/run_upgrade_compatibility.sh @@ -19,7 +19,7 @@ set -euo pipefail ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." >/dev/null; pwd)" -OLD_SEATUNNEL_VERSION="${OLD_SEATUNNEL_VERSION:-3.0.0}" +OLD_SEATUNNEL_VERSION="${OLD_SEATUNNEL_VERSION:-3.1.0}" SCENARIO="${SCENARIO:-generic-fake-localfile}" WORK_DIR="${WORK_DIR:-${ROOT_DIR}/target/upgrade-compatibility}" CURRENT_DIST_ARCHIVE="${CURRENT_DIST_ARCHIVE:-}" diff --git a/tools/upgrade_compatibility/run_upgrade_compatibility_test.sh b/tools/upgrade_compatibility/run_upgrade_compatibility_test.sh index a53989570d..3e90810e8f 100755 --- a/tools/upgrade_compatibility/run_upgrade_compatibility_test.sh +++ b/tools/upgrade_compatibility/run_upgrade_compatibility_test.sh @@ -53,9 +53,9 @@ assert_contains() { test_selects_regular_distribution() { reset_distributions - local regular_archive="${DIST_DIR}/apache-seatunnel-3.1.0-SNAPSHOT-bin.tar.gz" + local regular_archive="${DIST_DIR}/apache-seatunnel-3.1.1-SNAPSHOT-bin.tar.gz" touch "${regular_archive}" - touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.0-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.1-SNAPSHOT-bin.tar.gz" assert_equals "${regular_archive}" "$(find_current_distribution)" } @@ -71,7 +71,7 @@ test_uses_explicit_distribution() { test_rejects_missing_regular_distribution() { reset_distributions - touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.0-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.1-SNAPSHOT-bin.tar.gz" local output if output="$(find_current_distribution 2>&1)"; then @@ -83,8 +83,8 @@ test_rejects_missing_regular_distribution() { test_rejects_multiple_regular_distributions() { reset_distributions - touch "${DIST_DIR}/apache-seatunnel-3.1.0-SNAPSHOT-bin.tar.gz" touch "${DIST_DIR}/apache-seatunnel-3.1.1-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-3.1.2-SNAPSHOT-bin.tar.gz" local output if output="$(find_current_distribution 2>&1)"; then
