跳到主内容
@wquguru
精选88GitHub Changelog云与平台

GitHub Enterprise Server 3.23 RC:OAuth Token 默认过期

GitHub Enterprise Server 3.23 release candidate

原文
发到 X
推荐理由

OAuth 默认开启 Token 过期是破坏性变更,不升级客户端会导致登录失败,请相关开发者立即适配 Refresh Token 机制。

GitHub Enterprise Server (GHES) 3.23 is now available and introduces new capabilities across the platform. Here are a few highlights in the 3.23 release:

GitHub Enterprise Server (GHES) 3.23 现已发布,为平台引入了新功能。以下是 3.23 版本的一些亮点:

  • When working in GitHub Projects, you can create more precise project views by combining filters with logical OR, explicit AND, and parentheses for grouping. For example, (status:Done OR status:Todo) is:issue shows issues with either status.
  • If your enterprise uses GitHub Secret Protection, you can detect unstructured secrets entirely within your network using AI secret detection on GHES, including in air-gapped environments. A self-contained, fine-tuned model runs on the appliance’s CPU without a GPU, hosted LLM, or outbound connection. This feature is in public preview and subject to change.
  • As a developer, you can identify known malicious packages in PyPI, Maven, RubyGems, NuGet, Go, Rust, and Composer through the GitHub Advisory Database, in addition to npm. The database automatically ingests malware advisories from OpenSSF’s malicious-packages repository to expand coverage across these ecosystems.
  • By default, Dependabot waits until a package version has been available on its registry for at least three days before opening a version update pull request. This cooldown gives maintainers and the community more time to detect and report compromised or buggy releases before users merge updates.
  • As an OAuth app developer, you can limit token lifetimes by using access tokens that expire after eight hours and refresh tokens to obtain new access tokens. Token expiration is opt-in for existing OAuth apps and the default for newly created apps. You can request expiring tokens with scope=offline_access during authorization for testing and gradual rollout, or require expiration in your app registration. Before requiring expiration, you must update all clients to request, store, and use refresh tokens to avoid breaking sign-in for clients that do not support them. This feature is in public preview and subject to change.
  • In your GHES cluster, you can now move the Redis primary from a node that also runs other services, such as MySQL, to a dedicated node. Redis then uses the dedicated node’s resources and data volume rather than sharing them with those services. This procedure does not attach a new disk to an existing node or use an external Redis service.
  • 在使用 GitHub Projects 时,你可以通过将过滤器与逻辑 OR、显式 AND 以及用于分组的括号相结合,创建更精确的项目视图。例如,(status:Done OR status:Todo) is:issue 会显示状态为 Done 或 Todo 的 Issue。
  • 如果你的企业使用了 GitHub Secret Protection,你可以完全在内部网络中使用 GHES 上的 AI 秘密检测功能来检测非结构化秘密,包括在物理隔离环境中。一个自包含的微调模型在设备的 CPU 上运行,无需 GPU、托管 LLM 或出站连接。此功能处于公开预览阶段,可能会发生变化。
  • 作为开发者,除了 npm 之外,你还可以透过 GitHub Advisory Database 识别 PyPI、Maven、RubyGems、NuGet、Go、Rust 和 Composer 中的已知恶意软件包。该数据库会自动从 OpenSSF 的 malicious-packages 仓库摄取恶意软件公告,以扩大对这些生态系统的覆盖范围。
  • 默认情况下,Dependabot 会在包版本在其注册表中至少存在三天后,才打开版本更新拉取请求。这段冷却期让维护者和社区有更多时间来检测和报告被篡改或有缺陷的版本,然后用户才会合并这些更新。
  • 作为 OAuth 应用开发者,你可以使用过期时间为八小时的访问令牌和用于获取新访问令牌的刷新令牌来限制令牌的生命周期。对于现有的 OAuth 应用,令牌过期是可选的;而对于新创建的应用,则是默认设置。你可以在授权期间使用 scope=offline_access 请求过期令牌,以便进行测试和逐步推广,或者在你的应用注册中要求令牌过期。在要求令牌过期之前,你必须更新所有客户端以请求、存储和使用刷新令牌,以避免破坏不支持刷新令牌的客户端的登录功能。此功能处于公开预览阶段,可能会发生变化。
  • 在你的 GHES 集群中,现在可以将 Redis 主节点从同时运行其他服务(如 MySQL)的节点移动到专用节点。Redis 随后将使用该专用节点的资源及数据卷,而不是与这些服务共享它们。此过程不会向现有节点附加新磁盘,也不会使用外部 Redis 服务。

Release candidates let you try the latest features early and share feedback before general availability. To learn more, see About upgrades to new releases and the GHES 3.23 release notes. To get started, download the GHES 3.23 release candidate.

发布候选版本可让您提前试用最新功能,并在正式发布前分享反馈。如需了解更多,请参阅有关升级到新版本的内容以及 GHES 3.23 发行说明。要开始使用,请下载 GHES 3.23 发布候选版本。

If you have feedback or questions about the release candidate, contact GitHub Support.

如果您对发布候选版本有反馈或问题,请联系 GitHub 支持。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件