Releases: youzan/vant
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): vant@4.8.7 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): vant@4.8.1 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): vant@4.8.0 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
v4.8.0
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(ImagePreview): expose resetScale method by @inottn in #12426
- feat(Highlight): add highlight component by @wjw-gavin in #12434
- feat(Checker): add checked and disabled params to the default slot by @inottn in #12436
- feat(Row): gutter support vertical space by @cc-hearts in #12439
Bug Fixes 🐞
- fix(canendar): subtitle supports reactive by @cc-hearts in #12425
Document 📖
- docs(changelog): vant v4.7.3 by @chenjiahan in #12413
- docs(field): update props size by @Simon-He95 in #12429
- docs(cell): update props size by @Simon-He95 in #12427
- docs(Highlight): add version tip by @chenjiahan in #12438
- docs(Overlay): add set z-index demo by @chenjiahan in #12454
- docs: add Rsbuild to quickstart by @chenjiahan in #12455
Other Changes
- chore(deps): fix security alerts of babel and postcss by @chenjiahan in #12414
- refactor(Highlight): refactor implementation & increase functionality by @inottn in #12442
New Contributors
- @cc-hearts made their first contribution in #12425
Full Changelog: v4.7.3...v4.8.0
v4.7.3
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(locale): Add Arabic Locale by @mo9a7i in #12381
- feat(Form): add required prop and support auto display by @chenjiahan in #12380
- feat(auto-import-resolver): add module option by @chenjiahan in #12383
- style: replace word-break with overflow-wrap by @wjw-gavin in #12396
- feat(Tab): add show-header prop by @yoyo837 in #12394
- style(Search): use consistent padding when display error msg by @chenjiahan in #12409
- feat(Signature): expose resize method by @inottn in #12405
Bug Fixes 🐞
- fix(ConfigProvider): export missing theme vars by @inottn in #12371
- fix(AddressEdit): area field validate error when showArea is false by @zhousg in #12393
- fix(@vant/area-data): add exports types by @Alkaidcc in #12397
- fix(Search): fix search style when has error message by @johnsonwong666 in #12385
- fix(PickerGroup): only filter Comment vnode by @zhousg in #12402
Document 📖
- docs(changelog): vant@4.7.2 by @chenjiahan in #12367
- docs(auto-import-resolver): add doc for importStyle option by @chenjiahan in #12382
- docs(Tab): keep docs and example the same by @wjw-gavin in #12395
- chore: add vscode-common-intellisense to the Community Ecosystem by @Simon-He95 in #12406
- docs(Tabs): add show-header prop by @chenjiahan in #12408
- docs(Signature): add resize method by @chenjiahan in #12411
- docs(progress): remove outdated resize method by @chenjiahan in #12412
Other Changes
- chore(Field): required label css will active when rules contain required by @morance in #12376
- test(ImagePreview): fix incorrect onClose test case by @chenjiahan in #12386
- chore: forked repo, skip CI running by @yoyo837 in #12410
New Contributors
- @morance made their first contribution in #12376
- @mo9a7i made their first contribution in #12381
- @Alkaidcc made their first contribution in #12397
- @johnsonwong666 made their first contribution in #12385
Full Changelog: v4.7.2...v4.7.3