- Scott Johnson (@jwir3)
- Add concurrency limits to TurboSnap checks to fix OOM errors with large monorepos #1242 (@Brookke @codykaup)
- Add support for iOS React Native projects #1229 (@codykaup)
- Only upload
manifest.json/storybook.apk/storybook.app#1240 (@codykaup)
- Cody Kaup (@codykaup)
- Update storybook to
10.x& upgrade dependencies #1228 (@kasperpeulen @ndelangen @jwir3)
- Kasper Peulen (@kasperpeulen)
- Norbert de Langen (@ndelangen)
- Scott Johnson (@jwir3)
- Update storybook to
10.x& upgrade dependencies #1228 (@kasperpeulen @ndelangen @jwir3)
- Cody Kaup (@codykaup)
- Kasper Peulen (@kasperpeulen)
- Norbert de Langen (@ndelangen)
- Scott Johnson (@jwir3)
- Adds support for React Native builds #1224 (@justin-thurman)
- Skip storybook build step for react native #1225 (@justin-thurman)
- Add React Native asset validation #1223 (@justin-thurman)
- Add react native app feature flag to CLI context #1222 (@justin-thurman)
- Justin Thurman (@justin-thurman)
- Fix passing signal to Execa #1220 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Strip ' + N modules' when matching against untraced files #1217 (@justin-thurman)
- Justin Thurman (@justin-thurman)
- Fix Node 24 security warning #1215 (@codykaup)
- Remove
corepack enablefrom GitHub Actions #1218 (@justin-thurman) - Setup permissions for NPM trusted publishing #1216 (@codykaup)
- Cody Kaup (@codykaup)
- Justin Thurman (@justin-thurman)
- Cody Kaup (@codykaup)
- John Hobbs (@jmhobbs)
- Remove unused references to view layer #1207 (@justin-thurman)
- Justin Thurman (@justin-thurman)
- Updated the mapping for the storybook entry with a recent change in storybook-rsbuild #1206 (@ethriel3695)
- Reuben Ellis (@ethriel3695)
- Handle framework names that specify full viewlayer packages #1204 (@justin-thurman)
- Justin Thurman (@justin-thurman)
- Feat:Fix outdated and incorrect links in the CLI #1202 (@jonniebigodes)
- Show setup URL on build errors when onboarding. #1201 (@jmhobbs)
- @jonniebigodes
- John Hobbs (@jmhobbs)
- Remove notify service message logs #1199 (@codykaup)
- Replace ad hoc test loggers with
TestLogger#1197 (@justin-thurman)
- Cody Kaup (@codykaup)
- Justin Thurman (@justin-thurman)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Get build progress updates through Chromatic notify service #1191 (@justin-thurman @codykaup)
- Cody Kaup (@codykaup)
- Justin Thurman (@justin-thurman)
- John Hobbs (@jmhobbs)
- John Hobbs (@jmhobbs)
- Tom Coleman (@tmeasday)
- Tom Coleman (@tmeasday)
- Split upload task to allow tracing changed files with dry run #1185 (@justin-thurman)
- Justin Thurman (@justin-thurman)
- Revert "Revert "Add git command logging and pass
--no-relativetogit diff."" #1184 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Export
createLoggerand make all arguments optional #1182 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Revert "Add git command logging and pass
--no-relativetogit diff." #1183 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Tom Coleman (@tmeasday)
- Cody Kaup (@codykaup)
- Return additional build info on action rerun #1174 (@justin-thurman)
- ✏️ Update help text to reflect actual state of exitOnceUploaded. #1169 (@jwir3)
- Justin Thurman (@justin-thurman)
- Scott Johnson (@jwir3)
- Remove unused
viewLayerandaddonsfrom CLI metadata #1167 (@justin-thurman) - Add
pnpm-lock.yamlto list of lockfiles #1164 (@codykaup) - Move TurboSnap to a local lib #1162 (@codykaup)
- Throw on multiple scanned projects from snyk #1161 (@jmhobbs)
- Preserve git history when publishing new GH action version #1166 (@justin-thurman)
- Improve TurboSnap tests #1163 (@jmhobbs)
- Cody Kaup (@codykaup)
- John Hobbs (@jmhobbs)
- Justin Thurman (@justin-thurman)
- Cody Kaup (@codykaup)
- John Hobbs (@jmhobbs)
- Add new Vite builder entry for future SB versions #1155 (@codykaup)
- Add
outputDirto action metadata #1154 (@codykaup) - Set Apollo GraphQL client identification headers #1151 (@jmhobbs)
- Fix directory flags for trace command. #1148 (@jmhobbs)
- Add additional rspack builder entrypoint #1147 (@jmhobbs)
- Account for accessibility change counts in UI #1145 (@jmhobbs)
- John Hobbs (@jmhobbs)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Set
storybookUrlaction output on rebuild early exit #1134 (@jmhobbs) - Upload coverage reports to codecov #1132 (@paulelliott)
- John Hobbs (@jmhobbs)
- Paul Elliott (@paulelliott)
- John Hobbs (@jmhobbs)
- Account for configs when checking
exitOnceUploadedin action #1130 (@codykaup) - Only publish
latestaction on push to main #1129 (@codykaup)
- Cody Kaup (@codykaup)
- Tom Coleman (@tmeasday)
- Scott Johnson (@jwir3)
- Tom Coleman (@tmeasday)
- Scott Johnson (@jwir3)
- Cody Kaup (@codykaup)
- Ensure parent directory exists before writing log/diagnostics file #1117 (@codykaup)
- Fix
--diagnostics-fileparsing #1116 (@codykaup) - Add steps for how to run builds against local CLI #1113 (@codykaup)
- Cody Kaup (@codykaup)
- Revert "Add
ctx.projectMetadata.hasRouter" (@tmeasday)
- Tom Coleman (@tmeasday)
- Add
ctx.projectMetadata.hasRouter(@tmeasday)
- Tom Coleman (@tmeasday)
- John Hobbs (@jmhobbs)
- Cody Kaup (@codykaup)
- Add support for
logLevelandlogPrefixoptions, use local timestamp as default prefix #1107 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Switch to read-package-up from read-pkg-up #1106 (@jmhobbs)
- Only run
package-sizeon pull request #1105 (@codykaup)
- Fix
.envparsing #1104 (@codykaup) - Better handling of undefined values in branches #1101 (@jmhobbs)
- Setup workflow for PR checks #1102 (@codykaup)
- Rename new action job name for merge queue UI #1100 (@codykaup)
- Add context to sentinel upload failures. #1094 (@jmhobbs @codykaup)
- Add nicer formatting to TS bail reasons. #1095 (@jmhobbs @codykaup)
- Fix GITHUB_REF check on release #1093 (@jmhobbs)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Cody Kaup (@codykaup)
- Move deployment to single script #1088 (@codykaup)
- Migrate linting and tests to GitHub Actions #1085 (@codykaup)
- Add Sentry Releases #1084 (@jmhobbs)
- Fix CLI version output #1079 (@codykaup)
- Account for
--exit-zero-on-changes=true#1083 (@codykaup) - Do not run Sentry in dev #1082 (@jmhobbs)
- Show steps for initializing a new Git repo #1081 (@codykaup)
- Add basic sentry integration to cli #1036 (@jmhobbs)
- Enable
unicorn/prevent-abbreviationsESLint rule #1064 (@codykaup)
- Add TypeScript checking to CI pipeline #1078 (@codykaup)
- Upgrade
subdirdeps #1077 (@codykaup) - Ignore duplication in test files and ignore all mocks #1073 (@codykaup)
- Bump the npm_and_yarn group across 2 directories with 5 updates #1076 (@dependabot[bot])
- Bump terser from 5.31.0 to 5.34.1 in the npm_and_yarn group across 1 directory #1075 (@dependabot[bot])
- Bump the npm_and_yarn group across 2 directories with 7 updates #1074 (@dependabot[bot])
- Fix remaining TypeScript errors and unable
strict: true#1072 (@codykaup) - Add
EmpathyandCLIlabels to issue templates #1071 (@codykaup) - Add TypeScript config from internal repo and fix some errors #1070 (@codykaup)
- Annotate Sentry events #1069 (@jmhobbs)
- Filter ANSI escape codes for Sentry #1068 (@jmhobbs)
- Do not capture config/option exceptions #1067 (@jmhobbs)
- Enable
unicorn/filename-caseESLint rule #1062 (@codykaup) - Enable
eslint-plugin-jsdocESLint rule #1066 (@codykaup) - Enable
unicorn/prefer-moduleESLint rule [#1061](#1061) (@codykaup)
- @dependabot[bot]
- Cody Kaup (@codykaup)
- John Hobbs (@jmhobbs)
- Include
storybookUrlandwebUrlon skipped rebuild #1060 (@codykaup) - Enable
@typescript-eslint/no-floating-promisesESLint rule #1065 (@codykaup)
- Enable
unicorn/no-nullESLint rule #1057 (@codykaup) - Enable
unicorn/no-array-reduceESLint rule #1056 (@codykaup) - Track package size over time. #1059 (@jmhobbs)
- Revert "Use --stats-json flag for SB 8.0.0+" #1058 (@jmhobbs)
- Enable
unicorn/prefer-spreadESLint rule #1052 (@codykaup) - Enable
unicorn/better-regexESLint rule #1055 (@codykaup)
- Use --stats-json flag for SB 8.0.0+ #1049 (@jmhobbs)
- Enable
unicorn/no-array-callback-referenceESLint rule #1051 (@codykaup) - Enable
unicorn/prefer-string-rawESLint rule #1050 (@codykaup) - Enable
unicorn/no-anonymous-default-exportESLint rule #1047 (@codykaup) - Enable
unicorn/no-array-for-eachESLint rule #1048 (@codykaup) - GitHub action to add package size comment to PR #1040 (@jmhobbs)
- Revert "Use --stats-json flag for SB 8.0.0+" #1046 (@maxcorbin)
- Fix flaky verify timeout test #1044 (@codykaup)
- Fix flaky missing dependency test #1043 (@codykaup)
- Cody Kaup (@codykaup)
- Maxie (@maxcorbin)
- Use --stats-json flag for SB 8.0.0+ #1035 (@jmhobbs)
- Add basic
unicornsetup to ESLint config #1041 (@codykaup) - Update actions/upload-artifact to v4 #1042 (@jmhobbs)
- Support storybook-rsbuild #1032 (@joshwooding @codykaup)
- Remove pre-commit hook #1039 (@codykaup)
- Add initial ESLint config based on internal repo #1037 (@codykaup)
- Remove Chromatic staging CI step #1038 (@codykaup)
- Cody Kaup (@codykaup)
- Josh Wooding (@joshwooding)
- Don't upload files from
.chromaticdirectory #1028 (@jmhobbs @ghengeveld)
- Gert Hengeveld (@ghengeveld)
- John Hobbs (@jmhobbs)
- Add key to configuration to fix #1022 #1023 (@winkerVSbecks)
- Varun Vachhar (@winkerVSbecks)
- test setting outOfSync to false #1018 (@ethriel3695)
- Reuben Ellis (@ethriel3695)
- Added logic to account for parentheses at the beginning #1016 (@ethriel3695)
- Reuben Ellis (@ethriel3695)
- Add missing skipUpdateCheck option to config schema #1011 (@ryan-case-ml)
- Ryan Case (@ryan-case-ml)
- Ensure GitHub Action runs in specified version of node #1006 (@tevanoff)
- Recommended files and ignored paths for yarn 4 #1005 (@tevanoff)
- Todd Evanoff (@tevanoff)
- Clean package.json before compiling into source #1003 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Chore: Update the RegEx filter to pull out empty strings #1004 (@ethriel3695)
- Reuben Ellis (@ethriel3695)
- Add fallback type for Storybook 6 builder syntax #1001 (@ethriel3695 @ghengeveld)
- Only replace local builds with uncommitted changes #994 (@ghengeveld)
- Clean package.json before publishing #999 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Reuben Ellis (@ethriel3695)
- Upgrade Storybook to 8.1 #989 (@ethriel3695)
- Pass
SLACK_WEBHOOK_URLto release script #992 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Reuben Ellis (@ethriel3695)
- Pass
CI=1environment variable to Storybook build command to disable prompts #991 (@ghengeveld) - Setup Slack plugin for auto to notify on new CLI releases #990 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Use replacement build for baseline build with uncommitted changes #988 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Todd Evanoff (@tevanoff)
- Todd Evanoff (@tevanoff)
- Todd Evanoff (@tevanoff)
- Fix type declaration for
isChromaticimport #986 (@quantizor @ethriel3695) - Specify the ts import resolver in the eslint config #965 (@paulelliott @thafryer)
- Evan Jacobs (@quantizor)
- Jarel Fryer (@thafryer)
- Paul Elliott (@paulelliott)
- Reuben Ellis (@ethriel3695)
- Use current working directory as default value for
storybookBaseDir#976 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Properly check
storybookBaseDiragainst repository root rather than CWD #974 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Throw user-friendly error when config file fails to parse as JSON #961 (@ghengeveld)
- Suppress issues caused by missing Git remote #962 (@ghengeveld)
- Trim
vprefix from shipIt's version to avoid double prefixing tags #960 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Allow passing both
buildScriptNameandstorybookBuildDir#934 (WOU@kmd.dk @woutervanvliet @ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Wouter van Vliet (@woutervanvliet)
- Wouter van Vliet (WOU) (WOU@kmd.dk)
- Properly handle GitHub Action inputs that can have multiple values #951 (@tevanoff)
- Fix GitHub Action release script using data from Auto shipIt hook rather than from Git #956 (@ghengeveld)
- Bump ip from 2.0.0 to 2.0.1 #925 (@dependabot[bot] @ghengeveld)
- Bump vite from 4.4.9 to 4.5.2 #895 (@dependabot[bot] @ghengeveld)
- Bump ip from 1.1.5 to 1.1.9 in /subdir #926 (@dependabot[bot] @ghengeveld)
- Bump semver from 5.7.1 to 5.7.2 in /subdir #786 (@dependabot[bot] @thafryer @ghengeveld)
- @dependabot[bot]
- Gert Hengeveld (@ghengeveld)
- Jarel Fryer (@thafryer)
- Todd Evanoff (@tevanoff)
- Add
skipUpdateCheckoption #928 (@work933k @ghengeveld)
- Report code coverage to Codacy #950 (@paulelliott)
- Fixes for various issues reported by Codacy #947 (@ghengeveld)
- Restrict permissions in GitHub Action workflows #946 (@ghengeveld)
- Tell SB8 users to pass
--stats-jsonrather than--webpack-stats-json#948 (@tmeasday)
- @work933k
- Gert Hengeveld (@ghengeveld)
- Paul Elliott (@paulelliott)
- Tom Coleman (@tmeasday)
- Todd Evanoff (@tevanoff)
- Prevent non-string or null message in timestamp logging from causing exit code 254 during build. #931 (@BenjaminEllisSo)
- Todd Evanoff (@tevanoff)
- escape special characters in onlyStoryFiles filenames #942 (@JonathanKolnik)
- Jono Kolnik (@JonathanKolnik)
- Todd Evanoff (@tevanoff)
- Display full error message when storybookBaseDir is invalid #932 (@andrewortwein)
- Andrew Ortwein (@andrewortwein)
- Jarel Fryer (@thafryer)
- Allow commit hash to not be known when finding merge queue PR number #929 (@adrianbruntonsagecom)
- Adrian Brunton (@adrianbruntonsagecom)
- Add new invalid sb base dir error message and validator function #921 (@andrewortwein @ethriel3695)
- Andrew Ortwein (@andrewortwein)
- Reuben Ellis (@ethriel3695)
- Avoid build verify timeout when waiting for upgrade builds #922 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Todd Evanoff (@tevanoff)
- Todd Evanoff (@tevanoff)
- clean up debug log as it's too much noise #919 (@ethriel3695)
- Reuben Ellis (@ethriel3695)
- Tom Coleman (@tmeasday)
- Add missing
fileHashingoption to GitHub Action #918 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Be smarter about comparing lock files #912 (@ghengeveld @tmeasday)
- Gert Hengeveld (@ghengeveld)
- Tom Coleman (@tmeasday)
- Expose
repositoryRootDir,configFileand fixdiagnosticsFile#913 (@ghengeveld) - Support
env,sessionIdandlogoptions via Node API #897 (@work933k) - Add timestamps to debug and file logging #907 (@ghengeveld)
- @work933k
- Gert Hengeveld (@ghengeveld)
- Jarel Fryer (@thafryer)
- Todd Evanoff (@tevanoff)
- Steven Kitterman (@skitterm)
- Jarel Fryer (@thafryer)
- Jarel Fryer (@thafryer)
- Add "package.json" to exports map #900 (@yannbf)
- Improve logging around upload errors #894 (@ghengeveld)
- Don't skip uploading of empty files, it works now #901 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Yann Braga (@yannbf)
- Tom Coleman (@tmeasday)
- Jarel Fryer (@thafryer)
- Fix potential zip upload error when deduping files on a very large Storybook #892 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Add missing
skipoption to configuration schema #890 (@ghengeveld) - Detect merge queue branch and retrieve real branch name from pull request #884 (@JonathanKolnik @ghengeveld)
- Deduplicate files to be uploaded using file hashing #875 (@ghengeveld)
- Replace upload mechanism to use a batched mutation with a new API #888 (@ghengeveld)
- Retrieve
sentinelUrlsfromuploadBuildand wait for all of them before finishing upload task #878 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Jono Kolnik (@JonathanKolnik)
- Add configFile option to GitHub Action #885 (@wisestuart)
- Stuart Hammar (@wisestuart)
- Revert "Replace
getUploadUrlswithuploadBuildmutation" #883 (@JonathanKolnik) - Run publish-action script as afterShipIt hook #877 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Jono Kolnik (@JonathanKolnik)
- Replace
getUploadUrlswithuploadBuildmutation #876 (@ghengeveld) - Implement file hashing for to-be-uploaded files #870 (@ghengeveld)
- Allow overriding
NODE_ENVwithSTORYBOOK_NODE_ENV#879 (@tmeasday) - Use code splitting in tsup CJS output #873 (@tmeasday)
- Gert Hengeveld (@ghengeveld)
- Tom Coleman (@tmeasday)
- Support pinning GitHub Action to major or patch version #863 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Tom Coleman (@tmeasday)
- Don't write
chromatic.logby default, allow configuring log files #855 (@ghengeveld)
- Redact
userTokenin diagnostics and fatal error output #859 (@ghengeveld) - Bump zod from 3.22.2 to 3.22.3 #830 (@dependabot[bot] @thafryer)
- Bump word-wrap from 1.2.3 to 1.2.5 #804 (@dependabot[bot] @thafryer)
- Bump get-func-name from 2.0.0 to 2.0.2 #824 (@dependabot[bot] @thafryer)
- Bump @babel/traverse from 7.16.3 to 7.23.2 in /subdir #838 (@dependabot[bot] @thafryer)
- Fix changelog for 9.0.0 and update auto config to prevent issue in the future #854 (@ghengeveld)
- Drop next-release label (@ghengeveld)
- @dependabot[bot]
- Gert Hengeveld (@ghengeveld)
- Jarel Fryer (@thafryer)
- Support
projectId+userTokenas alternative toprojectTokenfor auth #852 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Drop official support for Node 14/16 #839 (@ghengeveld)
- Merge Group (Queues) GitHub Action Event Support #825 (@mhemmings @thafryer)
- Bump browserify-sign from 4.2.1 to 4.2.2 #848 (@dependabot[bot])
- Bump semver from 7.3.5 to 7.5.2 #778 (@dependabot[bot])
- Bump browserify-sign from 4.2.1 to 4.2.2 in /subdir #849 (@dependabot[bot] @thafryer)
- Configure auto with
prereleasesetting and update readme #847 (@ghengeveld)
- @dependabot[bot]
- Gert Hengeveld (@ghengeveld)
- Jarel Fryer (@thafryer)
- Mark Hemmings (@mhemmings)
- Merge Group (Queues) GitHub Action Event Support #825 (@mhemmings @thafryer)
- Configure auto with
prereleasesetting and update readme #847 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Jarel Fryer (@thafryer)
- Mark Hemmings (@mhemmings)
- Configure auto with
prereleasesetting and update readme #847 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Fix config for Auto and add
next-releasetag to trigger anextrelease #846 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Fix
ENOENTwhen uploading stats file with--upload-metadata#843 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Fix use of
LoggingRendererafter bad merge #845 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Write to log file and add
--upload-metadatato publish metadata files #836 (@ghengeveld)
- Add workflow to require certain PR labels before merging #841 (@ghengeveld)
- Fix reading
diagnosticsfrom undefined #840 (@ghengeveld) - Only release 'latest' GitHub Action from
mainbranch #837 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Support untraced flag in dependency tracing fallback scenario (for pnpm) #835 (@ghengeveld)
- Improvements to auto release workflow #832 (@chromatic-support @ghengeveld)
- @chromatic-support
- Gert Hengeveld (@ghengeveld)
- Pass runtime metadata in
announceBuild#826 (@ghengeveld)
- Gracefully handle gpg signature info in
git logoutput #833 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Fix dependency tracing for monorepos with no
package.jsonat the repository root #827 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Clean up auto-generated changelog (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- Add
experimental_abortSignalto Node API to allow canceling builds #822 (@ghengeveld) - Migrate from Jest to Vitest, update ESLint config and upgrade Execa #821 (@ghengeveld)
- Replace release script with auto shipit #828 (@ghengeveld)
- Gert Hengeveld (@ghengeveld)
- 812 Allow running a build from a repo with only one commit when not in CI
- 810 Add
onTaskStart, and a new typed fieldctx.task - 808 Add
onTaskErroroption to report errors to node consumers - 813 Rename
onTaskErrortoexperimental_onTaskError
- 789 Use
@antfu/nito supportpnpmfor Storybook build - 805 Add a
onTaskProgressoption and report progress on it
This is a potentially breaking change due to the introduction of @antfu/ni to handle running the storybook build command in the Build Storybook step.
- 803 Support Mode Name as Suffix for Build Progress Indicator
- 800 Fix type signature for
runAllandrunBuild
- 795 Add
--localflag and pass to builds asisLocalBuild - 796 Pass
gitUserEmailHashup with new builds and uselocalBuildsfilter in baseline calculations
- 798 Calculate and record
uncommittedHashwhen creating a build
- 794 Add
getGitInfofunction exported by the Node API - 780 Add support for
scheduleGitHub Action workflow trigger - 793 Update snyk parser and added tests for yarn berry
- 788 Track Build ID for Storybook Uploads
- 734 Add support for
releaseevent to Github action. - 750 Update CI to store tokens in environment variables
- 775 Increase timeout for Git command(s) execution
- 765 Add some fields to package.json to help resolve types in entrypoints
- 773 Bump the Loggly Dependency
- 770 Ensure we exit with a code at the end
- 768 Add
isChromaticexports
- 763 Fix issue with onTaskComplete callback
- 763 Fix issue with
onTaskCompletecallback
- 764 Move all depenendencies to dev deps
- 758 Add additional logging for turbosnap
- 753 Update getStorybookMetadata to safely record version even if fails to parse mainConfig
- 737 Better discovery for TurboSnap trace-changed and related directories
- 747 Fix Storybook config detection by adding serverRequire to interpret files
- 738 Get the builder name and version via the mainConfig for SB v7+
- 743 Bump Snyk lockfile parser dependency
- 730 Disconnect preserveMissing from
--only-story-namesflag
- 726 Increase timeout on Storybook Verification
- 725 Bump webpack from 5.72.1 to 5.76.0
- 711 Bump http-cache-semantics from 4.1.0 to 4.1.1
- 718 Update
changedFilestarget to fix broken trace utility
- 695 Omit
inputsforworkflow_dispatchevent in GitHub Action - 713 Add support for
issue_commentevent in GitHub Action
- 710 Add
--repository-slugflag to CLI, andrepositorySlug+branchNameoptions to GitHub Action
- 700 Revert "Don't bundle package.json but rely on meow's runtime value instead"
- 676 Log message when TurboSnap is unavailable
- 671 Don't bundle package.json but rely on meow's runtime value instead
- 675 Output progress updates in non-interactive mode every 10 seconds
- 685 Support custom DNS IP and DNS failover IP using custom DNS resolver
- 689 Improve the failure message when there's only one git commit
- 670 Trace command errors for package manifest change
- 659 Add interactionTestFailuresCount to GitHub Action output
- 660 Update GitHub Action to Node 16
- 644 Bump node-fetch from 3.0.0 to 3.2.10
- 666 Bump @actions/core from ^1.5.0 to ^1.10.0
- 667 Edit package file detection process for the untraced flag
- 665 Added onlyStoryFiles to the github action
- 648 TurboSnap not bailed if package manifest change isn't dependency-related
- 661 Add
debugas an option to the GH action
- 651 Update buildHasErrors with interaction test failure specific messaging
- 649 Fix TurboSnap for module names containing URL params in stats file
- 650 Ensure all GitHub Action outputs are exposed
- 645 Check onlyStoryNames is non-empty
- 620 Add various counts as GitHub Action outputs
- 643 Fix implied
--preserve-missingfor--only-story-names
- 634 Add
--only-story-filesflag - 565 Add tests for
--untracedflag validation - 636 Suggest using
--force-rebuildwhen skipping rebuild
- 635 Retry queries by default and allow even more retries for
FirstCommittedAtQuery - 607 Bump terser from 4.8.0 to 4.8.1
- 601 Bump moment from 2.29.1 to 2.29.4
- 594 Bump shell-quote from 1.7.2 to 1.7.3
- 553 Bump minimist from 1.2.5 to 1.2.6
- 631 Bump @actions/core from 1.5.0 to 1.9.1
- 630 Rename
--onlyto--only-story-namesbut keep it as a deprecated alias - 629 Deprecate
--preserve-missingand raise a warning if it's being used
In order to support advanced use cases where only a subset of stories would be included in a Storybook, the --preserve-missing flag could be used to prevent excluded stories from being marked as "removed" in Chromatic. This behavior could lead to problematic situations regarding infrastructure upgrades and cause truly removed stories to never be removed from Chromatic. That's why we are sunsetting the "preserve missing" behavior. As of v6.8.0, using this flag will raise a warning message in the CLI. In a future major version, the flag will be removed completely, and continuing to use it with an older CLI version will start to fail your build.
To upgrade, you should remove the --preserve-missing flag from your CI and/or package.json scripts. If you use our GitHub Action, you should remove the preserveMissing input (with: ...) from your workflow config file. Furthermore, you should make sure that your build-storybook script builds all stories, not just a subset. Check your stories configuration in .storybook/main.js so it doesn't omit any stories (e.g. based on an environment variable).
Most likely you were using preserveMissing to cut down on the number of snapshots taken by Chromatic. To achieve the same goal, you have three options:
- Recommended: Use TurboSnap to automatically only snapshot stories for which related source files have changed.
- Use
--only-story-namesto only snapshot stories matching a glob pattern by component/story name. - (Soon) Use
--only-story-filesto only snapshot stories matching a glob pattern by story filename.
In each of these cases, any stories that aren't captured are "inherited" from their baseline.
- 624 Read Webpack stats file as stream to support very large projects
- 621 Add
addon-interactionsto list of supported addons
- 615 Changed trim stats to stream and added test
- 612 Add change count to buildPassed message if changes exist
- 598 Enable bash mode for globs when matching branches with picomatch
- 8be428f Prevent split on undefined
- 592 Filter out unsupported addons from Storybook metadata
- 566 Handle commits that are missing from the repository (i.e. rebased) when doing TurboSnap
- 562 Implement async build creation process
- 585 Fix Storybook metadata retrieval
- 554 Downcase the slug so we don't accidentally treat origin as fork
- 536 Fix
slugfor GitHub'sworkflow_dispatchevent - 547 Fix line splitting on Windows for Git output
- 538 Bump url-parse from 1.5.3 to 1.5.10
- 545 Bump ansi-html from 0.0.7 to 0.0.8
- 528 Bump follow-redirects from 1.14.7 to 1.14.9
- Fix: Cannot read property 'startsWith' of null
- 513 Add support for custom npm registry url
- 521 Add TurboSnap support for Vite
- 523 Fix TurboSnap support for Storybook 6.5 with
.cjsextension - 518 Fix
storybookUrloutput by removingiframe.htmlsuffix
- 505 Migrate to TypeScript
- 499 Fix handling of
CANCELLEDbuild status - 501 Fix handling of missing
refand/orshainputs onworkflow_dispatchevent #501 - 503 Reformat help text and move
allowConsoleErrorsto deprecated options - 504 Fix consistent naming of flags for
traceutil
- 495 TurboSnap: Add
--trace-changedflag andtraceutility - 490 TurboSnap: Detect mismatching entry file and suggest a fix
- 502 Add
--force-rebuildto prevent skipping on rebuild - 500 Use commit author info instead of committer info
- 487 Improve how process exit code is set
- 488 Fix
--untracedfor package files - 474 Fix commit status update for UI Review when using
--skip
- Filter empty values in array flags and restore warnings
- Disable warning about
--externalsrequiring--only-changed
- Disable warning about
--untracedrequiring--only-changed
- 461 Add
--untracedflag to avoid retesting stories that depend on certain files - 479 Add
--diagnosticsflag to write process context data to a file - 458 Track
bailReason, improve TurboSnap messaging and throw on zero CSF globs - 482 Fix commit details when using env var and warn if the commit is missing
- Avoid optional chaining which breaks in Node 12 (GitHub Actions)
- Fix error handling in GraphQL client to not retry mutation on HTTP error
- 477 Retry createBuild based on error messages
- 468 Increase unpack wait timeout to 3 minutes
- 466 Add workingDirectory input handler for action
- 465 Remove the need to set a GitHub token
- 459 Add --zip flag to upload files as zip archive
- 463 Fix tests of makeZipFile
- 447 Add support for passing the same flag multiple times
- 455 Add
--storybook-base-dirto support TurboSnap with a prebuilt Storybook originating from a subdirectory - 456 Add
--dry-runto skip publishing - 444 Add support for proxy authentication
- 457 Throw error rather than bailing out of TurboSnap when tracing changed files fails
- 449 Fix TurboSnap for unnamed modules in Webpack 5 stats file
- 442 Set exitCode to 0 when branch is skipped with skip flag
- 440 Add TurboSnap support for 6.4 virtual story file locations
- 440 Fix TurboSnap for files that are chunked with preview files
- 436 Fix DEBUG env variable being set
- 424 Update GitHub Action to use Node 14
- 433 Add optional window arg to
isChromatic
- Fix issue with
node:pathimport caused bymeowv10.
- Fix
--only-changedto bail on changes topackage.json,package-lock.jsonoryarn.locklocated at the repository root.
- 393 Bundle the bin & action so it's dependency-less
- 393 Add support for
workflow_runevent - 393 Make lookup of storybook version optional
- Make
isChromaticthe package main entry point - Remove the deprecated Storybook addon
Before:
import isChromatic from 'chromatic/isChromatic';After:
import isChromatic from 'chromatic';- 404 Fix the version of node-fetch to
2.6.0due to a bug in2.6.3
- 311 Support
workflow_dispatchevent in GitHub Action - 382 Support absolute paths in webpack stats
- 370 Ignore
--only-changedon rebuild - 381 Throw when specifying an invalid loglevel
- 392 Better path handling for TurboSnap
- 374 Fix handling of
NO_PROXYenvironment variable - 397 Fix runtime issues with HTTP_PROXY / NO_PROXY
- 380 Fix
isChromaticfor server-side rendering - 401 Update BuildHasChanges message to be clearer
- 366 Fix resolving webpack stats in subdirectory
- 365 Fix cross-fork builds from GitHub Action
- 347 Add support for proxy server
- 334 Check existence and validity of package.json
- 355 Ignore
--only-changedon changes matching--externals
- 350 Restore original
preferLocalsettings for Execa
- 348 Restore original behavior to use npm_execpath
- 345 Restore implying of
--preserve-missingwhen using--only - 344 Fix determining viewLayer when using transitive dependency
- 337 Fix chromatic script that can be added to package.json
- 331 Log
clientVersionon fatal error
- 319 Retrieve viewLayer and version from dependencies and support @web/dev-server-storybook
- 313 Use original baseline for rebuilds (new build for the same commit)
- 304 Support only testing components affected by recent git changes via
--only-changed - 305 Fix
npx chromatictiming out on build-storybook
- Better logging when Storybook validation fails
- 283 Explicitly allow multiple project-tokens (last will be used)
- 301 Strip
origin/*prefix from branch name - 297 Add @storybook/vue3 support
- 296 Support Yarn 2 execpath
- 295 Gracefully handle
git configcommand in Netlify - 284 Fix
storybookUrlin GitHub Action - 287 Update CLI to use new
testterminology and statuses - 298 Document GitHub action outputs
- 306 Fix tunnel builds
- 282 Revert meow upgrade (will upgrade again in next major release)
- Update
@chromaui/localtunneldependency to patch Axios security vulnerability
- 233 Add
--branch-nameflag to override branch name - 193 Record the repository slug to support builds from forks
- 237 Avoid passing
--silentwhen invoking npm through Node.js script - 231 Fix overriding Storybook version through environment variable
- 212 Add support for monorepo using a new
pathargument - 218 isChromatic should always be a boolean
- Dependency upgrades
- Throw error when running from shallow clone.
- Improve error messages for when build-storybook fails.
- Add support for
pull_request_targetandpull_request_reviewevents to GitHub Action.
- Retrieve branch name using more modern git commands, if available.
- Auto-detect buildScriptName from available scripts.
- Improve various log messages.
- Keep track of baselines when doing squash or rebase merges.
- If the build directory we defined is empty, try to detect the actual build output directory from the Storybook build log and warn about it.
- Show a user-friendly error message if we still don't find any Storybook files to publish.
- We now read package.json using
pkgUp, so theoretically you can runchromaticfrom a subdirectory. - Added the
--output-dir (-o)flag to use instead of a temp dir. - Added
buildScriptto the error json output so we won't have to ask for it in support every time. - Added a global promise rejection handler, in case we accidently forget to catch them.
- Added a user-friendly error message when build-storybook fails.
- Fixed the
--debugflag so it actually prints something. - Fixed the
--onlyflag. - Fixed issue with
node-loggly-bulkwhen using Yarn 2.
- Completely overhauled the CLI, with improved UX and better error handling
- Removed JSDOM and its shims to avoid a whole category of issues with broken builds
- Added a version upgrade check that warns when a new major update is available
- Added --junit-report to generating build reports for integration with other tools
- Changed --only to accept a simple glob
- Moved documentation to the Chromatic website
- Replace child_process.execSync with execa
- ADD mock for execCommand in JSDOM
- REMOVE node_env development #81
- ADD ability to create a patch build for pull requests
- ADD extra parameters to upload #107
- IMPROVE readability of error message from build-storybook #112
- IMPROVE user experience during onboarding
- RENAME appCode to projectToken #109
- REMOVE adding a environment variable when adding script, use cli flag instead #105
- FIX version of JSDOM to 16.1 as 16.2 includes a conflicting custom element support #95
- FIX setting the
fromCIflag from our github action https://github.com/chromaui/action/issues/14
- CHANGE so the CLI stop on storybook runtime errors #75
- ADD a flag (
--allow-console-errors) to continue on storybook runtime errors #75 - ADD early warning system for if the storybook output folder is empty #78
- IMPROVE readability of the error when build-storybook fails #73
- IMPROVE readability of the error when storybook runtime throws an error #73
- FIX
Intl.PluralRules.supportedLocalesOf is not a functionerror #76
- FIX pubish script
- IMPROVE logging when git fails
- FIX script for windows
- ADD
--exit-once-uploadedflag - FIX escape chararacters in error messages
- ADD jsdom shim for SVG elements
- ADD jsdom shim for fetch
- Bugfix jsdom shim for Intl
- ADD compatibility with github action
- ADD test with github action
- ADD compatibility with github env vars for tracing git branch
- Bugfix running on windows by using cross-spawn
- ADD licence file
- Bugfix compatibility with CHROMA_APP_CODE
- Bugfix report list of addons
- ADD chroma bin
- Bugfix indentation of messages in terminal
- REMOVE the need for the clientside addon
- unify the 2 related packages into a single repository
- Bugfix for compatibility with localtunnel`
-
Add support for docs-mode (Storybook 5.2 feature).
-
Add support for a new parameter:
pauseAnimationsAtEnd. Read about it here: https://www.chromatic.com/docs/animations -
Retry requests to uploading storybooks in case of network problems.
- Upgrade
axiosdependency for security update
- Add a
--skipflag to indicate a commit is not going to be built (and still tag the PR as passing). - Allow
chromaticstory parameters to be functions of({ id, kind name })-- in particular e.g.chromatic: { viewport: () => [/*something dynamic based on story info */]} - A fix for issues involving story listings differing between browsers.
-
We now default to building and uploading your storybook, rather than starting and tunneling it. This has many benefits including increased reliability and better support for Live View. You'll need to ensure you have a
build-storybookscript defined inpackage.json(as added by the Storybook CLI). To get the old behaviour, pass-sto thechromatic testcommand. -
We now support HTTPS storybooks (using the
--sslflag and friends). -
We polyfill
window.Intlin our JSDOM environment. -
We polyfill
window.customElementsin our JSDOM environment.
- Retry requests to the API server if one fails rather than bailing out on builds.
- Fixed issue with uploaded builds and Storybook 5 URLs.
-
Added a new
diffThresholdStorybook parameter you can use to control the anti-aliasing threshold we use for diffing if you find that certain images are tripping our diff. -
Fix an issue with handling rebased branches in unusual CI systems.
- Add a dedicated endpoint for
isChromaticso you don't need to load our full package to use it (which is useful if you want to use it inside your app, which we generally don't advise).
-
Change the default behaviour around starting the storybook; if we find something running on the port, we assume it's your storybook, instead of requiring you to pass
-S/--do-not-start. -
Add a new flag
--preserve-missingwhich means any stories that are missing from the last build will be assumed to be unchanged. Use this if you are doing tricky things around dynamically building your Storybook based on code changes.
- Fix an issue with Angular/zone.js failing to patch our
MutationObservermock
-
Fix an issue with using
isChromatic()inside Jest (storyshots). -
Some rendering timing fixes to better support Storybook version 5
-
Added an export
isChromatic()to determine if code is running under test. -
Added JSDOM mocks for
CreateObjectUrlandMutationObserver -
Added a parameter
{ chromatic: { disable: true } }to skip a story in chromatic -
Added a parameter
{ chromatic: { noScroll: true } }to avoid scrolling screenshots in (non-chrome) browsers.
- Allow overwriting the polyfills we create in JSDOM mode. (This is a bugfix for some libraries that bundle their own polyfills).
-
Allow controlling package initialization timing via
import configure from 'storybook-chromatic/configure'; configure() -
Add a flag
--ignore-last-build-on-branch=Xto not use the last build on a branch no matter what (which helps with rebasing, see: http://chromatic.com/docs/branching-and-baselines#rebasing).
- Update logging dependency from
logglytonode-loggly-bulkdue to security vulnerabilities. NOTE: this package was only used by our CLI tool and so there is no need for concern, but this new version should avoid tripping security tools.
-
Pass
chromaticparameters from Storybook@4, supporting:- Viewports: http://chromatic.com/docs/viewports
- Delay: http://chromatic.com/docs/delay
-
Better logging from the package to allow us to debug build problems.
-
Fix regression for node v6
-
Fix for supporting stories that use Canvas APIs in JSDOM
-
Fix to work on Windows CI
-
Added a
--storybook-build-dirparameter that allows you to upload a pre-built storybook.
- Fix a bug with Live View and Storybook@3.4
-
We now set the
CHROMATIC_APP_CODEvariable for you, with explicit instructions to remove it (and set via CI) in less secure applications. -
Some small bugfixes to support unusual usages.
-
Renamed the package from
react-chromatictostorybook-chromatic, to indicate support for all view layers that Storybook supports! -
Tweaked to focus soley on Storybook -- simply
import 'storybook-chromatic';(no/storybook-addonrequired). Run tests withchromatic test --app-code(no--storybook-addonrequired). -
Changed some URL parameters for the test command:
--portrenamed--storybook-port--urlrenamed--storybook-url--app-pathremoved (it's always/iframe.html, as per Storybook).--execadded to run arbitrary commands as an alternative to--script-name--no-interactiveadded to disable interactive mode (and we do so automatically when on CI)
-
We no longer require you to have npm installed if you are using yarn.
-
Small bug fixes for missing git repositories, various failure modes.
-
We now track your Storybook version and view layer so we know when to ship/change features.
- Fix an issue for stories that use
navigator.mimeTypes
- Fix a bug where sometimes the package did not detect the checked out branch.
-
Better support for rebasing branches - we now always treat the last build on this branch as a baseline, even if strictly it is not a git ancestor of the current commit. This helps deal with the situation where you rebase a branch off main, and still want to use the previously approved snapshots.
-
Improved support for CI systems, especially Netlify and Travis PR builds. Travis PR builds are a special case, read more about how to handle them in Chromatic here: https://www.chromatic.com/docs/ci#travis
- Fix a small bug in the git algorithm for old Chromatic projects.
-
Reworked the git baseline detection algorithm to use a different technique that should be more reliable across many different modes of usage.
-
Gather stories from Storybook 3.4 without requiring direct installation.
-
Added
--auto-accept-changesto avoid approvals on certain branches -
Added
--onlyflag to run a single story
-
Handle the case where the last few Chromatic builds were run against commits which are no longer in the repository (due to rebasing or squashing). This could cause the tool to crash or fail to find a baseline for a build.
-
Add a
--urlargument to allow running tests against arbitrary running apps.
- Small API change for querying build change counts.
- Our test script now warns you if your Storybook logs any errors. This can sometimes help reveal subtle problems that are caused by the script evaluating your Storybook in JSDOM. If you have legitimate things logged to
console.errorthis may cause noise---you should probably get rid of them.
-
We no longer write your app code to your
package.jsonby default; instead we prefer you pass it via theCHROMATIC_APP_CODEenvironment variable. (You can still optionally use--app-code=xyzif you are comfortable with the security of yourpackage.json). -
We now show the final part of your Story's kind as the component name in the Chromatic UI. So "Webapp/UserList" will appear in Chromatic as "UserList".
- This version sends us a little more information about the environment the package runs in -- is it CI? which package version?
- Fix an issue where we did not pass the context to stories in the right format.
- We detect a running process on your app's port and don't try and start the app if so. Pass
--do-not-startif you've already started the app.
- We now upload your application bundle to our tunnel server directly from the package. This means that on slower uplinks, we no need to set arbitrary timeouts in our server process; instead we simply will not start your Chromatic build until we've verified the bundle has uploaded successfully.