Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: ant-design/x

2.2.0

26 Jan 10:09
85d9416

Choose a tag to compare

@ant-design/x

  • Sender
    • 🐛 Fixed cursor insertion position error when cursor is at skill position. #1633 by IsDyh01
    • 🛠 Refactored node insertion position capability and rewrote test cases. #1612 by kimteayon
  • XProvider
  • 🐛 Fixed forced antd dependency on es path 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


@ant-design/x

  • Sender
    • 🐛 修复光标在技能位置时插入位置错误问题。#1633IsDyh01 提交
    • 🛠 重构插入节点位置能力,同时重写测试用例。#1612kimteayon 提交
  • XProvider
  • 🐛 修复强制 antd 依赖 es 路径导致 Node 环境构建报错问题。#1645kimteayon 提交
  • 🐛 修复 ThoughtChain 布局导致动画卡顿问题。#1641IsDyh01 提交
  • 🐛 修复 Think 布局导致动画卡顿问题。#1636IsDyh01 提交
  • 🐛 修复 Sources 设置了位置但无法定位内容问题。 #1683kimteayon 提交
  • 🐛 修复 Bubble.List 内部高度变化滚动条变化错误问题。#1690anxLiang 提交
  • 🆕 新增 Mermaid 设置初始化配置和操作栏功能。#1631Div627 提交
  • 🆕 新增 Attachments 设置卡片类型能力。#1610kimteayon 提交

@ant-design/x-sdk

  • 🆕 XRequest 新增重连接能力。#1629hylin 提交
  • 🆕 XRequest 和 XStream 支持流数据解析引入了可配置的分隔符 streamSeparatorpartSeparatorkvSeparator 能力,同时为 TextDecoderStream 添加了 polyfill 以提高兼容性,修复了 undefined 值被添加到流结果中的问题。 #1611kimteayon 提交

@ant-design/x-markdown

  • 🆕 增强 XMarkdown 解析器,使其支持带占位符保护的自定义组件。#1668yanghuanrong 提交
  • 🆕 新增 XMarkdown 基于 Playwright Component Testing 实现流式 Markdown 渲染的性能基准测试能力。#1314Div627 提交
  • 🆕 新增 XMarkdown 流式语法对行内代码缓存的功能。#1630Div627 提交

其他

2.1.2

30 Dec 10:11
85e1788

Choose a tag to compare

@ant-design/x

  • 💄 Fixed Actions disliked className 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 overflow display button not updating issue, and Image display failure when no src in 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

  • 💄 Fixed XMarkdown animation font color error issue. #1531 by Div627

Others


@ant-design/x

  • 💄 修复 Actions disliked 类名错误问题。#1521kimteayon 提交
  • Sender
    • 🛠 整体重构 Sender 组件实现,同时修复一些细节光标问题。#1515 #1548kimteayon 提交
    • 💄 修复 Sender 组件 actions 与 antd Button 样式冲突导致渲染错误问题。#1535kimteayon 提交
    • 🐛 修复词槽模式 skill 情况下 placeholder 为空时光标太小异常的问题。#1537kimteayon 提交
    • 🐛 修复粘贴文字时撤销栈(undo)未更新问题。#1527Chiaki-xps 提交
  • 🐛 移除 Bubble.List 新消息自动滚动到最底部的逻辑,改为手动控制。#1548anxLiang 提交
  • 💄 修复 Prompts 组件动画演示不生效问题。 #1580kimteayon 提交
  • 🐛 修复 Actions.Feedback tooltip 展示异常问题。#1591kimteayon 提交
  • 🐛 修复 Attachments 调用 ref.select() 未传参数时报错问题 #1587kimteayon 提交
  • 🐛 修复 FileCard overflow 展示时按钮未更新问题,以及图片展示时无 src 导致 Image 展示失败问题。 #1587kimteayon 提交

@ant-design/x-sdk

  • 🐛 修复 XChat 无法远程加载历史消息问题。#1593kimteayon 提交
  • 🐛 修复 OpenAIChatProvider 和 DeepSeekChatProvider 非流式请求渲染了两次内容问题。#1593kimteayon 提交

@ant-design/x-markdown

  • 💄 修复 XMarkdown 动画字体颜色错误问题。#1531Div627 提交

其他

2.1.1

10 Dec 14:32
e61e753

Choose a tag to compare

@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 onSubmit shortcut keys and button parameters. #1472 by @kimteayon
    • 🐛 Fixed the missing skill parameter in onChange, fixed the issue where placeholder was not displayed when slot mode only showed skill capabilities, and refactored onChange logic. #1477 by @kimteayon
    • 🐛 Fixed the issue where send shortcuts enter and shift + enter were not triggered when input type slot was activated and focused in slot mode. #1498 by @kimteayon
  • 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 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


@ant-design/x

  • Sender
    • 🐛 修复发送快捷键 enter 和 shift + enter 未受 submit 按钮 disabled 状态控制的问题,修复 onSubmit 快捷键和按钮参数不一致问题。 #1472@kimteayon 提交
    • 🐛 修复 onChange 缺少 skill 参数问题,修复词槽模式仅展示技能能力时 placeholder 未展示问题,并重构 onChange逻辑。#1477@kimteayon 提交
    • 🐛 修复词槽模式 input 类型词槽激活焦点时发送快捷键 enter 和 shift + enter 未触发问题。#1498@kimteayon 提交
  • 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

  • 🐛 优化消息流的节流与发射逻辑,避免高频流式更新导致的深度更新错误,提升实时消息稳定性与性能。#1418@Afee2019 提交

@ant-design/x-markdown

2.1.0

05 Dec 14:18
8d0f477

Choose a tag to compare

@ant-design/x

  • 🐛 Fixed Bubble css token typingContent configuration 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 onSubmit method being executed multiple times, added complete data return of selectedOptions to onSelect method, and refactored the option implementation using useMergedState. #1406 by @kimteayon
  • 📖 Optimized official website to improve user experience. #1444 by @kimteayon
  • 🆕 Added new slot type content and skill function skill for 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 setMessages method 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

  • 🐛 替换 useStreaming 正则解决 ios 兼容性问题。#1457@Div627 提交
  • 📖 完善文档提升用户体验。#1451@Div627 提交
  • 🛠 迁移 UI 插件 HighlightCode 和 Mermaid 到 @ant-design/x 达成更合理的依赖关系。#1402@Div627 提交

2.0.1

03 Dec 13:35
cbb72c9

Choose a tag to compare

@ant-design/x

@ant-design/x-sdk

  • 📖 Comprehensive updates to official website directory, documentation, and examples. #1419 by @kimteayon
  • 🐛 Fixed useXChat requestFallback adding 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

@ant-design/x-sdk

  • 📖 官网目录、文档、示例全面更新。#1419@kimteayon 提交
  • 🐛 修复 useXChat requestFallback 新增 errorInfo 参数解决无法获取接口错误数据问题。#1419@kimteayon 提交

@ant-design/x-markdown

  • 🐛 修复插件 HighlightCode 复制代码错误问题。#1414@Jimi1126 提交
  • 🐛 修复 XMarkdown 渲染特殊字符失败问题。#1413@Div627 提交
  • 🐛 修复 XMarkdown 缓存重置逻辑因旧引用未生效问题。#1420@Div627 提交

2.0.0

22 Nov 02:27
cc84b22

Choose a tag to compare

🏆 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

24 Sep 08:00

Choose a tag to compare

2.0.0-alpha.9 Pre-release
Pre-release
Merge branch 'next' of https://github.com/ant-design/x into next-alpha

1.6.1

12 Sep 07:33
bd067c5

Choose a tag to compare


  • 🐛 修复 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

29 Aug 11:14

Choose a tag to compare

2.0.0-alpha.6 Pre-release
Pre-release
chore: Changelog of 2.0.0-alpha.6

1.6.0

30 Jul 07:16
8e36cbd

Choose a tag to compare

  • 🆕 Attachments component FileCard adds icon and type configuration. #1006 by @kieranwv.
  • 📖 Added documentation and demo for Toolbox Agent integration. #1063 by iamkun-2.
  • 📖 Improved official site for better user experience. #1054 by @hylin, #1056.

  • 🆕 Attachments 组件 FileCard 新增图标和类型的配置能力。#1006@kieranwv 提交。
  • 📖 新增百宝箱智能体接入文档和样板间。#1063iamkun-2 提交。
  • 📖 优化官网站点提升用户体验。#1054@hylin 提交、#1056@hylin 提交。