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-12950-886eb632fd278683bf4dc989d848ee4d14252b82 in repository https://gitbox.apache.org/repos/asf/seatunnel.git
commit d676f91b3d6aaa2cca693816697a211e4d384805 Author: zhiweiniu <[email protected]> AuthorDate: Sun Oct 25 04:21:30 2026 +0000 [Improve] Update snapshot version to 3.1.0 (#12950) --- .github/workflows/upgrade_compatibility.yml | 10 +++++----- bin/install-plugin.cmd | 4 ++-- bin/install-plugin.sh | 4 ++-- deploy/kubernetes/seatunnel/Chart.yaml | 2 +- docs/en/connectors/connector-isolated-dependency.md | 2 +- docs/en/developer/shade-guide.md | 2 +- docs/en/engines/zeta/download-seatunnel.md | 6 +++--- docs/en/engines/zeta/rest-api-v1.md | 2 +- docs/en/engines/zeta/rest-api-v2.md | 2 +- .../application/kubernetes/configuration.md | 2 +- docs/en/getting-started/docker/docker.md | 6 +++--- docs/en/getting-started/kubernetes/configuration.md | 2 +- docs/en/getting-started/kubernetes/helm.md | 2 +- docs/en/getting-started/kubernetes/hybrid-cluster-mode.md | 2 +- docs/en/getting-started/kubernetes/kubernetes.mdx | 2 +- docs/en/getting-started/kubernetes/local-mode.md | 2 +- .../getting-started/kubernetes/separated-cluster-mode.md | 4 ++-- docs/en/getting-started/locally/deployment.md | 14 +++++++------- .../locally/quick-start-seatunnel-engine.md | 2 +- docs/en/tools/dolphinscheduler-integration.md | 4 ++-- docs/zh/connectors/connector-isolated-dependency.md | 2 +- docs/zh/developer/shade-guide.md | 2 +- docs/zh/engines/zeta/download-seatunnel.md | 8 ++++---- docs/zh/engines/zeta/rest-api-v1.md | 2 +- docs/zh/engines/zeta/rest-api-v2.md | 2 +- .../application/kubernetes/configuration.md | 2 +- docs/zh/getting-started/docker/docker.md | 6 +++--- docs/zh/getting-started/kubernetes/configuration.md | 2 +- docs/zh/getting-started/kubernetes/helm.md | 2 +- docs/zh/getting-started/kubernetes/hybrid-cluster-mode.md | 2 +- docs/zh/getting-started/kubernetes/kubernetes.mdx | 2 +- docs/zh/getting-started/kubernetes/local-mode.md | 2 +- .../getting-started/kubernetes/separated-cluster-mode.md | 4 ++-- docs/zh/getting-started/locally/deployment.md | 8 ++++---- docs/zh/tools/dolphinscheduler-integration.md | 4 ++-- plugins/README.md | 2 +- pom.xml | 2 +- seatunnel-cli/README.md | 2 +- seatunnel-cli/README.zh-CN.md | 2 +- seatunnel-cli/setup.sh | 2 +- .../seatunnel/installer/InstallPluginScriptTest.java | 4 ++-- tools/upgrade_compatibility/README.md | 4 ++-- tools/upgrade_compatibility/run_upgrade_compatibility.sh | 2 +- .../run_upgrade_compatibility_test.sh | 8 ++++---- 44 files changed, 77 insertions(+), 77 deletions(-) diff --git a/.github/workflows/upgrade_compatibility.yml b/.github/workflows/upgrade_compatibility.yml index 367ad3bc4b..c147ac1473 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: "2.3.13" + default: "3.0.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 || '2.3.13' }} + OLD_SEATUNNEL_VERSION: ${{ github.event.inputs.old_version || '3.0.0' }} SCENARIO: ${{ github.event.inputs.scenario || 'all' }} steps: - uses: actions/checkout@v4 @@ -52,9 +52,9 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - # JDK 11, not 17: this job boots the OLD release (2.3.13), whose bundled - # config/jvm_*_options predate the JDK 9+ --add-opens flags, so running it under - # JDK 17's strong encapsulation could fail for reasons unrelated to upgrade + # 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. java-version: "11" diff --git a/bin/install-plugin.cmd b/bin/install-plugin.cmd index 00977939ca..a63a18afe7 100644 --- a/bin/install-plugin.cmd +++ b/bin/install-plugin.cmd @@ -22,8 +22,8 @@ REM Get seatunnel home set "SEATUNNEL_HOME=%~dp0..\" echo Set SEATUNNEL_HOME to [%SEATUNNEL_HOME%] -REM Connector default version is 3.0.1, you can also choose a custom version. eg: 3.0.1: install-plugin.bat 3.0.1 -set "version=3.0.1" +REM Connector default version is 3.1.0, you can also choose a custom version. eg: 3.1.0: install-plugin.bat 3.1.0 +set "version=3.1.0" if not "%~1"=="" set "version=%~1" REM Create the lib directory diff --git a/bin/install-plugin.sh b/bin/install-plugin.sh index 9954fdcfc9..98f2b8dac7 100755 --- a/bin/install-plugin.sh +++ b/bin/install-plugin.sh @@ -20,8 +20,8 @@ SEATUNNEL_HOME=$(cd "$(dirname "$0")"; cd ../; pwd) -# Connector default version is 3.0.1. You can also choose a custom version. -version=3.0.1 +# Connector default version is 3.1.0. You can also choose a custom version. +version=3.1.0 if [ -n "$1" ]; then version="$1" fi diff --git a/deploy/kubernetes/seatunnel/Chart.yaml b/deploy/kubernetes/seatunnel/Chart.yaml index f12262c26a..5e64507888 100644 --- a/deploy/kubernetes/seatunnel/Chart.yaml +++ b/deploy/kubernetes/seatunnel/Chart.yaml @@ -35,7 +35,7 @@ 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.0.1 +version: 3.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/docs/en/connectors/connector-isolated-dependency.md b/docs/en/connectors/connector-isolated-dependency.md index b59096736d..3a5d4cb792 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.0.1-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.0-SNAPSHOT-2.12.15.jar] ``` diff --git a/docs/en/developer/shade-guide.md b/docs/en/developer/shade-guide.md index c78a1c0a65..21877a0e80 100644 --- a/docs/en/developer/shade-guide.md +++ b/docs/en/developer/shade-guide.md @@ -226,7 +226,7 @@ After publishing new shade artifacts, update the SeaTunnel project: | Declare dependency (if new) | Root `pom.xml` → `<dependencyManagement>` | | Update code imports | All `.java` files using the library | -If only `seatunnel.shade.version` changes (e.g., `3.0.0` → `3.0.1`), it affects **all** shade dependencies and every module must be republished. +If only `seatunnel.shade.version` changes (e.g., `3.0.0` → `3.0.2`), it affects **all** shade dependencies and every module must be republished. ### Propagation Delay Between Shade Release and SeaTunnel CI diff --git a/docs/en/engines/zeta/download-seatunnel.md b/docs/en/engines/zeta/download-seatunnel.md index b33f0187b8..eca7639808 100644 --- a/docs/en/engines/zeta/download-seatunnel.md +++ b/docs/en/engines/zeta/download-seatunnel.md @@ -20,7 +20,7 @@ Go to the [Seatunnel Download Page](https://seatunnel.apache.org/download) to do Or you can also download it through the terminal. ```shell -export version="3.0.1" +export version="3.1.0" wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" ``` @@ -33,10 +33,10 @@ Starting from the 2.2.0-beta version, the binary package no longer provides the sh bin/install-plugin.sh ``` -If you need a specific connector version, taking 3.0.1 as an example, you need to execute the following command. +If you need a specific connector version, taking 3.1.0 as an example, you need to execute the following command. ```bash -sh bin/install-plugin.sh 3.0.1 +sh bin/install-plugin.sh 3.1.0 ``` Usually you don't need all the connector plugins, so you can specify the plugins you need through configuring `config/plugin_config`, for example, if you only need the `connector-console` plugin, then you can modify the plugin.properties configuration file as follows. diff --git a/docs/en/engines/zeta/rest-api-v1.md b/docs/en/engines/zeta/rest-api-v1.md index c5c3035527..4c03c37144 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.0.1-SNAPSHOT", + "projectVersion":"3.1.0-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 1228ba2481..91345d1c65 100644 --- a/docs/en/engines/zeta/rest-api-v2.md +++ b/docs/en/engines/zeta/rest-api-v2.md @@ -249,7 +249,7 @@ Please refer [security](security.md) ```json { - "projectVersion":"3.0.1-SNAPSHOT", + "projectVersion":"3.1.0-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/en/getting-started/application/kubernetes/configuration.md b/docs/en/getting-started/application/kubernetes/configuration.md index 6674607749..17277e76f0 100644 --- a/docs/en/getting-started/application/kubernetes/configuration.md +++ b/docs/en/getting-started/application/kubernetes/configuration.md @@ -476,7 +476,7 @@ application { kubernetes { namespace = seatunnel - image = "registry.example.com/seatunnel/application:3.0.1" + image = "registry.example.com/seatunnel/application:3.1.0" image-pull-policy = IfNotPresent service-account = seatunnel-application job-config-file = job.conf diff --git a/docs/en/getting-started/docker/docker.md b/docs/en/getting-started/docker/docker.md index 5a47f0c1f8..3a32367d71 100644 --- a/docs/en/getting-started/docker/docker.md +++ b/docs/en/getting-started/docker/docker.md @@ -40,7 +40,7 @@ You can download the source code from the [download page](https://seatunnel.apac ```shell cd seatunnel # Use already sett maven profile -sh ./mvnw -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=3.0.1 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel +sh ./mvnw -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=3.1.0 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel # Check the docker image docker images | grep apache/seatunnel @@ -53,10 +53,10 @@ sh ./mvnw clean package -DskipTests -Dskip.spotless=true # Build docker image cd seatunnel-dist -docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.0.1 -t apache/seatunnel:3.0.1 . +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.0.1-SNAPSHOT -t apache/seatunnel:3.0.1-SNAPSHOT . +docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0-SNAPSHOT -t apache/seatunnel:3.1.0-SNAPSHOT . # Check the docker image docker images | grep apache/seatunnel diff --git a/docs/en/getting-started/kubernetes/configuration.md b/docs/en/getting-started/kubernetes/configuration.md index f7252b7693..f3faa557d5 100644 --- a/docs/en/getting-started/kubernetes/configuration.md +++ b/docs/en/getting-started/kubernetes/configuration.md @@ -346,7 +346,7 @@ Common loading approaches: For stable production environments, build custom connector plugin jars, Transform plugin jars, and required runtime extension jars into the SeaTunnel image: ```Dockerfile -FROM seatunnel:3.0.1 +FROM seatunnel:3.1.0 # Optional: custom connector plugin jars or plugin packages. COPY plugins/ /opt/seatunnel/plugins/ diff --git a/docs/en/getting-started/kubernetes/helm.md b/docs/en/getting-started/kubernetes/helm.md index 6bae465996..957c84c440 100644 --- a/docs/en/getting-started/kubernetes/helm.md +++ b/docs/en/getting-started/kubernetes/helm.md @@ -31,7 +31,7 @@ minikube start --kubernetes-version=v1.23.3 Install with default settings. ```bash # Choose the corresponding version yourself -export VERSION=3.0.1 +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 diff --git a/docs/en/getting-started/kubernetes/hybrid-cluster-mode.md b/docs/en/getting-started/kubernetes/hybrid-cluster-mode.md index e065e37a1f..4ae2a7cabd 100644 --- a/docs/en/getting-started/kubernetes/hybrid-cluster-mode.md +++ b/docs/en/getting-started/kubernetes/hybrid-cluster-mode.md @@ -237,7 +237,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh diff --git a/docs/en/getting-started/kubernetes/kubernetes.mdx b/docs/en/getting-started/kubernetes/kubernetes.mdx index b265dda3c7..ccd294bc64 100644 --- a/docs/en/getting-started/kubernetes/kubernetes.mdx +++ b/docs/en/getting-started/kubernetes/kubernetes.mdx @@ -74,7 +74,7 @@ Before deployment, prepare: - A Kubernetes cluster. - A client environment that can run `kubectl`. -- A SeaTunnel image, for example `seatunnel:3.0.1`. +- A SeaTunnel image, for example `seatunnel:3.1.0`. - An image registry reachable by the cluster. Configure `imagePullSecrets` for private images. - Shared storage or object storage for checkpoint and IMap MapStore in production. diff --git a/docs/en/getting-started/kubernetes/local-mode.md b/docs/en/getting-started/kubernetes/local-mode.md index 0614af0866..bcf34a0fa7 100644 --- a/docs/en/getting-started/kubernetes/local-mode.md +++ b/docs/en/getting-started/kubernetes/local-mode.md @@ -58,7 +58,7 @@ spec: restartPolicy: Never containers: - name: seatunnel - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /bin/sh diff --git a/docs/en/getting-started/kubernetes/separated-cluster-mode.md b/docs/en/getting-started/kubernetes/separated-cluster-mode.md index e522144e2a..9a297fae87 100644 --- a/docs/en/getting-started/kubernetes/separated-cluster-mode.md +++ b/docs/en/getting-started/kubernetes/separated-cluster-mode.md @@ -324,7 +324,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh @@ -397,7 +397,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh diff --git a/docs/en/getting-started/locally/deployment.md b/docs/en/getting-started/locally/deployment.md index 55daddbbc0..231c0851d2 100644 --- a/docs/en/getting-started/locally/deployment.md +++ b/docs/en/getting-started/locally/deployment.md @@ -22,7 +22,7 @@ Visit the [SeaTunnel Download Page](https://seatunnel.apache.org/download) to do Or you can also download it through the terminal: ```shell -export version="3.0.1" +export version="3.1.0" wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" ``` @@ -30,7 +30,7 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" On Windows, download the `.zip` archive from the [SeaTunnel Download Page](https://seatunnel.apache.org/download), then extract it with File Explorer or PowerShell: ```powershell -$version = "3.0.1" +$version = "3.1.0" Invoke-WebRequest ` "https://archive.apache.org/dist/seatunnel/$version/apache-seatunnel-$version-bin.zip" ` -OutFile "apache-seatunnel-$version-bin.zip" @@ -49,27 +49,27 @@ sh bin/install-plugin.sh On Windows, run the bundled batch script from the extracted directory. It uses the Maven Wrapper, so a separate Maven installation is not required: ```bat -cd apache-seatunnel-3.0.1 +cd apache-seatunnel-3.1.0 bin\install-plugin.cmd ``` To install connectors for a specific release, pass the version to the same script: ```bat -bin\install-plugin.cmd 3.0.1 +bin\install-plugin.cmd 3.1.0 ``` -If you need a specific connector version, taking 3.0.1 as an example, you need to execute the following command: +If you need a specific connector version, taking 3.1.0 as an example, you need to execute the following command: ```bash -sh bin/install-plugin.sh 3.0.1 +sh bin/install-plugin.sh 3.1.0 ``` For released connector versions, `install-plugin.sh` downloads JARs and their checksums directly over HTTPS, so Maven is not required on Linux and macOS. This path requires `curl`, `mktemp`, and one of `sha512sum`, `sha1sum`, `shasum`, or `openssl`. The Windows `install-plugin.cmd` script continues to use the bundled Maven Wrapper. To use an HTTPS Maven-compatible mirror with `install-plugin.sh`, set `SEATUNNEL_MAVEN_REPOSITORY` to its base URL: ```bash SEATUNNEL_MAVEN_REPOSITORY=https://repo.example.com/maven2 \ - sh bin/install-plugin.sh 3.0.1 + sh bin/install-plugin.sh 3.1.0 ``` The direct download path supports immutable release versions from repositories that publish `.sha512` or `.sha1` checksum files. `SNAPSHOT`, `LATEST`, `RELEASE`, and version ranges automatically use the bundled Maven wrapper because Maven metadata must be resolved. You can also set `SEATUNNEL_PLUGIN_DOWNLOAD_METHOD=maven` to preserve Maven `settings.xml` behavior such as mirrors, authenticated repositories, proxies, and custom TLS policies. diff --git a/docs/en/getting-started/locally/quick-start-seatunnel-engine.md b/docs/en/getting-started/locally/quick-start-seatunnel-engine.md index f725dd2336..8515d0dd9f 100644 --- a/docs/en/getting-started/locally/quick-start-seatunnel-engine.md +++ b/docs/en/getting-started/locally/quick-start-seatunnel-engine.md @@ -112,7 +112,7 @@ cd "apache-seatunnel-${version}" On Windows, run the equivalent batch entry point from the SeaTunnel directory: ```bat -cd apache-seatunnel-3.0.1 +cd apache-seatunnel-3.1.0 bin\seatunnel.cmd --config config\v2.batch.config.template -m local ``` diff --git a/docs/en/tools/dolphinscheduler-integration.md b/docs/en/tools/dolphinscheduler-integration.md index 65b20c60ba..67aa1b477b 100644 --- a/docs/en/tools/dolphinscheduler-integration.md +++ b/docs/en/tools/dolphinscheduler-integration.md @@ -67,7 +67,7 @@ networks: Prepare the host-side SeaTunnel installation directory (the official DolphinScheduler image does not bundle SeaTunnel itself — it must be downloaded and extracted manually): ```bash -export version="3.0.1" +export version="3.1.0" mkdir -p seatunnel dolphinscheduler/logs wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -zxvf "apache-seatunnel-${version}-bin.tar.gz" -C seatunnel --strip-components=1 @@ -77,7 +77,7 @@ Since 2.2.0-beta, connector plugins are no longer bundled by default. You must i ::: ```bash -sh seatunnel/bin/install-plugin.sh 3.0.1 +sh seatunnel/bin/install-plugin.sh 3.1.0 ``` After this, `./seatunnel` should contain `bin/`, `config/`, `lib/`, and similar subdirectories, and the same content will be visible inside the container at `/opt/seatunnel` once it starts. diff --git a/docs/zh/connectors/connector-isolated-dependency.md b/docs/zh/connectors/connector-isolated-dependency.md index 2c07f1b119..2890689bb0 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.0.1-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.0-SNAPSHOT-2.12.15.jar] ``` diff --git a/docs/zh/developer/shade-guide.md b/docs/zh/developer/shade-guide.md index 98da196b06..60e43e85ee 100644 --- a/docs/zh/developer/shade-guide.md +++ b/docs/zh/developer/shade-guide.md @@ -226,7 +226,7 @@ git push origin v3.0.0.fix | 声明依赖(新增模块) | 根 `pom.xml` → `<dependencyManagement>` | | 更新代码 import | 所有使用该库的 `.java` 文件 | -如果仅变更了 `seatunnel.shade.version`(如 `3.0.0` → `3.0.1`),则会影响到**所有** shade 依赖,每个模块都必须重新发布。 +如果仅变更了 `seatunnel.shade.version`(如 `3.0.0` → `3.0.2`),则会影响到**所有** shade 依赖,每个模块都必须重新发布。 ### Shade 发版到 SeaTunnel CI 通过之间的传播延迟 diff --git a/docs/zh/engines/zeta/download-seatunnel.md b/docs/zh/engines/zeta/download-seatunnel.md index 385bb14b00..fbf1bc6c0a 100644 --- a/docs/zh/engines/zeta/download-seatunnel.md +++ b/docs/zh/engines/zeta/download-seatunnel.md @@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem'; 或者您也可以通过终端下载 ```shell -export version="3.0.1" +export version="3.1.0" wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" ``` @@ -30,13 +30,13 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" 从2.2.0-beta版本开始,二进制包不再默认提供连接器依赖,因此在第一次使用它时,您需要执行以下命令来安装连接器:(当然,您也可以从 [Apache Maven Repository](https://repo.maven.apache.org/maven2/org/apache/seatunnel/) 手动下载连接器,然后将其移动至`connectors/seatunnel`目录下)。 ```bash -sh bin/install-plugin.sh 3.0.1 +sh bin/install-plugin.sh 3.1.0 ``` -如果您需要指定的连接器版本,以3.0.1为例,您需要执行如下命令 +如果您需要指定的连接器版本,以3.1.0为例,您需要执行如下命令 ```bash -sh bin/install-plugin.sh 3.0.1 +sh bin/install-plugin.sh 3.1.0 ``` 通常您并不需要所有的连接器插件,所以您可以通过配置`config/plugin_config`来指定您所需要的插件,例如,您只需要`connector-console`插件,那么您可以修改plugin.properties配置文件如下 diff --git a/docs/zh/engines/zeta/rest-api-v1.md b/docs/zh/engines/zeta/rest-api-v1.md index 90f4675a4a..a082e9806e 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.0.1-SNAPSHOT", + "projectVersion":"3.1.0-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 ef4f88c6f3..d4f8406e61 100644 --- a/docs/zh/engines/zeta/rest-api-v2.md +++ b/docs/zh/engines/zeta/rest-api-v2.md @@ -244,7 +244,7 @@ seatunnel: ```json { - "projectVersion":"3.0.1-SNAPSHOT", + "projectVersion":"3.1.0-SNAPSHOT", "gitCommitAbbrev":"DeadD0d0", "totalSlot":"0", "unassignedSlot":"0", diff --git a/docs/zh/getting-started/application/kubernetes/configuration.md b/docs/zh/getting-started/application/kubernetes/configuration.md index 0739ad4356..8706844d3b 100644 --- a/docs/zh/getting-started/application/kubernetes/configuration.md +++ b/docs/zh/getting-started/application/kubernetes/configuration.md @@ -451,7 +451,7 @@ application { kubernetes { namespace = seatunnel - image = "registry.example.com/seatunnel/application:3.0.1" + image = "registry.example.com/seatunnel/application:3.1.0" image-pull-policy = IfNotPresent service-account = seatunnel-application job-config-file = job.conf diff --git a/docs/zh/getting-started/docker/docker.md b/docs/zh/getting-started/docker/docker.md index 7b6d2694cd..7163f7f831 100644 --- a/docs/zh/getting-started/docker/docker.md +++ b/docs/zh/getting-started/docker/docker.md @@ -40,7 +40,7 @@ docker run --rm -it -v /tmp/job/:/config apache/seatunnel:<version_tag> ./bin/se ```shell cd seatunnel # Use already sett maven profile -mvn -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=3.0.1 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel +mvn -B clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlicense.skipAddThirdParty=true -D"docker.build.skip"=false -D"docker.verify.skip"=false -D"docker.push.skip"=true -D"docker.tag"=3.1.0 -Dmaven.deploy.skip -D"skip.spotless"=true --no-snapshot-updates -Pdocker,seatunnel # Check the docker image docker images | grep apache/seatunnel @@ -53,10 +53,10 @@ mvn clean package -DskipTests -Dskip.spotless=true # Build docker image cd seatunnel-dist -docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.0.1 -t apache/seatunnel:3.0.1 . +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.0.1-SNAPSHOT -t apache/seatunnel:3.0.1-SNAPSHOT . +docker build -f src/main/docker/Dockerfile --build-arg VERSION=3.1.0-SNAPSHOT -t apache/seatunnel:3.1.0-SNAPSHOT . # Check the docker image docker images | grep apache/seatunnel diff --git a/docs/zh/getting-started/kubernetes/configuration.md b/docs/zh/getting-started/kubernetes/configuration.md index 958f44c7f8..426b67994c 100644 --- a/docs/zh/getting-started/kubernetes/configuration.md +++ b/docs/zh/getting-started/kubernetes/configuration.md @@ -346,7 +346,7 @@ SeaTunnel 对不同插件类型使用不同的加载路径。`plugins/` 目录 稳定生产环境推荐将自定义连接器插件 jar、Transform 插件 jar 和必需的 runtime extension jar 构建到 SeaTunnel 镜像中: ```Dockerfile -FROM seatunnel:3.0.1 +FROM seatunnel:3.1.0 # 可选:自定义连接器插件 jar 或插件包。 COPY plugins/ /opt/seatunnel/plugins/ diff --git a/docs/zh/getting-started/kubernetes/helm.md b/docs/zh/getting-started/kubernetes/helm.md index 1bcb0d266f..34d0851ef0 100644 --- a/docs/zh/getting-started/kubernetes/helm.md +++ b/docs/zh/getting-started/kubernetes/helm.md @@ -31,7 +31,7 @@ minikube start --kubernetes-version=v1.23.3 使用默认配置安装: ```bash # 自行选择对应版本 -export VERSION=3.0.1 +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 diff --git a/docs/zh/getting-started/kubernetes/hybrid-cluster-mode.md b/docs/zh/getting-started/kubernetes/hybrid-cluster-mode.md index 16cb49d66b..38ff8eea46 100644 --- a/docs/zh/getting-started/kubernetes/hybrid-cluster-mode.md +++ b/docs/zh/getting-started/kubernetes/hybrid-cluster-mode.md @@ -237,7 +237,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh diff --git a/docs/zh/getting-started/kubernetes/kubernetes.mdx b/docs/zh/getting-started/kubernetes/kubernetes.mdx index 97a14b32bb..f30506c24d 100644 --- a/docs/zh/getting-started/kubernetes/kubernetes.mdx +++ b/docs/zh/getting-started/kubernetes/kubernetes.mdx @@ -74,7 +74,7 @@ flowchart TB - Kubernetes 集群。 - 可执行 `kubectl` 命令的客户端环境。 -- SeaTunnel 镜像,例如 `seatunnel:3.0.1`。 +- SeaTunnel 镜像,例如 `seatunnel:3.1.0`。 - 集群可访问的镜像仓库;私有镜像需要配置 `imagePullSecrets`。 - 生产环境中的 checkpoint 和 IMap MapStore 需要使用共享存储或对象存储。 diff --git a/docs/zh/getting-started/kubernetes/local-mode.md b/docs/zh/getting-started/kubernetes/local-mode.md index bd5fbe5e24..41c6b7a5fe 100644 --- a/docs/zh/getting-started/kubernetes/local-mode.md +++ b/docs/zh/getting-started/kubernetes/local-mode.md @@ -58,7 +58,7 @@ spec: restartPolicy: Never containers: - name: seatunnel - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /bin/sh diff --git a/docs/zh/getting-started/kubernetes/separated-cluster-mode.md b/docs/zh/getting-started/kubernetes/separated-cluster-mode.md index fbb6f87ff7..207b335e1d 100644 --- a/docs/zh/getting-started/kubernetes/separated-cluster-mode.md +++ b/docs/zh/getting-started/kubernetes/separated-cluster-mode.md @@ -324,7 +324,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh @@ -397,7 +397,7 @@ spec: serviceAccountName: seatunnel containers: - name: app - image: seatunnel:3.0.1 + image: seatunnel:3.1.0 imagePullPolicy: IfNotPresent command: - /opt/seatunnel/bin/seatunnel-cluster.sh diff --git a/docs/zh/getting-started/locally/deployment.md b/docs/zh/getting-started/locally/deployment.md index c1bc41d43b..63a32d4fb0 100644 --- a/docs/zh/getting-started/locally/deployment.md +++ b/docs/zh/getting-started/locally/deployment.md @@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem'; 或者您也可以通过终端下载: ```shell -export version="3.0.1" +export version="3.1.0" wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" ``` @@ -35,17 +35,17 @@ tar -xzvf "apache-seatunnel-${version}-bin.tar.gz" sh bin/install-plugin.sh ``` -如果您需要指定的连接器版本,以3.0.1为例,您需要执行如下命令: +如果您需要指定的连接器版本,以3.1.0为例,您需要执行如下命令: ```bash -sh bin/install-plugin.sh 3.0.1 +sh bin/install-plugin.sh 3.1.0 ``` 对于正式发布的连接器版本,`install-plugin.sh` 通过 HTTPS 直接下载 JAR 及其校验文件,因此 Linux 和 macOS 不需要 Maven。该方式需要 `curl`、`mktemp`,以及 `sha512sum`、`sha1sum`、`shasum` 或 `openssl` 中的任意一个。Windows 的 `install-plugin.cmd` 仍使用发行包内置的 Maven Wrapper。如果需要为 `install-plugin.sh` 使用 Maven 兼容的 HTTPS 镜像,可以通过 `SEATUNNEL_MAVEN_REPOSITORY` 指定仓库根地址: ```bash SEATUNNEL_MAVEN_REPOSITORY=https://repo.example.com/maven2 \ - sh bin/install-plugin.sh 3.0.1 + sh bin/install-plugin.sh 3.1.0 ``` 直接下载仅支持提供 `.sha512` 或 `.sha1` 校验文件的不可变正式版本。`SNAPSHOT`、`LATEST`、`RELEASE` 和版本范围需要解析 Maven 元数据,因此脚本会自动使用发行包内置的 Maven Wrapper。如果需要继续使用 Maven `settings.xml` 中的镜像、认证仓库、代理或自定义 TLS 策略,也可以设置 `SEATUNNEL_PLUGIN_DOWNLOAD_METHOD=maven`。 diff --git a/docs/zh/tools/dolphinscheduler-integration.md b/docs/zh/tools/dolphinscheduler-integration.md index 45eee36b6a..7fccff0108 100644 --- a/docs/zh/tools/dolphinscheduler-integration.md +++ b/docs/zh/tools/dolphinscheduler-integration.md @@ -67,7 +67,7 @@ networks: 准备宿主机上的 SeaTunnel 安装目录(Docker 官方镜像不自带 SeaTunnel 程序本体,需要手动下载解压): ```bash -export version="3.0.1" +export version="3.1.0" mkdir -p seatunnel dolphinscheduler/logs wget "https://archive.apache.org/dist/seatunnel/${version}/apache-seatunnel-${version}-bin.tar.gz" tar -zxvf "apache-seatunnel-${version}-bin.tar.gz" -C seatunnel --strip-components=1 @@ -77,7 +77,7 @@ tar -zxvf "apache-seatunnel-${version}-bin.tar.gz" -C seatunnel --strip-componen ::: ```bash -sh seatunnel/bin/install-plugin.sh 3.0.1 +sh seatunnel/bin/install-plugin.sh 3.1.0 ``` 完成后,`./seatunnel` 目录下应包含 `bin/`、`config/`、`lib/` 等子目录,容器启动后即可在 `/opt/seatunnel` 下看到同样的内容。 diff --git a/plugins/README.md b/plugins/README.md index b59096736d..3a5d4cb792 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.0.1-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.0-SNAPSHOT-2.12.15.jar] ``` diff --git a/pom.xml b/pom.xml index 729fd8d9bb..0cf7671397 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ <properties> <!--todo The classification is too confusing, reclassify by type--> - <revision>3.0.1-SNAPSHOT</revision> + <revision>3.1.0-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.0</seatunnel.shade.version> diff --git a/seatunnel-cli/README.md b/seatunnel-cli/README.md index 1ec5d1f4f1..9067e83cfd 100644 --- a/seatunnel-cli/README.md +++ b/seatunnel-cli/README.md @@ -206,7 +206,7 @@ export SEATUNNEL_HOME=/path/to/apache-seatunnel **Default behavior:** If `SEATUNNEL_HOME` is not set, the CLI auto-detects from its package location. In the distribution tarball the CLI lives at `cli/seatunnel_cli/`, so it resolves two levels up to the tarball root: ``` -apache-seatunnel-3.0.1/ <-- auto-detected as SEATUNNEL_HOME +apache-seatunnel-3.1.0/ <-- auto-detected as SEATUNNEL_HOME ├── bin/seatunnel.sh ├── bin/seatunnel-ai.sh ├── cli/seatunnel_cli/ <-- CLI package location diff --git a/seatunnel-cli/README.zh-CN.md b/seatunnel-cli/README.zh-CN.md index 5cf2a2a588..ec7b0938f5 100644 --- a/seatunnel-cli/README.zh-CN.md +++ b/seatunnel-cli/README.zh-CN.md @@ -174,7 +174,7 @@ export SEATUNNEL_HOME=/path/to/apache-seatunnel **默认行为:** 如果未设置 `SEATUNNEL_HOME`,CLI 会根据自身包位置自动检测。在发行版压缩包中,CLI 位于 `cli/seatunnel_cli/`,因此会向上解析两级到压缩包根目录: ``` -apache-seatunnel-3.0.1/ <-- 自动检测为 SEATUNNEL_HOME +apache-seatunnel-3.1.0/ <-- 自动检测为 SEATUNNEL_HOME ├── bin/seatunnel.sh ├── bin/seatunnel-ai.sh ├── cli/seatunnel_cli/ <-- CLI 包位置 diff --git a/seatunnel-cli/setup.sh b/seatunnel-cli/setup.sh index f2aae1d250..6dabb03b70 100644 --- a/seatunnel-cli/setup.sh +++ b/seatunnel-cli/setup.sh @@ -89,7 +89,7 @@ echo " export SEATUNNEL_HOME=/path/to/apache-seatunnel" echo "" echo " If not set, the CLI auto-detects from its package location." echo " In the distribution tarball this resolves to the tarball root, e.g.:" -echo " apache-seatunnel-3.0.1/ <-- SEATUNNEL_HOME" +echo " apache-seatunnel-3.1.0/ <-- SEATUNNEL_HOME" echo " ├── bin/seatunnel.sh" echo " ├── cli/seatunnel_cli/ <-- CLI package" echo " ├── connectors/" 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 963cf74513..f3bc44389d 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.0.1-SNAPSHOT", capturedArguments); + distribution, fakeBinaryDirectory, "3.1.0-SNAPSHOT", capturedArguments); Assertions.assertEquals(0, exitCode); String arguments = new String(Files.readAllBytes(capturedArguments), StandardCharsets.UTF_8); - Assertions.assertTrue(arguments.contains("-Dversion=3.0.1-SNAPSHOT")); + Assertions.assertTrue(arguments.contains("-Dversion=3.1.0-SNAPSHOT")); Assertions.assertTrue(arguments.contains("-DartifactId=connector-fake")); } diff --git a/tools/upgrade_compatibility/README.md b/tools/upgrade_compatibility/README.md index 4283ade996..fc315804a7 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=2.3.13 SCENARIO=generic-fake-localfile \ +OLD_SEATUNNEL_VERSION=3.0.0 SCENARIO=generic-fake-localfile \ bash tools/upgrade_compatibility/run_upgrade_compatibility.sh ``` To run the MySQL CDC scenario: ```shell -OLD_SEATUNNEL_VERSION=2.3.13 SCENARIO=mysql-cdc-multitable-localfile \ +OLD_SEATUNNEL_VERSION=3.0.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 66fa2bd8b6..d8fec7c08c 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:-2.3.13}" +OLD_SEATUNNEL_VERSION="${OLD_SEATUNNEL_VERSION:-3.0.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 c5f7053637..a53989570d 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.0.1-SNAPSHOT-bin.tar.gz" + local regular_archive="${DIST_DIR}/apache-seatunnel-3.1.0-SNAPSHOT-bin.tar.gz" touch "${regular_archive}" - touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.0.1-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.0-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.0.1-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-edge-agent-3.1.0-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.0.1-SNAPSHOT-bin.tar.gz" touch "${DIST_DIR}/apache-seatunnel-3.1.0-SNAPSHOT-bin.tar.gz" + touch "${DIST_DIR}/apache-seatunnel-3.1.1-SNAPSHOT-bin.tar.gz" local output if output="$(find_current_distribution 2>&1)"; then
