Skip to content

chore(deps-dev): bump @storybook/addon-svelte-csf from 5.0.0-next.23 to 5.0.1 #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps @storybook/addon-svelte-csf from 5.0.0-next.23 to 5.0.1.

Release notes

Sourced from @​storybook/addon-svelte-csf's releases.

v5.0.1

🐛 Bug Fix

  • fix: Allow user-defined local variable meta in stories #309 (@​xeho91)

Authors: 1

v5.0.0

5.0.0

Svelte CSF 5.0 is here

It brings support for Svelte 5, and major improvements to the Svelte CSF syntax, including

  • ✂️ Snippet-based API for stories
  • 🔬 Smaller bundle size
  • 🛟 Type-safe stories and meta definitions
  • 📚 Improved documentation and examples

Please checkout our Migration Guide to upgrade from earlier versions of the Svelte CSF addon. You can use the Legacy API flag to gradually migrate your stories to the new syntax. The biggest breaking change is that it now requires Svelte 5.

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

... (truncated)

Changelog

Sourced from @​storybook/addon-svelte-csf's changelog.

v5.0.1 (Sun May 18 2025)

🐛 Bug Fix

  • fix: Allow user-defined local variable meta in stories #309 (@​xeho91)

Authors: 1


v5.0.0 (Tue May 06 2025)

Release Notes

Breaking: Add support for render in defineMeta, replacing setTemplate-function (#295)

setTemplate-function removed in favor of render in defineMeta

The setTemplate-function has been removed. Instead reference your default snippet with the render-property in defineMeta:

<script module>
- import { defineMeta, setTemplate } from '@storybook/addon-svelte-csf';
+ import { defineMeta } from '@storybook/addon-svelte-csf';
  import MyComponent from './MyComponent.svelte';
const { Story } = defineMeta({
/* ... */

render: template
});
</script>

-<script>

setTemplate(template);
-</script>

{#snippet template(args)}
<MyComponent {...args}>
...
</MyComponent>
{/snippet}
<Story name="With Default Template" />

This new API achieves the same thing, but in a less verbose way, and is closer aligned with Storybook's regular CSF. 🎉

[!IMPORTANT]

... (truncated)

Commits
  • b5c9e39 Bump version to: 5.0.1 [skip ci]
  • 2ac4351 Update CHANGELOG.md [skip ci]
  • d824a07 fix: Allow user-defined local variable meta in stories (#309)
  • 7f3d46b Bump version to: 5.0.0 [skip ci]
  • 731e7f5 Update CHANGELOG.md [skip ci]
  • 2c22773 Merge pull request #304 from storybookjs/next
  • 99a6f5f Merge pull request #305 from storybookjs/jeppe/fix-main-merge-conflicts
  • 43e7b7a Merge branch 'main' of github.com:storybookjs/addon-svelte-csf into jeppe/fix...
  • 0e01dcf Merge pull request #302 from storybookjs/jeppe/improve-types
  • d926543 Merge pull request #303 from storybookjs/jeppe/remove-svelte-bug-mention
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@storybook/addon-svelte-csf](https://github.com/storybookjs/addon-svelte-csf) from 5.0.0-next.23 to 5.0.1.
- [Release notes](https://github.com/storybookjs/addon-svelte-csf/releases)
- [Changelog](https://github.com/storybookjs/addon-svelte-csf/blob/main/CHANGELOG.md)
- [Commits](storybookjs/addon-svelte-csf@v5.0.0-next.23...v5.0.1)

---
updated-dependencies:
- dependency-name: "@storybook/addon-svelte-csf"
  dependency-version: 5.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2025
Copy link

changeset-bot bot commented May 19, 2025

⚠️ No Changeset found

Latest commit: 4159302

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants