Releases: ant-design/x
Releases · ant-design/x
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
1.6.0
1.5.0
- 🆕 Added Bubble component support for
onScrollevent listener. #1021 by @QdabuliuQ. - 🐛 Removed duplicate TypeScript type declaration in Bubble component. #1032 by @wzc520pyfm.
- 🐛 Fixed Conversations
onActiveChangebeing triggered when a disabledmenuitem 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
footerandheadercannot 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
contenttofooterandheadermethod 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
imagecard 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
onStreamcallback that allows for stream listening and abort operations.#711 by @kimteayon - 🆕 RequestFn has added a
transformStreamtransformation 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
onSuccessand update the corresponding demo. #725 by @kimteayon - 🆕 Add model access, Custom RequestParams,and customize
XRequestOptionsdemos. #725 by @kimteayon 提交、#711 by @kimteayon
- 🆕 RequestFn adds an
- useXChat
- 🆕 XChatConfig adds input and output generic types.#725 by @kimteayon
- 🆕 XChatConfig adds
transformMessagetransformation function,which can transformmessageswhen updating data and update tomessagesat the same time. #711 by @kimteayon - 🆕 XChatConfig adds
transformStreamconversion function for processing stream data.#711 by @kimteayon - 🆕 XChatConfig adds
resolveAbortControllercallback function, which can obtain theAbortControllercontroller 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
headerborder-radiusstyle 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.Listunder dark theme.#727 by @kimteayon
- Conversation
- 🐛 Fixed style issues of
ulandliin Conversation.#726 by @kimteayon - 🆕 Extended
getPopupContainerformenu.#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
footerto support custom footer content.#654 by @kimteayon - 🆕 Extended
autoSizeto support custom content height.#637 by @Zhang-Wei-666 - 📖 Add the declarations for
onFocusandonBlurtypes.#625 by @aojunhao123 - 🆕 Extended Conversations
menu.triggerto support custom menu trigger.#630 by @kimteayon
- 🆕 Add
- Attachments
- 🆕 Extended
ImagePropsto support custom image configuration.#613 by @hy993658052 - 📖 Add Attachments
onRemoveAPI documentation#608 by @kimteayon
- 🆕 Extended
- 📖 Extended
GPT-Visrendering 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 组件
onRemoveAPI文档。#608 由 @kimteayon 提交
- 🆕 扩展
- 📖 补充
GPT-Vis渲染图表示例。 #603 由 @lvisei 提交 - 📦 优化 Chat Design X
peerDependencies。#611 由 @pokerface9830 提交 - 📖 优化官网站点提升用户体验。#626 由 @aojunhao123 提交、#648 由 @kimteayon 提交、#659 由 @afc163 提交、#667 由 @jin19980928 提交