Releases: youzan/vant
v4.9.1
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(FloatingPanel): support header slot by @chouchouji in #12897
- feat(AddressList): support multiple selection by @jj56313751 in #12887
- feat(cli): bump Rsbuild v0.7 by @chenjiahan in #12903
- feat: supports
imports
option for auto-import by @zhaojjiang in #12861
Bug Fixes 🐞
- fix(cli): CSS preprocessor for scoped by @zoy-l in #12860
- fix(area): columns-placeholder prop rendering error by @yipl95 in #12857
- fix: VantImports type error by @wChenonly in #12876
- fix(Stepper): set autocomplete to off by @inottn in #12892
- fix(Tab): incorrect style by @pany-ang in #12885
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12849
- docs: add ICP license by @chenjiahan in #12893
- docs: remove VantImports example by @chenjiahan in #12894
- docs: add new document site URL by @chenjiahan in #12902
Other Changes
- chore(deps): update dependency terser to ^5.31.0 by @renovate in #12852
- chore(deps): update all patch dependencies by @renovate in #12851
- chore(deps): update dependency eslint-plugin-vue to ^9.26.0 by @renovate in #12864
- chore(deps): update all patch dependencies by @renovate in #12862
- chore(deps): update pnpm to v9.1.2 by @renovate in #12865
- chore(deps): update dependency commander to ^12.1.0 by @renovate in #12884
- chore(deps): update all patch dependencies by @renovate in #12883
New Contributors
- @zhaojjiang made their first contribution in #12861
- @yipl95 made their first contribution in #12857
- @pany-ang made their first contribution in #12885
- @jj56313751 made their first contribution in #12887
Full Changelog: v4.9.0...v4.9.1
v4.9.0
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Calendar): add switch-mode prop by @inottn in #12836
- feat(PickerGroup): add new prop showToolbar by @ReinoFu in #12839
- feat(CLI): support for configuring Rsbuild by @chenjiahan in #12809
Bug Fixes 🐞
- fix(cli): Vue SFC style binding failure by @zoy-l in #12799
- fix(ImagePreview): swipeItem may be undefined by @inottn in #12818
- fix(Highlight): render correctly when keywords is empty by @Jungzl in #12829
- fix(IndexBar): render active anchor correctly when passing sticky & stickyOffsetTop by @Jungzl in #12837
Document 📖
- docs: remove all Gitee links by @chenjiahan in #12845
- docs: remove gzip size badge by @chenjiahan in #12847
- docs: fix Rsbuild HTML build failed by @chenjiahan in #12848
Other Changes
- chore(deps): update dependency terser to ^5.30.3 by @renovate in #12795
- chore(deps): update dependency eslint-plugin-vue to ^9.25.0 by @renovate in #12794
- chore(deps): update all patch dependencies by @renovate in #12773
- chore(workflow): upgrade to pnpm v9 by @chenjiahan in #12808
- chore: bump [email protected] by @chenjiahan in #12810
- chore(deps): update dependency @vitejs/plugin-vue to v5 by @renovate in #12840
- chore(deps): update dependency commander to v12 by @renovate in #12841
- chore(deps): update actions/setup-node action to v4 by @renovate in #12814
- chore(deps): update github/issue-labeler action to v3.4 by @renovate in #12813
- chore(deps): update codecov/codecov-action action to v4 by @renovate in #12815
- chore(deps): update all patch dependencies by @renovate in #12812
New Contributors
Full Changelog: v4.8.11...v4.9.0
v4.8.11
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix: warning
is not a valid value for v-model
in JetBrains IDE by @anyesu in #12787 - fix(Cli): remove site tsconfig by @chenjiahan in #12792
Document 📖
- docs(changelog): vant v4.8.10 by @chenjiahan in #12772
- docs(list): update Error loading module code by @wangjue666 in #12778
- docs(changelog): @vant/cli 7.0.0 by @chenjiahan in #12791
Other Changes
- chore(deps): update dependency eslint-plugin-vue to ^9.24.1 by @renovate in #12774
- chore(deps): bump Rsbuild v0.6 by @chenjiahan in #12790
New Contributors
- @wangjue666 made their first contribution in #12778
- @anyesu made their first contribution in #12787
Full Changelog: v4.8.10...v4.8.11
v4.8.10
What's Changed
New Features 🎉
- feat(TimePicker): support confirm and getSelectedTime methods by @bluesky335 in #12761
- feat(DatePicker): support confirm and getSelectedDate method by @bluesky335 in #12762
- feat(Coupon): support for checkbox usage by @CatsAndMice in #12744
Other Changes
- chore(deps): update dependency vite to v5.0.13 [security] by @renovate in #12767
- chore(deps): update all patch dependencies by @renovate in #12756
- chore(deps): update dependency @types/lodash to ^4.17.0 by @renovate in #12757
- chore: correct return type of getSelectedTime by @chenjiahan in #12768
- refactor(Coupon): simplify the checkbox usage by @chenjiahan in #12771
New Contributors
- @bluesky335 made their first contribution in #12761
Full Changelog: v4.8.8...v4.8.10
v4.8.8
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(image-preview): export onLoad and style for image slot by @chouchouji in #12740
- feat(AddressList): add event param for click-item by @chenjiahan in #12748
Bug Fixes 🐞
- fix(floating-bubble): update offset when the value changed by @chouchouji in #12730
- fix(vant-cli): support defineOptions named by @wChenonly in #12734
- fix(PickerGroup): rendering correctly when using v-for by @inottn in #12732
- fix(TextEllipsis): should recalculate the ellipsis state when the component is activated by @inottn in #12741
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12707
- docs(button): Keep Chinese and English documents consistent by @chouchouji in #12708
- docs(cell): correct the type of label by @chouchouji in #12721
- docs(ImagePreview): add image slot scale guide by @chenjiahan in #12751
Other Changes
- chore(deps): update dependency vue-router to v4.3.0 by @renovate in #12702
- chore(deps): update dependency esbuild to ^0.20.0 by @renovate in #12696
- chore(workflow): let renovate bump package.json by @chenjiahan in #12714
- chore(deps): update dependency eslint to ^8.57.0 by @renovate in #12723
- chore(docs): update the vue3-vant-mobile reference by @CharleeWa in #12735
- chore(deps): update dependency commander to ^11.1.0 by @renovate in #12718
- chore(deps): update dependency enquirer to v2.4.1 by @renovate in #12695
- chore(deps): update dependency @vue/test-utils to ^2.4.5 by @renovate in #12716
- chore(deps): bump Rsbuild v0.5 by @chenjiahan in #12747
- chore(deps): update dependency eslint-config-prettier to ^9.1.0 by @renovate in #12724
- chore(deps): update dependency fs-extra to ^11.2.0 by @renovate in #12745
- chore(deps): update dependency highlight.js to ^11.9.0 by @renovate in #12746
- chore(deps): update dependency fast-glob to ^3.3.2 by @renovate in #12731
- chore(deps): update dependency less to ^4.2.0 by @renovate in #12752
- chore(workflow): let renovate group patch updates by @chenjiahan in #12754
New Contributors
- @CharleeWa made their first contribution in #12735
Full Changelog: v4.8.7...v4.8.8
v4.8.7
v4.8.6
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(ImagePreview): add vertical prop by @suncohey in #12660
- feat(signature): export clear and submit method by @chouchouji in #12654
- feat: support unplugin-auto-import plugin by @DragonnZhang in #12679
- feat(ActionSheet): add icon support to the actions data by @wjw-gavin in #12671
Bug Fixes 🐞
- fix(ImagePreview): allow user to swipe to next image when the current image is moved to the edge by @inottn in #12666
- fix(ActionSheet): icon class name by @chenjiahan in #12701
Document 📖
- docs(ImagePreview): add vertical prop by @chenjiahan in #12663
- docs: change tab's 'Before Change' into a real async function by @gxy5202 in #12693
Other Changes
- chore(deps): bump Rsbuild 0.4.12 by @chenjiahan in #12665
- chore(deps): update dependency @vue/test-utils to v2.4.5 by @renovate in #12681
- chore(deps): update dependency autoprefixer to v10.4.18 by @renovate in #12682
- chore(workflow): disable dependency dashboard by @chenjiahan in #12686
- chore(deps): update dependency prettier to v3.2.5 by @renovate in #12685
- chore(deps): update rsbuild to v0.4.15 by @renovate in #12688
- chore(deps): update dependency eslint to v8.57.0 by @renovate in #12697
- chore(deps): update dependency typescript to v5.4.2 by @renovate in #12700
New Contributors
- @chouchouji made their first contribution in #12654
- @renovate made their first contribution in #12681
- @gxy5202 made their first contribution in #12693
- @DragonnZhang made their first contribution in #12679
Full Changelog: v4.8.5...v4.8.6
v4.8.5
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
- docs: update docs for params related to Picker events by @wjw-gavin in #12619
- docs(DatePicker): fix en-docs error by @wjw-gavin in #12620
- docs(Uploader): fix miss double quote by @nemo-shen in #12627
- docs: add full registration guide by @chenjiahan in #12628
- docs: add Rsbuild import on demand guide by @chenjiahan in #12629
Other Changes
- Revert "fix(DropdownMenu): fix recursive update when passing object literal to title-class (#12614)" by @inottn in #12617
- chore(deps): bump Rsbuild v0.4 by @chenjiahan in #12625
- chore(workflow): setup renovate config by @chenjiahan in #12626
- test: skip image SSR test case by @chenjiahan in #12644
New Contributors
Full Changelog: 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 #12599
Bug Fixes 🐞
- fix(Sticky): initial sticky position by @nemo-shen in #12601
- fix(DropdownMenu): fix recursive update when passing object literal to title-class by @inottn in #12614
Document 📖
Other Changes
- chore(deps): bump Rsbuild 0.3.9 and enable clean dist by @chenjiahan in #12600
- chore: avoid workflow running on forked repo by @tolking in #12607
- chore(workflow): using new M1 macOS runner by @chenjiahan in #12615
Full Changelog: 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 #12556
- feat(TextEllipsis): add
action
slot by @nemo-shen in #12560 - feat(ImagePreview): add close-on-click-image prop by @inottn in #12566
- feat(icons): add icon
arrow-double-left
andarrow-double-right
by @nemo-shen in #12579 - feat(Toast): add z-index prop by @inottn in #12587
Bug Fixes 🐞
- fix(Tab): tab(with sticky prop) loss 'fixed' classname after switch tab by @nemo-shen in #12547
- fix(Image): ImagePosition type is not exported before by @Jungzl in #12549
- fix(Tabs): van-border-radius-sm to van-radius-sm by @edram in #12576
Document 📖
- docs(changelog): vant v4.8.2 by @chenjiahan in #12543
- docs(Lazyload): fix preLoad type error and spelling mistakes by @RSS1102 in #12554
- docs(home): update heading level by @inottn in #12577
Other Changes
- test: bump vitest v1.1.3 by @inottn in #12546
- chore(deps): bump Rsbuild to v0.3.2 by @chenjiahan in #12565
- chore(deps): bump vue to v3.4.13 by @inottn in #12567
- chore(deps): bump vite from 5.0.11 to 5.0.12 by @dependabot in #12588
New Contributors
Full Changelog: v4.8.2...v4.8.3