Releases: ant-design/x
Releases · ant-design/x
1.5.0
- 🆕 Added Bubble component support for
onScroll
event listener. #1021 by @QdabuliuQ. - 🐛 Removed duplicate TypeScript type declaration in Bubble component. #1032 by @wzc520pyfm.
- 🐛 Fixed Conversations
onActiveChange
being triggered when a disabledmenu
item is clicked. #1024 by @QdabuliuQ. - 🐛 Fixed semantic configuration for Attachments component
FileList
. #1017 by @kimteayon. - 🐛 Added html configuration for Actions component. #995 by @vanndxh.
- 🐛 Fixed Conversations label display issue and improved semantic configuration. #898 by @yuanliu147.
- 📖 Improved official site for better user experience. #940 by @coding-ice, #969 by @afc163, #968 by @afc163, #1019 by hylin.
- 🆕 补充 Bubble 组件对滚动事件
onScroll
的监听。#1021 由 @QdabuliuQ 提交。 - 🐛 移除 Bubble 重复的 TS 类型定义。 #1032 由 @wzc520pyfm 提交。
- 🐛 修复 Conversations 组件点击禁用的
menu
导致触发onActiveChange
的问题。#1024 由 @QdabuliuQ 提交。 - 🐛 修复 Attachments 组件
FileList
语义化配置。#1017 由 @kimteayon 提交。 - 🐛 补充 Actions 组件 html配置。#995 由 @vanndxh 提交。
- 🐛 修复 Conversations label标签展示问题,同时补充语义化配置。#898 由 @yuanliu147 提交。
- 📖 优化官网站点提升用户体验。#940 由 @coding-ice 提交、#969 由 @afc163 提交、#968 由 @afc163 提交、#1019 由 @hylin 提交。
1.4.0
- 🔥 New Component Actions.#768 by vanndxh
- 🐛 Fix the issue where Bubble.List
footer
andheader
cannot retrieve keys.#876 by kimteayon - 🐛 Fix the issue of overflow and ellipsis of Conversations list titles.#877 by kimteayon
- 📖 Enhance the official website to improve user experience.#816 by @Rain120 提交、#880 by @kimteayon
1.3.0
- 📖 Add Conversation type export. #258 by @ONLY-yours
- 💄 Fixed the issue that the Prompts scroll bar is always displayed. #785 by @kimteayon
- 🐛 Fix Suggestion warning for using antd deprecated API
onDropdownVisibleChange
. #827 by @zombieJ - 🆕 Extend Bubble
content
tofooter
andheader
method implementation parameters, and add Demo implementation.#683 by @L-Hknu and @kimteayon - 📖 Fixed the security issue of Api Key being exposed on the site.#840 by @kimteayon
- 📖 Enhance the official website to improve user experience.#783 by @kimteayon ,#229 by @afc163 ,#835 by @kimteayon ,#814 by @wzc520pyfm
- 📖 新增 Conversation 类型导出。 #258 由 @ONLY-yours
- 💄 修复 Prompts 滚动条始终显示问题。 #785 由 @kimteayon
- 🐛 修复 Suggestion 警告使用 antd 废弃 API
onDropdownVisibleChange
的问题。 #827 由 @zombieJ 提交 - 🆕 扩展Bubble
content
到footer
和header
的方法实现参数,同时补充Demo实现。#683 由 @L-Hknu 和 @kimteayon 提交 - 📖 修复Api Key在站点露出的安全问题。#840 由 @kimteayon
- 📖 优化官网站点提升用户体验。#783 由 @kimteayon 提交、#229 由 @afc163 提交、#835 由 @kimteayon 、#814 由 @wzc520pyfm 提交
1.2.0
- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。#776 by @afc163
- 🐛 Fixed Attachments
image
card style.#751 by @wzc520pyfm - 🐛 Fixed ThoughtChain controlled issue.#752 by @Youzi2233
- XRequest
- 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.#711 by @kimteayon
- 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.#736 by @kimteayon
- 🆕 Add an example of model integration. #725 by @kimteayon
- 📖 Inaccurate parameter naming in optimizing API methods.#736 by @kimteayon
- useXAgent
- 🆕 RequestFn adds an
onStream
callback that allows for stream listening and abort operations.#711 by @kimteayon - 🆕 RequestFn has added a
transformStream
transformation function for processing stream data.#725 by @kimteayon - 🐛 Fix the issue of XAgentConfig Preset changes not taking effect and add an example.#736 by @kimteayon
- 🐛 Fix the issue of incorrect callback types for RequestFn
onSuccess
and update the corresponding demo. #725 by @kimteayon - 🆕 Add model access, Custom RequestParams,and customize
XRequestOptions
demos. #725 by @kimteayon 提交、#711 by @kimteayon
- 🆕 RequestFn adds an
- useXChat
- 🆕 XChatConfig adds input and output generic types.#725 by @kimteayon
- 🆕 XChatConfig adds
transformMessage
transformation function,which can transformmessages
when updating data and update tomessages
at the same time. #711 by @kimteayon - 🆕 XChatConfig adds
transformStream
conversion function for processing stream data.#711 by @kimteayon - 🆕 XChatConfig adds
resolveAbortController
callback function, which can obtain theAbortController
controller for controlling the stream state.#711 by @kimteayon - 🆕 Add model access examples and remove incorrect abort examples. #711 by @kimteayon
- 🐛 Fixed the issue of Sender
header
border-radius
style overflow.#732 by @Bao0630 - 📖 Add a copilot style model room.#657 by @vanndxh
- 📖 Refactoring the independent model room.#753 by @vanndxh
- 📖 Enhance the official website to improve user experience.#730 by @afc163 提交、#758 by @coding-ice 提交、 #761 by @ONLY-yours
- 🐛 删除 Conversations 溢出省略逻辑修复
tooltip
展示错误的问题。#776 由 @afc163 提交 - 🐛 修复 Attachments
image
卡片样式问题。#751 由 @wzc520pyfm 提交 - 🐛 修复 ThoughtChain 受控问题。#752 由 @Youzi2233 提交
- XRequest
- 🆕 XRequestCallbacks 新增
onStream
回调,可对流监听和终止操作。#711 由 @kimteayon 提交 - 🐛 修复 XRequestOptions 变更不生效问题,并新增示例。#736 由 @kimteayon 提交
- 🆕 新增模型接入示例。 #725 由 @kimteayon 提交
- 📖 优化API方法参数命名不准确问题。#736 由 @kimteayon 提交
- 🆕 XRequestCallbacks 新增
- useXAgent
- 🆕 RequestFn 新增
onStream
回调,可对流监听和终止操作。#711 由 @kimteayon 提交 - 🆕 RequestFn 新增
transformStream
转换函数,用于处理流数据。#725 由 @kimteayon 提交 - 🐛 修复 XAgentConfigPreset 变更不生效问题,并新增示例。#736 由 @kimteayon 提交
- 🐛 修复 RequestFn
onSuccess
回调类型错误问题,同时更新对应示例。 #725 由 @kimteayon 提交 - 🆕 新增模型接入、自定义入参、变更配置示例。 #725 由 @kimteayon 提交、#711 由 @kimteayon 提交
- 🆕 RequestFn 新增
- useXChat
- 🆕 XChatConfig 新增 Input 和 Output 泛型类型。#725 由 @kimteayon 提交
- 🆕 XChatConfig 新增
transformMessage
转换函数,可在更新数据时对messages
做转换,同时会更新到messages
。 #711 由 @kimteayon 提交 - 🆕 XChatConfig 新增
transformStream
转换函数,用于处理流数据。#711 由 @kimteayon 提交 - 🆕 XChatConfig 新增
resolveAbortController
回调函数,可获得AbortController
控制器,用于控制流状态。#711 由 @kimteayon 提交 - 🆕 新增模型接入示例,删除错误的终止流示例。 #711 由 @kimteayon 提交
- 🐛 修复 Sender
header
圆角样式溢出问题。#732 由 @Bao0630 提交 - 📖 新增助手式样板间。#657 由 @vanndxh 提交
- 📖 重构独立式样板间。#753 由 @vanndxh 提交
- 📖 优化官网站点提升用户体验。#730 由 @afc163 提交、#758 由 @coding-ice 提交、 #761 由 @ONLY-yours 提交
1.1.1
- Bubble.List
- 💄 Refactor Bubble.List, reduce unnecessary refreshes during updates.#479 by @YumoImer
- 🐛 Fixed scrollbar styles issues of
Bubble.List
under dark theme.#727 by @kimteayon
- Conversation
- 🐛 Fixed style issues of
ul
andli
in Conversation.#726 by @kimteayon - 🆕 Extended
getPopupContainer
formenu
.#698 by @yuxuan-ctrl
- 🐛 Fixed style issues of
- 🐛 Fixed ThoughtChain Collapse cannot unfold issue.#720 by @kimteayon
- 🐛 Fixed Attachments image display style issue.#708 by @hy993658052
- 💄 Refactor Sender,Control the 'disabled' attribute of custom
Actions
.#666 by @afc163 - 📖 Enhance the official website to improve user experience.#680 by @wzc520pyfm,#699 by @afc163,#716 by @afc163,#686 by @afc163,#728 by @kimteayon
- Bubble.List
- 💄 优化 Bubble.List更新时减少不必要的刷新。#479 由 @YumoImer 提交
- 🐛 修复 Bubble.List 暗黑主题下滚动条样式不兼容问题。#727 由 @kimteayon 提交
- Conversation
- 🐛 修复 Conversation内ul和li的样式问题。#726 由 @kimteayon 提交
- 🆕 新增
menu
的getPopupContainer
的实现。#698 由 @yuxuan-ctrl 提交
- 🐛 修复 ThoughtChain 折叠面板无法展开问题。#720 由 @kimteayon 提交
- 🐛 修复 Attachments 图片展示样式问题。#708 由 @hy993658052 提交
- 💄 优化 Sender,使自定义Actions的
disabled
属性受控。#666 由 @afc163 提交 - 📖 优化官网站点提升用户体验。#680 由 @wzc520pyfm 提交、#699 由 @afc163 提交、#716 由 @afc163 提交、#686 由 @afc163 提交、#728 由 @kimteayon 提交
1.1.0
- Sender
- 🆕 Add
footer
to support custom footer content.#654 by @kimteayon - 🆕 Extended
autoSize
to support custom content height.#637 by @Zhang-Wei-666 - 📖 Add the declarations for
onFocus
andonBlur
types.#625 by @aojunhao123 - 🆕 Extended Conversations
menu.trigger
to support custom menu trigger.#630 by @kimteayon
- 🆕 Add
- Attachments
- 🆕 Extended
ImageProps
to support custom image configuration.#613 by @hy993658052 - 📖 Add Attachments
onRemove
API documentation#608 by @kimteayon
- 🆕 Extended
- 📖 Extended
GPT-Vis
rendering chart example.#603 by @lvisei - 📦 Improved Chat Design X
peerDependencies
.#611 by @pokerface9830 - 📖 Enhance the official website to improve user experience.#626 by @aojunhao123,#648 by @kimteayon,#659 by @afc163,#667 by @jin19980928
- Sender
- 🆕 新增
footer
支持自定义底部内容。#654 由 @kimteayon 提交 - 🆕 扩展
autoSize
支持配置内容高度。#637 由 @Zhang-Wei-666 提交 - 📖 补充
onFocus
和onBlur
类型声明。#625 由 @aojunhao123 提交 - 🆕 扩展 Conversations 组件
menu.trigger
支持自定义菜单触发器。#630 由 @kimteayon 提交
- 🆕 新增
- Attachments
- 🆕 扩展
ImageProps
支持自定义图像展示配置。#613 由 @hy993658052 提交 - 📖 补充 Attachments 组件
onRemove
API文档。#608 由 @kimteayon 提交
- 🆕 扩展
- 📖 补充
GPT-Vis
渲染图表示例。 #603 由 @lvisei 提交 - 📦 优化 Chat Design X
peerDependencies
。#611 由 @pokerface9830 提交 - 📖 优化官网站点提升用户体验。#626 由 @aojunhao123 提交、#648 由 @kimteayon 提交、#659 由 @afc163 提交、#667 由 @jin19980928 提交
1.0.6
- 🆕 Extended
Sender
file pasting can handle multiple files. #505 by @ztkuaikuai - 🆕 Extended
BubbleList
role definition function.#485 by @chenluda - 🐛 Fixed
Attachments
multi file horizontal scrollbar display .#556 by @onefeng123 - 🐛 Fixed
Attachments
onRemove non effective issue.#555 by @edison-tianhe - 🐛 Fixed
Sender
the issue of actions lackingSpeechButton
.#549 by @zombieJ - 🐛 Fixed
Attachments
the issue of file initialization display.#524 by @ztkuaikuai - 🐛 Fixed
Conversations
scroll bar issue.#485 by @LofiSu - 📖 Improved
Bubble
typing
reduces unnecessary rendering.#477 by @kxcy001123 - 📦 Improved Chat Design X construct #578,#584 by @kimteayon 、 #578 by @kimteayon 、#587 by @afc163
- 📖 Enhance the official website to improve user experience.#484 by @ztkuaikuai 、 #495 by @ztkuaikuai 、 #522 by @liangchaofei 、#537 by @wzc520pyfm 、 #553 by @PeachScript 、 #578 by @kimteayon 、 #585 by @MaricoHan
- 🆕 扩展
Sender
文件粘贴可处理多个文件。#505 由 @ztkuaikuai 提交 - 🆕 扩展
BubbleList
角色定义功能。#485 由 @chenluda 提交 - 🐛 修复
Attachments
组件 多文件横向滚动条展示。#556 由 @onefeng123 提交 - 🐛 修复
Attachments
组件 onRemove 不生效问题。#555 由 @edison-tianhe 提交 - 🐛 修复
Sender
组件 actions 缺少 SpeechButton 组件的问题。#549 由 @zombieJ 提交 - 🐛 修复
Attachments
组件文件初始化展示问题。#524 由 @ztkuaikuai 提交 - 🐛 修复
Conversations
组件滚动条问题。#485 由 @LofiSu 提交 - 📖 优化
Bubble
组件typing 减少不必要的渲染。#477 由 @kxcy001123 提交 - 📦 优化 Chat Design X 构建 #578,#584 由 @kimteayon 提交、 #578 由 @kimteayon 提交、#587 由 @afc163 提交
- 📖 优化官网站点提升用户体验。#484 由 @ztkuaikuai 提交、 #495 由 @ztkuaikuai 提交、 #522 由 @liangchaofei 提交 、#537 由 @wzc520pyfm 提交、 #553 由 @PeachScript 提交、 #578 由 @kimteayon 提交 、 #585 由 @MaricoHan 提交
1.0.5
- 🐛 Fix
Attachment
remove icon style. #460 by @Rain120 - 🛠 Refactor
BubbleProps
to supportContentType
type argument. #403 by @YumoImer - 🛠 Dev and site support React 19. #432 by @YumoImer
- 📖 Enhance the official website to improve user experience. #456, #446, #448, #444, #414, #406, #404 by @wzc520pyfm, @YumoImer, @Rain120, @afc163
1.0.4
- 🆕 Extended
XStream
support for the cancel feature. #319 by @ppbl - 🆕 Extended
Bubble
support for thetyping.suffix
feature. #316 by @BQXBQX - 🆕 Extended
Sender
component'sonChange
parameter to include theevent
object. #362 by @defaultjacky - 🆕 Enhanced the
Sender
component'sref
to support focus control methods likefocus
andblur
. #397 by @YumoImer - 🐛 Fixed styling issues in
ThoughtChain
whencssVar
is not applied. #373 by @YumoImer - 📖 Added
Petercat
assistant feature. #375 by @xingwanying - 📖 Improved the official website for a better user experience. #389, #377, #364, #368 by @afc163, @YumoImer
- 🆕 扩展
XStream
对取消功能的支持。 #319 by @ppbl - 🆕 扩展
Bubble
对typing.suffix
打字后缀的支持。 #316 by @BQXBQX - 🆕 扩展
Sender
组件onChange
对event
事件参数的支持。 #362 by @defaultjacky - 🆕 扩展
Sender
组件ref
对focus
、blur
等焦点控制能力的支持。 #397 by @YumoImer - 🐛 修复
ThoughtChain
在非 cssVar 下的样式问题。 #373 by @YumoImer - 📖 添加
Petercat
助理功能。 #375 by @xingwanying - 📖 优化官网站点提升用户体验。 #389、#377、#364、#368 by @afc163、@YumoImer
1.0.3
1.0.3
2024-12-16
- 💄 Refactor the styles when
placement: 'end'
is set forBubble
. #314 by @YumoImer - 🐛 Fix occasional failure to trigger auto-scrolling when
autoScroll
is set inBubble.List
. #336 by @anzhou99Ru - 📖 Enhance the official website to improve user experience. #343, #334, #315, #331 by @afc163, @YumoImer, @Wxh16144
- 🛠 Fix errors encountered when running
pnpm lint
. #313 by @BQXBQX
- 💄 优化
Bubble
设置placement: 'end'
后的样式。#314 由 @YumoImer - 🐛 修复
Bubble.List
设置autoScroll
后偶现无法触发自动滚动的问题。#336 由 @anzhou99Ru - 📖 优化官网站点提升用户体验。#343、#334、#315、#331 由 @afc163、@YumoImer、@Wxh16144
- 🛠 修复
pnpm lint
时的错误。#313 由 @BQXBQX