npm / chromatic
chromatic
What changed in chromatic 7 to 18, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
14 breaking2 security16 new APIs and options1 performance29 behavior and defaults12 tooling96 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initchromatic 18106 changes
Breaking changes 3
Chromatic refuses build-ref comparisons when the builds have different dependencies.
The CLI again parses .env files with dotenv 16, so an unquoted # starts a comment; quote values containing a literal #.
Chromatic fails fast when an explicitly supplied config file does not exist.
Security 1
Credentials are kept out of diagnostics and log files.
New APIs and options 7
Exclude React Native stories from manifest.json using reactNative.excludeStoryIds.
TurboSnap v2 supports the --externals option.
TurboSnap v2 supports the --untraced option.
A subcommand was added to generate a TurboSnap v2 manifest.
Chromatic supports CHROMATIC_DISABLE_TELEMETRY for controlling telemetry.
Chromatic supports DO_NOT_TRACK for controlling telemetry.
Adds a --help command-line parameter for publishAction.
Performance 1
Baseline commit filtering is faster, which can reduce time spent running Chromatic.
Behavior and default changes 13
TurboSnap 2.0 hashes only allowlisted Storybook config files.
TurboSnap 1.0 bails only when allowlisted Storybook config files change.
TurboSnap 2.0 honors --untraced on the main config.
TurboSnap parses one lockfile at a time by default instead of 200, reducing peak memory; set this environment variable to override the default.
TurboSnap v2 applies gitignore values from sibling packages in monorepos.
TurboSnap v2 skips gitignored files in the Storybook config directory.
TurboSnap v2 skips files that Git ignores.
TurboSnap v2 hashes are always uploaded when using Chromatic.
Sets component owners when present.
Paths in ctx.storybook are resolved to absolute paths.
Storybook main config parsing is improved.
TurboSnap status changes from “Skipped” to “Bypassed.”
CLI task lists and task output now render with Clack, changing the command-line presentation.
Tooling 7
Chromatic communicates the number of ignored tests.
Chromatic parses PNPM lock files and supports PNPM workspaces.
TurboSnap v2 is released and runs alongside v1.
Chromatic supports installing dependencies with pnpm.
TurboSnap v2 adds story detection.
TurboSnap v2 adds Storybook version detection.
Diagnostics and debug logging include more git info for ancestor calculation.
Fixes and other changes 74
Chromatic reports why TurboSnap bailed when a Storybook config changes.
Chromatic explains when --untraced matches a config file that TurboSnap always traces.
Shows the TurboSnap result when a dry run finishes.
Stops reporting install problems.
Avoids printing an undefined test count during dry runs.
Fixes Storybook version lookup for TurboSnap 2.0.
Excludes the CLI's own files and nested repositories from the uncommitted hash.
Loads Yarn Plug'n'Play.
The CLI shows the API's real errors instead of crashing or hiding them.
Git command values are read only from stdout, so warnings are not treated as values.
Diagnostics retain ancestor build details.
Trailing slashes in the Git remote URL are ignored when deriving the repository slug.
When a subcommand fails, Chromatic exits with status 1 and displays the error message.
Chromatic refuses to build a TurboSnap 2.0 manifest when there are no story files.
TurboSnap 2.0 runs on Vitest builds and is skipped for Playwright and Cypress builds.
TurboSnap v2 story subtrees are hashed from a shared index.
Untracked-file discovery is limited to TurboSnap manifest inputs.
Users can skip TurboSnap 1.0 when the Index applies 2.0.
Dependency changes from workspaces the Storybook doesn't load are ignored.
A workspace added since the baseline is treated as all new.
Write --zip archives with yazl instead of archiver.
TurboSnap v2 roll-ups now ignore pnpm peer-suffix renames.
Storybook builds now work when stdin is redirected from a file.
Chromatic now reports TurboSnap 2.0 results instead of 1.0 results when it applies TurboSnap.
CLI output now says TurboSnap 1.0 and 2.0 instead of v1 and v2.
The Index's TurboSnap v2 decision is now logged at debug level.
The Index is now told whether TurboSnap was requested when hashes are uploaded.
Resolves the Storybook version for Storybook 6 and reports an incorrect config directory first.
Absolute paths passed to chromatic trace are normalized.
The CLI no longer suggests this option for local builds.
The configured gitTimeout is read in seconds and honored when comparing TurboSnap baselines.
The subcommand supports --help and exits non-zero when appropriate.
TurboSnap v2 skips every untracked file, not only gitignored files.
TurboSnap v2 skips generated directories under
node_modules.The upload task is shown as skipped when TurboSnap bypasses the build.
Webpack loader-chain stats IDs are folded onto their resource.
The output is corrected for exit-zero builds with pending or denied changes.
COMPONENTOWNERS upload is confirmed outside the interactive UI.
Modules that normalize to one name are merged.
Context-marker matching is tightened for TurboSnap v2.
NUL-prefixed and query-suffixed stats ids are folded into the file they represent.
Fixes parsing of Azure DevOps slugs.
Removes the alpha warning from React Native builds.
Lists untracked files relative to the repository root.
Adds ADO provider support.
Uses a generic speedUpCI message.
Single-file staticDirs entries are hashed in the TurboSnap v2 manifest.
Hash collection is skipped when TurboSnap is explicitly disabled.
Users are advised when the Storybook config directory is invalid.
Fixes parsing of PNPM 12 multi-document lockfiles.
TurboSnap v1 runs when no files have changed.
Chromatic now follows committed symlinks when checking out baseline lockfiles.
Users are advised when TurboSnap v2 runs without dependencies.
Storybook resolution paths are logged.
TurboSnap v2 context is added to Sentry.
Globals are determined by their imports, fixing how Chromatic identifies globals.
Chromatic reads the Storybook version from the config directory first, then falls back to the previous lookup.
ENAMETOOLONG errors are now ignored.
Webpack escape characters are stripped from file paths.
Build failures during Vitest runs no longer reference Storybook, making the error output relevant to the test run.
TurboSnap errors in Vitest runs are now more descriptive, helping developers understand failures.
TurboSnap v2 now filters data URLs.
Sentry tags are now added to TurboSnap v2 events, making those events easier to identify.
Resolves the correct E2E package when multiple packages are installed.
Capture counts are now returned on bypassed builds.
Aligns CLI snapshot terminology, changing the terminology developers encounter when using the CLI.
Claude worktrees are now ignored.
buildStorybook now receives the Chromatic Project ID.
Chromatic grabs the correct version of @storybook/angular-vite.
TurboSnap v2 filters changes to .storybook/*.md and .storybook/*.txt files.
Patch build functionality is restored.
More
.storybook/mainconfig structures are supported.Fixes silent error swallowing early in CLI invocation.
The upload task now logs ancestor build details.
chromatic 1717 changes
Breaking changes 2
Individual bail subreasons are joined into a single field.
Node 20 is no longer supported, and supported Node engines are defined.
New APIs and options 1
A configuration parameter controls the git timeout.
Behavior and default changes 8
Fully TurboSnapped builds now include ancestor build details.
When TurboSnap detects no changes, upload, verify, and snapshot tasks are skipped.
Shows the full trace path for the bail file reason.
Metadata files are automatically uploaded when TurboSnap bails.
Logs untraced files and their matching glob.
Bails now include context around file adds and moves when a baseline checkout fails.
Adds additional bail details to invalidChangedFiles.
Adds additional bail details to changedPackageFiles.
Fixes and other changes 6
Metadata files are uploaded only when they have a valid S3 path.
React Native now parses the build command from the config file.
The e2e build command now handles arguments correctly when used with npm.
The command no longer overwrites artifacts without permission.
The CLI delays validation of the build-storybook script.
Static assets are no longer mis-categorized as Storybook config changes.
chromatic 1623 changes
Breaking changes 3
Android builds now target only the x86_64 ABI.
Chromatic throws an error for React Native projects using TurboSnap.
Node 18 is no longer supported, and the GitHub Action is updated to Node 24.
New APIs and options 5
Adds a config option for building multiple Android architectures.
Adds share() to the Node API.
Adds a React Native section to the config file.
A React Native build command is added.
Adds a flag for the @chromatic-com/vitest integration.
Behavior and default changes 6
The skip option can be used without a project token.
Makes Storybook metadata output generic.
Chromatic sends analytics for Storybook build failures.
Extracts the refs field from Storybook and passes it when announcing a build.
Shows more information when React Native builds are invalid.
Merge queue support is improved.
Tooling 3
Adds a React Native build stage.
Validates the @storybook/react-native version.
Chromatic upgrades to Storybook 10, allowing developers to use it with this release.
Fixes and other changes 6
Fixed getUncommittedHash in Windows environments.
Additional environment variables are included in RN builds.
React Native builds now have an output environment variable.
Retries file uploads when file deduplication fails.
Fixes a crash when checking for CLI updates.
React Native builds now check ABI compatibility before upload.
chromatic 156 changes
Breaking changes 1
Update Storybook to 10.x and upgrade dependencies.
New APIs and options 1
Adds the chromaticSha input parameter.
Behavior and default changes 1
Chromatic only uploads manifest.json, storybook.apk, and storybook.app.
Tooling 1
Chromatic adds support for iOS React Native projects.
Fixes and other changes 2
Shell commands now properly time out their process tree.
TurboSnap checks now have concurrency limits to fix out-of-memory errors with large monorepos.
chromatic 139 changes
Breaking changes 1
Some deprecated flags were removed.
Security 1
Fixes a security warning when running Chromatic with Node.js 24.
Behavior and default changes 1
Errors in the env-ci call are now logged.
Fixes and other changes 6
Adds asset validation for React Native.
Chromatic supports React Native builds.
Chromatic skips the Storybook build step for React Native.
Fixes passing the signal to Execa.
Strips '+ N modules' when matching against untraced files.
Prevents writes to the log file during metadata upload.
chromatic 122 changes
Breaking changes 1
The CLI passes --no-relative to git diff.
Fixes and other changes 1
Git commands are logged again.
chromatic 111 changes
Breaking changes 1
Adds validation for an invalid Storybook base directory and a new error message.
chromatic 102 changes
Breaking changes 1
Storybook builds run through the CLI now force NODE_ENV=production.
Fixes and other changes 1
Pinning the GitHub Action to a major or patch version is supported.
chromatic 91 changes
New APIs and options 1
Authentication now supports projectId and userToken as an alternative to projectToken.
chromatic 81 changes
Breaking changes 1
Official support for Node 14 and Node 16 was dropped.
chromatic 72 changes
New APIs and options 1
Adds the onTaskProgress option and reports progress through it.
Tooling 1
Chromatic supports pnpm when running the Storybook build step; command handling now uses @antfu/ni.