Skip to content

Commit ea0ac7b

Browse files
authored
Merge pull request #1960 from ant-design/changelog
chore: changelog of 2.8.1
2 parents 1c4500e + 365c7e4 commit ea0ac7b

33 files changed

Lines changed: 94 additions & 106 deletions

File tree

CHANGELOG.en-US.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,52 @@ tag: vVERSION
1616

1717
---
1818

19+
## 2.8.1
20+
21+
`2026-06-30`
22+
23+
### @ant-design/x
24+
25+
- 🆕 Added `useMobile` hook, providing an SSR-safe way to detect mobile devices. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
26+
- 💄 Actions Feedback no longer renders Tooltip on mobile devices to avoid interaction interference. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
27+
- 💄 Conversations now always shows the menu icon on mobile devices (no hover state on mobile). [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
28+
- 🐛 Improved click responsiveness for Actions, Conversations and other components on mobile by adding `touch-action: manipulation` to eliminate the 300ms click delay. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
29+
- 🐛 Fix Sources CarouselCard not syncing its carousel index when the controlled `activeKey` changes; the left/right buttons now jump precisely via `goTo` and edge-button no-ops are fixed. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
30+
- 🐛 Fix Sender speech input (useSpeech) not cleaning up SpeechRecognition on unmount, which caused state updates on an unmounted component. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
31+
- 🐛 Fix CodeHighlighter not calling `registerLanguage` after async language loading, which prevented syntax highlighting from working; also fix the code block background not stretching fully during horizontal scroll. [#1945](https://github.com/ant-design/x/pull/1945) by [Mickey](https://github.com/Mickey)
32+
33+
### Others
34+
35+
- 📖 Improve site page title composition: separate subtitle and title with a space to avoid concatenated wording. [#1959](https://github.com/ant-design/x/pull/1959) by [Mickey](https://github.com/Mickey)
36+
37+
## 2.8.0
38+
39+
`2026-06-08`
40+
41+
### @ant-design/x
42+
43+
- 🆕 Folder component adds a right-click context menu. [#1919](https://github.com/ant-design/x/pull/1919) by [Mickey](https://github.com/Mickey)
44+
- 🐛 Fix FileCard.List scroll button state not refreshing when items update. [#1914](https://github.com/ant-design/x/pull/1914) by [Ryker_Feng](https://github.com/18062706139fcz)
45+
- 🐛 Fix Sender runtime-inserted slots being cleared when the slotConfig ref changes. [#1900](https://github.com/ant-design/x/pull/1900) by [pikanohup](https://github.com/hooraypikachu)
46+
- 🐛 Fix design token type coercion before arithmetic operations. [#1910](https://github.com/ant-design/x/pull/1910) by [Div627](https://github.com/Div627)
47+
48+
### @ant-design/x-markdown
49+
50+
- 🆕 Added `disableDefaultStyles` prop to opt out of default tag styles. [#1909](https://github.com/ant-design/x/pull/1909) by [Div627](https://github.com/Div627)
51+
- 🐛 Fix incorrect parsing of newlines inside custom tags. [#1896](https://github.com/ant-design/x/pull/1896) by [ryker](https://github.com/2279549769)
52+
- 🐛 Fix layout jank when the initial streaming output is non-streaming. [#1917](https://github.com/ant-design/x/pull/1917) by [Waiter](https://github.com/Waiter)
53+
- 🐛 Fix DOMPurify erroring in SSR environments. [#1917](https://github.com/ant-design/x/pull/1917) by [Div627](https://github.com/Div627)
54+
- 🐛 Fix incomplete newline protection logic inside custom tags. [#1920](https://github.com/ant-design/x/pull/1920) by [18062706139fcz](https://github.com/18062706139fcz)
55+
56+
### @ant-design/x-sdk
57+
58+
- 📖 Fix Chat Provider caching issue in x-conversations demos by using useRef to keep the provider instance stable. [#1925](https://github.com/ant-design/x/pull/1925) by [Ryker_Feng](https://github.com/18062706139fcz)
59+
60+
### Others
61+
62+
- 📖 Fix outdated type name in the Prompts API documentation. [#1915](https://github.com/ant-design/x/pull/1915) by [Ryker_Feng](https://github.com/18062706139fcz)
63+
- 🛠 Pin dumi version to 2.4.28. [#1922](https://github.com/ant-design/x/pull/1922)
64+
1965
## 2.7.0
2066

2167
`2026-04-30`

CHANGELOG.zh-CN.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ tag: vVERSION
1515

1616
---
1717

18+
## 2.8.1
19+
20+
`2026-06-30`
21+
22+
### @ant-design/x
23+
24+
- 🆕 新增 `useMobile` Hook,提供 SSR 安全的移动端设备检测能力。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
25+
- 💄 Actions 的反馈(Feedback)在移动端不再展示 Tooltip,避免移动设备上的交互干扰。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
26+
- 💄 Conversations 在移动端常驻显示菜单图标(移动端无 hover 态)。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
27+
- 🐛 优化 Actions、Conversations 等组件在移动端的点击响应,通过 `touch-action: manipulation` 消除 300ms 点击延迟。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
28+
- 🐛 修复 Sources 的 CarouselCard 在受控 `activeKey` 切换时轮播索引不同步的问题,左右切换按钮改用 `goTo` 精确跳转并修复边界点击无效的问题。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
29+
- 🐛 修复 Sender 语音输入(useSpeech)在组件卸载后未清理 SpeechRecognition,导致对已卸载组件进行状态更新的问题。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
30+
- 🐛 修复 CodeHighlighter 异步加载语言后未调用 `registerLanguage` 导致语法高亮不生效的问题,并修复代码块横向滚动时背景色未撑满的问题。[#1945](https://github.com/ant-design/x/pull/1945)[Mickey](https://github.com/Mickey) 提交
31+
32+
### 其他
33+
34+
- 📖 优化站点页面标题拼接逻辑,subtitle 与 title 之间以空格分隔,避免标题文案粘连。[#1959](https://github.com/ant-design/x/pull/1959)[Mickey](https://github.com/Mickey) 提交
35+
1836
## 2.8.0
1937

2038
`2026-06-08`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "x-mono",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"private": true,
55
"scripts": {
66
"presite": "npm run prestart --workspaces",

packages/x-card/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/x-card",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"description": "React card loader for dynamic content loading and management",
55
"keywords": [
66
"A2UI",

packages/x-card/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This file is auto generated by npm run version
2-
export default '2.8.0';
2+
export default '2.8.1';

packages/x-markdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/x-markdown",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"scripts": {
55
"compile": "father build",
66
"tsc": "tsc --noEmit",

packages/x-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/x-sdk",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"homepage": "https://x.ant.design/x-sdks/introduce",
55
"bugs": {
66
"url": "https://github.com/ant-design/x/issues"

packages/x-skill/.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"metadata": {
44
"description": "Ant Design X intelligent agent skills collection",
55
"descriptionZh": "Ant Design X 智能技能库,提供完整的 AI 对话应用开发技能",
6-
"version": "2.8.0",
6+
"version": "2.8.1",
77
"author": "Ant Design X Team",
88
"homepage": "https://github.com/ant-design/x",
99
"repository": {

packages/x-skill/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/x-skill",
3-
"version": "2.8.0",
3+
"version": "2.8.1",
44
"description": "CLI tool for installing AI skills to development tools like Claude, Cursor, etc.",
55
"homepage": "https://x.ant.design/x-skills/introduce",
66
"bugs": {

packages/x-skill/skills-zh/use-x-chat/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: use-x-chat
3-
version: 2.8.0
3+
version: 2.8.1
44
description: 专注讲解如何使用 useXChat Hook,包括自定义 Provider 的集成、消息管理、错误处理、多会话管理等
55
---
66

0 commit comments

Comments
 (0)