Skip to content

Bump google.golang.org/grpc from 1.67.1 to 1.70.0#103

Open
dependabot[bot] wants to merge 648 commits intomainfrom
dependabot/go_modules/google.golang.org/grpc-1.70.0
Open

Bump google.golang.org/grpc from 1.67.1 to 1.70.0#103
dependabot[bot] wants to merge 648 commits intomainfrom
dependabot/go_modules/google.golang.org/grpc-1.70.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 24, 2025

Bumps google.golang.org/grpc from 1.67.1 to 1.70.0.

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.70.0

Behavior Changes

  • client: reject service configs containing an invalid retryPolicy in accordance with gRFCs A21 and A6. (#7905)
    • Note that this is a potential breaking change for some users using an invalid configuration, but continuing to allow this behavior would violate our cross-language compatibility requirements.

New Features

  • xdsclient: fallback to a secondary management server (if specified in the bootstrap configuration) when the primary is down is enabled by default. Can be disabled by setting the environment variable GRPC_EXPERIMENTAL_XDS_FALLBACK to false. (#7949)
  • experimental/credentials: experimental transport credentials are added which don't enforce ALPN. (#7980)
    • These credentials will be removed in an upcoming grpc-go release. Users must not rely on these credentials directly. Instead, they should either vendor a specific version of gRPC or copy the relevant credentials into their own codebase if absolutely necessary.

Bug Fixes

  • xds: fix a possible deadlock that happens when both the client application and the xDS management server (responsible for configuring the client) are using the xds:/// scheme in their target URIs. (#8011)

Performance

  • server: for unary requests, free raw request message data as soon as parsing is finished instead of waiting until the method handler returns. (#7998)

Documentation

  • examples/features/gracefulstop: add example to demonstrate server graceful stop. (#7865)

Release 1.69.4

Bug Fixes

  • rbac: fix support for :path header matchers, which would previously never successfully match (#7965).

Documentation

  • examples/features/csm_observability: update example client and server to use the helloworld service instead of echo service (#7945).

Release 1.69.3 was accidentally tagged on the master branch and will be deleted. Please update to 1.69.4 instead.

Release 1.69.2

Bug Fixes

  • stats/experimental: add type aliases for symbols (Metrics/etc) that were moved to the stats package (#7929).
  • client: set user-agent string to the correct version.

Release 1.69.0

Known Issues

  • The recently added grpc.NewClient function is incompatible with forward proxies, because it resolves the target hostname on the client instead of passing the hostname to the proxy. A fix is expected to be a part of grpc-go v1.70. (#7556)

New Features

  • stats/opentelemetry: Introduce new APIs to enable OpenTelemetry instrumentation for metrics on servers and clients (#7874)
  • xdsclient: add support to fallback to lower priority servers when higher priority ones are down (#7701)
  • dns: Add support for link local IPv6 addresses (#7889)
  • The new experimental pickfirst LB policy (disabled by default) supports Happy Eyeballs, interleaving IPv4 and IPv6 address as described in RFC-8305 section 4, to attempt connections to multiple backends concurrently. The experimental pickfirst policy can be enabled by setting the environment variable GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST to true. (#7725, #7742)

... (truncated)

Commits
  • 98a0092 Change version to 1.70.0 (#7984)
  • bf380de Cherrypick #7998, #8011, #8010 into 1.70.x (#8028)
  • 54b3eb9 experimental/credentials: Add credentials that don't enforce ALPN (#7980) (#8...
  • 62b9185 clustetresolver: Copy endpoints.Addresses slice from DNS updates to avoid dat...
  • 724f450 examples/features/csm_observability: use helloworld client and server instead...
  • e8d5feb rbac: add method name to :path in headers (#7965)
  • e912015 cleanup: Fix usages of non-constant format strings (#7959)
  • 681334a cleanup: replace dial with newclient (#7943)
  • 063d352 internal/resolver: introduce a new resolver to handle target URI and proxy ad...
  • 10c7e13 outlierdetection: Support health listener for ejection updates (#7908)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

xeefei and others added 30 commits June 18, 2024 21:33
Update version to v2.3.6
Bumps [github.com/xtls/xray-core](https://github.com/xtls/xray-core) from 1.8.15 to 1.8.16.
- [Release notes](https://github.com/xtls/xray-core/releases)
- [Commits](XTLS/Xray-core@v1.8.15...v1.8.16)

---
updated-dependencies:
- dependency-name: github.com/xtls/xray-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…tls/xray-core-1.8.16

Update version to Xray Core v1.8.16
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to Xray Core v1.8.16
Update version to Xray Core v1.8.16
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.7
Added English practical navigation buttons in the background
Update version to v2.3.7
Update version to v2.3.7
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
Update version to v2.3.8
xeefei and others added 23 commits September 29, 2024 21:08
…alyala/fasthttp-1.56.0

Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0
Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.24.8 to 4.24.9.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v4.24.8...v4.24.9)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.0 to 1.67.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.67.0...v1.67.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…g.org/grpc-1.67.1

Bump google.golang.org/grpc from 1.67.0 to 1.67.1
…hirou/gopsutil/v4-4.24.9

Bump github.com/shirou/gopsutil/v4 from 4.24.8 to 4.24.9
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.56.0 to 1.57.0.
- [Release notes](https://github.com/valyala/fasthttp/releases)
- [Commits](valyala/fasthttp@v1.56.0...v1.57.0)

---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…alyala/fasthttp-1.57.0

Bump github.com/valyala/fasthttp from 1.56.0 to 1.57.0
Bumps [github.com/mymmrac/telego](https://github.com/mymmrac/telego) from 0.31.3 to 0.31.4.
- [Release notes](https://github.com/mymmrac/telego/releases)
- [Commits](mymmrac/telego@v0.31.3...v0.31.4)

---
updated-dependencies:
- dependency-name: github.com/mymmrac/telego
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ymmrac/telego-0.31.4

Bump github.com/mymmrac/telego from 0.31.3 to 0.31.4
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.70.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.67.1...v1.70.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 24, 2025
hehelove added a commit to hehelove/x-panel-ce that referenced this pull request Apr 26, 2026
Stage 7 ce-1.2.0 第 1/3 项。在入站列表新增"状态"列,
直观显示每条 inbound 的运行健康度,第一时间发现孤儿数据
(典型 ce-1.0.2 user_id=0 / 序列化失败 / xray 未重启等)。

实现:
- web/service/inbound_health.go (新建):
  * InboundHealthService.CheckAll(force) 三态判定:
    - green:  enable + xray 已加载 + 端口可建连
    - yellow: enable + xray 已加载但端口 dial 失败
    - red:    enable 但 xray 当前 config 不含此 tag (孤儿)
    - gray:   disabled (用户主动禁用)
  * 端口探测纯 net.DialTimeout("tcp", "127.0.0.1:port", 1s),
    不依赖 ss/lsof,零外部命令、零网络外发
  * 30s 缓存(healthCacheTTL)+ ?force=1 强刷
  * 并发上限 8(maxParallelDials)+ ctx 5s 总超时兜底,
    sync.Mutex 保护读写,缓存 copy-out 避免外部修改
  * classifyInboundHealth 抽成纯函数便于单测
- web/service/xray.go:
  * 新增 GetCurrentXrayConfig():返回 p.GetConfig() 内存对象,
    与 GetXrayConfig() 不同(后者会重建模板有副作用)
- web/controller/inbound.go:
  * 注册 GET /panel/api/inbounds/health
  * InboundController 加 inboundHealthService 字段
- web/html/inbounds.html:
  * 表格 columns 紧跟"启用"加"状态"列(圆点 + tooltip)
  * data 加 healthMap / healthTimer / healthIntervalMs
  * methods 加 refreshHealth / startHealthRefreshLoop /
    healthDotColor / healthTooltip
  * mounted 启动轮询 → beforeDestroy 清理 timer
  * manualRefresh 顺带强刷健康度(force=1)
- web/translation/*.toml: pages.inbounds.{health,healthUnknown} +
  pages.inbounds.healthReason.{disabled,orphan_not_in_xray,port_not_listening}
  三语 (zh_CN/zh_TW/en_US)

测试 (web/service/inbound_health_test.go):
- TestClassifyInboundHealth: 4 个 case 覆盖 gray/red/needDial 分支
- TestDialAll: 真起 listener 验证 green,空闲端口验证 yellow
- TestDialAllManyRefused: N>maxParallelDials 个无人监听端口,
  验证不超时不死锁、全部 yellow
- TestCheckAllCacheTTL: 缓存命中 + 返回 copy 而非共享引用
- TestCheckAllCacheExpired: 缓存过期判定边界
- TestDialAllWithEmptyJobs: jobs 为空不 panic

验证:
- go vet ./... clean
- go build ./... clean
- web/locale TestParseAllTranslationFiles 通过 (i18n 回归保护)
- web/service health 6/6 通过
hehelove added a commit to hehelove/x-panel-ce that referenced this pull request Apr 26, 2026
Stage 7 ce-1.2.0 第 2/3 项。管理员在路上不必 SSH 即可掌握 VPS 状态。

实现:
- web/service/tgbot_health.go (新建):
  * sendCEHealthReport(chatId):拼装 markdown 报告并 SendMsgToTgbot
  * 数据来源:
    - serverService.GetStatus(gopsutil 本机指标)
    - inboundService.GetAllInbounds(DB)
    - InboundHealthService.CheckAll(true)(CE xeefei#103 三态健康度,强刷)
  * 报告四段:
    1. ⚙️ 系统:CPU / MEM / Disk / Uptime / Load / Net / TCP-UDP
    2. 🚀 Xray:state / version / ErrorMsg(单行截断) / 面板进程内存与 uptime
    3. 📊 入站健康度:🟢🟡🔴⚪ 计数 + 问题节点列表(最多 10 条)
    4. 📈 流量 Top 5(按 Up+Down 降序)+ 公网 IP
  * 严格本机:完全复用既有 service,零外部 API
  * 失败容忍:任何子模块出错只影响该段
  * 辅助函数(rune-safe 截断、除零保护、多行压成单行)单独可测
- web/service/tgbot.go:
  * answerCommand 新增 case "health" → t.sendCEHealthReport(仅 admin)
  * SetMyCommands 列表加 /health 自动补全条目

测试 (web/service/tgbot_health_test.go):
- TestFormatUptimeSeconds: 10 个 case 覆盖 0/m/h/d 边界
- TestPercentString: 除零保护 + 5 case 边界
- TestTrimMultiline: 多行压成单行 / 头尾 trim / rune 安全截断(中文不乱码)/ maxLen=0 不截断

验证:
- go vet ./... clean
- go build ./... clean
- web/locale TestParseAllTranslationFiles 通过
- web/service 13/13 通过(xeefei#103 + xeefei#104 全部)
hehelove added a commit to hehelove/x-panel-ce that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants