diff --git a/CHANGELOG.md b/CHANGELOG.md index 939adff3..ec4d9c6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ toc: false spline: explain --- +## 🌈 0.5.0 `2024-08-23` +### ❗ Breaking Changes +- `Input`: 组件重构,新增 `allowInputOverMax`、`autocomplete`、`borderless`、`readonly`、`status` 与`tips` 属性,新增 `onValidate` 事件 @slatejack ([#467](https://github.com/Tencent/tdesign-mobile-react/pull/467)) +- `Popup`: 组件重构,新增 `attach`、`closeBtn`、`closeOnOverlayClick`、`destroyOnClose`、`preventScrollThrough` 等属性,新增 `onClose`、`onClosed`、`onOpen`、`onOpened` 等事件 @hkaikai ([#449](https://github.com/Tencent/tdesign-mobile-react/pull/449)) +- `Search`: 组件重构,新增 `clearable` 和 `readonly` 属性,新增 `onActionClick` 事件 @slatejack ([#476](https://github.com/Tencent/tdesign-mobile-react/pull/476)) +- `Badge`: 组件重构,`size` 默认值变更为 `medium`,`size` 与 `shape` 属性 可选项存在变更 @anlyyao ([#487](https://github.com/Tencent/tdesign-mobile-react/pull/487)) +- `CountDown`: 新增 `children`,作用同 `content` 属性,`size` 默认值变更为 `medium` @anlyyao ([#481](https://github.com/Tencent/tdesign-mobile-react/pull/481)) +- `Navbar`: 组件重构,移除 `homeIcon`、`leftIcon`、`rightIcon` 等属性、移除 `onHomeClick` 事件,新增 `capsule`、`left`、`leftArrow`、`right` 等属性、新增 `onRightClick` @04756 ([#450](https://github.com/Tencent/tdesign-mobile-react/pull/450)) +- `GridItem`: `badgeProps` 属性更名为 `badge` @Lyan-u ([#448](https://github.com/Tencent/tdesign-mobile-react/pull/448)) + +### 🚀 Features +- `Link`: 新增 `Link` 组件 @Magicalboys ([#443](https://github.com/Tencent/tdesign-mobile-react/pull/443)) +- `Image`: 新增 `referrerpolicy` 和 `fallback` 属性 @anlyyao ([#470](https://github.com/Tencent/tdesign-mobile-react/pull/470)) +- `Button`: 新增 `loadingProps` 和 `suffix` 属性,并修复虚框按钮样式错误 @tobytovi ([#469](https://github.com/Tencent/tdesign-mobile-react/pull/469)) +- `Grid`: 新增 theme 属性 @Lyan-u ([#448](https://github.com/Tencent/tdesign-mobile-react/pull/448)) + + ## 🌈 0.4.0 `2024-08-16` ### ❗ Breaking Changes - `BackTop`: 组件重构,新增 `container` ,`visibilityHeight` 属性,新增 `onToTop` 事件 @ssmyaojiayouya ([#430](https://github.com/Tencent/tdesign-mobile-react/pull/430)) diff --git a/package.json b/package.json index b66fa02b..44e0b9de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tdesign-mobile-react", - "version": "0.4.0", + "version": "0.5.0", "description": "TDesign Component for Mobile React", "title": "tdesign-mobile-react", "main": "cjs/index.js",