diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index aca33cd..99b66d0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,5 +3,6 @@ - [ ] I have run `docker compose config` and the compose configuration resolves without errors. - [ ] If I changed `BUS_GATEWAY_VERSION`, I verified whether `mysql8/initdb/03-cbus-init-table.sql` and `mysql8/initdb/04-cbus-init-data.sql` need to be updated for the new version. - [ ] If I changed `TRACK_MAINTAIN_VERSION`, I verified whether `mysql8/initdb/01-maintain-init-table.sql` and `mysql8/initdb/02-maintain-init-data.sql` need to be updated for the new version. +- [ ] If I changed `default.env` or `default.en.env`, I updated the other file in sync so both templates contain the same environment variables and versions. - [ ] If I changed `mysql8/initdb/*.sql`, I ran `node scripts/check-init-sql.js` and fixed any column/value mismatches. - [ ] I exported `docker compose config > compose-stack.yaml` and reviewed the diff before submitting. diff --git a/CLAUDE.md b/CLAUDE.md index cc4fa06..355605b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -97,6 +97,8 @@ When a pull request changes the following version variables in `default.env` / ` - `BUS_GATEWAY_VERSION` — check `mysql8/initdb/03-cbus-init-table.sql` and `mysql8/initdb/04-cbus-init-data.sql`. - `TRACK_MAINTAIN_VERSION` — check `mysql8/initdb/01-maintain-init-table.sql` and `mysql8/initdb/02-maintain-init-data.sql`. +When either `default.env` or `default.en.env` is modified, the reviewer must check that the other file is updated in sync. The two files are Chinese and English templates for the same environment variables; version bumps, port changes, and new variables must be mirrored in both. + If the SQL init files are modified, run `node scripts/check-init-sql.js` to catch column/value mismatches. Any compose change must pass `docker compose config`. These rules are also encoded in `.github/pull_request_template.md`. diff --git a/default.en.env b/default.en.env index 29d55cc..b6195d8 100644 --- a/default.en.env +++ b/default.en.env @@ -159,20 +159,20 @@ RTP_VERSION=23.9.0 SRS_VERSION=v6.0-b3 -# bus, version check date: 2026-1-26 +# bus, version check date: 2026-7-29 # bus frontend -BUS_WEB_VERSION=5.35.0 +BUS_WEB_VERSION=5.37.0 # bus backend -BUS_GATEWAY_VERSION=1.27.0 +BUS_GATEWAY_VERSION=1.28.0 # bus 808-2019 version -BUS_GATEWAY_808_2019_VERSION=25.11.14 +BUS_GATEWAY_808_2019_VERSION=2022.9.1 # bus active safety version BUS_GATEWAY_JSATL12_VERSION=23.1.21 -# track, version check date: 2026-6-25 +# track, version check date: 2026-7-29 # track frontend -TRACK_WEB_VERSION=1.75.1 +TRACK_WEB_VERSION=1.76.0 # track backend -TRACK_MAINTAIN_VERSION=1.74.0 +TRACK_MAINTAIN_VERSION=1.76.1 # track gateway -TRACK_JTT808_VERSION=1.31.0 +TRACK_JTT808_VERSION=1.31.1 diff --git a/default.env b/default.env index ed4838d..e3261d7 100644 --- a/default.env +++ b/default.env @@ -158,20 +158,20 @@ MINIO_FTP_PASSIVE_PORT=8523-8529 RTP_VERSION=23.9.0 SRS_VERSION=v6.0-b3 -# bus, 版本号核对日期: 2026-1-26 +# bus, 版本号核对日期: 2026-7-29 # bus前端 -BUS_WEB_VERSION=5.35.0 +BUS_WEB_VERSION=5.37.0 # bus的后端 -BUS_GATEWAY_VERSION=1.27.0 +BUS_GATEWAY_VERSION=1.28.0 # 公交808-2019版本号 -BUS_GATEWAY_808_2019_VERSION=25.11.14 +BUS_GATEWAY_808_2019_VERSION=2022.9.1 # 公交主动安全版本号 BUS_GATEWAY_JSATL12_VERSION=23.1.21 -# track, 版本号核对日期: 2026-6-25 +# track, 版本号核对日期: 2026-7-29 # track前端 -TRACK_WEB_VERSION=1.75.1 +TRACK_WEB_VERSION=1.76.0 # track后端 -TRACK_MAINTAIN_VERSION=1.74.0 +TRACK_MAINTAIN_VERSION=1.76.1 # track网关 -TRACK_JTT808_VERSION=1.31.0 +TRACK_JTT808_VERSION=1.31.1