Skip to content

Conversation

@dependabot
Copy link

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

Bumps @storybook/addon-svelte-csf from 5.0.0-next.28 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.28 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.28...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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2025
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​storybook/​addon-svelte-csf@​5.0.0-next.28 ⏵ 5.0.199100100 +1100100

View full report

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 28, 2025

Superseded by #33.

@dependabot dependabot bot closed this May 28, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/storybook/addon-svelte-csf-5.0.1 branch May 28, 2025 16:38
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.

1 participant