Releases: youzan/vant
Releases · youzan/vant
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
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): [email protected] 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
v2.13.2
v4.7.2
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Icon): add font-family css var by @JeremyFan in #12354
*feat(ImagePreview): add doubleScale option by @coderXMin in #12360
Bug Fixes 🐞
- fix(Icons): compatible with the browser range of Vant 2 by @chenjiahan in #12356
- fix(Uploader): multiple reupload only choose one & cancel chose problem by @zhousg in #12359
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12346
Other Changes
- refactor(Signature): avoid setting the canvas width and height in the next tick by @inottn in #12347
- refactor(Signature): use scale method to enhance clarity by @inottn in #12363
- chore(deps): bump rslog v1.1.0 by @chenjiahan in #12364
- chore(cli): merge greet logs by @chenjiahan in #12365
- chore(ImagePreview): rename doubleScale and add test case by @chenjiahan in #12366
New Contributors
- @coderXMin made their first contribution in #12360
Full Changelog: v4.7.1...v4.7.2
v2.13.1
v4.7.1
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(FloatingPanel): optimize bounce animate by @zhousg in #12317
- feat(cli): using rslog by @chenjiahan in #12334
- style(Swipe): declare transition-property by @chenjiahan in #12336
- feat(Notify): add jsdoc for utility functions by @chenjiahan in #12342
- feat(Dialog): add JSDoc for utility functions by @chenjiahan in #12343
- feat(Toast): add JSDoc for utility functions by @chenjiahan in #12344
Bug Fixes 🐞
- fix(Popup): fix failed to inherit scopedId by @chenjiahan in #12327
- fix(CellGroup): failed to inherit scopeId with title by @chenjiahan in #12328
- fix(Popover): failed to inherit scopedId by @chenjiahan in #12329
- fix(docs): mistypo Georqia to Georgia by @mahnunchik in #12331
Document 📖
- docs(changelog): vant 4.7.0 by @chenjiahan in #12318
- docs: fix typo in Form by @zcvvvbb in #12322
- docs: add more ecosystem projects by @chenjiahan in #12338
- docs(ImagePreview): improve English document by @chenjiahan in #12345
Other Changes
- chore(Swipe): limit the decimal length of transform by @chenjiahan in #12337
- chore: bump pnpm v8.8.0 by @chenjiahan in #12339
- chore(deps): bump postcss from 8.4.27 to 8.4.31 by @dependabot in #12341
New Contributors
- @zcvvvbb made their first contribution in #12322
- @mahnunchik made their first contribution in #12331
Full Changelog: v4.7.0...v4.7.1
v4.7.0
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Calendar): add click-disabled-date event by @LadyChatterleyLover in #12274
- feat(Uploader): add
--van-uploader-border-radius
css variables by @xieyezi in #12280 - feat(Icon): add 11 new icons by @chenjiahan in #12291
- feat(SwipeCell): Fix triggered close by clickAway when in running beforeClose by @nined9 in #12309
- feat(AddressEdit): add change event for name and tel input by @zhousg in #12310
- types(Dialog): improve showDialog return type by @chenjiahan in #12316
Bug Fixes 🐞
- fix(cli): allow missing build script when releasing by @chenjiahan in #12292
- fix(Picker): fix bug the content of the popup window is not consistent with the Chinese version under the English version by @lllomh in #12300
- fix(Signature): fix checking if canvas is empty when backgoundColor is set by @sywyyhykkk in #12304
- fix(FloatingPanel): dragging down causes the page to move by @zhousg in #12314
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12273
- docs(Picker): improve picker document by @MrXwq in #12275
- docs(Uploader): add FAQ about camera permission by @chenjiahan in #12289
Other Changes
- test(Dialog): enable function-call test cases by @chenjiahan in #12315
New Contributors
- @nined9 made their first contribution in #12309
- @sywyyhykkk made their first contribution in #12304
Full Changelog: v4.6.8...v4.7.0
v2.13.0
v4.6.8
Please refer to Changelog for all changes. | 请访问 更新日志 了解所有更新。
What's Changed
New Features 🎉
- feat(Cell): add css vars to customize font size of the cell value by @inottn in #12260
- feat(ConfigProvider): supplement the type declaration of ConfigProviderThemeVars by @xieyezi in #12264
- feat(NavBar): add leftDisabled and rightDisabled prop by @m-xlsea in #12258
Bug Fixes 🐞
- fix(ConfigProvider): failed to set some basic theme vars by @chenjiahan in #12272
- fix(ConfigProvider): ConfigProviderThemeVars
fontSizeXs
hump by @xieyezi in #12267
Document 📖
- docs(changelog): [email protected] by @chenjiahan in #12249
- docs(NavBar): add disable button demo by @chenjiahan in #12270
Other Changes
- chore(CI): enable single-commit to reduce the repo size by @chenjiahan in #12268
- chore(CI): bump actions version by @chenjiahan in #12269
- chore: move axure to vant-assets repo by @chenjiahan in #12271
New Contributors
Full Changelog: v4.6.7...v4.6.8