Releases: ant-design/x
Releases · ant-design/x
2.2.0
@ant-design/x
- Sender
- XProvider
- 🐛 Fixed forced
antddependency onespath causing Node environment build errors. #1645 by kimteayon - 🐛 Fixed ThoughtChain layout causing animation stuttering. #1641 by IsDyh01
- 🐛 Fixed Think layout causing animation stuttering. #1636 by IsDyh01
- 🐛 Fixed Sources setting position but unable to locate content issue. #1683 by kimteayon
- 🐛 Fixed Bubble.List internal height change scrollbar change error issue. #1690 by anxLiang
- 🆕 Added Mermaid settings initialization configuration and operation bar functionality. #1631 by Div627
- 🆕 Added Attachments card type setting capability. #1610 by kimteayon
@ant-design/x-sdk
- 🆕 XRequest added reconnection capability. #1629 by hylin
- 🆕 XRequest and XStream support stream data parsing with configurable delimiters
streamSeparator,partSeparator,kvSeparator, while adding polyfill for TextDecoderStream to improve compatibility, and fixing the issue where undefined values were added to stream results. #1611 by kimteayon
@ant-design/x-markdown
- 🆕 Enhanced XMarkdown parser to support custom components with placeholder protection. #1668 by yanghuanrong
- 🆕 Added XMarkdown performance benchmarking capability for streaming Markdown rendering based on Playwright Component Testing. #1314 by Div627
- 🆕 Added XMarkdown streaming syntax support for inline code caching. #1630 by Div627
Others
- 📖 Optimized official website to improve user experience. #1675 by hongxuWei, #1644 by kimteayon, #1658 by kimteayon, #1646 by kimteayon, #1651 by kimteayon, #1650 by Div627, #1635 by IsDyh01, #1627 by Alexzjt, #1615 by Yx0201
@ant-design/x
- Sender
- XProvider
- 🐛 修复强制
antd依赖es路径导致 Node 环境构建报错问题。#1645 由 kimteayon 提交 - 🐛 修复 ThoughtChain 布局导致动画卡顿问题。#1641 由 IsDyh01 提交
- 🐛 修复 Think 布局导致动画卡顿问题。#1636 由 IsDyh01 提交
- 🐛 修复 Sources 设置了位置但无法定位内容问题。 #1683 由 kimteayon 提交
- 🐛 修复 Bubble.List 内部高度变化滚动条变化错误问题。#1690 由 anxLiang 提交
- 🆕 新增 Mermaid 设置初始化配置和操作栏功能。#1631 由 Div627 提交
- 🆕 新增 Attachments 设置卡片类型能力。#1610 由 kimteayon 提交
@ant-design/x-sdk
- 🆕 XRequest 新增重连接能力。#1629 由 hylin 提交
- 🆕 XRequest 和 XStream 支持流数据解析引入了可配置的分隔符
streamSeparator、partSeparator、kvSeparator能力,同时为 TextDecoderStream 添加了 polyfill 以提高兼容性,修复了 undefined 值被添加到流结果中的问题。 #1611 由 kimteayon 提交
@ant-design/x-markdown
- 🆕 增强 XMarkdown 解析器,使其支持带占位符保护的自定义组件。#1668 由 yanghuanrong 提交
- 🆕 新增 XMarkdown 基于 Playwright Component Testing 实现流式 Markdown 渲染的性能基准测试能力。#1314 由 Div627 提交
- 🆕 新增 XMarkdown 流式语法对行内代码缓存的功能。#1630 由 Div627 提交
其他
2.1.2
@ant-design/x
- 💄 Fixed Actions
dislikedclassName error issue. #1521 by kimteayon - Sender
- 🛠 Overall refactoring of Sender component implementation, while fixing some detailed cursor issues. #1515 #1548 by kimteayon
- 💄 Fixed Sender component actions style conflict with antd Button causing rendering errors. #1535 by kimteayon
- 🐛 Fixed the issue where cursor was too small when placeholder was empty in slot mode
skill. #1537 by kimteayon - 🐛 Fixed the issue where undo stack was not updated when pasting text. #1527 by Chiaki-xps
- 🐛 Removed Bubble.List automatic scrolling to bottom logic for new messages, changed to manual control. #1548 by anxLiang
- 💄 Fixed Prompts component animation demo not working issue. #1580 by kimteayon
- 🐛 Fixed Actions.Feedback tooltip display anomaly issue. #1591 by kimteayon
- 🐛 Fixed Attachments calling
ref.select()error when no parameters passed. #1587 by kimteayon - 🐛 Fixed FileCard
overflowdisplay button not updating issue, and Image display failure when nosrcin image display. #1587 by kimteayon
@ant-design/x-sdk
- 🐛 Fixed XChat unable to remotely load historical messages issue. #1593 by kimteayon
- 🐛 Fixed OpenAIChatProvider and DeepSeekChatProvider non-streaming requests rendering content twice issue. #1593 by kimteayon
@ant-design/x-markdown
Others
- 🛠 Overall dependency refactoring and upgrade. #1448 by yoyo837
- 📖 Optimized official website to improve user experience. #1508 by kimteayon, #1516 by kimteayon, #1529 by fireairforce, #1549 by kimteayon, #1551 by Chiaki-xps, #1553 by Chiaki-xps, #1555 by Chiaki-xps, #1543 by IsDyh01, #1558 by Chiaki-xps, #1557 by Chiaki-xps, #1562 by hustcc, #1569 by kimteayon, #1561 by Chiaki-xps, #1584 by kimteayon, #1581 by teimurjan
@ant-design/x
- 💄 修复 Actions
disliked类名错误问题。#1521 由 kimteayon 提交 - Sender
- 🐛 移除 Bubble.List 新消息自动滚动到最底部的逻辑,改为手动控制。#1548 由 anxLiang 提交
- 💄 修复 Prompts 组件动画演示不生效问题。 #1580 由 kimteayon 提交
- 🐛 修复 Actions.Feedback tooltip 展示异常问题。#1591 由 kimteayon 提交
- 🐛 修复 Attachments 调用
ref.select()未传参数时报错问题 #1587 由 kimteayon 提交 - 🐛 修复 FileCard
overflow展示时按钮未更新问题,以及图片展示时无src导致 Image 展示失败问题。 #1587 由 kimteayon 提交
@ant-design/x-sdk
- 🐛 修复 XChat 无法远程加载历史消息问题。#1593 由 kimteayon 提交
- 🐛 修复 OpenAIChatProvider 和 DeepSeekChatProvider 非流式请求渲染了两次内容问题。#1593 由 kimteayon 提交
@ant-design/x-markdown
其他
- 🛠 整体的依赖重构升级。#1448 由 yoyo837 提交
- 📖 优化官网站点提升用户体验。#1508 由 kimteayon 提交、#1516 由 kimteayon 提交、#1529 由 fireairforce 提交、#1549 由 kimteayon 提交、#1551 由 Chiaki-xps 提交、#1553 由 Chiaki-xps 提交、#1555 由 Chiaki-xps 提交、#1543 由 IsDyh01 提交、#1558 由 Chiaki-xps 提交、#1557 由 Chiaki-xps 提交、#1562 由 hustcc 提交、#1569 由 kimteayon 提交、#1561 由 Chiaki-xps 提交、#1584 由 kimteayon 提交、#1581 由 teimurjan 提交
2.1.1
@ant-design/x
- Sender
- 🐛 Fixed the issue where send shortcuts enter and shift + enter were not controlled by the disabled state of the submit button, and fixed the inconsistency between
onSubmitshortcut keys and button parameters. #1472 by @kimteayon - 🐛 Fixed the missing
skillparameter inonChange, fixed the issue where placeholder was not displayed when slot mode only showed skill capabilities, and refactoredonChangelogic. #1477 by @kimteayon - 🐛 Fixed the issue where send shortcuts enter and shift + enter were not triggered when
inputtype slot was activated and focused in slot mode. #1498 by @kimteayon
- 🐛 Fixed the issue where send shortcuts enter and shift + enter were not controlled by the disabled state of the submit button, and fixed the inconsistency between
- Attachment
- 🐛 Fixed the issue where the last file was not uploaded after setting
maxCount. #1486 by @kimteayon - 🐛 Fixed the antd warning issue after uploading images. #1492 by @kimteayon
- 🐛 Fixed the issue where the last file was not uploaded after setting
- 🐛 Fixed Mermaid rendering jitter issue. #1497 by @kimteayon
- 📖 Optimized official website to improve user experience. #1464 by @IsDyh01, #1483 by @Chiaki-xps, #1463 by @J-Da-Shi, #1489 by @Chiaki-xps, #1499 by @kimteayon, #1500 by @kimteayon, #1501 by @Samoy
- 🛠 Modified dependency configuration for
mermaid. #1475 by @Div627
@ant-design/x-sdk
- 🐛 Optimized message flow throttling and emission logic to avoid deep update errors caused by high-frequency streaming updates, improving real-time message stability and performance. #1418 by @Afee2019
@ant-design/x-markdown
- 🛠 Optimized
sideEffectsconfiguration. #1408 by @hongxuWei
@ant-design/x
- Sender
- 🐛 修复发送快捷键 enter 和 shift + enter 未受 submit 按钮 disabled 状态控制的问题,修复
onSubmit快捷键和按钮参数不一致问题。 #1472 由 @kimteayon 提交 - 🐛 修复
onChange缺少skill参数问题,修复词槽模式仅展示技能能力时 placeholder 未展示问题,并重构onChange逻辑。#1477 由 @kimteayon 提交 - 🐛 修复词槽模式
input类型词槽激活焦点时发送快捷键 enter 和 shift + enter 未触发问题。#1498 由 @kimteayon 提交
- 🐛 修复发送快捷键 enter 和 shift + enter 未受 submit 按钮 disabled 状态控制的问题,修复
- Attachment
- 🐛 修复设置
maxCount后最后一个文件未上传问题。#1486 由 @kimteayon 提交 - 🐛 修复上传图片后 antd 报警告问题。#1492 由 @kimteayon 提交
- 🐛 修复设置
- 🐛 修复 Mermaid 渲染抖动问题。#1497 由 @kimteayon 提交
- 📖 优化官网站点提升用户体验。#1464 由 @IsDyh01 提交、#1483 由 @Chiaki-xps 提交、#1463 由 @J-Da-Shi 提交、#1489 由 @Chiaki-xps 提交、#1499 由 @kimteayon 提交、#1500 由 @kimteayon 提交、#1501 由 @Samoy 提交
- 🛠 修改对
mermaid的依赖配置。#1475 由 @Div627 提交
@ant-design/x-sdk
@ant-design/x-markdown
- 🛠 优化
sideEffects配置。#1408 由 @hongxuWei 提交
2.1.0
@ant-design/x
- 🐛 Fixed Bubble css token
typingContentconfiguration not taking effect. #1435 by @kimteayon - 🐛 Fixed multiple component style loss issues caused by antd upgrade to 6.0.1. #1441 by @kimteayon, #1446 by @kimteayon
- 🐛 Fixed Bubble.List scrolling compatibility issue in Safari browser. #1392 by @anxLiang
- 🔥 New components HighlightCode and Mermaid. #1402 by @Div627
- 🆕 Added semantic implementation for Actions. #1443 by @kimteayon
- 🆕 Added semantic implementation for Suggestion, removed duplicate Enter trigger events, fixed the issue of
onSubmitmethod being executed multiple times, added complete data return ofselectedOptionstoonSelectmethod, and refactored the option implementation usinguseMergedState. #1406 by @kimteayon - 📖 Optimized official website to improve user experience. #1444 by @kimteayon
- 🆕 Added new slot type
contentand skill functionskillfor Sender. #1377 by @kimteayon
@ant-design/x-sdk
- 🐛 Fixed DeepSeekChatProvider's improper handling of newline characters in
<think>tag format causing XMarkdown rendering anomalies. #1445 by @kimteayon - 🐛 Fixed useXChat
setMessagesmethod call not triggering re-rendering. #1450 by @hylin - 🐛 Fixed missing rc-util dependency declaration. #1456 by @hylin
@ant-design/x-markdown
- 🐛 Replaced useStreaming regex to resolve iOS compatibility issues. #1457 by @Div627
- 📖 Improved documentation to enhance user experience. #1451 by @Div627
- 🛠 Migrated UI plugins HighlightCode and Mermaid to @ant-design/x to achieve more reasonable dependency relationships. #1402 by @Div627
@ant-design/x
- 🐛 修复 Bubble css token
typingContent配置不生效问题。#1435 由 @kimteayon 提交 - 🐛 修复因 antd 升级到 6.0.1 导致多个组件样式丢失问题。#1441 由 @kimteayon 提交、#1446 由 @kimteayon 提交
- 🐛 修复 Bubble.List 在 safari 浏览器滚动兼容性问题。#1392 由 @anxLiang 提交
- 🔥 新组件 HighlightCode 和 Mermaid。#1402 由 @Div627 提交
- 🆕 Actions 新增语义化实现。#1443 由 @kimteayon 提交
- 🆕 Suggestion 新增语义化实现,移除重复的 Enter 触发事件,修复
onSubmit方法多次执行的问题,onSelect方法新增selectedOptions完整数据返回,同时对选项的实现使用useMergedState进行了重构。#1406 由 @kimteayon 提交 - 📖 优化官网站点提升用户体验。#1444 由 @kimteayon 提交
- 🆕 Sender 新的词槽类型
content和技能功能skill。#1377 由 @kimteayon 提交
@ant-design/x-sdk
- 🐛 修复 DeepSeekChatProvider 对
<think>标签格式换行处理不当导致 XMarkdown 格式渲染异常问题。#1445 由 @kimteayon 提交 - 🐛 修复 useXChat
setMessages方法调用未触发渲染问题。#1450 由 @hylin 提交 - 🐛 修复 rc-util 依赖未声明问题。#1456 由 @hylin 提交
@ant-design/x-markdown
2.0.1
@ant-design/x
- 🐛 Fixed multiple component style loss issues caused by antd upgrade to 6.0.1. #1428 by @kimteayon
- 🐛 Fixed antd error when using Attachments component. #1395 by @kimteayon
- 🐛 Fixed Sender component
allowSpeechcustom disable error. #1398 by @kimteayon - 🐛 Fixed missing semantic configuration for Sender.Switch component. #1396 by @kimteayon
- 🛠 Fixed test case failures caused by version upgrades. #1393 by @kimteayon
- 📖 Added 1.x official website links. #1386 by @kimteayon, #1394 by @kimteayon
- 📖 Optimized official website to improve user experience. #1384 by @kimteayon, #1416 by @IsDyh01
@ant-design/x-sdk
- 📖 Comprehensive updates to official website directory, documentation, and examples. #1419 by @kimteayon
- 🐛 Fixed useXChat
requestFallbackadding errorInfo parameter to resolve inability to get API error data. #1419 by @kimteayon
@ant-design/x-markdown
- 🐛 Fixed HighlightCode plugin copy code error. #1414 by @Jimi1126
- 🐛 Fixed XMarkdown rendering special characters failure. #1413 by @Div627
- 🐛 Fixed XMarkdown cache reset logic not taking effect due to old references. #1420 by @Div627
@ant-design/x
- 🐛 修复因 antd 升级到 6.0.1 导致多个组件样式丢失问题。#1428 由 @kimteayon 提交
- 🐛 修复 Attachments 组件使用时 antd 报错问题。#1395 由 @kimteayon 提交
- 🐛 修复 Sender 组件
allowSpeech自定义时 disable 错误问题。#1398 由 @kimteayon 提交 - 🐛 修复 Sender.Switch 组件语义化配置缺失问题。#1396 由 @kimteayon 提交
- 🛠 修复因版本升级导致的测试用例失败。#1393 由 @kimteayon 提交
- 📖 新增 1.x 官网链接。#1386 由 @kimteayon 提交、#1394 由 @kimteayon 提交
- 📖 优化官网站点提升用户体验。#1384 由 @kimteayon 提交、#1416 由 @IsDyh01 提交
@ant-design/x-sdk
- 📖 官网目录、文档、示例全面更新。#1419 由 @kimteayon 提交
- 🐛 修复 useXChat
requestFallback新增 errorInfo 参数解决无法获取接口错误数据问题。#1419 由 @kimteayon 提交
@ant-design/x-markdown
2.0.0
🏆 Ant Design X 2.0.0 has been released!
- A React UI library based on the Ant Design system, specifically designed for AI-driven interfaces. It includes ready-to-use intelligent chat components and seamless integration with API services, enabling rapid development of smart application interfaces.
- A Markdown rendering solution optimized for streaming content, featuring robust extensibility and exceptional performance with support for formulas, code highlighting, Mermaid diagrams, and more, ensuring a seamless content display experience.
- Provide a complete set of tool APIs, out-of-the-box AI chat application data flow management, simplify development processes, and enhance development efficiency.
Upgrade Required
🌟 We have prepared an upgrade guide. Please check the details.
🏆 Ant Design X 2.0.0 已发布!
- 基于 Ant Design 设计体系的 React UI 库、专为 AI 驱动界面设计,开箱即用的智能对话组件、无缝集成 API 服务,快速搭建智能应用界面。
- 专为流式内容优化的 Markdown 渲染解决方案、强大的扩展能力,支持公式、代码高亮、mermaid 图表等极致性能表现,确保流畅的内容展示体验。
- 提供完整的工具 API 集合、开箱即用的 AI 对话应用数据流管理、简化开发流程,提升开发效率。
升级必读
🌟 我们准备了升级文档,查看详情。
2.0.0-alpha.9
Merge branch 'next' of https://github.com/ant-design/x into next-alpha
1.6.1
- 🐛 Fixed ThoughtChain component
titlecould not display the collapsed title when passingReactNode. #1172 by @IsDyh01. - 🐛 Fixed Sender component
LoadingButtonwould display two icons when theiconproperty is passed. #1145 by @IsDyh01. - 🐛 Fixed semantic loss in Sender component
content. #703 by @HomyeeKing. - 🐛 Removed redundant condition checks in Bubble component typing effect prefix logic. #1091 by @AqingCyan.
- 🐛 Fixed missing
updatingstatus in useXChat. #833 by @wzc520pyfm. - 🐛 Fixed the exception in Suggestion component when items is an empty array in
useActive. #824 by @LengYXin. - 📖 Improved the official site for better user experience. #960 by @wzc520pyfm, #1048 by @wzc520pyfm, #1118 by @afc163, #1122 by @fireairforce, #1120 by @IsDyh01.
- 🐛 修复 ThoughtChain 组件
title传入ReactNode时折叠标题无法显示问题。#1172 由 @IsDyh01 提交。 - 🐛 修复 Sender 组件
LoadingButton传入icon属性时同时显示两个图标问题。#1145 由 @IsDyh01 提交。 - 🐛 修复 Sender 组件
content语义化缺失问题。#703 由 @HomyeeKing 提交。 - 🐛 移除 Bubble 组件打字效果公共前缀逻辑中的冗余条件判断。#1091 由 @AqingCyan 提交。
- 🐛 修复 useXChat
updating状态缺失问题。#833 由 @wzc520pyfm提交。 - 🐛 修复 Suggestion 组件
useActive中 items 为空数组导致的异常。#824 由 @LengYXin 提交。 - 📖 优化官网站点提升用户体验。#960 由 @wzc520pyfm 提交、#1048 由 @wzc520pyfm 提交、#1118 由 @afc163 提交、#1122 由 @fireairforce 提交、#1120 由 @IsDyh01 提交。
2.0.0-alpha.6
chore: Changelog of 2.0.0-alpha.6