Skip to content

2.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Feb 08:46
· 132 commits to main since this release
47a81e8

@ant-design/x

  • 🆕 Conversation's onActiveChange callback now returns both the activated item and its key value, while updating useMergedState to useControlledState. #1762 by kimteayon
  • 🐛 Optimized the visual presentation of Sender's disabled state buttons, unified the addition of transparent border handling to ensure consistent appearance across different button variants when disabled. #1751 by Rain120

@ant-design/x-markdown

  • 🆕 XMarkdown adds escapeRawHtml property, allowing users to choose whether to escape raw HTML during rendering. #1769 by Div627
  • 🐛 Fixed XMarkdown rendering when encountering unclosed inline code in lists, ensuring list markers are preserved in special unclosed cases. #1739 by Div627
  • 🐛 Improved parsing of block-level LaTeX formulas, with more tolerant handling of trailing whitespace and indentation, enhancing compatibility with different line ending formats and reducing misjudgment and rendering issues. #1744 by Waiter
  • 🐛 Optimized dark mode CodeHighlighter and Mermaid plugin styling issues. #1766 by menghany

@ant-design/x-sdk

  • 🆕 useXChat adds queueRequest method, implementing initialization message sending for ConversationKey and SessionId. #1761 by kimteayon

@ant-design/x-skill

  • 🆕 Added skill installation commands, simultaneously releasing three skills: use-x-chat, x-chat-provider, and x-request. #1753, #1767 by kimteayon

Others

  • 🛠 Fixed build errors caused by dependency upgrades. #1754 by kimteayon
  • 🛠 Resolved domhandler's ModuleNotFoundError in CodeSandbox preview. #1754 by kimteayon

@ant-design/x

  • 🆕 Conversation 的 onActiveChange 回调现在同时返回被激活的项及其键值,同时更新 useMergedState 为 useControlledState。#1762kimteayon 提交
  • 🐛 优化 Sender 禁用状态按钮的视觉表现,统一添加透明边框处理,确保不同按钮变体在禁用时的外观一致。#1751Rain120 提交

@ant-design/x-markdown

  • 🆕 XMarkdown 新增 escapeRawHtml 属性,允许用户在渲染时选择是否对原始 HTML 进行转义。#1769Div627 提交
  • 🐛 修复 XMarkdown 列表中遇到未闭合行内代码时的渲染,确保列表标记在特殊未闭合情况仍被保留。#1739Div627 提交
  • 🐛 改进了块级 LaTeX 公式的解析,对结尾处的空白与缩进处理更宽容,提升了对不同行尾格式的兼容性,减少误判与渲染问题。#1744Waiter 提交
  • 🐛 优化深色模式 CodeHighlighter,Mermaid 插件样式问题。#1766menghany 提交

@ant-design/x-sdk

  • 🆕 useXChat 新增 queueRequest 方法,实现 ConversationKey 和 SessionId 的初始化消息发送。#1761kimteayon 提交

@ant-design/x-skill

  • 🆕 新增 skill 安装指令,同时发布 use-x-chat、x-chat-provider、x-request 三个 skill。#1753#1767kimteayon 提交

其他

  • 🛠 修复了因依赖升级导致的构建错误问题。 #1754kimteayon 提交
  • 🛠 解决 CodeSandbox 预览中 domhandler 的 ModuleNotFoundError 错误。#1754kimteayon 提交