Releases: youzan/vant
Releases · youzan/vant
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
v4.8.2
What's Changed
New Features 🎉
- feat: support link css from shadow dom by @yoyo837 in #12526
- feat(DropdownMenu): add auto-locate prop by @inottn in #12251
Performance 🚀
- perf(CLI): improve markdown compile performance by @chenjiahan in #12541
Bug Fixes 🐞
- fix(ci): eslint on windows (#12492) by @Jungzl in #12516
- fix(ImagePreview): double-scale and close-on-click-overlay may not work in certain scenarios by @inottn in #12521
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12512
Other Changes
- chore(deps): bump Rsbuild v0.2.8 by @chenjiahan in #12519
- chore(deps): bump Vue 3.4.0-beta.4 by @chenjiahan in #12520
- test: bump vitest v1.1.0 by @chenjiahan in #12522
- chore(deps): bump vite v5 by @chenjiahan in #12523
- chore(deps): bump esbuild v0.19 by @chenjiahan in #12524
- chore: lock Rspack v0.4.3 to fix CSS issue by @chenjiahan in #12525
- chore(workflow): adjust issue templates by @chenjiahan in #12528
- chore(workflow): update codesandbox URL by @chenjiahan in #12529
- chore: update vitest config by @inottn in #12530
- chore(deps): bump Rsbuild and Vue by @chenjiahan in #12532
- chore(ImagePreview): reuse isTap ref by @inottn in #12536
- test(Toast): reduce test run time by @inottn in #12538
- test(FloatingBubble): reduce test run time by @inottn in #12539
- release: vant v4.8.2 by @chenjiahan in #12542
Full Changelog: v4.8.1...v4.8.2
v4.8.1
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- perf(TextEllipsis): reuse windowWidth to avoid repeat calculations by @inottn in #12471
- feat(TextEllipsis): add the toggle instance method by @wjw-gavin in #12472
- feat(cli): bump Rsbuild v0.2.2 by @chenjiahan in #12502
Performance 🚀
- perf(cli): disable source map to make compilation faster by @chenjiahan in #12484
Bug Fixes 🐞
- fix(cli): remove unused script in template by @chenjiahan in #12482
- fix(TextEllipsis): fix missing param for toggle by @wjw-gavin in #12483
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12456
- docs(collapse): fix missing
ref
tags by @RSS1102 in #12460 - docs(collapse): fix translation Error by @RSS1102 in #12464
- docs(dialog): fix translation Error and keep the sample code the same by @RSS1102 in #12465
- docs(TreeSelect): correct variable names by @inottn in #12469
- docs: add Rsbuild scaffold guide by @chenjiahan in #12475
- docs(image-preview): usage of Supplementing
className
by @RSS1102 in #12491 - docs(Quickstart): unplugin-vue-components usage updated (#12499) by @wChenonly in #12500
Other Changes
- chore(workflow): add perf label for PR by @chenjiahan in #12473
- refactor(CLI): integrate Rsbuild to build website by @chenjiahan in #12481
- chore: bump Rspack 0.4.2 to fix Chinese path by @chenjiahan in #12496
- chore(deps): bump vite from 4.4.9 to 4.4.12 by @dependabot in #12493
New Contributors
Full Changelog: v4.8.0...v4.8.1