v4.9.21
- feat(Tab): Add useAllTabStatus and replace useTabStatus by @yuhengshen in https://github.com/youzan/vant/pull/13516
- fix(Progress): width overflow by @pany-ang in https://github.com/youzan/vant/pull/13519
- fix(FloatingBubble): should handle negative gap values by @inottn in https://github.com/youzan/vant/pull/13544
- fix(checkbox): apply 'checked-color' when 'checkbox' is indeterminate by @keeplearning66 in https://github.com/youzan/vant/pull/13553
- chore(deps): update dependency terser to ^5.43.1 by @renovate[bot] in https://github.com/youzan/vant/pull/13510
- chore(deps): update dependency commander to v14 by @renovate[bot] in https://github.com/youzan/vant/pull/13511
- chore(deps): update dependency @rslib/core to ^0.10.4 by @renovate[bot] in https://github.com/youzan/vant/pull/13529
- chore(deps): update dependency prettier to ^3.6.2 - autoclosed by @renovate[bot] in https://github.com/youzan/vant/pull/13541
- chore(deps): update dependency @babel/core to ^7.28.0 by @renovate[bot] in https://github.com/youzan/vant/pull/13549
- chore(deps): update rsbuild to v1.4.6 by @renovate[bot] in https://github.com/youzan/vant/pull/13540
- chore(deps): update all patch dependencies by @renovate[bot] in https://github.com/youzan/vant/pull/13528
- chore(deps): update dependency @types/node to ^22.16.3 by @renovate[bot] in https://github.com/youzan/vant/pull/13550
- @keeplearning66 made their first contribution in https://github.com/youzan/vant/pull/13553
Full Changelog: https://github.com/youzan/vant/compare/v4.9.20...v4.9.21
v2.13.9
✨ Features
- feat(Sku): support disable_status field to filter disabled SKU options (#13520)
v4.9.20
- feat(Popup): add overlay-props prop by @chenjiahan in https://github.com/youzan/vant/pull/13443
- feat(image): add native
decoding
prop to Image component by @tajrobewiki in https://github.com/youzan/vant/pull/13487
- fix(Picker): makesure confirm params' behavior consistent (#13423) by @KayneWang in https://github.com/youzan/vant/pull/13425
- fix(Picker): update selected values when modelValue is cleared by @chenjiahan in https://github.com/youzan/vant/pull/13445
- fix(Watermark): ensure watermark updates on imageBase64 change by @inottn in https://github.com/youzan/vant/pull/13474
- docs: correct window.innerWidth to window.innerHeight in FloatingPanel by @tuesdaytoyou in https://github.com/youzan/vant/pull/13456
- docs(Form): fix variable errors by @pany-ang in https://github.com/youzan/vant/pull/13499
- docs: fix typo in uploader document by @Uyoahz26 in https://github.com/youzan/vant/pull/13502
- docs: fix typo in contribution by @git0x4c in https://github.com/youzan/vant/pull/13505
- docs(Field): add field version number for A's props by @pany-ang in https://github.com/youzan/vant/pull/13506
- docs(Uploader): optimize parameter description by @pany-ang in https://github.com/youzan/vant/pull/13498
- docs(Image): add decoding prop by @chenjiahan in https://github.com/youzan/vant/pull/13509
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13434
- chore(deps): update dependency less to ^4.3.0 by @renovate in https://github.com/youzan/vant/pull/13435
- fix(DropdownMenu): DropdownMenu overlay flickering by @yuhengshen in https://github.com/youzan/vant/pull/13436
- chore(deps): update pnpm to v10.9.0 by @renovate in https://github.com/youzan/vant/pull/13446
- chore(deps): update vitest to ^3.1.2 by @renovate in https://github.com/youzan/vant/pull/13447
- chore(deps): update pnpm to v10.10.0 by @renovate in https://github.com/youzan/vant/pull/13467
- chore(deps): update dependency @babel/core to ^7.27.1 by @renovate in https://github.com/youzan/vant/pull/13466
- chore(deps): update dependency @types/node to ^22.15.17 by @renovate in https://github.com/youzan/vant/pull/13460
- chore(deps): update dependency vite to v5.4.19 [security] by @renovate in https://github.com/youzan/vant/pull/13473
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13459
- chore(deps): update pnpm to v10.11.0 by @renovate in https://github.com/youzan/vant/pull/13482
- chore(deps): update dependency eslint-config-prettier to v10 by @renovate in https://github.com/youzan/vant/pull/13475
- chore(deps): update dependency @rslib/core to ^0.8.0 by @renovate in https://github.com/youzan/vant/pull/13481
- chore(deps): update dependency terser to ^5.40.0 by @renovate in https://github.com/youzan/vant/pull/13495
- chore(deps): update dependency @rslib/core to ^0.9.1 by @renovate in https://github.com/youzan/vant/pull/13494
- chore(deps): update dependency terser to ^5.41.0 by @renovate in https://github.com/youzan/vant/pull/13496
- chore(deps): update vite by @renovate in https://github.com/youzan/vant/pull/13489
- chore(deps): update pnpm to v10.12.1 by @renovate in https://github.com/youzan/vant/pull/13497
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13488
- @KayneWang made their first contribution in https://github.com/youzan/vant/pull/13425
- @tuesdaytoyou made their first contribution in https://github.com/youzan/vant/pull/13456
- @Uyoahz26 made their first contribution in https://github.com/youzan/vant/pull/13502
- @git0x4c made their first contribution in https://github.com/youzan/vant/pull/13505
- @tajrobewiki made their first contribution in https://github.com/youzan/vant/pull/13487
Full Changelog: https://github.com/youzan/vant/compare/v4.9.19...v4.9.20
v2.13.8
- fix(Sku): set properties when sku change https://github.com/youzan/vant/pull/13483
v2.13.7
- feat(Sku): support sku properties https://github.com/youzan/vant/pull/13454
v4.9.19
- types(Dialog): add missing destroyOnClose and keyboardEnabled type by @yuhengshen in https://github.com/youzan/vant/pull/13404
- feat(FloatingBubble): allow gap xy to be set separately (#13297) by @ALiangLiang in https://github.com/youzan/vant/pull/13429
- fix(Picker): ensure that the confirm event params are up to date by @refinist in https://github.com/youzan/vant/pull/13381
- fix(Watermark): should render KeepAlive with Watermark correctly by @inottn in https://github.com/youzan/vant/pull/13422
- fix(Overlay): should inherit attrs when using teleport prop by @inottn in https://github.com/youzan/vant/pull/13424
- docs(Overlay): fix the misleading overlay example by @pany-ang in https://github.com/youzan/vant/pull/13399
- docs: add press-ui in docs by @novlan1 in https://github.com/youzan/vant/pull/13426
- refactor: replace find method for improved readability by @inottn in https://github.com/youzan/vant/pull/13395
- chore(deps): update dependency eslint-plugin-vue to ^9.33.0 by @renovate in https://github.com/youzan/vant/pull/13397
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13396
- chore(deps): update dependency diffable-html to v6 by @renovate in https://github.com/youzan/vant/pull/13407
- chore(deps): bump vite from 5.4.14 to 5.4.15 by @dependabot in https://github.com/youzan/vant/pull/13414
- test: fix Vitest segmentation fault by @chenjiahan in https://github.com/youzan/vant/pull/13415
- test(Stepper): reduce test run time by @inottn in https://github.com/youzan/vant/pull/13421
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13417
- chore(deps): update dependency @babel/preset-typescript to ^7.27.0 by @renovate in https://github.com/youzan/vant/pull/13418
- chore(deps): update dependency @rslib/core to ^0.6.2 by @renovate in https://github.com/youzan/vant/pull/13427
- chore(deps): update dependency @types/node to ^22.14.1 by @renovate in https://github.com/youzan/vant/pull/13428
- chore(deps): update rsbuild by @renovate in https://github.com/youzan/vant/pull/13406
Full Changelog: https://github.com/youzan/vant/compare/v4.9.18...v4.9.19
v4.9.18
- feat(Locale): Added polish translations by @w2b in https://github.com/youzan/vant/pull/13327
- feat(@vant/auto-import-resolver): Support exclude in components or apis by @front-refined in https://github.com/youzan/vant/pull/13357
- feat(Dialog): add destroyOnClose prop to control content destruction on close by @inottn in https://github.com/youzan/vant/pull/13382
- feat(signature): support tips slot by @chouchouji in https://github.com/youzan/vant/pull/13385
- fix(Field): should not modify the value if it's within the min/max by @dgmpk in https://github.com/youzan/vant/pull/13282
- fix(SwipeCell): unintended stopPropagation when canceling a swipe by @yuhengshen in https://github.com/youzan/vant/pull/13350
- fix(Button): fix button active style by @pany-ang in https://github.com/youzan/vant/pull/13386
- docs(Locale): add Polish to zh documentation by @chenjiahan in https://github.com/youzan/vant/pull/13332
- docs(PickerGroup): add constraints to the end date by @inottn in https://github.com/youzan/vant/pull/13334
- docs: add a community project named MobVue by @pany-ang in https://github.com/youzan/vant/pull/13363
- docs: update rolling-text component title by @novlan1 in https://github.com/youzan/vant/pull/13377
- docs(Form): fix form basic usage document errors by @pany-ang in https://github.com/youzan/vant/pull/13387
- chore(deps): update dependency vite to v5.4.12 [security] by @renovate in https://github.com/youzan/vant/pull/13325
- chore(deps): update dependency fs-extra to ^11.3.0 by @renovate in https://github.com/youzan/vant/pull/13320
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13319
- refactor(AddressEdit): remove unused country field by @inottn in https://github.com/youzan/vant/pull/13333
- chore(ci): fix corepack key id mismatch by @inottn in https://github.com/youzan/vant/pull/13341
- chore(deps-dev): bump vitest from 2.1.8 to 2.1.9 by @dependabot in https://github.com/youzan/vant/pull/13342
- test(Field): should not modify the value if it's within the min/max by @inottn in https://github.com/youzan/vant/pull/13343
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13335
- chore(deps): update dependency esbuild to ^0.25.0 [security] by @renovate in https://github.com/youzan/vant/pull/13349
- chore(deps): update dependency commander to ^13.1.0 - autoclosed by @renovate in https://github.com/youzan/vant/pull/13346
- chore(deps): update dependency @types/node to ^22.13.4 by @renovate in https://github.com/youzan/vant/pull/13345
- chore(deps): update dependency @rslib/core to ^0.4.1 by @renovate in https://github.com/youzan/vant/pull/13336
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13352
- chore(deps): update dependency postcss to ^8.5.3 by @renovate in https://github.com/youzan/vant/pull/13353
- chore(deps): update cross-spawn to 7.0.6 to fix security alerts by @chenjiahan in https://github.com/youzan/vant/pull/13358
- chore(deps): update dependency @rslib/core to ^0.5.2 by @renovate in https://github.com/youzan/vant/pull/13359
- chore(deps): update dependency prettier to ^3.5.2 by @renovate in https://github.com/youzan/vant/pull/13360
- chore(deps): update dependency terser to ^5.39.0 by @renovate in https://github.com/youzan/vant/pull/13373
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13372
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13383
- chore(deps): update dependency @vue/babel-plugin-jsx to ^1.4.0 by @renovate in https://github.com/youzan/vant/pull/13384
- chore(renovate): enable dependency dashboard by @chenjiahan in https://github.com/youzan/vant/pull/13391
- chore(deps): update dependency typescript to ^5.8.2 by @renovate in https://github.com/youzan/vant/pull/13392
- chore(deps): update pnpm to v10 by @renovate in https://github.com/youzan/vant/pull/13394
- chore(deps): update node.js to v22 by @renovate in https://github.com/youzan/vant/pull/13393
- @w2b made their first contribution in https://github.com/youzan/vant/pull/13327
- @dgmpk made their first contribution in https://github.com/youzan/vant/pull/13282
- @front-refined made their first contribution in https://github.com/youzan/vant/pull/13357
- @novlan1 made their first contribution in https://github.com/youzan/vant/pull/13377
Full Changelog: https://github.com/youzan/vant/compare/v4.9.16...v4.9.18
v4.9.17
- feat(Locale): Added polish translations by @w2b in https://github.com/youzan/vant/pull/13327
- fix(Field): should not modify the value if it's within the min/max by @dgmpk in https://github.com/youzan/vant/pull/13282
- docs(Locale): add Polish to zh documentation by @chenjiahan in https://github.com/youzan/vant/pull/13332
- docs(PickerGroup): add constraints to the end date by @inottn in https://github.com/youzan/vant/pull/13334
- chore(deps): update dependency vite to v5.4.12 [security] by @renovate in https://github.com/youzan/vant/pull/13325
- chore(deps): update dependency fs-extra to ^11.3.0 by @renovate in https://github.com/youzan/vant/pull/13320
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13319
- refactor(AddressEdit): remove unused country field by @inottn in https://github.com/youzan/vant/pull/13333
- chore(ci): fix corepack key id mismatch by @inottn in https://github.com/youzan/vant/pull/13341
- chore(deps-dev): bump vitest from 2.1.8 to 2.1.9 by @dependabot in https://github.com/youzan/vant/pull/13342
- test(Field): should not modify the value if it's within the min/max by @inottn in https://github.com/youzan/vant/pull/13343
- @w2b made their first contribution in https://github.com/youzan/vant/pull/13327
- @dgmpk made their first contribution in https://github.com/youzan/vant/pull/13282
Full Changelog: https://github.com/youzan/vant/compare/v4.9.16...v4.9.17
v4.9.16
- feat(Calendar): add click-overlay event by @inottn in https://github.com/youzan/vant/pull/13312
- fix(CalendarDay): fix margin-bottom calculation wrong for calendar days by @phil668 in https://github.com/youzan/vant/pull/13271
- chore(deps): update dependency prettier to ^3.4.2 by @renovate in https://github.com/youzan/vant/pull/13267
- chore(deps): update dependency eslint-plugin-vue to ^9.32.0 by @renovate in https://github.com/youzan/vant/pull/13254
- chore(deps): update dependency highlight.js to ^11.11.0 by @renovate in https://github.com/youzan/vant/pull/13266
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13253
- chore(deps): update dependency @rsbuild/plugin-vue-jsx to ^1.1.0 by @renovate in https://github.com/youzan/vant/pull/13280
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13279
- chore(deps): update dependency vue-router to ^4.5.0 by @renovate in https://github.com/youzan/vant/pull/13295
- chore(deps): update dependency terser to ^5.37.0 by @renovate in https://github.com/youzan/vant/pull/13294
- chore(deps): update dependency @rslib/core to ^0.2.2 by @renovate in https://github.com/youzan/vant/pull/13291
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13290
- chore(deps): update jamesives/github-pages-deploy-action action to v4.7.2 by @renovate in https://github.com/youzan/vant/pull/13303
- chore(deps): update all patch dependencies by @renovate in https://github.com/youzan/vant/pull/13302
- chore(deps): update dependency @rslib/core to ^0.3.2 by @renovate in https://github.com/youzan/vant/pull/13305
- chore(deps): update dependency commander to v13 by @renovate in https://github.com/youzan/vant/pull/13306
- chore: fix missing
@types/node
dependency by @chenjiahan in https://github.com/youzan/vant/pull/13318
- @phil668 made their first contribution in https://github.com/youzan/vant/pull/13271
Full Changelog: https://github.com/youzan/vant/compare/v4.9.15...v4.9.16
v4.9.15
This release is to fix a security issue. We found that one of our team members' npm token was stolen and used to release multiple versions with security vulnerabilities. We have taken measures to fix it and re-released the latest version.
The following are deprecated versions, please do not use
- 4.9.14
- 4.9.13
- 4.9.12
- 4.9.11
- 3.6.15
- 3.6.14
- 3.6.13
- 2.13.5
- 2.13.4
- 2.13.3
本次发布是为了修复安全问题。我们发现我们的一名团队成员的 npm token 被盗用,并用于发布多个版本,这些版本带有安全漏洞。我们已经采取了修复措施,并重新发布了 latest 版本。
以下是已经废弃的异常版本,请勿使用
- 4.9.14
- 4.9.13
- 4.9.12
- 4.9.11
- 3.6.15
- 3.6.14
- 3.6.13
- 2.13.5
- 2.13.4
- 2.13.3