From ee6fa66e4a594da2a8563e579d32f853eb6f2dee Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 11 Sep 2022 12:08:32 +0800 Subject: [PATCH] docs(changelog): vant@4.0.0-rc.2 (#11029) --- packages/vant/docs/markdown/changelog.en-US.md | 13 +++++++++++++ packages/vant/docs/markdown/changelog.zh-CN.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 1de9c160b..5ee024004 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,19 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v4.0.0-rc.2](https://github.com/vant-ui/vant/compare/v4.0.0-rc.1...v4.0.0-rc.2) + +`2022-09-11` + +**Breaking Changes** + +- attach css variables to :root element [#11026](https://github.com/vant-ui/vant/issues/11026) + +**Bug Fixes** + +- Dialog: incorrect transform behavior [#11028](https://github.com/vant-ui/vant/issues/11028) +- Empty: fix opacity in dark mode [#11027](https://github.com/vant-ui/vant/issues/11027) + ### [v4.0.0-rc.1](https://github.com/vant-ui/vant/compare/v4.0.0-rc.0...v4.0.0-rc.1) `2022-09-10` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index ae75924d2..fd507db64 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,19 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v4.0.0-rc.2](https://github.com/vant-ui/vant/compare/v4.0.0-rc.1...v4.0.0-rc.2) + +`2022-09-11` + +**Breaking Changes** + +- 调整了所有 CSS 变量的挂载位置,由 `body` 节点调整回 `:root` 节点,调整后与 Vant v3 版本保持一致,以便于 v3 项目更平滑地升级到 v4 版本。 [#11026](https://github.com/vant-ui/vant/issues/11026) + +**Bug Fixes** + +- Dialog: 修复过渡动画异常的问题 [#11028](https://github.com/vant-ui/vant/issues/11028) +- Empty: 修复深色模式下亮度过高的问题 [#11027](https://github.com/vant-ui/vant/issues/11027) + ### [v4.0.0-rc.1](https://github.com/vant-ui/vant/compare/v4.0.0-rc.0...v4.0.0-rc.1) `2022-09-10`