Skip to content

Latest commit

 

History

History
329 lines (177 loc) · 20.1 KB

CHANGELOG.md

File metadata and controls

329 lines (177 loc) · 20.1 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.5 (2020-08-29)

Note: Version bump only for package @vue/test-utils

1.0.4 (2020-08-17)

Bug Fixes

  • setprops: allowed for setProps to be synced with nextTick intervals (#1618) (9a3e6f9), closes #1419
  • allow using findComponent on a functional component (#1593) (2d6b497)

1.0.2 (2020-05-06)

Note: Version bump only for package @vue/test-utils

1.0.0 (2020-05-05)

Features

1.0.0-beta.33 (2020-04-08)

Bug Fixes

  • test-utils: fix cancelable attribute in dom events (#1460) (b1a532a)

Features

1.0.0-beta.32 (2020-03-09)

Bug Fixes

1.0.0-beta.31 (2020-01-18)

Bug Fixes

  • Stop trigger from working on disabled html elements (#1362)
  • Add provide/inject support for Composition API (#1354)
  • Fix issue with keyCodes provided to trigger (#1378) closes #1285, #1295
  • setChecked and setSelected should only work if not already selected (#1380) closes #1339
  • Override watch definitions properly (#1392) closes #1391
  • Support v-slot (#1383) closes #1261
  • Allow find to work on both Pascal case and camel case (#1398) closes #1232
  • Pass refs to functional component stubs #1293 closes #1292

Features

  • Allow templates to be defined in HTML (#1362) closes #351
  • Store the selector when using find (#1248) closes #1135
  • Introduce enableAutoDestroy() helper function (#1245) closes #1236
  • Allow negative indices to be passed to .at() (#1244)
  • Add a get method to Wrapper (#1304) closes #1298

1.0.0-beta.30 (2019-11-28)

Bug Fixes

Code Refactoring

Features

  • wrapper: allow destroy() method to work with functional components (#1188) (f4ea3fd)
  • add option to pretty print html components (#1229) (99336c4)
  • stop auto stubbing transition and transition-group (#1127) (85a972c)

BREAKING CHANGES

  • html output will now be formatted
    • Remove sync mode
  • Remove TransitionStub
  • Remove Transition

1.0.0-beta.29 (2019-02-02)

Bug Fixes

Code Refactoring

BREAKING CHANGES

  • Remove polyfills from library
  • hasStyle, hasAttribute, hasClass, hasProp, visible, and setComputed removed

1.0.0-beta.28 (2018-12-29)

Bug Fixes

1.0.0-beta.27 (2018-12-09)

Bug Fixes

1.0.0-beta.26 (2018-11-26)

Bug Fixes

Features

BREAKING CHANGES

  • The tag name rendered by snapshots will use the rendered component tag, rather than the registered component name

1.0.0-beta.25 (2018-09-08)

Bug Fixes

  • handle global stubs and functional extended components (#943) (0d1ddd1)
  • improve emitted type (#933) (3049c3e)
  • throw error if unsupported options passed in vue < 2.3 (#910) (e8d9547)

Features

  • wrapper: add support for getting prop, attribute and classes by key (#941) (9bb9a87)

Performance Improvements

1.0.0-beta.24 (2018-08-05)

Bug Fixes

1.0.0-beta.23 (2018-07-31)

Note: Version bump only for package @vue/test-utils

1.0.0-beta.22 (2018-07-29)

Bug Fixes

Features

  • export createWrapper method to create wrapper from instance (#868) (ebca3b3)
  • export wrapper class (#866) (c212ebf)

1.0.0-beta.21 (2018-07-22)

Bug Fixes

  • handle textarea correctly in setValue() and setChecked() (#771) (4c9fe3c)
  • types: remove unnecessary method (#755) (2068208)
  • broken links for deprecated methods (#786) (5bb6a0b)
  • fix type of wrapper.vm (#759) (ff5220d)
  • handle cloneDeep errors in createLocalVue (#844) (17dfdc8)
  • handle unnamed parent and child components (#768) (71a2ac4)
  • improve scopedSlots option (#808) (b946997)
  • recursively call Vue.set in setData (#843) (ef01abf)
  • setProps() throws an error if the property is the same reference (#791) (bf655f3)
  • stubs extended component correctly (#767) (24ab4c5)
  • support setValue on textarea (#764) (e83cda2)
  • update props when watcher depends on value (#842) (2aeaee3)
  • use boolean for VueWrapper (#763) (6fa6ecd)

Features

1.0.0-beta.20 (2018-06-24)

Bug Fixes

Features

  • element, vnode, vm, and options are read-only (#748) (b801c25)
  • set wrapper.vm if the element binds Vue instance (#724) (b14afae)
  • throw error if the read-only property is tried to change (#749) (fb46268)

1.0.0-beta.19 (2018-06-14)

Bug Fixes

  • include default props in props object (#716) (5bcf574)
  • wrapper.setSelected() to work on select with optgroups (#715) (dae0b1c)

Features

1.0.0-beta.18 (2018-06-09)

Bug Fixes

1.0.0-beta.17 (2018-06-09)

Bug Fixes

Features

BREAKING CHANGES

  • removes templates from slots