Skip to content

2.10.0

Latest

Choose a tag to compare

@kimteayon kimteayon released this 29 Oct 09:15
da08db1

English

2026-10-29

@ant-design/x

  • 🐛 Fix keyboard accessibility for clickable Prompts items, supporting Tab focus and activation with Enter or Space while respecting the disabled state. #2070 by SOMWHY
  • 🐛 Fix Mermaid rendering a blank graph on first render and stale results overwriting newer diagrams during concurrent updates. #2056 by Div627
  • 🐛 Fix Mermaid diagrams being limited to 3x zoom and PNG exports being clipped after zooming or dragging; export dimensions are now independent of the current zoom state. #2035 by advance
  • 🐛 Fix the Folder switcher's hover background not matching its container. #2050 by QDyanbing
  • ⚡️ Memoize CodeHighlighter to avoid repeating syntax highlighting for unchanged code blocks during streaming updates. #2061 by Div627

@ant-design/x-markdown

  • 🆕 XMarkdown now accepts a boolean streaming preset: streaming={isStreaming} enables incremental rendering, completion of unfinished syntax, and a typewriter effect. #2061 by Div627
  • 🆕 Add streaming.incremental to split content at headings and only re-parse and render the growing section; use keepSectionsOnEnd to control whether sections are preserved when streaming ends. #2061 by Div627
  • 🆕 Add streaming.incompleteMarkdown: 'complete' to immediately display unfinished emphasis, inline code, link text, and list items. #2061 by Div627
  • 🆕 Add streaming.typewriter and animationConfig.splitBy for character- or sentence-based typewriter effects and sentence-based fade-in animations, with correct handling of emoji and combining characters. #2061 by Div627
  • 🆕 Add componentsProps to pass extra props to custom components by tag name, avoiding remounts caused by inline component functions. #1993 by Div627
  • ⚡️ Optimize streaming content computation and table recognition, and export arePropsEqualIgnoringDomNode to help custom components avoid redundant renders with React.memo. #2061 by Div627
  • ⚡️ Optimize AnimationText computation during rendering to reduce extra renders and animation jitter. #1998 by LeiZhang
  • 🐛 Fix currency amounts in prose being interpreted as LaTeX formulas. Single-dollar inline math now follows Pandoc delimiter rules, so $ x $ and $x$2 no longer render as math; double-dollar behavior is preserved, and escaped dollar signs inside formulas are supported. #1997 by Div627
  • 📦 Upgrade marked from 15.x to 16.x to reduce duplicate bundling when used alongside Mermaid. #1969 by Waiter

@ant-design/x-sdk

  • 🐛 Fix XRequest leaving isRequesting set to true after a JSON response with success: false; finish the current request before its error callback without letting an older business error clear a newer request's active state. #2066 by dvd233

@ant-design/x-skill

  • 🐛 Fix path traversal risks during skill installation by validating remote names and target paths before deletion, download, and installation; reject symbolic links and unsupported file types, and isolate temporary and cache directories for each invocation. #2071 by kimteayon
  • 🐛 Fix untrusted download URLs and credential leaks through redirects by allowing only trusted GitHub HTTPS download hosts, limiting redirect chains, and stripping authorization and cookie headers on redirects. #2071 by kimteayon

Others

  • 📖 Fix the site's theme token color preview popover. #1994

中文

2026-10-29

@ant-design/x

  • 🐛 修复 Prompts 可点击提示项的键盘可访问性,支持 Tab 聚焦及 Enter、空格键触发,并正确处理禁用状态。#2070 由 SOMWHY 提交
  • 🐛 修复 Mermaid 首次渲染时图表空白及并发更新时旧结果覆盖新图表的问题。#2056 由 Div627 提交
  • 🐛 修复 Mermaid 大图无法超过 3 倍缩放及缩放、拖动后 PNG 导出不完整的问题,导出尺寸不再受当前缩放状态影响。#2035 由 advance 提交
  • 🐛 修复 Folder 展开按钮的悬停背景色与容器不一致的问题。#2050 由 QDyanbing 提交
  • ⚡️ 优化 CodeHighlighter 的组件缓存,避免流式更新时对内容未变化的代码块重复进行语法高亮。#2061 由 Div627 提交

@ant-design/x-markdown

  • 🆕 XMarkdown 的 streaming 支持布尔预设,通过 streaming={isStreaming} 开启增量渲染、未完成语法补全与打字机效果。#2061 由 Div627 提交
  • 🆕 新增 streaming.incremental,按标题分段,仅重新解析和渲染正在增长的段落;支持通过 keepSectionsOnEnd 配置流结束后是否保留分段。#2061 由 Div627 提交
  • 🆕 新增 streaming.incompleteMarkdown: 'complete',支持即时显示尚未闭合的强调、行内代码、链接文字及列表项。#2061 由 Div627 提交
  • 🆕 新增 streaming.typewriter 和 animationConfig.splitBy,支持逐字或逐句打字机效果及按句淡入,并正确处理 Emoji 和组合字符。#2061 由 Div627 提交
  • 🆕 新增 componentsProps,支持按标签名向自定义组件传递额外属性,避免内联组件导致的重复挂载。#1993 由 Div627 提交
  • ⚡️ 优化流式内容计算及表格识别性能,并导出 arePropsEqualIgnoringDomNode,便于自定义组件通过 React.memo 减少重复渲染。#2061 由 Div627 提交
  • ⚡️ 优化 AnimationText 的渲染阶段计算,减少额外渲染及动画抖动。#1998 由 LeiZhang 提交
  • 🐛 修复正文中的美元金额被误识别为 LaTeX 公式的问题。单美元行内公式遵循 Pandoc 定界符规则,$ x $ 和 $x$2 不再渲染为公式;保留双美元公式行为,并支持公式内的转义美元符号。#1997 由 Div627 提交
  • 📦 将 marked 依赖从 15.x 升级到 16.x,减少与 Mermaid 同时使用时的重复打包。#1969 由 Waiter 提交

@ant-design/x-sdk

  • 🐛 修复 XRequest 在 JSON 响应返回 success: false 后 isRequesting 仍为 true 的问题,在触发错误回调前结束当前请求,并避免旧请求的业务错误清除新请求的进行中状态。#2066 由 dvd233 提交

@ant-design/x-skill

  • 🐛 修复技能安装中的路径穿越风险,在删除、下载和安装前校验远端名称及目标路径,拒绝符号链接与不支持的文件类型,并隔离每次调用的临时目录及缓存目录。#2071 由 kimteayon 提交
  • 🐛 修复不可信下载地址及重定向凭据泄露风险,仅允许受信任的 GitHub HTTPS 下载地址,限制重定向次数,并在重定向时移除认证和 Cookie 信息。#2071 由 kimteayon 提交

其他

  • 📖 修复站点主题令牌颜色预览浮层的显示问题。#1994