Skip to content

Releases: atlassian-labs/storybook-addon-performance

fix: `xstate` dependency patch

11 Aug 23:37
Compare
Choose a tag to compare

A small bug was picked up with compatibility with xstate in the last release and has now been patched.

v0.16.0

20 Jun 23:58
Compare
Choose a tag to compare

@DarkPurple141 drafted this on Jun 21

New

  • Support for React 17; this was simply a loosening of the peer dependencies
  • Dependency updates
  • The CLI has been moved to a new package storybook-addon-performance-cli

Housekeeping

  • The repo has been moved to a monorepo setup to better setup the project for future development

v0.15.0

20 Jun 23:53
Compare
Choose a tag to compare

New

  • Experimentally added a CLI bin for parsing storybook-performance-addon output.

Fixes

  • Fixed an issue with the CJS/ESM bundles not being picked up correctly in different environments by Storybook

0.14.0

15 Jan 05:25
Compare
Choose a tag to compare

New

  • Disable hydrate task on client only configs #58 (#65 follow-up) (thanks @robinmetral)
  • Upgrade storybook version to 6.1 #64 (thanks @AndrewOCC)
  • Add save/load buttons to the panel UI to export/import pinned results as files #59 (thanks @DarkPurple141)
    image
  • Save/load/pin buttons are now responsive and collapse to icons on smaller screens #59 (thanks @DarkPurple141)
    image

Fixes

0.13.0

21 Oct 23:35
Compare
Choose a tag to compare

Fixes

  • Unmounting any mounted React applications after each test run #54
  • Removing sideEffects: false from package.json #48

0.12.0

12 Aug 03:35
Compare
Choose a tag to compare

New

  • Can now filter which task groups you want to run #40 #45. Thanks @nickpresta!
  • Task to count the amount of react fiber nodes #42. Thanks @lorvsso!
  • Task to record how long an initial render takes with all following paint tasks completed #39. Thanks @wbinnssmith for the suggestion!

Screen Shot 2020-08-12 at 2 59 37 pm

Other

  • Fix: Fixing incorrect difference value in expanded static result view. Thanks @Juntao-Qiu!
  • Improvement: Cleaner output in local storage for pinned values #47

Note: pinned results from previous versions of this addon will not be compatible with this version. We changed the format of the output to be a bit more future proof. Our old format used the task index as it's unique identifier which prevented us from reordering the task list or adding new tasks into the existing list (we could only add new tasks to the end of the existing task list)

0.11.0

05 May 04:17
Compare
Choose a tag to compare
  • Fix: now correctly exporting typescript types. Thanks @kevinweber!!
  • Fix: people using npm will no longer generate package-lock files for this project. Thanks @kevinweber!!
  • Fix: some typos in the project. Good catch @victor-homyakov

0.10.0

05 May 04:15
Compare
Choose a tag to compare
  • Fix: diff values are now correct! 😊. Thanks to @AndrewOCC for sparring this one. We also wrote some tests to ensure that the diff calculations work how we expect them to

0.9.0

17 Apr 05:51
Compare
Choose a tag to compare

Logging task errors to the console

If you do get an error in a task, it can be helpful to see the raw error and the stack trace. So we now print the error in the console for you.

Screen Shot 2020-04-17 at 3 50 22 pm

0.8.0

17 Apr 05:29
Compare
Choose a tag to compare

Graceful error handling #12

If a task has an error you will get some information printed in the panel. Previously the whole panel would just hang forever 😇

error handling

Dark mode support

For those of you using storybook in dark mode, this addon will now look right at home:

dark mode

Testing

We have added a whole bunch of unit tests and browser tests to ensure that tasks execution and the UI is behaving as expected.

Here is one of our cypress tests running on CI:

run-all spec tsx 2020-04-17 15_25_46

Fix: storyFn

We now do a much better job of handling whatever story you want to render.

Thanks @Madou for originally raising this and @czearing for the original fix