Skip to content

Latest commit

 

History

History
206 lines (159 loc) · 13.1 KB

CHANGELOG.md

File metadata and controls

206 lines (159 loc) · 13.1 KB

CHANGELOG

Important

⭐ Want to help with the Phoenix Storybook project? ⭐

  • I would greatly appreciate your code contributions.

  • You can also sponsor me, as it would enable me to dedicate my free time to fixing bugs and > developing new features 🤗

v0.6.4 (2024-09-03)

v0.6.3 (2024-06-24)

v0.6.2 (2024-06-17)

v0.6.1 (2024-02-13)

v0.6.0 (2024-01-05)

v0.5.7 (2023-10-05)

v0.5.6 (2023-07-18)

  • bugfix: fix missing Kernel macros (such as ../0) when evaluating stories.

v0.5.5 (2023-07-11)

v0.5.4 (2023-06-05)

v0.5.3 (2023-05-15)

v0.5.2 (2023-03-16)

v0.5.1 (2023-03-15)

  • change (breaking!): LiveView 0.18.7+ is required
  • bugfix: fixed HTMLEngine issue introduced by LiveView 0.18.7.

v0.5.0 (2023-02-27)

v0.4.5 (2022-10-10)

  • bugfix: TemplateHelpers.unique_variation_id/2 raises in playground if component has an id attr.
  • bugfix: fixed some dialyxir warnings

v0.4.4 (2022-10-10)

v0.4.3 (2022-10-04)

v0.4.2 (2022-10-02)

  • improvement: upgraded to LiveView 0.18.1
  • improvement: improved generated storybook component & page

v0.4.1 (2022-09-30)

v0.4.0 (2022-09-29)

A lot of necessary changes & refactoring have been made in this release which now requires you to run it with brand new LiveView 0.18.0.

This is the first release containing feedbacks & contribution from outside users! Thank you all! 🔥

  • change (breaking!): LiveView 0.18.0 is required. Attributes & slots declared in your components are supported by the component Playground.
  • change (breaking!): configuration has been moved from config.exs files to your elixir backend module.
  • change (breaking!): stories have been re-rebranded as variations, Story became Variation and StoryGroup became VariationGroup
  • change (breaking!): entries have been re-rebranded as stories.
  • change (breaking!): story (former entry) files must be created in *.story.exs files.
  • change (breaking!): sidebar custom story names and icons are now defined in *.index.exs files.
  • change (breaking!): live_storybook/2 is no longer serving assets. You must add storybook_assets/1 to your router in a non CSRF-protected scope.
  • change (breaking!): attr options have been renamed to examples. A new values key is also available to enforce variation attribute values.
  • change (breaking!): slots & block are no longer attributes. Define instead a slots/0 function returning a list of %Slot{}.
  • change (breaking!): icon format has been updated, see this guide
  • feature: run mix phx.gen.storybook to get started!
  • feature: new search modal. Trigger it with cmd-k or / shortcuts.
  • feature: new event log. In the playground, you can now track all events emitted by components.
  • feature: theming. You can declare different themes in the application settings. The selected theme will be merged in all components assigns.
  • feature: you can initialize the component playground with any variation.
  • feature: templates. You can provide HTML templates to render stories, which can help with modals, slide-overs... (see this guide for more details).
  • feature: provide custom aliases & imports to your stories/templates (see this guide for more details).
  • feature: you can provide a let attribute to your inner blocks.
  • feature: you can use late evaluation with {:eval, val} if you want to preserve the original expression in code preview.
  • improvement: stories compilation is lazy in dev environment (and eager in other envs). This behavior can be tweaked with the :compilation_mode config key.
  • improvement: storybook playground is now responsive.
  • bugfix: fixed pre-opened folders always reopening themselves after each patch.
  • bugfix: empty inner_block are no longer passed to all components.
  • bugfix: fixed closing tag typo in code preview.
  • documentation: new theming.md guide.
  • documentation: new components.md guide.

v0.3.0 (2022-08-18)

  • change (breaking!): entries must now be written as .exs files. Otherwise, they will be ignored.
  • change (breaking!): variations have been rebranded as stories.
  • change (breaking!): live_storybook/2 must be set in your router.ex outside your main scope and outside your :browser pipeline.
  • feature: new Playground tab to play with your components! To use it, you must declare attributes in your component entries.
  • feature: you can opt-in iframe rendering for any of your components with def container, do: :iframe
  • improvement: storybook is now fully responsive.
  • improvement: meaningful errors are raised during compilation if your entries are invalid.
  • improvement: improved storybook CSS isolation. It should no longer leak within your components.
  • improvement: stateless component entries no longer require defining a component/0 function.
  • documentation: new sandboxing.md guide.

v0.2.0 (2022-07-30)

  • feature: new tab to browse your component sources
  • feature: work-in-progress component documentation tab
  • feature: new page entry support, which allows you create custom pages within your storybook
  • improvement: introduced %VariationGroup{} to render mulitple variations in a single page div.

v0.1.0 (2022-07-26)

Initial release.