Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: changelog of 1.0.4 #392

Merged
merged 11 commits into from
Dec 25, 2024
12 changes: 12 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ tag: vVERSION

---

## 1.0.4

`2024-12-25`

- 🆕 Extended `XStream` support for the cancel feature. [#319](https://github.com/ant-design/x/pull/319) by [@ppbl](https://github.com/ppbl)
YumoImer marked this conversation as resolved.
Show resolved Hide resolved
- 🆕 Extended `Bubble` support for the `typing.suffix` feature. [#316](https://github.com/ant-design/x/pull/316) by [@BQXBQX](https://github.com/BQXBQX)
- 🆕 Extended `Sender` component's `onChange` parameter to include the `event` object. [#362](https://github.com/ant-design/x/pull/362) by [@defaultjacky](https://github.com/defaultjacky)
- 🆕 Enhanced the `Sender` component's `ref` to support focus control methods like `focus` and `blur`. [#397](https://github.com/ant-design/x/pull/397) by [@YumoImer](https://github.com/YumoImer)
- 🐛 Fixed styling issues in `ThoughtChain` when `cssVar` is not applied. [#373](https://github.com/ant-design/x/pull/373) by [@YumoImer](https://github.com/YumoImer)
- 📖 Added `Petercat` assistant feature. [#375](https://github.com/ant-design/x/pull/375) by [@xingwanying](https://github.com/xingwanying)
- 📖 Improved the official website for a better user experience. [#389](https://github.com/ant-design/x/pull/389), [#377](https://github.com/ant-design/x/pull/377), [#364](https://github.com/ant-design/x/pull/364), [#368](https://github.com/ant-design/x/pull/368) by [@afc163](https://github.com/afc163), [@YumoImer](https://github.com/YumoImer)

## 1.0.3

`2024-12-16`
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ tag: vVERSION

---

## 1.0.4

`2024-12-25`

- 🆕 扩展 `XStream` 对取消功能的支持。 [#319](https://github.com/ant-design/x/pull/319) by [@ppbl](https://github.com/ppbl)
YumoImer marked this conversation as resolved.
Show resolved Hide resolved
- 🆕 扩展 `Bubble` 对 `typing.suffix`打字后缀的支持。 [#316](https://github.com/ant-design/x/pull/316) by [@BQXBQX](https://github.com/BQXBQX)
- 🆕 扩展 `Sender` 组件 `onChange` 对 `event` 事件参数的支持。 [#362](https://github.com/ant-design/x/pull/362) by [@defaultjacky](https://github.com/defaultjacky)
- 🆕 扩展 `Sender` 组件 `ref` 对 `focus`、`blur` 等焦点控制能力的支持。 [#397](https://github.com/ant-design/x/pull/397) by [@YumoImer](https://github.com/YumoImer)
- 🐛 修复 `ThoughtChain` 在非 cssVar 下的样式问题。 [#373](https://github.com/ant-design/x/pull/373) by [@YumoImer](https://github.com/YumoImer)
- 📖 添加 `Petercat` 助理功能。 [#375](https://github.com/ant-design/x/pull/375) by [@xingwanying](https://github.com/xingwanying)
- 📖 优化官网站点提升用户体验。 [#389](https://github.com/ant-design/x/pull/389)、[#377](https://github.com/ant-design/x/pull/377)、[#364](https://github.com/ant-design/x/pull/364)、[#368](https://github.com/ant-design/x/pull/368) by [@afc163](https://github.com/afc163)、[@YumoImer](https://github.com/YumoImer)

Comment on lines +22 to +29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

变更日志与代码实现存在部分不一致

基于代码验证结果,我们发现以下问题:

  • Bubble 组件已实现 typing 功能,包括 stepintervalsuffix 的支持,与变更日志描述一致。
  • Sender 组件的 onChange 事件参数和 ref 的 focus/blur 功能已完整实现,与变更日志一致。
  • XStream 的取消功能在代码库中未找到具体实现,仅在变更日志中提及。
  • ThoughtChain 的 cssVar 样式修复在变更日志中提及,但未能找到相关的具体实现代码。
  • Petercat 助理功能在代码库中未找到具体实现。

建议:

🔗 Analysis chain

请确保变更日志中的功能更新与代码实现一致

建议运行以下脚本验证变更日志中提到的功能更新是否都已实现:


Let me try a different approach to verify these changes.


需要进一步验证部分功能实现

根据搜索结果,我们发现:

  • Sender 组件的 onChange 事件参数支持和 ref 的 focus/blur 功能已经在代码中实现,这与变更日志一致。
  • Bubble 组件文件存在,但需要进一步验证 typing.suffix 的具体实现。
  • XStream 的取消功能未能在代码中找到明确实现。
  • ThoughtChain 的样式相关代码存在,但需要进一步确认具体的 cssVar 修复。
  • Petercat 助理功能的文件未找到。

让我们进一步验证这些功能:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# 描述:验证变更日志中提到的功能更新

# 验证 XStream 的取消功能
ast-grep --pattern 'XStream.*cancel'

# 验证 Bubble 的 typing.suffix 功能
ast-grep --pattern 'Bubble.*typing.suffix'

# 验证 Sender 组件的 onChange 事件参数
ast-grep --pattern 'Sender.*onChange.*event'

# 验证 Sender 组件的 ref focus/blur 方法
ast-grep --pattern 'Sender.*ref.*(focus|blur)'

# 验证 ThoughtChain 的样式修复
ast-grep --pattern 'ThoughtChain.*style'

Length of output: 222


Script:

#!/bin/bash
# Search for relevant files and their content
echo "=== Searching for XStream files and cancel functionality ==="
fd XStream --type f
rg "XStream.*cancel" -A 3

echo -e "\n=== Searching for Bubble files and typing suffix ==="
fd Bubble --type f
rg "typing\.suffix" -A 3

echo -e "\n=== Searching for Sender component files ==="
fd Sender --type f
rg "onChange.*event" -A 3
rg "ref.*focus|blur" -A 3

echo -e "\n=== Searching for ThoughtChain style fixes ==="
fd ThoughtChain --type f
rg "ThoughtChain.*style" -A 3

echo -e "\n=== Searching for Petercat assistant ==="
fd Petercat --type f

Length of output: 12320


Script:

#!/bin/bash
# 检查 Bubble 组件的 typing.suffix 实现
echo "=== 检查 Bubble 组件的 typing.suffix 实现 ==="
rg -t typescript "typing" components/bubble/ -A 3

echo -e "\n=== 检查 XStream 的取消功能实现 ==="
rg -t typescript "cancel" -A 3

echo -e "\n=== 检查 ThoughtChain 的 cssVar 样式修复 ==="
rg -t typescript "cssVar" components/thought-chain/ -A 3

echo -e "\n=== 检查 Petercat 相关实现 ==="
rg -t typescript "Petercat" -A 3

Length of output: 622


Script:

#!/bin/bash
# 检查 Bubble 组件的 typing.suffix 实现
echo "=== 检查 Bubble 组件的 typing.suffix 实现 ==="
rg "typing" components/bubble/

echo -e "\n=== 检查 XStream 的取消功能实现 ==="
# 搜索所有可能的 XStream 相关文件
fd -e tsx -e ts XStream
rg "XStream.*cancel"

echo -e "\n=== 检查 ThoughtChain 的 cssVar 样式修复 ==="
# 检查 ThoughtChain 的样式文件
fd -e ts -e tsx ThoughtChain
rg "cssVar.*ThoughtChain|ThoughtChain.*cssVar"

echo -e "\n=== 检查 Petercat 相关实现 ==="
# 搜索所有可能包含 Petercat 的文件
rg "Petercat" -g "!CHANGELOG*"

Length of output: 6602

## 1.0.3

`2024-12-16`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/x",
"version": "1.0.3",
"version": "1.0.4",
"description": "Craft AI-driven interfaces effortlessly",
"keywords": [
"AI",
Expand Down
Loading