Releases: styleguidist/react-styleguidist
Releases · styleguidist/react-styleguidist
v4.3.1
v4.3.0
New features
Isolated mode for examples
Now you can open single example (not a whole component) in isolated mode:
Config option to debounce preview rendering while live editing
Default value is 500. That means you’ll not see that annoying red error message box while you’re typing.
4.2.3
4.2.2
4.2.1
4.2.0
Bug fixes
- Fixed exception thrown when using higher-order components (#202, #205 by @tizmagik).
- Fixed regression: missed colors in props table.
Other improvements
- Much smaller JavaScript bundle (more than two times smaller for the example style guide):
- Show whitespace character for default values (#196, #203 by @tizmagik).
4.1.0
Replace react-transform-hmr
with vanilla Webpack Hot Module Replacement:
- No need to change anything on your side but now you can safely remove
react-transform-hmr
from your style guide config. - react-transform-hmr is deprecated.
- react-hot-loader 3 is still in development and probably will never be finished, it also would be much harder to configure for Styleguidist users.
- See this comment by Dan Abramov for more details.
- Vanilla HMR requires no additional configuration.
Thanks @aaronjensen!
Bug fixes
4.0.1
4.0.0
Breaking changes
- Drop support for Node < 4.
- Make Webpack a peer dependency to make migration to Webpack 2 easier.
- If you override some of Styleguidist’s components you might need to update them, see the FAQ for details.
New feature: Node API
Very basic Node API — jus three methods: build
, server
and makeWebpackConfig
. More details in the docs.
Other changes and fixes
- Proper HTML support in Markdown (#188).
- Update react-docgen: could fix #37, #143, #179.
- Support Webpack 2.1.0-beta.23+ (#184).
- Expose Webpack stats config on Webpack dev middleware (#174 by @andresgutgon).
- Fix error handling in props loader (#173 by @adriantoine).
- Filter in table of contents filters section names as well as component names.