lizhimins opened a new pull request, #7423:
URL: https://github.com/apache/rocketmq-dashboard/pull/7423
### Which Issue(s) This PR Fixes
No linked issue: release readiness for Apache RocketMQ Studio 3.1.0
(lightweight release track).
### Brief Description
- Align every version pin to 3.1.0: `server/pom.xml`, `web/package.json` +
lockfile, `rmqctl/Makefile`, `rmqctl/cmd/app.go` CLIVersion,
`rmqctl/scripts/build-windows.ps1`, and the settings About tab (the Go
`version_metadata_test.go` guard keeps Makefile / ps1 / CLIVersion consistent).
- Restore the out-of-the-box bootstrap login to `admin` / `admin` (legacy
dashboard parity). The compose seed previously defaulted to blank credentials
while `STUDIO_AUTH_LOGIN_REQUIRED=true`, which made a fresh deployment unable
to log in at all ("No Studio users are configured"). Explicit
`STUDIO_AUTH_ADMIN_USERNAME` / `STUDIO_AUTH_ADMIN_PASSWORD` overrides are
unchanged; operators should rotate the seed on the user-management page after
first login.
### How Did You Test This Change?
- Backend: `cd server && mvn -B -ntp test -Dspring.profiles.active=dev` →
4394 tests, 0 failures, 0 errors.
- Frontend: `npm run build` (tsc + vite + license check) and `npx vitest
run` → 2241 tests green.
- rmqctl: `make test-race && make vet && make build` (Go 1.27.1) pass,
including the version metadata guard.
- `docker compose config` with no `.env` resolves the seed to admin/admin
with login required.
- Deployed to the live test ECS; Playwright confirms the settings About tab
shows 3.1.0 and login regression passes.
### Checklist
- [x] One coherent change; unrelated modifications are not bundled in
- [x] Commit subject follows Conventional Commits (`chore:`)
- [x] Tests added or updated for non-trivial changes, test methods named
`...Test` (version guard already covers the pins; no new behaviour beyond
config defaults)
- [x] New UI text has both Chinese and English entries under `web/src/i18n/`
(no new strings)
- [x] Architecture constraints stay green (`mvn test` runs the ArchUnit
checks)
- [x] New source files carry the ASF license header (no new source files)
- [x] Documentation touched where behaviour changed (compose comment
documents the seed default and rotation guidance)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]