Allow customConfig to override devtool. PR668
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
.
- Revert PR653 where it's causing HMR to not working properly.
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
05-December-2016
Open the express router for developers (middleware.js file). PR435
01-December-2016
Update Typescript definition file for global addDecorator. PR634
28-November-2016
Completely avoid re-rendering the preview iframe. PR631
28-November-2016
Update postmsg channel module version PR627
22-November-2016
Add support for react_perf comes with React 15.4.0. PR623
Incorrect publish (error when running npm publish
)
20-November-2016
Add the react-storybook version to the build output. PR621
17-November-2016
Update the postmsg channel module to fix issue #555 with PR611
16-November-2016
Update to the new Storybook UI which doesn't use Redux.
11-November-2016
Update @kadira/storybook-ui to the latest.
10-November-2016
Fix a typo in the story syntax error messages. PR610
09-November-2016
Check if regex and regex.test is available before calling it. PR608
08-November-2016
Update webpack-hot-middleware to version 2.13.2 to fix the issue #543.
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.
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
03-November-2016
Update babel-plugin-react-docgen to v1.4.1 to fix HOC issue
01-November-2016
Update babel-plugin-react-docgen to 1.4.0. This will fix some of the compilation issues such as #580.
28-October-2016
Remove preview decorator support. PR583.
28-October-2016
Add preview decorator support. PR582. This will help us bring storybook designer with some great power.
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
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
23-October-2016
Add a potential fix to 558 by updating babel-plugin-react-docgen to the latest(v1.3.2).
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
.
19-October-2016
Do not show git command output. PR554
07-October-2016
- Export git repository info to support custom tool integrations PR536
06-October-2016
- Remove the experimental database addon from react-storybook PR535
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
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
28-September-2016
26-September-2016
26-September-2016
23-September-2016
- Stop uglifyjs from mangling names PR483
23-September-2016
- Remove
STORYBOOK_
prefix from config env PR481
22-September-2016
21-September-2016
21-September-2016
- Move the babel config loading logic into a seperate file. PR469
- Update airbnd eslint rules to the latest.
19-September-2016
Add a fix to webpack custom resolve.alias not working. PR465
19-September-2016
- Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. PR462
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
14-September-2016
- Fix 404 error when db file does not exist PR449
9-September-2016
- Fix #443 where the static version of Storybook doesn't like Safari.
- Update postcss-loader to 0.13.0.
8-September-2016
- Parse static directory provided by env as a list. PR436
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
4-September-2016
- Remove babel-polyfill since we don't use it.
- Update versions with the help from greenkeeper. PR421
3-September-2016
- Adding airbnb-js-shims again. PR419
2-September-2016.
- Use the config directory to store the addon database file PR418.
2-September-2016.
- Copy the addon-db.json file when building static storybooks PR417.
2-September-2016.
- Update @kadira/storybook to get the clean query params feature. See storybook-ui-PR37
1-September-2016
- Add addon database feature PR415.
31-August-2016
- Bring back HMR dev logs. PR412.
30-August-2016
- Allow start/build params from env variables. PR413
29-August-2016
- Remove the use of babel-runtime/core-js modules. PR410
24-August-2016
- Update @kadira/storybook-ui to v3.3.2
24-August-2016
- We are no longer shipping extra polyfills anymore. PR402
24-August-2016
- Allow file-loader URLs to work on subpaths. PR401
24-August-2016
- Bump @kadira/storybook ui to v3.3.1 to fix some UI related issues.
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.
16-August-2016
- Implement anonymous usage tracking. PR384
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
10-August-2016
- Remove unused extract-text-webpack-plugin. This will add webpack2 support. PR369.
09-August-2016
- Use @kadira/storybook-channel modules. #PR359.
- Update @kadira/storybook-ui to the latest.
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
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.
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:
- actions addon (powers the action logger): https://github.com/kadirahq/storybook-addon-actions
- links addon (powers the linkTo feature): https://github.com/kadirahq/storybook-addon-links
Have a look at here to how to configure addons.
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.
- Fix duplicate decorator bug #335.
- Add names for action and linkTo functions #321.
- Fix error in prepublish script #319.
- Improve Windows support by writing prepublish script using shelljs #308.
- v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: #306 and #305.
- Update @kadira/storybook-ui to 2.4.0
- Support watchOptions configuration. See: PR287
- Add missing font-face to the ErrorDisplay's heading.
- Fix issue related to bad error handling. See issue #275:
- Add fuzzy search powered search box and Redux DevTools support via @kadira/[email protected].
- Don't always override NODE_ENV in build-storybook. PR272
- Use storybook-ui v2.2.0 which puts shortcut state into the URL.
- Introduce an extension API for React Storybook. See: PR258
- Extend @kadira/storybook-ui provider from it's base Provider.
- Use @kadira/storybook-ui as the manager UI with the implemented provider for React. See
client/manager
for more info.
- Pass a
context
argument to stories PR250
- Fuzzy search kinds PR247
- Update dependency version to fix filter crash PR246
- Protect index.html/iframe.html from being overwritten PR243
- Use url.resolve instead of path.join PR240
- Copy missed manager.js.map file on static build PR236
- Multiple static dirs (comma separated) PR229
- Support ECMAScript stage-0 PR228 to fix Issue #227
- Support custom webpack public path for dev-server and static build started by PR226
- Revert PR226
- Support custom webpack publicPath PR226
- Add charset meta tags to HTML heads PR216
- Moved storybook serving code into a middleware to support more advanced use cases.
- Refactored dev server to use storybook middleware PR211
- 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
12-May-2016
- Ensure asset directory exists in the static-builder.
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.
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
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
06-May-2016
- Add a potential fix for #167
- basically, this moved back babel-packages required by webpack.
06-May-2016
- Improve the static builder time.
06-May-2016
- Add configType argument to custom config function. See: PR169
- Add the unicode version of the Keyboard Shortcut Icon. See: PR170
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
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
26-April-2016
- Link React Storybook menu to the repo. See: PR137
- Implement keyboard shortcuts and fuzzy search. See: PR141
25-April-2016
- Fix an error which only occurs on Firefox. See: PR144
21-April-2016
- Fix a regression introduce by
v1.17.0
. See: PR133
21-April-2016
- Check all the arguments passed to action for events. See: PR132
21-April-2016
- Fix action logs highlighting issue, which comes as a regression of PR126.
20-April-2016
- Prevent re-rendering the preview iframe when there is an action.
20-April-2016
- Improve action logger UI and increase max log count to 10. See PR123
19-April-2016
- Add syntax highlights to the logger. See: PR118
- Add some UI test cases. See PR103
- Implement
.addDecorator()
API. See PR115 - Add code folding support. See PR111
14-April-2016
- Add support for webpack module preLoaders. See: PR107
13-April-2016
- Add support for React DevTools. See: PR104
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.
- 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
- 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.
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
- Add story linking functionality.
- Documentation.
- Original feature request: #50
- Implementation: PR86
- Add support to React v15.0.0.
- Make scrollable layout. See: PR
- Add npm3 requirement to the
package.json
. - Add
react
andreact-dom
to devDependencies.
- Add support for most of the custom webpack configuration. See PR64
- Add CLI option to specify the config dir. See PR52.
- 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 runnpm run prepublish
.
- 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.0.0 was a mistake and it contains very old code. That's why we had to do a 1.1.0 release.
- Yeah!