Skip to content

Commit

Permalink
docs(changelog): vant@4.9.0 (#12849)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed May 2, 2024
1 parent d1b433e commit e617945
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 2 deletions.
41 changes: 41 additions & 0 deletions packages/vant/docs/markdown/changelog.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,47 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).

## Details

### v4.9.0

`2024-05-02`

#### New Features 🎉

- feat(Calendar): add switch-mode prop by [@inottn](https://github.com/inottn) in [#12836](https://github.com/youzan/vant/pull/12836)
- feat(PickerGroup): add new prop showToolbar by [@ReinoFu](https://github.com/ReinoFu) in [#12839](https://github.com/youzan/vant/pull/12839)
- feat(CLI): support for configuring Rsbuild by [@chenjiahan](https://github.com/chenjiahan) in [#12809](https://github.com/youzan/vant/pull/12809)

#### Bug Fixes 🐞

- fix(cli): Vue SFC style binding failure by [@zoy-l](https://github.com/zoy-l) in [#12799](https://github.com/youzan/vant/pull/12799)
- fix(ImagePreview): swipeItem may be undefined by [@inottn](https://github.com/inottn) in [#12818](https://github.com/youzan/vant/pull/12818)
- fix(Highlight): render correctly when keywords is empty by [@Jungzl](https://github.com/Jungzl) in [#12829](https://github.com/youzan/vant/pull/12829)
- fix(IndexBar): render active anchor correctly when passing sticky & stickyOffsetTop by [@Jungzl](https://github.com/Jungzl) in [#12837](https://github.com/youzan/vant/pull/12837)

#### Document 📖

- docs: remove all Gitee links by [@chenjiahan](https://github.com/chenjiahan) in [#12845](https://github.com/youzan/vant/pull/12845)
- docs: remove gzip size badge by [@chenjiahan](https://github.com/chenjiahan) in [#12847](https://github.com/youzan/vant/pull/12847)
- docs: fix Rsbuild HTML build failed by [@chenjiahan](https://github.com/chenjiahan) in [#12848](https://github.com/youzan/vant/pull/12848)

#### Other Changes

- chore(deps): update dependency terser to ^5.30.3 by [@renovate](https://github.com/renovate) in [#12795](https://github.com/youzan/vant/pull/12795)
- chore(deps): update dependency eslint-plugin-vue to ^9.25.0 by [@renovate](https://github.com/renovate) in [#12794](https://github.com/youzan/vant/pull/12794)
- chore(deps): update all patch dependencies by [@renovate](https://github.com/renovate) in [#12773](https://github.com/youzan/vant/pull/12773)
- chore(workflow): upgrade to pnpm v9 by [@chenjiahan](https://github.com/chenjiahan) in [#12808](https://github.com/youzan/vant/pull/12808)
- chore: bump github-pages-deploy-action[@v4](https://github.com/v4).6.0 by @chenjiahan in [#12810](https://github.com/youzan/vant/pull/12810)
- chore(deps): update dependency [@vitejs](https://github.com/vitejs)/plugin-vue to v5 by @renovate in [#12840](https://github.com/youzan/vant/pull/12840)
- chore(deps): update dependency commander to v12 by [@renovate](https://github.com/renovate) in [#12841](https://github.com/youzan/vant/pull/12841)
- chore(deps): update actions/setup-node action to v4 by [@renovate](https://github.com/renovate) in [#12814](https://github.com/youzan/vant/pull/12814)
- chore(deps): update github/issue-labeler action to v3.4 by [@renovate](https://github.com/renovate) in [#12813](https://github.com/youzan/vant/pull/12813)
- chore(deps): update codecov/codecov-action action to v4 by [@renovate](https://github.com/renovate) in [#12815](https://github.com/youzan/vant/pull/12815)
- chore(deps): update all patch dependencies by [@renovate](https://github.com/renovate) in [#12812](https://github.com/youzan/vant/pull/12812)

#### New Contributors

- [@ReinoFu](https://github.com/ReinoFu) made their first contribution in [#12839](https://github.com/youzan/vant/pull/12839)

### v4.8.11

`2024-04-14`
Expand Down
41 changes: 41 additions & 0 deletions packages/vant/docs/markdown/changelog.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,47 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。

## 更新内容

### v4.9.0

`2024-05-02`

#### 新功能 🎉

- feat(Calendar):添加 switch-mode 属性,由[@inottn](https://github.com/inottn) 贡献,在[#12836](https://github.com/youzan/vant/pull/12836)
- feat(PickerGroup):添加新属性 showToolbar,由[@ReinoFu](https://github.com/ReinoFu) 贡献,在[#12839](https://github.com/youzan/vant/pull/12839)
- feat(CLI):支持配置 Rsbuild,由[@chenjiahan](https://github.com/chenjiahan) 贡献,在[#12809](https://github.com/youzan/vant/pull/12809)

#### Bug 修复 🐞

- fix(cli):修复 Vue SFC 样式绑定失败,由[@zoy-l](https://github.com/zoy-l) 贡献,在[#12799](https://github.com/youzan/vant/pull/12799)
- fix(ImagePreview):修复 swipeItem 可能为 undefined,由[@inottn](https://github.com/inottn) 贡献,在[#12818](https://github.com/youzan/vant/pull/12818)
- fix(Highlight):当 keywords 为空时正确渲染,由[@Jungzl](https://github.com/Jungzl) 贡献,在[#12829](https://github.com/youzan/vant/pull/12829)
- fix(IndexBar):当传入 sticky & stickyOffsetTop 时正确渲染激活锚点,由[@Jungzl](https://github.com/Jungzl) 贡献,在[#12837](https://github.com/youzan/vant/pull/12837)

#### 文档 📖

- docs: 移除所有 Gitee 链接,由[@chenjiahan](https://github.com/chenjiahan) 贡献,在[#12845](https://github.com/youzan/vant/pull/12845)
- docs: 移除 gzip 大小徽章,由[@chenjiahan](https://github.com/chenjiahan) 贡献,在[#12847](https://github.com/youzan/vant/pull/12847)
- docs: 修复 Rsbuild HTML 构建失败,由[@chenjiahan](https://github.com/chenjiahan) 贡献,在[#12848](https://github.com/youzan/vant/pull/12848)

#### 其他更改

- chore(deps):升级依赖 terser 至 ^5.30.3,由[@renovate](https://github.com/renovate) 贡献,在[#12795](https://github.com/youzan/vant/pull/12795)
- chore(deps):升级依赖 eslint-plugin-vue 至 ^9.25.0,由[@renovate](https://github.com/renovate) 贡献,在[#12794](https://github.com/youzan/vant/pull/12794)
- chore(deps):更新所有补丁依赖,由[@renovate](https://github.com/renovate) 贡献,在[#12773](https://github.com/youzan/vant/pull/12773)
- chore(workflow):升级至 pnpm v9,由[@chenjiahan](https://github.com/chenjiahan) 贡献,在[#12808](https://github.com/youzan/vant/pull/12808)
- chore:推送 github-pages-deploy-action[@v4](https://github.com/v4).6.0,由 @chenjiahan 贡献,在[#12810](https://github.com/youzan/vant/pull/12810)
- chore(deps):升级依赖 [@vitejs](https://github.com/vitejs)/plugin-vue 至 v5,由 @renovate 贡献,在[#12840](https://github.com/youzan/vant/pull/12840)
- chore(deps):升级依赖 commander 至 v12,由[@renovate](https://github.com/renovate) 贡献,在[#12841](https://github.com/youzan/vant/pull/12841)
- chore(deps):更新 actions/setup-node 行为至 v4,由[@renovate](https://github.com/renovate) 贡献,在[#12814](https://github.com/youzan/vant/pull/12814)
- chore(deps):更新 github/issue-labeler 行为至 v3.4,由[@renovate](https://github.com/renovate) 贡献,在[#12813](https://github.com/youzan/vant/pull/12813)
- chore(deps):更新 codecov/codecov-action 行为至 v4,由[@renovate](https://github.com/renovate) 贡献,在[#12815](https://github.com/youzan/vant/pull/12815)
- chore(deps):更新所有补丁依赖,由[@renovate](https://github.com/renovate) 贡献,在[#12812](https://github.com/youzan/vant/pull/12812)

#### 新贡献者

- [@ReinoFu](https://github.com/ReinoFu)[#12839](https://github.com/youzan/vant/pull/12839) 中首次贡献

### v4.8.11

`2024-04-14`
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/src/calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Set `poppable` to `false`, the calendar will be displayed directly on the page i
| Attribute | Description | Type | Default |
| --- | --- | --- | --- |
| type | Type, can be set to `range` `multiple` | _string_ | `single` |
| switch-mode | Switch mode:<br>`none` Display all months in a tiled format without switch buttons <br>`month` Support switching by month, displaying buttons for previous month/next month <br>`year-month` Support switching by year, as well as by month, displaying buttons for previous year/next year and previous month/next month | _string_ | `none` |
| switch-mode `v4.9.0` | Switch mode:<br>`none` Display all months in a tiled format without switch buttons <br>`month` Support switching by month, displaying buttons for previous month/next month <br>`year-month` Support switching by year, as well as by month, displaying buttons for previous year/next year and previous month/next month | _string_ | `none` |
| title | Title of calendar | _string_ | `Calendar` |
| color | Color for the bottom button and selected date | _string_ | `#1989fa` |
| min-date | Min date | _Date_ | When `switch-mode` is set to `none`, the default value is the today |
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/src/calendar/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| type | 选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间 | _string_ | `single` |
| switch-mode | 切换模式:<br>`none` 平铺展示所有月份,不展示切换按钮,<br>`month` 支持按月切换,展示上个月/下个月按钮,<br>`year-month` 支持按年切换,也支持按月切换,展示上一年/下一年,上个月/下个月按钮 | _string_ | `none` |
| switch-mode `v4.9.0` | 切换模式:<br>`none` 平铺展示所有月份,不展示切换按钮,<br>`month` 支持按月切换,展示上个月/下个月按钮,<br>`year-month` 支持按年切换,也支持按月切换,展示上一年/下一年,上个月/下个月按钮 | _string_ | `none` |
| title | 日历标题 | _string_ | `日期选择` |
| color | 主题色,对底部按钮和选中日期生效 | _string_ | `#1989fa` |
| min-date | 可选择的最小日期 | _Date_ | `switch-mode``none` 时为当前日期 |
Expand Down

0 comments on commit e617945

Please sign in to comment.