Skip to content

chore(deps): bump @astryxdesign packages 0.2.0 → 0.3.0 - #2288

Merged
Astro-Han merged 3 commits into
apache:mainfrom
Astro-Han:chore/deps-astryx-0.3.0
Aug 5, 2026
Merged

Astro-Han merged 3 commits into
apache:mainfrom
Astro-Han:chore/deps-astryx-0.3.0

Conversation

@Astro-Han

Copy link
Copy Markdown
Contributor

升级内容

@astryxdesign/core / @astryxdesign/cli / @astryxdesign/theme-neutral 0.2.0 → 0.3.0(root、@maka/ui、@maka/desktop 三处 manifest + lockfile)。

patch 处理(patches/)

旧 @astryxdesign+core+0.2.0.patch 按 guard 测试拆分:

breaking change 适配

  • DropdownMenuRadioGroup 的 aria-label → label(0.3.0 必填化),permission-mode-menu.tsx 一处;
  • astryx upgrade --from 0.2.0 codemod dry-run(desktop + ui 两个 src)均报 No changes needed。

主题产物

astryx:theme 重新生成。唯一可见变化:--color-text-secondary 亮色值 #737373 → #525252(0.3.0 的 WCAG 对比度保证,约 4.6:1 → 7:1)。生成头新增 CLI/Core 版本戳。

验证

  • npm ci 从头安装:新 patch 正常应用;
  • @maka/ui 测试 414/414(含两个 patch guard);
  • new-messages-indicator e2e 2/2(ChatLayout patch 在 0.3.0 上行为正确);
  • typecheck(全部 workspace)、lint、format:check、完整 build 全绿;
  • desktop main 测试失败集 ⊆ main 上 0.2.0 的失败集(零升级回归;剩余失败为 repo 嵌套路径 + macOS TMPDIR 符号链接的环境问题,主 checkout 同样失败)。

注记

  • 生成的 maka.css 头部戳 Core: @astryxdesign/[email protected] 是 astryx theme build 生成器的版本解析怪癖,纯注释,不影响运行;
  • 0.3.0 的 Timestamp relative_short 格式与可复制 hover card(面向 chat metadata)尚未使用——留给消息底部 tooltip/元信息重设计单独做。

- core/cli/theme-neutral 0.2.0 → 0.3.0 (root, @maka/ui, @maka/desktop)
- Drop the FieldLabel + en.json patch hunks: upstream shipped the same
  i18n fix in 0.3.0 (astryx apache#4508); astryx-form-controls-localization
  guard passes unpatched
- Rebuild patches/@astryxdesign+core+0.3.0.patch for the still-needed
  fixes: ChatLayout conversationKey/new-message reset (apache#2205) and List
  aria-label forwarding (apache#2189); guard tests + new-messages-indicator
  e2e pass against 0.3.0
- Adapt DropdownMenuRadioGroup to the required label prop
  (permission-mode-menu.tsx)
- Regenerate astryx theme artifacts: version stamps plus
  --color-text-secondary light value #737373 → #525252 (WCAG contrast
  guarantee); astryx upgrade dry-run reports no further changes
The 0.3.0 tarball omits the repository LICENSE like 0.1.9/0.2.0 did, so
the third-party notices generator requires an exact-version override;
regenerate THIRD_PARTY_NOTICES.txt for the bumped core and theme-neutral.
@Astro-Han
Astro-Han marked this pull request as ready for review August 5, 2026 19:31
@Astro-Han
Astro-Han merged commit 0362742 into apache:main Aug 5, 2026
13 checks passed
@Astro-Han
Astro-Han deleted the chore/deps-astryx-0.3.0 branch August 5, 2026 19:42
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.

1 participant