Skip to content

Latest commit

 

History

History
755 lines (469 loc) · 27.7 KB

CHANGELOG.md

File metadata and controls

755 lines (469 loc) · 27.7 KB

Changelog

v2.35.3

Allow customConfig to override devtool. PR668

v2.35.2

03-January-2017

Fixes issue #601 where it throws error when introduce a propType with a hypen. Add a fix to babel-plugin-react-docgen to fix this issue.

This release comes with the updated babel-plugin-react-docgen.

v2.35.1

  • Revert PR653 where it's causing HMR to not working properly.

v2.35.0

18-December-2016

  • Using file-loader to load all the extensions PR653
  • Update css-loader dependency PR648
  • Check if stories are loaded from Jest PR644

v2.34.0

05-December-2016

Open the express router for developers (middleware.js file). PR435

v2.33.1

01-December-2016

Update Typescript definition file for global addDecorator. PR634

v2.33.0

28-November-2016

Completely avoid re-rendering the preview iframe. PR631

v2.32.2

28-November-2016

Update postmsg channel module version PR627

v2.32.1

22-November-2016

Add support for react_perf comes with React 15.4.0. PR623

v2.32.0

Incorrect publish (error when running npm publish)

v2.31.0

20-November-2016

Add the react-storybook version to the build output. PR621

v2.30.1

17-November-2016

Update the postmsg channel module to fix issue #555 with PR611

v2.30.0

16-November-2016

Update to the new Storybook UI which doesn't use Redux.

v2.29.7

11-November-2016

Update @kadira/storybook-ui to the latest.

v2.29.6

10-November-2016

Fix a typo in the story syntax error messages. PR610

v2.29.5

09-November-2016

Check if regex and regex.test is available before calling it. PR608

v2.29.3

08-November-2016

Update webpack-hot-middleware to version 2.13.2 to fix the issue #543.

v2.29.3

03-November-2016

Fix a regression caused by v2.29.2. There was a text called undefined listed always on the top of the preview.

v2.29.2

03-November-2016

Add various fixes.

  • Use webpack chunkhash to enable long-term caching. PR597
  • Fixed json loader testing for when test is multiple. PR598
  • Fix usage of custom favicon PR592
  • Update postcss-loader to v1.1.0 PR599
  • fix for module.hot is not available in a static build PR600

v2.29.1

03-November-2016

Update babel-plugin-react-docgen to v1.4.1 to fix HOC issue

v2.29.0

01-November-2016

Update babel-plugin-react-docgen to 1.4.0. This will fix some of the compilation issues such as #580.

v2.28.1

28-October-2016

Remove preview decorator support. PR583.

v2.28.0

28-October-2016

Add preview decorator support. PR582. This will help us bring storybook designer with some great power.

v2.27.0

27-October-2016

Add a few usability improvements to Storybook.

  • Display storybook version. PR559
  • Make the storybooks cacheable. PR578
  • Change the devtool to eval and remove the use of source maps. PR577
  • Update babel-preset-react-app to the latest. PR576
  • Ship json-loader by default. PR575

v2.26.0

24-October-2016

Get some new features from CRA.

  • Add jsx as a resolve extension PR563
  • Allow to use postcss for CSS @imports PR564
  • Use process.env as a proper object PR565

v2.25.1

23-October-2016

Add a potential fix to 558 by updating babel-plugin-react-docgen to the latest(v1.3.2).

v2.25.0

21-October-2016

Add react docgen info into React classes with the react-docgen babel plugin. PR557. With this:

  • We could get docgen info with any React component class using ClassName.__docgenInfo.
  • From the global collection: STORYBOOK_REACT_CLASSES

Additionally, added yarn.lock.

v2.24.1

19-October-2016

Do not show git command output. PR554

v2.24.0

07-October-2016

  • Export git repository info to support custom tool integrations PR536

v2.23.0

06-October-2016

  • Remove the experimental database addon from react-storybook PR535

v2.22.0

05-October-2016

Add some nice development experiment based on suggestion from Dan Abramov.

  • Set a color to the Storybook URL in the console. PR533
  • Add better error message when there's no React element in the story. PR534

v2.21.0

05-October-2016

  • Get the latest features from CRA including NODE_PATH support, public folder support and some other minor changes. #468
  • Also bumped @kadira/storybook-channel-postmsg to ^1.0.3

v2.20.1

28-September-2016

  • Fix story kind order bug PR499
  • Prefix config environment variables PR503

v2.20.0

26-September-2016

  • Use postMessage channel PR498
  • Support dynamic panel titles PR497

v2.19.0

26-September-2016

  • Support layout options PR494
  • Update Typescript definitions PR491 and PR493

v2.18.1

23-September-2016

  • Stop uglifyjs from mangling names PR483

v2.18.0

23-September-2016

  • Remove STORYBOOK_ prefix from config env PR481

v2.17.0

22-September-2016

v2.16.1

21-September-2016

  • Fix the 404 error for addon-db.json file PR472
  • Serve/Bundle the storybook favicon PR473

v2.16.0

21-September-2016

  • Move the babel config loading logic into a seperate file. PR469
  • Update airbnd eslint rules to the latest.

v2.15.1

19-September-2016

Add a fix to webpack custom resolve.alias not working. PR465

v2.15.0

19-September-2016

  • Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. PR462

v2.14.0

14-September-2016

  • Watch missing NPM modules and force webpack rebuild. PR446
  • Fix issue on error message hanging after even it solved. PR447
  • Allow to reload if HMR goes crazy. PR448
  • Add support to get custom env variables. PR450

v2.13.1

14-September-2016

  • Fix 404 error when db file does not exist PR449

v2.13.0

9-September-2016

  • Fix #443 where the static version of Storybook doesn't like Safari.
  • Update postcss-loader to 0.13.0.

v2.12.1

8-September-2016

  • Parse static directory provided by env as a list. PR436

v2.12.0

8-September-2016

  • Do not include addon register file on preview. PR426
  • Update css-loader to version 0.25.0. PR427
  • Get the head.html values for every page request. PR432

v2.11.0

4-September-2016

  • Remove babel-polyfill since we don't use it.
  • Update versions with the help from greenkeeper. PR421

v2.10.0

3-September-2016

  • Adding airbnb-js-shims again. PR419

v2.9.1

2-September-2016.

  • Use the config directory to store the addon database file PR418.

v2.9.0

2-September-2016.

  • Copy the addon-db.json file when building static storybooks PR417.

v2.8.0

2-September-2016.

  • Update @kadira/storybook to get the clean query params feature. See storybook-ui-PR37

v2.7.0

1-September-2016

  • Add addon database feature PR415.

v2.6.1

31-August-2016

  • Bring back HMR dev logs. PR412.

v2.6.0

30-August-2016

  • Allow start/build params from env variables. PR413

v2.5.2

29-August-2016

  • Remove the use of babel-runtime/core-js modules. PR410

v2.5.1

24-August-2016

  • Update @kadira/storybook-ui to v3.3.2

v2.5.0

24-August-2016

  • We are no longer shipping extra polyfills anymore. PR402

v2.4.2

24-August-2016

  • Allow file-loader URLs to work on subpaths. PR401

v2.4.1

24-August-2016

  • Bump @kadira/storybook ui to v3.3.1 to fix some UI related issues.

v2.4.0

23-August-2016

  • Simplify the option to stop tracking. PR399
  • Use JSON5 instead of CJSON to parse .babelrc. PR398
  • Add webpack2 support by changing the use of OccurenceOrderPlugin. PR397
  • Use @kadira/storybook-ui 2.3.0, which has new APIs to set URL for addons.

v2.3.0

16-August-2016

  • Implement anonymous usage tracking. PR384

v2.2.3

15-August-2016

  • Add a hash to media file's filename. Otherwise, it'll cause issues when there are multiple images with the same filename but in different directories. PR380

v2.2.2

10-August-2016

  • Remove unused extract-text-webpack-plugin. This will add webpack2 support. PR369.

v2.2.1

09-August-2016

  • Use @kadira/storybook-channel modules. #PR359.
  • Update @kadira/storybook-ui to the latest.

v2.2.0

05-August-2016

This release bring some webpack config related optimizations and the NPM2 support. Here are the notable changes:

  • Use es6-shim directly into webpack config. PR355
  • Use the default babel-config based on CRA's config. PR354
  • Add NPM2 support. PR356
  • Add autofixer defaults. PR357

v2.1.1

03-August-2016

Remove default webpack config for all config types. PR348

Now we only use the Create React App based config if there's no custom webpack config. This will fix issues like #347.

v2.1.0

02-August-2016

Add support for the addon API. See PR346.

Here after we are using most of the features including actions,links as plugins. So, this introduced a huge area to add customizations to React Storybook.

Unfortunately, as of this version, there are no docs for this feature. But, you can have a look at these addons:

Have a look at here to how to configure addons.

v2.0.0

01-August-2016

This is the starting of the next major version of React Storybook. This version is almost compatible with v1.x.x but defaults have been changes as discussed below. That's why we are starting out a new version.

  • Update defaults to match create-react-app. PR342. Here are the notable changes:
    • Add postcss based CSS loader.
    • Add file-loader for images and common types.
    • Add url-loader for shorter media files.
    • Do not pre-build manager(storybook UI) bundle.
    • Continue support for babel's stage-0 preset and add es2016 preset.
  • Update @kadira/storybook-ui to v2.6.1 to remove some React warnings.

v1.41.0

  • Fix nodejs require errors #337.
  • Add getStorybook method to client API #332.

v1.40.0

  • Fix duplicate decorator bug #335.

v1.39.1

  • Update babel packages #325.
  • Hide HMR info logs #331.

v1.39.0

  • Update @kadira/storybook-ui to get features from v2.5.0 and v2.6.0.

v1.38.3

  • Add names for action and linkTo functions #321.

v1.38.2

  • Fix error in prepublish script #319.

v1.38.1

  • Improve Windows support by writing prepublish script using shelljs #308.

v1.38.0

  • v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: #306 and #305.

v1.37.0

  • Update @kadira/storybook-ui to 2.4.0

v1.36.0

  • Support watchOptions configuration. See: PR287

v1.35.2

  • Add missing font-face to the ErrorDisplay's heading.

v1.35.1

  • Fix issue related to bad error handling. See issue #275:

v1.35.0

v1.34.1

  • Don't always override NODE_ENV in build-storybook. PR272

v1.34.0

  • Use storybook-ui v2.2.0 which puts shortcut state into the URL.

v1.33.0

v1.32.1

  • Extend @kadira/storybook-ui provider from it's base Provider.

v1.32.0

  • Use @kadira/storybook-ui as the manager UI with the implemented provider for React. See client/manager for more info.

v1.31.0

  • Pass a context argument to stories PR250

v1.30.0

  • Fuzzy search kinds PR247

v1.29.5

  • Update dependency version to fix filter crash PR246

v1.29.4

  • Protect index.html/iframe.html from being overwritten PR243

v1.29.3

  • Update @kadira/storybook-core version PR241
  • Add es6-shim by default PR238

v1.29.2

  • Use url.resolve instead of path.join PR240

v1.29.1

  • Copy missed manager.js.map file on static build PR236

v1.29.0

  • Multiple static dirs (comma separated) PR229

v1.28.5

v1.28.4

  • Support custom webpack public path for dev-server and static build started by PR226

v1.28.3

v1.28.2

  • Support custom webpack publicPath PR226

v1.28.1

  • Add charset meta tags to HTML heads PR216

v1.28.0

  • Moved storybook serving code into a middleware to support more advanced use cases.
  • Refactored dev server to use storybook middleware PR211

v1.27.0

  • Move modules to storybook-core repo. PR196
  • Add stack-source-map again only for Chrome to get better error stacks.
  • Add ability to control the hostname. See PR195 and PR198

v1.26.0

12-May-2016

  • Ensure asset directory exists in the static-builder.

v1.25.0

11-May-2016

  • Fix several publishing related issues. See: #188.
  • Fix babel extends issue. See: PR185.
  • Fix issue with removing a preset from users babelrc.
  • Make left panel scrollable with keeping the filterbox always. See: PR182.
  • Add qs as a direct dependency as it's used in preview.

v1.24.0

10-May-2016

  • Add a potential fix for the double scrollbar issue. See: 179.
  • Add scrolling support to the left panel. Fixes #177.
  • Remove NODE_ENV=production flag. Fixes #158

v1.23.0

09-May-2016

  • Add shortcuts to jump to previous and next stories. See PR176
  • Fix loader concatenation bug specially when custom config doesn't have a loaders section. PR173

v1.22.1

06-May-2016

  • Add a potential fix for #167
    • basically, this moved back babel-packages required by webpack.

v1.22.0

06-May-2016

  • Improve the static builder time.

v1.21.0

06-May-2016

  • Add configType argument to custom config function. See: PR169
  • Add the unicode version of the Keyboard Shortcut Icon. See: PR170

v1.20.0

05-May-2016

  • Allow to configure webpack as the user wants. See PR160
  • Add typescript typings support for the core API. See PR157
  • Implement Mantra architecture and some new features including permalinks, full screen support. See: PR165
  • Remove some typo in docs. See: PR154
  • Move UI testing libraries to devDependencies. See: PR153

v1.19.0

27-April-2016

  • Add airbnb-js-shims to client-side JS. See: PR147
  • Remove self-closing div tag, which is invalid HTML. See: PR148
  • Search for a .babelrc in the storybook config directory first, then the project root. See: PR149

v1.18.0

26-April-2016

  • Link React Storybook menu to the repo. See: PR137
  • Implement keyboard shortcuts and fuzzy search. See: PR141

v1.17.2

25-April-2016

  • Fix an error which only occurs on Firefox. See: PR144

v1.17.1

21-April-2016

  • Fix a regression introduce by v1.17.0. See: PR133

v1.17.0

21-April-2016

  • Check all the arguments passed to action for events. See: PR132

v1.16.1

21-April-2016

  • Fix action logs highlighting issue, which comes as a regression of PR126.

v1.16.0

20-April-2016

  • Prevent re-rendering the preview iframe when there is an action.

v1.15.0

20-April-2016

  • Improve action logger UI and increase max log count to 10. See PR123

v1.14.0

19-April-2016

  • Add syntax highlights to the logger. See: PR118

v1.13.0

  • Add some UI test cases. See PR103
  • Implement .addDecorator() API. See PR115
  • Add code folding support. See PR111

v1.12.0

14-April-2016

  • Add support for webpack module preLoaders. See: PR107

v1.11.0

13-April-2016

  • Add support for React DevTools. See: PR104

v1.10.2

12-April-2016

Fix various issues related to static bundling.

  • Add custom head generation to static build as well.
  • Use relative urls so, static sites can be host with paths (GH Pages)
  • Identify SyntheticEvent using feature detection. UglifyJS mangal class names, so we can't use classnames to detect a SyntheticEvent in the static build.

v1.10.1

  • Don't serve index.html in static directory as a site index. See PR100
  • Use cjson for parsing .babelrc files (support comments). See PR98
  • Remove the dist directory before running babel to avoid older code. See PR101

v1.10.0

  • Add custom head support inside the iframe. See PR77
  • Unmount components before rendering into DOM node. Fix: #81
  • Add a static file builder. See PR88
  • Fix search box's lineHeight to work with all the browsers. See: PR94
  • Add the search box. See: PR91.

v1.9.0

Add some minor improvements.

  • Avoid deprecated warning in Chrome Canary. See: PR85
  • Fix the React Warning about CSS property. See: PR84
  • Transition on latest logged action. See: PR80

v1.8.0

  • Add story linking functionality.

v1.7.0

  • Add support to React v15.0.0.

v1.6.0

  • Make scrollable layout. See: PR
  • Add npm3 requirement to the package.json.
  • Add react and react-dom to devDependencies.

v1.5.0

  • Add support for most of the custom webpack configuration. See PR64

v1.4.0

  • Add CLI option to specify the config dir. See PR52.

v1.3.0

  • Load the .babelrc manually. Fixed: #41
  • Add a better contributing guide. See CONTRIBUTING.md
  • Add a development utility npm run dev which watches "src" directory and run npm run prepublish.

v1.2.0

  • Add a button to clear logs in the ActionLogger. This is requested in PR21.
  • Remove navigation list order hijacking. See commit.
  • Fix a typo in .gitignore. See PR31.
  • Add support for JSX. See PR18.

v1.1.0

  • v1.0.0 was a mistake and it contains very old code. That's why we had to do a 1.1.0 release.

v1.0.0

  • Yeah!