v4.9.0
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
- feat(Calendar): add switch-mode prop by @inottn in https://github.com/youzan/vant/pull/12836
- feat(PickerGroup): add new prop showToolbar by @ReinoFu in https://github.com/youzan/vant/pull/12839
- feat(CLI): support for configuring Rsbuild by @chenjiahan in https://github.com/youzan/vant/pull/12809
- fix(cli): Vue SFC style binding failure by @zoy-l in https://github.com/youzan/vant/pull/12799
- fix(ImagePreview): swipeItem may be undefined by @inottn in https://github.com/youzan/vant/pull/12818
- fix(Highlight): render correctly when keywords is empty by @Jungzl in https://github.com/youzan/vant/pull/12829
- fix(IndexBar): render active anchor correctly when passing sticky & stickyOffsetTop by @Jungzl in https://github.com/youzan/vant/pull/12837
- docs: remove all Gitee links by @chenjiahan in https://github.com/youzan/vant/pull/12845
- docs: remove gzip size badge by @chenjiahan in https://github.com/youzan/vant/pull/12847
- docs: fix Rsbuild HTML build failed by @chenjiahan in https://github.com/youzan/vant/pull/12848
- chore(deps): update dependency terser to ^5.30.3 by @renovate in https://github.com/youzan/vant/pull/12795
- chore(deps): update dependency eslint-plugin-vue to ^9.25.0 by @renovate in https://github.com/youzan/vant/pull/12794
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/12773
- chore(workflow): upgrade to pnpm v9 by @chenjiahan in https://github.com/youzan/vant/pull/12808
- chore: bump github-pages-deploy-action@v4.6.0 by @chenjiahan in https://github.com/youzan/vant/pull/12810
- chore(deps): update dependency @vitejs/plugin-vue to v5 by @renovate in https://github.com/youzan/vant/pull/12840
- chore(deps): update dependency commander to v12 by @renovate in https://github.com/youzan/vant/pull/12841
- chore(deps): update actions/setup-node action to v4 by @renovate in https://github.com/youzan/vant/pull/12814
- chore(deps): update github/issue-labeler action to v3.4 by @renovate in https://github.com/youzan/vant/pull/12813
- chore(deps): update codecov/codecov-action action to v4 by @renovate in https://github.com/youzan/vant/pull/12815
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/12812
- @ReinoFu made their first contribution in https://github.com/youzan/vant/pull/12839
Full Changelog: https://github.com/youzan/vant/compare/v4.8.11...v4.9.0
v4.8.11
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
- feat(DropdownMenu): add disabled for option by @inottn in https://github.com/youzan/vant/pull/12785
- fix: warning
is not a valid value for v-model
in JetBrains IDE by @anyesu in https://github.com/youzan/vant/pull/12787 - fix(Cli): remove site tsconfig by @chenjiahan in https://github.com/youzan/vant/pull/12792
- docs(changelog): vant v4.8.10 by @chenjiahan in https://github.com/youzan/vant/pull/12772
- docs(list): update Error loading module code by @wangjue666 in https://github.com/youzan/vant/pull/12778
- docs(changelog): @vant/cli 7.0.0 by @chenjiahan in https://github.com/youzan/vant/pull/12791
- chore(deps): update dependency eslint-plugin-vue to ^9.24.1 by @renovate in https://github.com/youzan/vant/pull/12774
- chore(deps): bump Rsbuild v0.6 by @chenjiahan in https://github.com/youzan/vant/pull/12790
- @wangjue666 made their first contribution in https://github.com/youzan/vant/pull/12778
- @anyesu made their first contribution in https://github.com/youzan/vant/pull/12787
Full Changelog: https://github.com/youzan/vant/compare/v4.8.10...v4.8.11
v4.8.10
- feat(TimePicker): support confirm and getSelectedTime methods by @bluesky335 in https://github.com/youzan/vant/pull/12761
- feat(DatePicker): support confirm and getSelectedDate method by @bluesky335 in https://github.com/youzan/vant/pull/12762
- feat(Coupon): support for checkbox usage by @CatsAndMice in https://github.com/youzan/vant/pull/12744
- chore(deps): update dependency vite to v5.0.13 [security] by @renovate in https://github.com/youzan/vant/pull/12767
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/12756
- chore(deps): update dependency @types/lodash to ^4.17.0 by @renovate in https://github.com/youzan/vant/pull/12757
- chore: correct return type of getSelectedTime by @chenjiahan in https://github.com/youzan/vant/pull/12768
- refactor(Coupon): simplify the checkbox usage by @chenjiahan in https://github.com/youzan/vant/pull/12771
- @bluesky335 made their first contribution in https://github.com/youzan/vant/pull/12761
Full Changelog: https://github.com/youzan/vant/compare/v4.8.8...v4.8.10
v4.8.8
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
- feat(image-preview): export onLoad and style for image slot by @chouchouji in https://github.com/youzan/vant/pull/12740
- feat(AddressList): add event param for click-item by @chenjiahan in https://github.com/youzan/vant/pull/12748
- fix(floating-bubble): update offset when the value changed by @chouchouji in https://github.com/youzan/vant/pull/12730
- fix(vant-cli): support defineOptions named by @wChenonly in https://github.com/youzan/vant/pull/12734
- fix(PickerGroup): rendering correctly when using v-for by @inottn in https://github.com/youzan/vant/pull/12732
- fix(TextEllipsis): should recalculate the ellipsis state when the component is activated by @inottn in https://github.com/youzan/vant/pull/12741
- docs(changelog): vant@4.8.7 by @chenjiahan in https://github.com/youzan/vant/pull/12707
- docs(button): Keep Chinese and English documents consistent by @chouchouji in https://github.com/youzan/vant/pull/12708
- docs(cell): correct the type of label by @chouchouji in https://github.com/youzan/vant/pull/12721
- docs(ImagePreview): add image slot scale guide by @chenjiahan in https://github.com/youzan/vant/pull/12751
- chore(deps): update dependency vue-router to v4.3.0 by @renovate in https://github.com/youzan/vant/pull/12702
- chore(deps): update dependency esbuild to ^0.20.0 by @renovate in https://github.com/youzan/vant/pull/12696
- chore(workflow): let renovate bump package.json by @chenjiahan in https://github.com/youzan/vant/pull/12714
- chore(deps): update dependency eslint to ^8.57.0 by @renovate in https://github.com/youzan/vant/pull/12723
- chore(docs): update the vue3-vant-mobile reference by @CharleeWa in https://github.com/youzan/vant/pull/12735
- chore(deps): update dependency commander to ^11.1.0 by @renovate in https://github.com/youzan/vant/pull/12718
- chore(deps): update dependency enquirer to v2.4.1 by @renovate in https://github.com/youzan/vant/pull/12695
- chore(deps): update dependency @vue/test-utils to ^2.4.5 by @renovate in https://github.com/youzan/vant/pull/12716
- chore(deps): bump Rsbuild v0.5 by @chenjiahan in https://github.com/youzan/vant/pull/12747
- chore(deps): update dependency eslint-config-prettier to ^9.1.0 by @renovate in https://github.com/youzan/vant/pull/12724
- chore(deps): update dependency fs-extra to ^11.2.0 by @renovate in https://github.com/youzan/vant/pull/12745
- chore(deps): update dependency highlight.js to ^11.9.0 by @renovate in https://github.com/youzan/vant/pull/12746
- chore(deps): update dependency fast-glob to ^3.3.2 by @renovate in https://github.com/youzan/vant/pull/12731
- chore(deps): update dependency less to ^4.2.0 by @renovate in https://github.com/youzan/vant/pull/12752
- chore(workflow): let renovate group patch updates by @chenjiahan in https://github.com/youzan/vant/pull/12754
- @CharleeWa made their first contribution in https://github.com/youzan/vant/pull/12735
Full Changelog: https://github.com/youzan/vant/compare/v4.8.7...v4.8.8
v4.8.7
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
- docs(changelog): vant@4.8.6 by @chenjiahan in https://github.com/youzan/vant/pull/12703
- chore: Update homepage by @yoyo837 in https://github.com/youzan/vant/pull/12704
Full Changelog: https://github.com/youzan/vant/compare/v4.8.6...v4.8.7
v4.8.6
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
- feat(ImagePreview): add vertical prop by @suncohey in https://github.com/youzan/vant/pull/12660
- feat(signature): export clear and submit method by @chouchouji in https://github.com/youzan/vant/pull/12654
- feat: support unplugin-auto-import plugin by @DragonnZhang in https://github.com/youzan/vant/pull/12679
- feat(ActionSheet): add icon support to the actions data by @wjw-gavin in https://github.com/youzan/vant/pull/12671
- fix(ImagePreview): allow user to swipe to next image when the current image is moved to the edge by @inottn in https://github.com/youzan/vant/pull/12666
- fix(ActionSheet): icon class name by @chenjiahan in https://github.com/youzan/vant/pull/12701
- docs(ImagePreview): add vertical prop by @chenjiahan in https://github.com/youzan/vant/pull/12663
- docs: change tab's 'Before Change' into a real async function by @gxy5202 in https://github.com/youzan/vant/pull/12693
- chore(deps): bump Rsbuild 0.4.12 by @chenjiahan in https://github.com/youzan/vant/pull/12665
- chore(deps): update dependency @vue/test-utils to v2.4.5 by @renovate in https://github.com/youzan/vant/pull/12681
- chore(deps): update dependency autoprefixer to v10.4.18 by @renovate in https://github.com/youzan/vant/pull/12682
- chore(workflow): disable dependency dashboard by @chenjiahan in https://github.com/youzan/vant/pull/12686
- chore(deps): update dependency prettier to v3.2.5 by @renovate in https://github.com/youzan/vant/pull/12685
- chore(deps): update rsbuild to v0.4.15 by @renovate in https://github.com/youzan/vant/pull/12688
- chore(deps): update dependency eslint to v8.57.0 by @renovate in https://github.com/youzan/vant/pull/12697
- chore(deps): update dependency typescript to v5.4.2 by @renovate in https://github.com/youzan/vant/pull/12700
- @chouchouji made their first contribution in https://github.com/youzan/vant/pull/12654
- @renovate made their first contribution in https://github.com/youzan/vant/pull/12681
- @gxy5202 made their first contribution in https://github.com/youzan/vant/pull/12693
- @DragonnZhang made their first contribution in https://github.com/youzan/vant/pull/12679
Full Changelog: https://github.com/youzan/vant/compare/v4.8.5...v4.8.6
v4.8.5
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Image): add
crossorigin
&referrerpolicy
props by @Jungzl in https://github.com/youzan/vant/pull/12641
Bug Fixes 🐞
- fix(NumberKeyboard): render delete slot correctly when theme is custom by @TPORL in https://github.com/youzan/vant/pull/12624
Document 📖
- docs: update docs for params related to Picker events by @wjw-gavin in https://github.com/youzan/vant/pull/12619
- docs(DatePicker): fix en-docs error by @wjw-gavin in https://github.com/youzan/vant/pull/12620
- docs(Uploader): fix miss double quote by @nemo-shen in https://github.com/youzan/vant/pull/12627
- docs: add full registration guide by @chenjiahan in https://github.com/youzan/vant/pull/12628
- docs: add Rsbuild import on demand guide by @chenjiahan in https://github.com/youzan/vant/pull/12629
Other Changes
- Revert "fix(DropdownMenu): fix recursive update when passing object literal to title-class (#12614)" by @inottn in https://github.com/youzan/vant/pull/12617
- chore(deps): bump Rsbuild v0.4 by @chenjiahan in https://github.com/youzan/vant/pull/12625
- chore(workflow): setup renovate config by @chenjiahan in https://github.com/youzan/vant/pull/12626
- test: skip image SSR test case by @chenjiahan in https://github.com/youzan/vant/pull/12644
New Contributors
- @TPORL made their first contribution in https://github.com/youzan/vant/pull/12624
Full Changelog: https://github.com/youzan/vant/compare/v4.8.4...v4.8.5
v4.8.4
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Picker): allow to hidden to toolbar buttons by @chenjiahan in https://github.com/youzan/vant/pull/12599
Bug Fixes 🐞
- fix(Sticky): initial sticky position by @nemo-shen in https://github.com/youzan/vant/pull/12601
- fix(DropdownMenu): fix recursive update when passing object literal to title-class by @inottn in https://github.com/youzan/vant/pull/12614
Document 📖
- docs: improve quickstart tips by @inottn in https://github.com/youzan/vant/pull/12606
Other Changes
- chore(deps): bump Rsbuild 0.3.9 and enable clean dist by @chenjiahan in https://github.com/youzan/vant/pull/12600
- chore: avoid workflow running on forked repo by @tolking in https://github.com/youzan/vant/pull/12607
- chore(workflow): using new M1 macOS runner by @chenjiahan in https://github.com/youzan/vant/pull/12615
Full Changelog: https://github.com/youzan/vant/compare/v4.8.3...v4.8.4
v4.8.3
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Notify): add teleport prop by @inottn in https://github.com/youzan/vant/pull/12556
- feat(TextEllipsis): add
action
slot by @nemo-shen in https://github.com/youzan/vant/pull/12560 - feat(ImagePreview): add close-on-click-image prop by @inottn in https://github.com/youzan/vant/pull/12566
- feat(icons): add icon
arrow-double-left
andarrow-double-right
by @nemo-shen in https://github.com/youzan/vant/pull/12579 - feat(Toast): add z-index prop by @inottn in https://github.com/youzan/vant/pull/12587
Bug Fixes 🐞
- fix(Tab): tab(with sticky prop) loss 'fixed' classname after switch tab by @nemo-shen in https://github.com/youzan/vant/pull/12547
- fix(Image): ImagePosition type is not exported before by @Jungzl in https://github.com/youzan/vant/pull/12549
- fix(Tabs): van-border-radius-sm to van-radius-sm by @edram in https://github.com/youzan/vant/pull/12576
Document 📖
- docs(changelog): vant v4.8.2 by @chenjiahan in https://github.com/youzan/vant/pull/12543
- docs(Lazyload): fix preLoad type error and spelling mistakes by @RSS1102 in https://github.com/youzan/vant/pull/12554
- docs(home): update heading level by @inottn in https://github.com/youzan/vant/pull/12577
Other Changes
- test: bump vitest v1.1.3 by @inottn in https://github.com/youzan/vant/pull/12546
- chore(deps): bump Rsbuild to v0.3.2 by @chenjiahan in https://github.com/youzan/vant/pull/12565
- chore(deps): bump vue to v3.4.13 by @inottn in https://github.com/youzan/vant/pull/12567
- chore(deps): bump vite from 5.0.11 to 5.0.12 by @dependabot in https://github.com/youzan/vant/pull/12588
New Contributors
- @edram made their first contribution in https://github.com/youzan/vant/pull/12576
Full Changelog: https://github.com/youzan/vant/compare/v4.8.2...v4.8.3
v4.8.2
What's Changed
New Features 🎉
- feat: support link css from shadow dom by @yoyo837 in https://github.com/youzan/vant/pull/12526
- feat(DropdownMenu): add auto-locate prop by @inottn in https://github.com/youzan/vant/pull/12251
Performance 🚀
- perf(CLI): improve markdown compile performance by @chenjiahan in https://github.com/youzan/vant/pull/12541
Bug Fixes 🐞
- fix(ci): eslint on windows (#12492) by @Jungzl in https://github.com/youzan/vant/pull/12516
- fix(ImagePreview): double-scale and close-on-click-overlay may not work in certain scenarios by @inottn in https://github.com/youzan/vant/pull/12521
Document 📖
- docs(changelog): vant@4.8.1 by @chenjiahan in https://github.com/youzan/vant/pull/12512
Other Changes
- chore(deps): bump Rsbuild v0.2.8 by @chenjiahan in https://github.com/youzan/vant/pull/12519
- chore(deps): bump Vue 3.4.0-beta.4 by @chenjiahan in https://github.com/youzan/vant/pull/12520
- test: bump vitest v1.1.0 by @chenjiahan in https://github.com/youzan/vant/pull/12522
- chore(deps): bump vite v5 by @chenjiahan in https://github.com/youzan/vant/pull/12523
- chore(deps): bump esbuild v0.19 by @chenjiahan in https://github.com/youzan/vant/pull/12524
- chore: lock Rspack v0.4.3 to fix CSS issue by @chenjiahan in https://github.com/youzan/vant/pull/12525
- chore(workflow): adjust issue templates by @chenjiahan in https://github.com/youzan/vant/pull/12528
- chore(workflow): update codesandbox URL by @chenjiahan in https://github.com/youzan/vant/pull/12529
- chore: update vitest config by @inottn in https://github.com/youzan/vant/pull/12530
- chore(deps): bump Rsbuild and Vue by @chenjiahan in https://github.com/youzan/vant/pull/12532
- chore(ImagePreview): reuse isTap ref by @inottn in https://github.com/youzan/vant/pull/12536
- test(Toast): reduce test run time by @inottn in https://github.com/youzan/vant/pull/12538
- test(FloatingBubble): reduce test run time by @inottn in https://github.com/youzan/vant/pull/12539
- release: vant v4.8.2 by @chenjiahan in https://github.com/youzan/vant/pull/12542
Full Changelog: https://github.com/youzan/vant/compare/v4.8.1...v4.8.2