Releases: vuejs/vue-test-utils
Releases · vuejs/vue-test-utils
v1.0.0-beta.21
Bug Fixes
- types: remove unnecessary method (#755) (2068208)
- allow extended components as stubs (#825) (65449b3)
- extend extended child components (#757) (bc5aba3)
- fix type of wrapper.vm (#759) (ff5220d)
- handle cloneDeep errors in createLocalVue (#844) (17dfdc8)
- handle textarea correctly in setValue() and setChecked() (#771) (4c9fe3c)
- handle unnamed parent and child components (#768) (71a2ac4)
- improve scopedSlots option (#808) (b946997)
- improve slots option (#813) (5fecbd2)
- 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)
- use for in to stub components on prototype (#845) (b6a3659)
Features
v1.0.0-beta.20
v1.0.0-beta.19
1.0.0-beta.19 (2018-06-14)
Bug Fixes
- Add stubbed components to ignored elements (#714) (5072274)
- Handle extended components correctly (#709) (55d831f)
- Include default props in props object (#716) (5bcf574)
- Support text slots (#711) (93b8d98)
- wrapper.setSelected() handles optgroups (#715) (dae0b1c)
Features
v1.0.0-beta.18
v1.0.0-beta.17
1.0.0-beta.17 (2018-06-09)
Bug Fixes
- add updated hook (#675) (9a2a25a), closes #661
- clone propsData to avoid mutation (#613) (a93275c)
- compile extended components (#637) (e1fb4a0)
- do not deep merge array data (#604) (934745b)
- docs link to wrapper (#601) (fbd8b92)
- make component construct correctly which class extends from Vue (#654) (3ecce2e)
- message for logModifiedComponents (#597) (dea5dba)
- types: add render() (#618) (f5d4a0f)
- method should be updated when triggering (3922ab7)
- remove includes and findIndex (#610) (a70a887)
- remove phantomjs limitation (#663) (e9f3305)
- remove throw from errorHandler (#655) (b4517ab)
- type definition of classes method (#685) (a864ed3)
- Update links to docs (#670) (2f162e6), closes #3
- use regex to test for circular references (#672) (6a40f8a)
Features
- add parent in create-instance (#586) (0ab5a75)
- Add setValue method (#557) (b4331ff)
- overwrite arrays in setData (#652) (032a7a4)
- render component name in stub (#606) (dbf63bb)
- support component slot string (#633) (8294453)
BREAKING CHANGES
- removes templates from slots
v1.0.0-beta.16
1.0.0-beta.16 (2018-05-11)
Bug Fixes
- add cheerio as dependency to server-test-utils (f3dfb1e)
- types: add sync to WrapperOptions (#590) (570d80d)
- types: improve types (#593) (14c40e6)
- types: shallow -> shallowMount (#587) (c3e013e)
- automatically extend extended child components (#595) (68a55f1)
- function names (#580) (d8485f5), closes #544 #556
- only order deps if watcher exists (#583) (5e02b92)
- overwrites registered components for stubs (#585) (33a6731)
- remove Array.find (#572) (01686a0), closes #499
- unordered watchers fix (#584) (db8f393)
Features
v1.0.0-beta.15
1.0.0-beta.15 (2018-04-23)
Features
v1.0.0-beta.14
1.0.0-beta.14 (2018-04-13)
Bug Fixes
v1.0.0-beta.13
1.0.0-beta.13 (2018-03-26)
vue-test-utils has been split into two packages: @vue/test-utils
and @vue/server-test-utils
.
Test Utils
Bug Fixes
- add isVisible type (#478) (93c6ba5)
- add isVisible typos and missing tests (#464) (18eb193)
- add RouterLinkStub in typescript definition (#449) (ad3c4ef)
- classes() for svg elements (#445) (bcf580e)
- return true in isEmpty if child isComment (#475) (073755b)
- throw errors in setData and setProps for functional components (#438) (619f934)
Features
Server Test Utils
v1.0.0-beta.12
v1.0.0-beta.12 (2018-02-20)
Features
- renderToString: Add
renderToString
method. This method requires vue-server-renderer as a peer dependency #440
Bug Fixes
- add-attrs and add-listeners correctly restore silent config option (#428) (6fa6e06)
- allow plugins to be re-installed in localVue instance (fixes #406) (#411) (9381736)
- check for errors on child components (#415) (a06e253)
- compile stub components without render functions (#390) (b792034)
- don't fire event on disabled element (#424) (e85f20a)
- find functional components in shallow (#408) (20465ab)
- remove console.log from stubComponents (#414) (81c40da)
- setProps validates keys against component options (#416) (a63e34d)
- transition does not add classes to child components (#423) (fc821a2)
- typing error with props and attributes (#433) (cf55756), closes #432