This is an automated email from the ASF dual-hosted git repository.

wenjin272 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


The following commit(s) were added to refs/heads/main by this push:
     new 32aa6c865 [hotfix][docs] Finalize Flink Agents 0.4.0 release defaults 
(#1339)
32aa6c865 is described below

commit 32aa6c86504a62b9dd7321f755f849fc16e1ac2d
Author: Wenjin Xie <[email protected]>
AuthorDate: Thu Oct 29 17:26:52 2026 +0800

    [hotfix][docs] Finalize Flink Agents 0.4.0 release defaults (#1339)
    
    Use 0.4.0 for published installation examples and installer defaults, 
publish release-0.4 as the latest documentation, and map new PRs to the next 
development and maintenance versions.
    
    Generated-by: Codex CLI 0.153.4 (GPT-6)
    
    Co-authored-by: Codex <[email protected]>
---
 .github/workflows/docs.yml                |  2 +-
 .github/workflows/pr_labeler.js           |  3 ++-
 docs/config.toml                          |  2 +-
 tools/install.sh                          | 10 +++++-----
 tools/test/integration/dry_run_extra.bats |  2 +-
 5 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 20b509dc0..9f590bbea 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -49,7 +49,7 @@ jobs:
           
           if [ "${currentBranch}" = "main" ]; then
             echo "flink_alias=release-1.0" >> ${GITHUB_ENV}
-          elif [ "${currentBranch}" = "release-0.3" ]; then
+          elif [ "${currentBranch}" = "release-0.4" ]; then
             echo "flink_alias=latest" >> ${GITHUB_ENV}
           fi
 
diff --git a/.github/workflows/pr_labeler.js b/.github/workflows/pr_labeler.js
index 6f5ac9309..0ec57eb71 100644
--- a/.github/workflows/pr_labeler.js
+++ b/.github/workflows/pr_labeler.js
@@ -65,7 +65,8 @@ module.exports = async ({ github, context, core, 
workflowRunId, triggerWorkflow
 
     const baseBranch = pr.base.ref;
     const fixVersionLabelMap = {
-      'main': 'fixVersion/0.4.0',
+      'main': 'fixVersion/1.0.0',
+      'release-0.4': 'fixVersion/0.4.1',
       'release-0.3': 'fixVersion/0.3.2',
       'release-0.2': 'fixVersion/0.2.2',
       'release-0.1': 'fixVersion/0.1.2',
diff --git a/docs/config.toml b/docs/config.toml
index 65050cdf5..1a90ea0fa 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)" {

Reply via email to