npm / storybook-addon-tag-badges
storybook-addon-tag-badges
What changed in storybook-addon-tag-badges 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
7 breaking2 security2 new APIs and options1 behavior and defaults1 tooling11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstorybook-addon-tag-badges 311 changes
Breaking changes 1
The addon now requires Storybook 10.0 or newer to work.
Security 2
Fixed a cross-origin security error in MDXBadges.
Dependency vulnerabilities were fixed, improving the security of the package.
New APIs and options 1
Individual badges are now exported, allowing developers to import them separately.
Tooling 1
Adds type declarations for manager helpers.
Fixes and other changes 6
Merging sidebar options now maintains original values.
The package now points to the correct type declaration.
Fixes a crash when entering the site in mobile layout due to the status store.
Respects a user-defined renderLabel when the addon is loaded last.
Declaration output is added to manager entries, restoring dist/index.d.ts.
Config is passed to the preview without requiring addon imports in the user preview context.
storybook-addon-tag-badges 213 changes
Breaking changes 6
The bgColor prop is replaced by style.
The borderColor prop is replaced by style.
The fgColor prop is replaced by style.
The display config type was reworked, and skipInherited now applies only to the sidebar.
The addon now requires Storybook 9 to run.
The new badge API uses style instead of bgColor, fgColor and borderColor; style accepts string presets or a CSS properties object.
New APIs and options 1
The addon adds support for badges in MDX.
Behavior and default changes 1
Individual badges are exported in the default config.
Fixes and other changes 5
Relaxed the minimum Node version for Storybook 9.
Removes the empty state ø sign from MDXBadges.
Sidebar space reservation now accounts for padding.
Margin alignment with the test addon is handled.
Word wrapping behavior in the sidebar is improved.