Repository navigation
release: 0.12.0 / release 0.12.0 - #189
Merged
Merged
Conversation
…0 的页面,Armadra v0.12.0 先于本仓标签发布)
…与 secret、PASSWORD_AUTH、push profile 前提)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要 / Summary
发版 0.12.0,与 Armadra、armadra-agent 统一版本。本 PR 只改版本号与更新记录;合并与打标签由维护者决定。
Release 0.12.0, unified with Armadra and armadra-agent. This PR only bumps versions and the changelog; merging and tagging are up to the maintainer.
release:cloud 各包(11 个package.json,apps/cloud已随 [Feature] 删除已被 Go 取代的 TypeScript 控制面 apps/cloud / Remove the TypeScript control plane apps/cloud replaced by Go #177 删除)与协议包@armadra/platform-protocol升到 0.12.0;两份 OpenAPI 的info.version由pnpm contract:generate重新生成;Workers 中继/health测试里的版本跟上。协议仍是 1.4,PROTOCOL_VERSION与两个MIN_CORE_VERSION_*不动。0.11.0 之后的第三方登录补充(能力位auth.oauth.github/auth.oauth.google、auth.register等错误表补forbidden、auth.oauthFinish加registrations_paused且会话分支多可选csrfToken)都是只加不改,meta.ts的说明记为随协议包 0.12.0 发布(没有新 procedure,所以没有新的since常量);契约 §29 的「协议包下一版起」改为「协议包 0.12.0 起」。go generate后 Go 生成物无变化。All 11 cloud
package.jsonfiles (apps/cloudwas removed in [Feature] 删除已被 Go 取代的 TypeScript 控制面 apps/cloud / Remove the TypeScript control plane apps/cloud replaced by Go #177) and@armadra/platform-protocolmove to 0.12.0; both OpenAPI versions regenerated withpnpm contract:generate; the Workers/healthtest follows. Protocol stays 1.4;PROTOCOL_VERSIONand bothMIN_CORE_VERSION_*are untouched. The third-party sign-in supplements since 0.11.0 (capability bitsauth.oauth.github/google,forbiddenin the register error tables,registrations_pausedand an optionalcsrfTokenonauth.oauthFinish) are additive-only;meta.tsrecords them as shipping with protocol package 0.12.0 (no new procedures, hence no newsinceconstant), and contract §29 changes "next protocol package" to "protocol package 0.12.0". No Go generated changes.build(deploy):deploy/compat.json的web0.11.0 → 0.12.0。release.yml用它作armadra-cloud镜像的WEB_IMAGE(armadra-server:<web>),所以 Armadra v0.12.0 必须先于本仓标签发布。protocol不变。webindeploy/compat.jsongoes 0.11.0 → 0.12.0.release.ymluses it asWEB_IMAGE(armadra-server:<web>), so Armadra v0.12.0 must be released before this repository's tag.protocolis unchanged.docs(changelog):Unreleased 改为0.12.0(2026-11-02),「变更」开头加中英发版概要(统一版本、第三方登录与控制台回跳路由修复、Workers 中继撤销缓存修复、可选推送中继)与不兼容 / 部署注意(迁移 0011、OAuth 变量与 secret、PASSWORD_AUTH、--profile push前提等);小节顺序对齐 0.11.0(新增、变更、修复、移除)。Unreleased becomes
0.12.0 (2026-11-02); a bilingual release summary and incompatibility / deployment notes are added at the top of Changed; section order now matches 0.11.0.本地检查 / Local checks
私有仓库 Actions 额度不可用,CI 不会跑,以下为本地结果(无 PostgreSQL / Redis / mailpit 容器,依赖它们的测试按仓库约定跳过):
Actions budget is unavailable, so CI will not run; local results (no PostgreSQL / Redis / mailpit containers, tests that need them skip as the repo specifies):
pnpm install --frozen-lockfile:通过 / okpnpm check(libs:build、format、lint、typecheck、repo:check、contract:check、protocol:check、ci:workflows、notices:check):通过 / okpnpm go:check(gofmt、vet、staticcheck、go test -race、生成物新鲜度):通过 / okpnpm repo:test:59 / 59pnpm test:全部通过(协议包 368、relay-kernel 80、control-core 66、relay-runtime-workers 61、control-store-sqlite 49 等)/ all passpnpm test:integration、pnpm images:build、pnpm e2e。发版时还要做 / Release steps for the maintainer
ghcr.io/ama-link/armadra-server:0.12.0与ghcr.io/ama-link/armadra-push-relay:0.12.0已推送(不存在时本仓release.yml构建 cloud 镜像会失败,推送中继服务也拉取不到)。Release Armadra v0.12.0 first and make sure
armadra-server:0.12.0andarmadra-push-relay:0.12.0are pushed (the cloud image build fails otherwise, and the push-relay service cannot be pulled).v0.12.0标签;release.yml构建、冒烟并推送镜像,用 CHANGELOG 的 0.12.0 一节建 Release。Merge (merge commit), push tag
v0.12.0;release.ymlbuilds, smoke-tests and pushes the images and creates the Release from the 0.12.0 changelog section.pnpm protocol:pack),由维护者执行。Publishing the protocol package, if wanted, is a maintainer step.
sh init-secrets.sh补 OAuth 的两个 secret 文件(compose 已声明);第三方登录与--profile push都是可选的,不配则行为不变。SaaS upgrade: back up before migration 0011; existing deployments re-run
sh init-secrets.shfor the two OAuth secret files (declared in compose); third-party sign-in and--profile pushare optional and change nothing if left off.Refs #60
Refs #184
Refs #187