diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index d613dc01e..e4cc86be9 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,26 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v4.0.9](https://github.com/vant-ui/vant/compare/v4.0.8...v4.0.9) + +`2023-01-26` + +**Feature** + +- BackTop: add immediate prop [#11515](https://github.com/vant-ui/vant/issues/11515) +- Calendar: add month-title slot [#11500](https://github.com/vant-ui/vant/issues/11500) +- Cascader: add useCascaderAreaData method [#11518](https://github.com/vant-ui/vant/issues/11518) +- ImagePreview: allow swipe when image is moved to edge [#11505](https://github.com/vant-ui/vant/issues/11505) +- Locale: add Esperanto translations [#11520](https://github.com/vant-ui/vant/issues/11520) +- Locale: add useCurrentLang method [#11517](https://github.com/vant-ui/vant/issues/11517) +- Swipe: add drag-start, drag-end event [#11502](https://github.com/vant-ui/vant/issues/11502) + +**Bug Fixes** + +- ImagePreview: disable zoom when swiping [#11504](https://github.com/vant-ui/vant/issues/11504) +- Locale: fix Italian general revision [#11519](https://github.com/vant-ui/vant/issues/11519) +- Swipe: avoid resetting position on multi-finger touch [#11503](https://github.com/vant-ui/vant/issues/11503) + ### [v4.0.8](https://github.com/vant-ui/vant/compare/v4.0.7...v4.0.8) `2023-01-15` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index a4424a168..763019af6 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,26 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v4.0.9](https://github.com/vant-ui/vant/compare/v4.0.8...v4.0.9) + +`2023-01-26` + +**Feature** + +- BackTop: 新增 immediate 属性 [#11515](https://github.com/vant-ui/vant/issues/11515) +- Calendar: 新增 month-title 插槽 [#11500](https://github.com/vant-ui/vant/issues/11500) +- Cascader: 新增 useCascaderAreaData 方法 [#11518](https://github.com/vant-ui/vant/issues/11518) +- ImagePreview: 支持在缩放图片后滑动至其他图片 [#11505](https://github.com/vant-ui/vant/issues/11505) +- Locale: 新增 Esperanto 世界语 [#11520](https://github.com/vant-ui/vant/issues/11520) +- Locale: 新增 useCurrentLang 方法 [#11517](https://github.com/vant-ui/vant/issues/11517) +- Swipe: 新增 drag-start, drag-end 事件 [#11502](https://github.com/vant-ui/vant/issues/11502) + +**Bug Fixes** + +- ImagePreview: 修复切换图片过程中可以触发图片缩放的问题 [#11504](https://github.com/vant-ui/vant/issues/11504) +- Locale: 修复意大利语翻译问题 [#11519](https://github.com/vant-ui/vant/issues/11519) +- Swipe: 修复多指操作时滑动位置被错误重置的问题 [#11503](https://github.com/vant-ui/vant/issues/11503) + ### [v4.0.8](https://github.com/vant-ui/vant/compare/v4.0.7...v4.0.8) `2023-01-15`