2017-December-26
At long last! 3.3 contains a few major features and a ginormous backlog of smaller changes. A few highlights:
- Add angular support: Storybook for Angular #1474
- Viewport Addon: simulate device sizes #1740
- Jest Addon: preview test results in Storybook #2295
- Stories panel: Stories on each hierarchy level #1763
- Storyshots: Generate snapshot per story file #1584
- Add support for importing markdown in storybook #2299
We'll do a better job of getting out smaller releases next time around. ;-)
Features
- Add support for importing markdown in storybook #2299
- Add
TableComponent
option for addon-info #2400
- Change keyboard shortcuts to platform safe #1858
- Replace
console
withclient-logger
andnode-logger
packages #2347
- Add renderer option to storyshots #2414
- Added type annotation to helpers, added ts declaration files for angu⦠#2459
- Adding extra metadata to module/components #2526
- Fix ng component prop output override #2456
- [WIP] Angular versions support #2467
- Angular Add custom pipes support #2518
- Add angular support: Storybook for Angular #1474
- Fix addon Knobs: add array in Object PropTypes #2227
- Adds error when storyshots finds no stories #2079
- Add addon background to monorepo #2220
- Add ability to parse line breaks into
for Docgen descriptions #2053
- Ability for custom storyshots testFunctions to utilise "snapshot per story file" #1841
- Viewport Addon #1753
- Viewport Addon #1740
- Generate snapshot per story file #1584
- addon-links: add
LinkTo
component, andhrefTo
function #1829
- Viewport addon: simulate device sizes in preview window #1753
- CLI: Add codemod for deprecated addon-links and addon-actions from app #1368
- Info addon: More detailed props table #1485
- React native: Add accessibility labels to OnDeviceUI #1780
- Stories panel: Stories on each hierarchy level #1763
- Storyshots: Generate snapshot per story file #1584
- CLI: Add support for Vue projects using Nuxt #1794
Bug Fixes
- Fix whitespace on info add-on card #2543
- Angular component props assignment improvements #2554
- Remove redundant render in react #2503
- Addon-actions: Fix types and refactor #2438
- Fix warnings in search box #2479
- Migrate to marksy@6 #2464
- Extract Jest config from package.json to config file #2424
- Fix Horizontal Scrollbar of DownPanel #2410
- Move
@storybook/addons
to peerDependencies in all addons #2335
- Fix compatibility with @babel/core v7 #2494
- Unmount after storyshot snapshot #2417
- Fix HMR by saving the preview frame URL as the story changes #2349
- Fix CLI babel transpilation #2350
- Move LinkTo component to a separate
addon-links/react
endpoint #2239
- Fix Array Knob deserialization #2217
- Return the test in storyshots to respect promises. #2218
- Knobs refactor accidentally removed select #2210
- Add HMR to other RN app templates #2213
- Autoload all
*.stories.js
files in cli templates #2195
- Fix info upgrade codemod failing when optional description string is not supplied #2138
- Fix
flex-basis
ofDownPanel
content div #2126
- CLI: Use actions in sample stories for vue + fix them in SFC_VUE template #1867
- Improve rendering of 'types' in addon-actions #1887
- Circular json can possibly hang #1881
- Use HtmlWebpackPlugin to import all assets (importing chunks in order) #1775
- Fix preview scrolling #1782
- Search box: make found options selectable with click #1697
- Fix Docgen in static builds for Info #1725
- Return empty array when Array knob is empty #1811
- Import chunks/assets in correct order using HtmlWebpackPlugin #1775
- Fix preview scrolling #1782
- Height aligned 2 buttons in manager's header #1769
- Search box: make found options selectable with click #1697
- Info addon: Fix Docgen in static builds #1725
- Knobs: allow arrays in object knob proptypes #1701
Documentation
- Make dependencies more deterministic #1703
- Addon-info: deep merge passed styles with default ones #2449
- Test documentation duplication fix #2228
- Updated local test documentation #2224
- Add state addon to the addons page #2012
- Add community addon to add the ability to customize styles in the story preview area #2007
- Add Figma addon to community supported section #2009
- Update storybook-router description in the addon gallery. #1991
- Make dependencies more deterministic #1703
- Synced changes from new-docs to CONTRIBUTING.md #1911
- Fix incorrect yarn command in docs #1758
- Improve linkTo documentation #1793
- Add carbon to examples page #1764
- Minor grammar fixes and clarification to Vue documentation #1756
- Fix incorrect yarn command in docs #1758
- Add storybook-chrome-screenshot to addon gallery #1761
- Fixing typo on VueJS withNotes Example #1787
- Improve linkTo documentation #1793
- Add carbon to examples page #1764
- Minor grammar fixes and clarification to Vue documentation #1756
- Fix incorrect yarn command in docs #1758
- Add storybook-chrome-screenshot to addon gallery #1761
- Fixing typo on VueJS withNotes Example #1787
Maintenance
- Switch to UglifyJS that supports ES6 and up #2530
- Move everything from lodash to lodash-es #2558
- Misc fixes #2556
- CI: test that angular example works #2557
- FIX
yarn test
& selecting only core #2219
- CLI test: always remove
run
directory before exiting #2201
- Bot for closing old issues #2186
- Drop "Install latest yarn version" step on CI #1910
- CLI: A more human-friendly message for undetected project types #1825
- CLI: handle promise rejections #1826
- Add tests for CLI #1767
- Yarn workspaces #1810
- Knobs: allow arrays in object knob proptypes #1701
- Deprecate confusing option names #1692
- A CLI for running specific tests suites, like bootstrap CLI #1752
- Remove check for sender on channel. #1407
- Exit with code 1 if
start-storybook --smoke-test
fails #1851
- Refactor CLI #1840
- Refactor knobs - no longer include all runtimes #1832
- Added addon-knobs to crna and vanilla react native. #1636
- Deprecate confusing option names #1692
- A CLI for running specific tests suites, like bootstrap CLI #1752
- Remove check for sender on channel. #1407
- Use yarn instead of NPM #1703
- Add config for dependencies.io #1770
- Added addon-knobs to crna and vanilla react native. #1636
- Fixed Jest warnings #1744
- Smoke test master #1801
Dependency Upgrades
57 Upgrades
eslint
in /
from "4.13.1" to "4.14.0" #2555
jest-specific-snapshot
in addons/storyshots
from "0.2.0" to "0.3.0" #2555
style-loader
in app/angular
from "0.17.0" to "0.18.2" #2555
npx
in lib/cli
from "9.6.0" to "9.7.1" #2555
@angular/cli
in examples/angular-cli
from "1.3.0" to "1.6.2" #2555
@types/jasmine
in examples/angular-cli
from "2.5.54" to "2.8.2" #2555
jasmine-core
in examples/angular-cli
from "2.6.4" to "2.8.0" #2555
jasmine-spec-reporter
in examples/angular-cli
from "4.1.1" to "4.2.1" #2555
karma-chrome-launcher
in examples/angular-cli
from "2.1.1" to "2.2.0" #2555
karma-coverage-istanbul-reporter
in examples/angular-cli
from "1.3.0" to "1.3.1" #2555
protractor
in examples/angular-cli
from "5.1.2" to "5.2.2" #2555
ts-node
in examples/angular-cli
from "3.2.2" to "3.3.0" #2555
tslint
in examples/angular-cli
from "5.3.2" to "5.8.0" #2555
gatsby-remark-copy-linked-files
in /docs
from "1.5.24" to "1.5.25" #2529
gatsby
in /docs
from "1.9.144" to "1.9.146" #2529
enzyme-adapter-react-16
in /
from "1.1.0" to "1.1.1" #2520
jest-image-snapshot
in /
from "2.2.0" to "2.2.1" #2520
axe-core
in addons/a11y
from "2.5.0" to "2.6.0" #2520
moment
in addons/knobs
from "2.20.0" to "2.20.1" #2520
vue
in addons/knobs
from "2.5.11" to "2.5.12" #2520
vue
in app/vue
from "2.5.11" to "2.5.12" #2520
vue-template-compiler
in app/vue
from "2.5.11" to "2.5.12" #2520
moment
in addons/comments
from "2.20.0" to "2.20.1" #2520
vue
in examples/vue-kitchen-sink
from "2.5.11" to "2.5.12" #2520
vue-template-compiler
in examples/vue-kitchen-sink
from "2.5.11" to "2.5.12" #2520
@storybook/addon-actions
in /docs
from "3.2.17" to "3.2.18" #2519
@storybook/addon-links
in /docs
from "3.2.17" to "3.2.18" #2519
@storybook/addons
in /docs
from "3.2.17" to "3.2.18" #2519
@storybook/react
in /docs
from "3.2.17" to "3.2.18" #2519
gatsby
in /docs
from "1.9.141" to "1.9.142" #2519
nodemon
in /
from "1.13.2" to "1.13.3" #2498
graphql
in addons/graphql
from "0.11.7" to "0.12.0" #2498
@types/react
in addons/knobs
from "16.0.30" to "16.0.31" #2498
file-loader
in app/react-native
from "1.1.5" to "1.1.6" #2498
file-loader
in app/react
from "1.1.5" to "1.1.6" #2498
nodemon
in app/react
from "1.13.2" to "1.13.3" #2498
file-loader
in app/vue
from "1.1.5" to "1.1.6" #2498
nodemon
in app/vue
from "1.13.2" to "1.13.3" #2498
vue-loader
in app/vue
from "13.5.0" to "13.6.0" #2498
file-loader
in examples/vue-kitchen-sink
from "1.1.5" to "1.1.6" #2498
vue-loader
in examples/vue-kitchen-sink
from "13.5.0" to "13.6.0" #2498