Skip to content

chore: upgrade api7 and gateway to v3.10.4 - #324

Merged
nic-6443 merged 1 commit into
mainfrom
chore/upgrade-3.10.4
Jul 27, 2026
Merged

chore: upgrade api7 and gateway to v3.10.4#324
nic-6443 merged 1 commit into
mainfrom
chore/upgrade-3.10.4

Conversation

@jarvis9443

Copy link
Copy Markdown
Contributor

Chart release for API7 EE 3.10.4. 3.10 is the latest line, so this targets main.

Version bumps

Chart Chart version appVersion
charts/api7 3.10.2 → 3.10.3 3.10.3 → 3.10.4
charts/gateway 3.10.9 → 3.10.10 3.10.3 → 3.10.4

Image tags move to v3.10.4 for dashboard, dp_manager, file_server and developer_portal, and to 3.10.4 for the gateway.

Structural changes

charts/gateway — new nginx.stream.realIpFrom. The gateway gained stream set_real_ip_from support in 3.10.4 (nginx_config.stream.real_ip_from, backed by --with-stream_realip_module in apisix-runtime 1.3.11), so a gateway sitting behind a load balancer that speaks the PROXY protocol on stream ports can resolve the real client address instead of the directly connected peer. The chart renders nginx_config explicitly, so this needed a values field plus template rendering rather than passthrough. The block is emitted only when the list is non-empty, which matches the gateway's own default of trusting no address.

charts/api7console.*. 3.10.4 serves /api/fe-config from the Go binary, driven by console.* config keys. The existing dashboard_configuration.console block (which already carried addr) is extended with hybrid_mode, sentry and a commented custom_menu_group, mirroring control-plane helm/values.yaml verbatim.

charts/api7database.max_lifetime. The control plane now bounds pooled connection lifetime by default, so that connections pinned to a primary that a failover has demoted to read-only are eventually retired. The commented # max_lifetime: 60s example is replaced with an explicit max_lifetime: 1h for dashboard, dp_manager and developer_portal, matching the control plane's own chart and its new default.

Config keys that are not chart-exposed: the remaining gateway config-default.yaml delta for this release is comment-only, and the control plane's other changes land in maps the chart already forwards with toYaml.

Validation

  • helm lint charts/api7 charts/gateway — 0 failed.
  • helm template on both charts renders the expected images (api7-ee-3-integrated:v3.10.4, api7-ee-dp-manager:v3.10.4, api7-ee-developer-portal:v3.10.4, api7-ee-3-gateway:3.10.4).
  • Stream real IP verified both ways: absent from the rendered stream: block by default, and present as a quoted list under --set nginx.stream.realIpFrom[0]=192.168.1.0/24.
  • dashboard_configuration.console confirmed to be a single key after the merge — the new keys extend the existing block instead of shadowing console.addr.
  • READMEs regenerated with make helm-docs.

Version bumps:
- charts/api7: chart 3.10.2 -> 3.10.3, appVersion 3.10.4, and the
  dashboard / dp_manager / file_server / developer_portal image tags.
- charts/gateway: chart 3.10.9 -> 3.10.10, appVersion 3.10.4, image tag.

Structural changes synced from the products:

- charts/gateway: new nginx.stream.realIpFrom, rendered as
  nginx_config.stream.real_ip_from. The gateway gained stream
  set_real_ip_from support in 3.10.4, so a gateway behind a load balancer
  that speaks the PROXY protocol on stream ports can see the real client
  address. The block is only rendered when the list is non-empty, matching
  the gateway default of trusting nobody.
- charts/api7: extend the existing dashboard_configuration.console block
  with hybrid_mode, sentry and a commented custom_menu_group, mirroring
  control-plane helm/values.yaml. These now drive /api/fe-config, which
  3.10.4 serves from the Go binary.
- charts/api7: set database.max_lifetime to 1h for dashboard, dp_manager
  and developer_portal, replacing the commented 60s example. The control
  plane now bounds pooled connection lifetime by default so that
  connections pinned to a primary demoted by a failover are retired.

READMEs regenerated with helm-docs; helm lint and helm template pass for
both charts, with the stream real_ip_from block verified present only when
nginx.stream.realIpFrom is set.
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 20 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a6680112-5750-40b6-93cb-2e2a02e76c79

📥 Commits

Reviewing files that changed from the base of the PR and between 82b0af4 and d35a779.

📒 Files selected for processing (7)
  • charts/api7/Chart.yaml
  • charts/api7/README.md
  • charts/api7/values.yaml
  • charts/gateway/Chart.yaml
  • charts/gateway/README.md
  • charts/gateway/templates/configmap.yaml
  • charts/gateway/values.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-3.10.4

Comment @coderabbitai help to get the list of available commands.

@nic-6443
nic-6443 merged commit f20d1b4 into main Jul 27, 2026
2 checks passed
@nic-6443
nic-6443 deleted the chore/upgrade-3.10.4 branch July 27, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants