Skip to content

Releases: styleguidist/react-styleguidist

v4.3.1

15 Nov 09:58
Compare
Choose a tag to compare
  • Fixed: Correct access to context

v4.3.0

15 Nov 09:19
Compare
Choose a tag to compare

New features

Isolated mode for examples

Now you can open single example (not a whole component) in isolated mode:

(#225 by @cef62)

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.

(#227 by @cef62)

4.2.3

11 Nov 15:49
Compare
Choose a tag to compare
  • Fixed: Doclets examples (#224)

4.2.2

11 Nov 10:33
Compare
Choose a tag to compare
  • Fixed: Do not include all CodeMirror themes in Webpack bundle

4.2.1

10 Nov 20:13
Compare
Choose a tag to compare
  • Fixed: Improve error reporting in server
  • Fixed: Do not render empty component list

4.2.0

03 Nov 20:04
Compare
Choose a tag to compare

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):
    • babel-standalone was replaced by buble — fast, light, no-setup ES2015 transpiler;
    • CodeMirror is loaded on demand (#198, #204 by @tizmagik).
  • Show whitespace character for default values (#196, #203 by @tizmagik).

4.1.0

19 Oct 17:20
Compare
Choose a tag to compare

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

  • Fixed hot reload of stateless functional components (#193).
  • Isolated mode should work with components inside nested sections (#190).

4.0.1

11 Oct 11:14
Compare
Choose a tag to compare
  • Fixed: allow components function to return relative paths (#192).

4.0.0

06 Oct 10:56
Compare
Choose a tag to compare

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.

3.1.1

23 Aug 14:36
Compare
Choose a tag to compare
  • Fixed: Webpack 2 support: OccurrenceOrderPlugin was renamed (#170 by @oskolsky).