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

lizhimins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new e85042c49 chore: bump version to 3.1.0 and restore admin/admin 
bootstrap default (#7423)
e85042c49 is described below

commit e85042c494918580f9811b2cb60cf9cd4b75ac88
Author: lizhimins <[email protected]>
AuthorDate: Mon Nov 30 14:55:14 2026 +0800

    chore: bump version to 3.1.0 and restore admin/admin bootstrap default 
(#7423)
    
    - Version pins aligned for the 3.1.0 release: server pom, web
      package.json + lockfile, rmqctl Makefile / CLIVersion /
      build-windows.ps1, and the settings About tab.
    - The compose bootstrap seed defaulted to blank credentials while
      login-required=true, so a fresh deployment could not log in at all.
      Restore the legacy-dashboard admin/admin out-of-the-box default;
      operators should rotate it on the user-management page after first
      login. Explicit STUDIO_AUTH_* overrides keep working unchanged.
---
 deploy/docker-compose.yml           | 6 ++++--
 rmqctl/Makefile                     | 2 +-
 rmqctl/cmd/app.go                   | 2 +-
 rmqctl/scripts/build-windows.ps1    | 4 ++--
 server/pom.xml                      | 2 +-
 web/package-lock.json               | 4 ++--
 web/package.json                    | 2 +-
 web/src/pages/settings/AboutTab.tsx | 2 +-
 8 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml
index d5ea87c2a..b05bad835 100644
--- a/deploy/docker-compose.yml
+++ b/deploy/docker-compose.yml
@@ -53,8 +53,10 @@ services:
     environment:
       TZ: ${TZ:-Asia/Shanghai}
       STUDIO_AUTH_LOGIN_REQUIRED: ${STUDIO_AUTH_LOGIN_REQUIRED:-true}
-      STUDIO_AUTH_ADMIN_USERNAME: ${STUDIO_AUTH_ADMIN_USERNAME:-}
-      STUDIO_AUTH_ADMIN_PASSWORD: ${STUDIO_AUTH_ADMIN_PASSWORD:-}
+      # Legacy-dashboard parity: out of the box the bootstrap seed is 
admin/admin;
+      # rotate it on the user-management page after first login.
+      STUDIO_AUTH_ADMIN_USERNAME: ${STUDIO_AUTH_ADMIN_USERNAME:-admin}
+      STUDIO_AUTH_ADMIN_PASSWORD: ${STUDIO_AUTH_ADMIN_PASSWORD:-admin}
       # Must be forwarded explicitly: compose only passes through names it 
declares, so setting this
       # in .env alone does nothing. An HTTP-only deployment needs `false` — 
with login required, a
       # Secure cookie is never stored by the browser, so login appears to 
succeed and every later
diff --git a/rmqctl/Makefile b/rmqctl/Makefile
index 242816b00..0b4644c0c 100644
--- a/rmqctl/Makefile
+++ b/rmqctl/Makefile
@@ -15,7 +15,7 @@
 
 .DEFAULT_GOAL := build
 GO ?= go
-VERSION ?= 3.0.0
+VERSION ?= 3.1.0
 GIT_COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
 BUILD_DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
 BUILD_DIR ?= $(CURDIR)/bin
diff --git a/rmqctl/cmd/app.go b/rmqctl/cmd/app.go
index 169e2018f..6bdcb15b4 100644
--- a/rmqctl/cmd/app.go
+++ b/rmqctl/cmd/app.go
@@ -29,7 +29,7 @@ import (
 )
 
 var (
-       CLIVersion = "3.0.0"
+       CLIVersion = "3.1.0"
        GitCommit  = ""
        BuildDate  = ""
 )
diff --git a/rmqctl/scripts/build-windows.ps1 b/rmqctl/scripts/build-windows.ps1
index 7086188c8..9de7728fe 100644
--- a/rmqctl/scripts/build-windows.ps1
+++ b/rmqctl/scripts/build-windows.ps1
@@ -29,7 +29,7 @@
     right toolchain automatically.
 
 .PARAMETER Version
-    Value injected into cmd.CLIVersion (default: 3.0.0, the version the 
Makefile and
+    Value injected into cmd.CLIVersion (default: 3.1.0, the version the 
Makefile and
     cmd.CLIVersion already declare).
 
 .PARAMETER Output
@@ -43,7 +43,7 @@
     .\scripts\build-windows.ps1 -Version 1.2.3 -RunTests
 #>
 param(
-    [string]$Version = "3.0.0",
+    [string]$Version = "3.1.0",
     [string]$Output = "bin\rmqctl.exe",
     [switch]$RunTests
 )
diff --git a/server/pom.xml b/server/pom.xml
index 308e16994..968446ba6 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -29,7 +29,7 @@
 
     <groupId>org.apache.rocketmq</groupId>
     <artifactId>rocketmq-studio</artifactId>
-    <version>3.0.0</version>
+    <version>3.1.0</version>
     <name>RocketMQ Studio</name>
 
     <properties>
diff --git a/web/package-lock.json b/web/package-lock.json
index 9aa844951..35959f1b1 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "rocketmq-studio-web",
-  "version": "3.0.0",
+  "version": "3.1.0",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "rocketmq-studio-web",
-      "version": "3.0.0",
+      "version": "3.1.0",
       "dependencies": {
         "@ant-design/icons": "^5.5.0",
         "@phosphor-icons/react": "^2.1.10",
diff --git a/web/package.json b/web/package.json
index 77e8fdbf0..b1a83d2b9 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,7 +1,7 @@
 {
   "name": "rocketmq-studio-web",
   "private": true,
-  "version": "3.0.0",
+  "version": "3.1.0",
   "type": "module",
   "engines": {
     "node": ">=20.19.0"
diff --git a/web/src/pages/settings/AboutTab.tsx 
b/web/src/pages/settings/AboutTab.tsx
index daf2cde55..1054b11bb 100644
--- a/web/src/pages/settings/AboutTab.tsx
+++ b/web/src/pages/settings/AboutTab.tsx
@@ -28,7 +28,7 @@ export const AboutTab = () => {
   return (
     <div style={{ maxWidth: 800 }}>
       <Descriptions column={1} bordered size="small">
-        <Descriptions.Item 
label={t('settings.aboutVersion')}>3.0.0</Descriptions.Item>
+        <Descriptions.Item 
label={t('settings.aboutVersion')}>3.1.0</Descriptions.Item>
         <Descriptions.Item label={t('settings.aboutBuildCommit')}>
           {__BUILD_COMMIT__}
         </Descriptions.Item>

Reply via email to