Skip to content

@lmiller1990 lmiller1990 released this Jul 22, 2021

This release contains no bug fixes or behavior changes; it simply improves the type definitions.

Types

  • types: type createLocalVue method #1873
  • types: add generic for wrapper.find() and wrapper.get() #1871
Assets 2

@lmiller1990 lmiller1990 released this Jun 14, 2021

This is a small release with just two minor bug fixes.

Fixes

  • fix #1845: add functional component check in component name match (#1857)
  • updated router link stub to match actual router-link interface (#1840)
Assets 2

@lmiller1990 lmiller1990 released this May 1, 2021

Features

  • feat(stubs): render function props deterministically (#1834). Note: this may break some snapshots of shallow mounted functional components.

Fixes

  • fix: correctly find functional components (#1835)
  • fix: trigger keyboard event regression (#1826)
Assets 2

@lmiller1990 lmiller1990 released this Apr 12, 2021

Feat

  • export ErrorWrapper #1814

Fixes

  • trigger('focus') added natural to jsdom behavior (#1777)
  • fix max range stack size (f#1768)
  • VTU don't return key property to event when use trigger.('eventName.key') #1808
  • allow find stubbed functional component by name (#1817)

Types

  • add type definitions for ExtendedVue (#1789)
Assets 2

@afontcu afontcu released this Feb 4, 2021

Fixes

Assets 2

@lmiller1990 lmiller1990 released this Dec 14, 2020

Fixes

  • feat: support array class binding in stubbed functional components (#1744) @palpich note: potential breaking change for some snapshots.
  • fix: does not pass data provided to mount to wrapper component (#1750) @xanf
  • fix: type getComponent() (#1741) @DevAnouar-FT
Assets 2

@lmiller1990 lmiller1990 released this Nov 1, 2020

Many small bug fixes.

Features

  • feat: treat document.body in attachTo in special way (#1699) @xanf
  • feat(config): introduce deprecation warning handler, fix #1672
  • feat: warn when operating on destroyed Vue component (#1706) @xanf
  • add the wrapper.getComponent method and corresponding documents. (#1714)
  • feat(test-utils): add types for auto destroy methods (#1724) @blake-newman
  • feat: add abstract property to the core property of the component (#1716) @ustbhuangyi

Fixes

  • fix(test-utils/wrapper): clarify deprecation note for wrong "get" usage @valentinpalkovic
  • fix: support v-text on child functional components with shallowMount @jeremy-cassou
  • fix(setData): allow empty objects to be set fix #1704 @Haroenv
  • fix: ignore non-vue wrapper for auto-destroy (#1723)
Assets 2

@lmiller1990 lmiller1990 released this Sep 10, 2020

This is a pretty significant release. We undeprecated is and isVisible due to popular demand.

Features

  • createLocalVue errorHandler Option (#1670) @AtofStryker
  • remove deprecation warning from isVisible method (#1675) @xanf
  • feat: remove deprecation when is is called with component definition @xanf
  • support components returning render function from setup @LeBenLeBen

Fixes

Sync mode cleanup (#1671) @AtofStryker

Assets 2

@lmiller1990 lmiller1990 released this Aug 29, 2020

This release is mostly fixing small things, with some better support for @vue/composition-api plugin users. 4 bugfixes from 4 separate users, the Vue community is too cool 😎

Features and Fixes

fix: handle shallowMount on components with v-if and scoped slots (#1663) by @xanf
fix: extend Vue parent with options to support accessing root for better @vue/composition-api fixing (#1655) support by @lmiller1990
fix: Match how the Vue runtime executes scoped slots #1660 by @sirlancelot
fix: Wrapper array consistency (#1650) by @AtofStryker

Dependencies and Misc

build(rollup): upgrade rollup from 1.x to 2.x (#1645) @AtofStryker
Upgrade Vuepress, Flow, and misc (#1646) @AtofStryker
Upgrade Eslint (#1647)

Great job everyone! Especially @AtofStryker with several significant PRs.

Assets 2

@lmiller1990 lmiller1990 released this Aug 17, 2020

Features

  • allow array for multiselect .setValue() method (#1554)

Fixes

  • iife build (#1555)
  • allow using findComponent on a functional component (#1593)
  • fix(setprops): allowed for setProps to be synced with nextTick intervals (#1618)

Other

  • upgrade from babel 6 to babel 7 (#1628)
  • migrate to jest for test runner (#1629)

There was some big infrastructure changes (Jest, Babel version) in this release with #1629 by @AtofStryker. Thanks a lot! If this has introduced any bugs, please file an issue.

Assets 2