Skip to content

Releases

v2.6.0

Choose a tag to compare

@cexbrayat cexbrayat released this 16 Nov 10:51
Immutable release. Only release title and notes can be modified.

⚠️ Breaking change

Plain object and array props are no longer made deeply reactive. Tests relying on in-place mutations must wrap values in reactive() before mounting, or pass a new value to setProps. Passing the same mutated object to setProps does not trigger a re-render. Already-reactive props stay reactive. See #2951 and the migration guidance.

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.6.0

v2.5.1

Choose a tag to compare

@cexbrayat cexbrayat released this 16 Sep 09:38
Immutable release. Only release title and notes can be modified.
dcb5d6c

What's Changed

New Contributors

Full Changelog: v2.5.0...v2.5.1

v2.5.0

Choose a tag to compare

@cexbrayat cexbrayat released this 27 Aug 14:05
Immutable release. Only release title and notes can be modified.
520a663

⚠️ Breaking change: Vue Test Utils no longer supports class components. See #2904.

What's Changed

  • fix: keep re-rendering root component after another wrapper is mounted by @lazerg in #2890
  • fix: correct summary element behavior by @nn-morishita in #2806
  • fix: clear emitted event history for child components on unmount by @ebiryu in #2898
  • chore!: drop class component support by @cexbrayat in #2904
  • fix: expose defineExpose bindings on findComponent vm by @adamberecz in #2927

New Contributors

Full Changelog: v2.4.11...v2.5.0

v2.4.11

Choose a tag to compare

@cexbrayat cexbrayat released this 04 Jun 15:31
Immutable release. Only release title and notes can be modified.

compare changes

🩹 Fixes

  • Drop legacy Mutation Event listener entries (#2844)
  • Handle setData() correctly for components using both setup() and data() (#2846)
  • Export GlobalMountOptions type (#2851)
  • Set spec-compliant event.code on keydown/keyup (#2850)

❤️ Contributors

v2.4.10

Choose a tag to compare

@cexbrayat cexbrayat released this 12 May 08:55
Immutable release. Only release title and notes can be modified.

compare changes

🩹 Fixes

  • Restore text()/html() for single-root components (#2835)

❤️ Contributors

v2.4.9

Choose a tag to compare

@danielroe danielroe released this 27 Apr 09:53
Immutable release. Only release title and notes can be modified.

compare changes

🩹 Fixes

  • Tolerate duplicate attachTo cleanup (#2830)

📖 Documentation

  • Document release process (#2834)

🏡 Chore

  • Migrate renovate config (5d37934)

🤖 CI

  • Pin github actions to commit hashes (75dcef3)

❤️ Contributors

v2.4.8

Choose a tag to compare

@danielroe danielroe released this 24 Apr 09:42
Immutable release. Only release title and notes can be modified.
a0fa6e0

compare changes

🩹 Fixes

  • Correct declaration entrypoint (#2826)

🤖 CI

  • Enable pkg.pr.new (#2827)

❤️ Contributors

v2.4.7

Choose a tag to compare

@danielroe danielroe released this 24 Apr 08:26
Immutable release. Only release title and notes can be modified.
3320ca1

compare changes

🚀 Enhancements

  • Add Chinese docs translation (#2552)
  • SetData()/shallowMount with initialData for components using the Composition API / <script setup> (#2655)

🩹 Fixes

  • Preserve code from keyboard events (#2434)
  • Switch browser and require exports definitions (#2501)
  • Re-add peer dependencies but with wider range (#2511)
  • Resolve warnings in docs:dev (30b7491)
  • Resolve TypeScript type errors in .vitepress/config (#2549)
  • Accept FunctionalComponent as selector (0bb947f)
  • Text() misses content for array functional component (#2579)
  • Use await in test (c5482b4)
  • deps: Update dependency vue-component-type-helpers to v3 (#2683)
  • Remove wrapper div when unmount (#2700)
  • Make mount options slots compatible with noUncheckedIndexedAccess true (#2713)
  • Add missing peerDependency @vue/compiler-dom (75801ba)
  • docs: Declare css module for vitepress typecheck (ddaca97)

💅 Refactors

  • Enforce consistent usage of type imports (#2734)

📖 Documentation

  • Clarify findComponent vs getComponent (#2435)
  • Update fr docs (67064ef)
  • Add note about partial transition stub support (#2431)
  • Fix missing data at passing data section essentials guide (dda205e)
  • Fix missing data at passing data section essentials guide fr (ae2c72c)
  • Fix plugin TS declaration example (#2466)
  • Fixed incorrect checkbox value check (#2495)
  • Capital letter in sentence fix (#2499)
  • Import missing DOMWrapper on Implementation of the plugin section (#2519)
  • Add migration step for deprecated ref syntax in findAllComponents (#2498)
  • Correct anchor hash links and fix typo (#2551)
  • Center logo on home (#2559)
  • zh-cn: Review a-crash-course (#2563)
  • Use code-group for install commands (#2571)
  • zh-cn: Review event-handing.md (#2572)
  • zh-cn: Enhance conditional-rendering.md (#2562)
  • zh-cn: Review easy-to-test (#2567)
  • zh-cn: Review passing-data.md (#2575)
  • zh-cn: Review async-suspense.md (#2576)
  • zh: 优化 API 文档格式和内容 (#2569)
  • zh: 更新 Vitest 模拟日期和计时器的说明 (#2578)
  • zh-cn: Review http-requests.md (#2580)
  • zh-cn: Review forms (#2582)
  • zh-cn: Guide/advanced/slots.md (#2565)
  • zh: Review extending-vtu (#2583)
  • zh: Review index (#2584)
  • Fix modelValue test example (85bfdf4)
  • Removes broken link from plugins.md (69bc1ce)
  • zh: Review transitions, component-instance, and reusability-composition (#2616)
  • zh: Review v-model and vuex (#2617)
  • zh: Review all the rest advanced guide (#2619)
  • zh: Review migration (#2623)
  • Fix a typo in transitions.md (#2635)
  • Update crash-course to script setup (c81aa79)
  • Update Essentials section to setup (composition api) (#2647)
  • Typos in examples (#2678)
  • Typo in easy-to-test.md (#2710)
  • Add note about mocking requestAnimationFrame for transitions (2324c65)
  • Updated example TodoApp to script setup (#2727)
  • Remove "Using data" section from "Conditional Rendering" guide and fix passing data test example (#2743)
  • Follow-up fixes for the conditional rendering guide (#2744)
  • Mention shallowMount stub name changes in migration guide (80e051a)
  • Update conditional rendering documentation to clarify isVisible() usage with attachTo (#2799)
  • Restore Options API component for data() mounting example (#2804)
  • Promote Vitest as recommended test runner (#2805)
  • api: Note that setValue does not accept objects on <select> (#2819)

🏡 Chore

  • Add api/index.md to docs:translation:compare (6b8681c)
  • Remove unnecessary generic arguments (cfd70c6)
  • Ignore TS error in config object (9d0a618)
  • Simplify eslint packages (c1d0ffd)
  • Use eslint v9 with flat config (2f19fdf)
  • Expose Stubs type publicly (#2492)
  • Update documentation file path (9c96594)
  • Use pnpm v10 (e4c2cb3)
  • Pnpm approve build (81c54e9)
  • Use github issue forms (#2673)
  • Exclude class components from test type-checking (0899008)
  • Add explicit coverage include for vitest v4 (51672b9)
  • Update to prettier v3.7 (fed9e7c)
  • Migrate to oxfmt (81c1de9)
  • Migrate to oxlint (a361908)
  • Prepare TypeScript 6 migration settings (55e1262)
  • Adjust tsd config for TypeScript 6 (7d23eb5)
  • Avoid TypeScript 6 target deprecation warning (81d063c)

🤖 CI

  • Remove node v22 build (7ebf58d)
  • Add node v22 build (57540ee)
  • Use "pool: threads" instead of vmThreads (d0cbb54)
  • Remove node v18 and add v24 (fd9cf95)
  • Add trusted publishing release workflow (#2825)

❤️ Contributors

Read more

v2.4.6

Choose a tag to compare

@lmiller1990 lmiller1990 released this 07 May 00:07
9332127

What's Changed

  • fix: circular references in props cause maximum call stack size exceeded by @Evobaso-J in #2371
  • fix: update attachTo type in MountingOptions interface by @taku-y-9308 in #2375
  • fix: change vm to always provide global property by @taku-y-9308 in #2386
  • fix: renderStubDefaultSlot with scoped slots by @cexbrayat in #2397
  • feat: Added dynamic return for element getter by @nandi95 in #2406
  • fix(stubs): avoid warning on normalized props with Vue v3.4.22 by @cexbrayat in #2413
  • fix: set global provides before running vue plugins by @danielroe in #2423
  • fix: issue 2319 throw first error thrown during mount by @taku-y-9308 in #2428

New Contributors

Full Changelog: v2.4.5...v2.4.6

v2.4.5

Choose a tag to compare

@lmiller1990 lmiller1990 released this 13 Mar 23:04

What's Changed

New Contributors

Full Changelog: v2.4.4...v2.4.5