Releases: storybookjs/testing-vue3
v1.0.0
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
v0.0.1
⚠️ Pushed to main
- refactor: move types to a separate file (@yannbf)
- chore(example): use testing-vue as local dependency (@yannbf)
- chore(deps): organize dependencies (@yannbf)
- add example (@elevatebart)
- fix: add source and scaffolding (@elevatebart)
- docs: use vue3 instead of vue (@elevatebart)
- Update README.md (@elevatebart)
- Initial commit (@elevatebart)
Authors: 2
- Barthélémy Ledoux (@elevatebart)
- Yann Braga (@yannbf)