docs(changelog): vant@4.2.0 (#11756)

This commit is contained in:
neverland 2023-04-16 11:22:29 +08:00 committed by GitHub
parent c36ec55d7b
commit 9e1640180b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 2 deletions

View File

@ -19,6 +19,23 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
## Details
### [v4.2.0](https://github.com/vant-ui/vant/compare/v4.1.2...v4.2.0)
`2023-04-16`
**New Component**
- add new Watermark component, contributed by [@HuberTRoy](https://github.com/HuberTRoy) [#11721](https://github.com/vant-ui/vant/issues/11721)
**Feature**
- ShareSheet: allow custom icon [#11709](https://github.com/vant-ui/vant/issues/11709)
- TextEllipsis: add dots prop [#11745](https://github.com/vant-ui/vant/issues/11745)
**Bug Fixes**
- Swipe: should resize after props.width and props.height changed [#11747](https://github.com/vant-ui/vant/issues/11747)
### [v4.1.2](https://github.com/vant-ui/vant/compare/v4.1.1...v4.1.2)
`2023-03-26`
@ -54,7 +71,7 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
**New Component**
- add new TextEllipsis component [#11593](https://github.com/vant-ui/vant/issues/11593)
- add new TextEllipsis component, contributed by [@wjw-gavin](https://github.com/wjw-gavin) [#11593](https://github.com/vant-ui/vant/issues/11593)
**Feature**

View File

@ -19,6 +19,23 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### [v4.2.0](https://github.com/vant-ui/vant/compare/v4.1.2...v4.2.0)
`2023-04-16`
**New Component**
- 新增 Watermark 水印组件,由 [@HuberTRoy](https://github.com/HuberTRoy) 贡献 [#11721](https://github.com/vant-ui/vant/issues/11721)
**Feature**
- ShareSheet: 支持自定义 icon [#11709](https://github.com/vant-ui/vant/issues/11709)
- TextEllipsis: 新增 dots 属性 [#11745](https://github.com/vant-ui/vant/issues/11745)
**Bug Fixes**
- Swipe: 修复 width 和 height 属性变化后未重新渲染的问题 [#11747](https://github.com/vant-ui/vant/issues/11747)
### [v4.1.2](https://github.com/vant-ui/vant/compare/v4.1.1...v4.1.2)
`2023-03-26`
@ -54,7 +71,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
**New Component**
- 新增 TextEllipsis 文本省略组件 [#11593](https://github.com/vant-ui/vant/issues/11593)
- 新增 TextEllipsis 文本省略组件,由 [@wjw-gavin](https://github.com/wjw-gavin) 贡献 [#11593](https://github.com/vant-ui/vant/issues/11593)
**Feature**