Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Releases: storybookjs/testing-vue3

v1.0.0

24 Jul 11:57
Compare
Choose a tag to compare

Release Notes

Support Storybook 7.0 (#13) (@i-udas @yannbf @chakAs3)


💥 Breaking Change

This version adds support for Storybook 7.0. It requires you to be using Storybook 7.0, as there were several internal changes required, all of which depend on new Storybook packages.

🚀 Features

In Storybook 7.0, the play function can also be defined in the Meta (default export). This is now supported in @storybook/testing-vue3.

Additionally, this package also supports CSF3, while maintaining compatibility with previous formats as well such as CSF1 and CSF2. If you have non-story-exports and filter them via excludeStories, it will now be respected.

⚠️ Deprecations

The setGlobalConfig function is now deprecated in favor of setProjectAnnotations, which aligns better with Storybook 7.0 nomenclature.

From:

  import { setGlobalConfig } from '@storybook/testing-vue3';
  import * as globalStorybookConfig from './.storybook/preview';

  setGlobalConfig(globalStorybookConfig);

To:

  import { setProjectAnnotations } from '@storybook/testing-vue3';
  import * as globalStorybookConfig from './.storybook/preview';

  setProjectAnnotations(globalStorybookConfig);

The future of @storybook/testing-vue3

This package served as a way to provide testing utilities for Vue + Storybook users, and after some validation it's a candidate to be promoted into the @storybook/vue3 package itself. Meaning, in the near future, the utilities of this package will be merged into @storybook/vue3 and the @storybook/testing-vue3 package will be deprecated, given that you won't need yet another package anymore. This should happen in the upcoming months.

Once this is done, there will be a final release notifying the users, and the migration should be simple and straightforward. Thank you so much for using this package!

Authors: 3

v0.0.2

03 Feb 15:10
Compare
Choose a tag to compare

🐛 Bug Fix

  • Library does not work when using certain addons #2 (@AlmarAubel)

Authors: 1

v0.0.1

25 May 21:30
Compare
Choose a tag to compare

⚠️ Pushed to main

Authors: 2