Skip to content

v3.3.0

Compare
Choose a tag to compare
@shilman shilman released this 27 Dec 00:05
· 55958 commits to next since this release

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 with client-logger and node-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, and hrefTo 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 of DownPanel 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
  • Update babel-eslint in / from 8.1.1 to 8.1.2 #2562
  • Update babel-eslint in / from 8.1.0 to 8.1.1 #2561
  • Update babel-eslint in / from 8.0.3 to 8.1.0 #2559
  • Upgraded eslint in / from "4.13.1" to "4.14.0" #2555
  • Upgraded jest-specific-snapshot in addons/storyshots from "0.2.0" to "0.3.0" #2555
  • Upgraded style-loader in app/angular from "0.17.0" to "0.18.2" #2555
  • Upgraded npx in lib/cli from "9.6.0" to "9.7.1" #2555
  • Upgraded @angular/cli in examples/angular-cli from "1.3.0" to "1.6.2" #2555
  • Upgraded @types/jasmine in examples/angular-cli from "2.5.54" to "2.8.2" #2555
  • Upgraded jasmine-core in examples/angular-cli from "2.6.4" to "2.8.0" #2555
  • Upgraded jasmine-spec-reporter in examples/angular-cli from "4.1.1" to "4.2.1" #2555
  • Upgraded karma-chrome-launcher in examples/angular-cli from "2.1.1" to "2.2.0" #2555
  • Upgraded karma-coverage-istanbul-reporter in examples/angular-cli from "1.3.0" to "1.3.1" #2555
  • Upgraded protractor in examples/angular-cli from "5.1.2" to "5.2.2" #2555
  • Upgraded ts-node in examples/angular-cli from "3.2.2" to "3.3.0" #2555
  • Upgraded tslint in examples/angular-cli from "5.3.2" to "5.8.0" #2555
  • UPGRADE jest & react-native #2542
  • Move back to original fuse.js package #2478
  • UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue #2528
  • Upgraded gatsby-remark-copy-linked-files in /docs from "1.5.24" to "1.5.25" #2529
  • Upgraded gatsby in /docs from "1.9.144" to "1.9.146" #2529
  • Update gatsby in /docs from 1.9.143 to 1.9.144 #2524
  • Update gatsby in /docs from 1.9.142 to 1.9.143 #2521
  • Upgraded enzyme-adapter-react-16 in / from "1.1.0" to "1.1.1" #2520
  • Upgraded jest-image-snapshot in / from "2.2.0" to "2.2.1" #2520
  • Upgraded axe-core in addons/a11y from "2.5.0" to "2.6.0" #2520
  • Upgraded moment in addons/knobs from "2.20.0" to "2.20.1" #2520
  • Upgraded vue in addons/knobs from "2.5.11" to "2.5.12" #2520
  • Upgraded vue in app/vue from "2.5.11" to "2.5.12" #2520
  • Upgraded vue-template-compiler in app/vue from "2.5.11" to "2.5.12" #2520
  • Upgraded moment in addons/comments from "2.20.0" to "2.20.1" #2520
  • Upgraded vue in examples/vue-kitchen-sink from "2.5.11" to "2.5.12" #2520
  • Upgraded vue-template-compiler in examples/vue-kitchen-sink from "2.5.11" to "2.5.12" #2520
  • Upgraded @storybook/addon-actions in /docs from "3.2.17" to "3.2.18" #2519
  • Upgraded @storybook/addon-links in /docs from "3.2.17" to "3.2.18" #2519
  • Upgraded @storybook/addons in /docs from "3.2.17" to "3.2.18" #2519
  • Upgraded @storybook/react in /docs from "3.2.17" to "3.2.18" #2519
  • Upgraded gatsby in /docs from "1.9.141" to "1.9.142" #2519
  • Upgraded nodemon in / from "1.13.2" to "1.13.3" #2498
  • Upgraded graphql in addons/graphql from "0.11.7" to "0.12.0" #2498
  • Upgraded @types/react in addons/knobs from "16.0.30" to "16.0.31" #2498
  • Upgraded file-loader in app/react-native from "1.1.5" to "1.1.6" #2498
  • Upgraded file-loader in app/react from "1.1.5" to "1.1.6" #2498
  • Upgraded nodemon in app/react from "1.13.2" to "1.13.3" #2498
  • Upgraded file-loader in app/vue from "1.1.5" to "1.1.6" #2498
  • Upgraded nodemon in app/vue from "1.13.2" to "1.13.3" #2498
  • Upgraded vue-loader in app/vue from "13.5.0" to "13.6.0" #2498
  • Upgraded file-loader in examples/vue-kitchen-sink from "1.1.5" to "1.1.6" #2498
  • Upgraded vue-loader in examples/vue-kitchen-sink from "13.5.0" to "13.6.0" #2498
  • Update danger in / from 2.1.5 to 2.1.6 #2511
  • Update react-native from 0.43.4 to 0.49.3 in app/react-native #1971
  • React-Native - Docs - Add Issues section for Android Emulator #2078
  • Upgrade eslint-config-airbnb and make it pass #2212
  • Add config for dependencies.io #1770
  • Upgrade root dependencies and sync with packages #1802
  • Update jest to the latest version 🚀 #1799
  • Update eslint-plugin-jest to the latest version 🚀 #1795
  • Update lerna to the latest version 🚀 #1768