This is an automated email from the ASF dual-hosted git repository.
wenjin272 pushed a commit to branch release-0.4
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/release-0.4 by this push:
new aad8a2685 [hotfix][docs] Use 0.4.0 release defaults on release-0.4
(#1340)
aad8a2685 is described below
commit aad8a2685f02d44b0c0fbe61e5e6121a011c5b11
Author: Wenjin Xie <[email protected]>
AuthorDate: Thu Oct 29 17:27:17 2026 +0800
[hotfix][docs] Use 0.4.0 release defaults on release-0.4 (#1340)
Update stable documentation examples and installer default and recommended
versions to the published 0.4.0 release.
Generated-by: Codex CLI 0.153.4 (GPT-6)
Co-authored-by: Codex <[email protected]>
---
docs/config.toml | 2 +-
tools/install.sh | 10 +++++-----
tools/test/integration/dry_run_extra.bats | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/config.toml b/docs/config.toml
index 41d1f699a..3b39d0880 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -37,7 +37,7 @@ pygmentsUseClasses = true
# Published release used by installation instructions and Maven examples.
# Update after publication, independently of the branch's development
version.
# Exposed by the stable_version shortcode.
- StableVersion = "0.3.1"
+ StableVersion = "0.4.0"
# For stable releases, leave the bugfix version out (e.g. 1.2). For snapshot
# release this should be the same as the regular version
diff --git a/tools/install.sh b/tools/install.sh
index dab4649be..34c0b3f27 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -456,7 +456,7 @@ mark_explicit INSTALL_DIR
mark_explicit VENV_DIR
FLINK_VERSION="${FLINK_VERSION:-2.2.1}"
-FLINK_AGENTS_VERSION="${FLINK_AGENTS_VERSION:-0.3.0}"
+FLINK_AGENTS_VERSION="${FLINK_AGENTS_VERSION:-0.4.0}"
FLINK_SCALA_VERSION="${FLINK_SCALA_VERSION:-2.12}"
FLINK_BASE_URL="${FLINK_BASE_URL:-https://dlcdn.apache.org/flink}"
# Flink Agents JARs live next to Flink on the ASF mirror network. Override
@@ -471,10 +471,10 @@ FLINK_RECOMMENDED_VERSION="2.2.1"
# Mirrors https://flink.apache.org/downloads/#apache-flink-agents
# (latest first). Note: 0.1.x only ships JARs for Flink 1.20, while 0.2.x
-# and 0.3.x ship JARs for Flink 1.20 / 2.0 / 2.1 / 2.2 — see the download
-# page for the exact compatibility matrix.
-FLINK_AGENTS_SUPPORTED_VERSIONS=("0.3.0" "0.2.1" "0.2.0" "0.1.1" "0.1.0")
-FLINK_AGENTS_RECOMMENDED_VERSION="0.3.0"
+# and 0.3.0 ship JARs for Flink 1.20 / 2.0 / 2.1 / 2.2. Releases 0.3.1
+# and 0.4.0 also support Flink 2.3. See the download page for the exact matrix.
+FLINK_AGENTS_SUPPORTED_VERSIONS=("0.4.0" "0.3.1" "0.3.0" "0.2.1" "0.2.0"
"0.1.1" "0.1.0")
+FLINK_AGENTS_RECOMMENDED_VERSION="0.4.0"
INSTALL_FLINK="${INSTALL_FLINK:-Ask}"
ENABLE_PYFLINK="${ENABLE_PYFLINK:-Ask}"
diff --git a/tools/test/integration/dry_run_extra.bats
b/tools/test/integration/dry_run_extra.bats
index 5ee8a85e8..186fb2fa1 100644
--- a/tools/test/integration/dry_run_extra.bats
+++ b/tools/test/integration/dry_run_extra.bats
@@ -19,7 +19,7 @@ esac
@test "dry-run: plan shows Flink Agents version (review #1 — JARs are
implicit)" {
run "${FLINK_AGENTS_SUT_BASH:-bash}"
"${BATS_TEST_DIRNAME}/../../install.sh" --dry-run --non-interactive
[ "$status" -eq 0 ]
- case "$output" in *"Flink Agents version"*"0.3.0"*) ;; *) false ;; esac
+ case "$output" in *"Flink Agents version"*"0.4.0"*) ;; *) false ;; esac
}
@test "dry-run: existing FLINK_HOME — plan shows detected version, not default
(review #2)" {