---
title: "@sanity/pkg-utils 14.0.0 Breaking Changes on npm | Since.dev"
description: "What each @sanity/pkg-utils release removed, renamed or changed: 76 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@sanity/pkg-utils
last_updated: 2026-12-04
---

# @sanity/pkg-utils breaking changes

@sanity/pkg-utils 14.0.0 (November 20, 2026) is its newest release with breaking changes, 14 of them. The first: Removed PackageVanillaExtractOptions. Every breaking API change we have recorded in @sanity/pkg-utils on npm: 76 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `14.3.4`, released December 1, 2026. [Source repository](https://github.com/sanity-io/pkg-utils)

Its 13.0.0 release drops [Node.js 25](https://since.dev/calendar/nodejs/25.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [13.0.17](#v-13-0-17) to [14.0.0](#v-14-0-0): 14 breaking changes in 1 version.
- From [11.0.6](#v-11-0-6) to [14.0.0](#v-14-0-0): 75 breaking changes in 8 versions.

## @sanity/pkg-utils 14.0.0 breaking changes

@sanity/pkg-utils 14.0.0, released November 20, 2026: 14 breaking changes.

- **Removed** `PackageVanillaExtractOptions`  

The PackageVanillaExtractOptions type is removed along with vanilla-extract support. Stop importing or referencing it. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/14.0.0)
- **Removed** `pkg build --clean`  

Cleaning is on by default now, so delete the --clean flag; --no-clean skips it. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Removed** `process.env.PKG_FILE_PATH`  

Use import.meta.url instead, which works in both output formats. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Removed** `process.env.PKG_FORMAT`  

The process.env.PKG_FORMAT build-time constant is gone. Use conditional package.json#imports instead. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Removed** `process.env.PKG_RUNTIME`  

The process.env.PKG_RUNTIME build-time constant is gone. Use conditional package.json#imports instead. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Removed** `rollup.optimizeLodash`  

The lodash import optimization is gone, including the implicit auto-enable when lodash is a dependency. Drop lodash or import from lodash-es. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Removed** `vanillaExtract`  

The vanillaExtract option is gone, and a package.config.ts that still sets it fails. Remove it, then use a vanilla-extract bundler plugin in plugins or move the styles to plain CSS or CSS modules with the css option. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4014.0.0)
- **Behavior changed**  

engines.node is now ^22.18.0 || >=24.11.0 for running builds. Published output is unaffected. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Behavior changed**  

\_chunks-\[format\] folders are gone and shared chunks are content-hashed. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Behavior changed**  

pkg build no longer compiles .css.ts files, no longer injects the bundle.css import, and no longer emits the bundle-css.js shim or the ./bundle.css export for vanilla-extract. Move styles to a vanilla-extract bundler plugin or to the css... [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4014.0.0)
- **Behavior changed** `extract.bundledPackages`  

Inlining only the types of an external dependency, the v11 extract.bundledPackages pattern, has no replacement. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Behavior changed** `pkg check`  

pkg check runs publint on the packed package instead of the esbuild resolution checks. Fix what it reports. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Behavior changed** `tsdown.config`  

pkg build never loads tsdown.config.\* files; package.config.ts is the only config source. [github.com](https://github.com/sanity-io/pkg-utils/blob/main/packages/@sanity/pkg-utils/MIGRATE.md)
- **Signature changed** `PkgConfigOptions.vanillaExtract`  

Was vanillaExtract?: boolean | PackageVanillaExtractOptions$1; now vanillaExtract?: never. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/14.0.0)

## @sanity/pkg-utils 13.0.17 breaking changes

@sanity/pkg-utils 13.0.17, released November 12, 2026: 3 breaking changes.

- **Removed** `newContext`  

The leftover top-level newContext option is no longer read. Move it under dts.tsc.newContext. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.17)
- **Behavior changed**  

Direct tsdown builds that keep the legacy main and module fields now set types to ./dist/index.d.cts instead of ./dist/index.d.ts. Packages built with @sanity/pkg-utils keep their hand-written types value. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.17)
- **Signature changed** `PkgConfigOptions.css`  

Was css?: PackageCssOptions; now css?: PackageCssOptions$1. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/13.0.17)

## @sanity/pkg-utils 13.0.1 breaking changes

@sanity/pkg-utils 13.0.1, released September 19, 2026: 1 breaking change.

- **Behavior changed**  

Builds fail whenever a development export condition is not removed by publishConfig.exports, including when strict validation is disabled. Remove the development condition from publishConfig.exports before building. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.1)

## @sanity/pkg-utils 13.0.0 breaking changes

@sanity/pkg-utils 13.0.0, released September 7, 2026: 8 breaking changes.

- **Removed**  

Node.js 25 can no longer run these packages or pkg build. Use Node ^22.18.0, ^24.11.0, or >=26.0.0. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Removed** `dts.cjsReexport`  

tsdown 0.23 removes dts.cjsReexport. Remove it from your config. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Removed** `dts.tsgo`  

Replace dts.tsgo: true with dts.generator: 'tsgo'. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Renamed** `create`  

Rename each custom language's create hook to createVolarPlugins. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Renamed** `deps.onlyAllowBundle`  

Replace onlyAllowBundle with onlyBundle. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Renamed** `deps.skipNodeModulesBundle`  

Replace skipNodeModulesBundle: true with neverBundle: true. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Renamed** `dts.volarPlugins`  

Replace dts.volarPlugins with dts.customLanguages. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)
- **Behavior changed**  

A type the source left unexported can become part of the published API. Export the types you mean to publish and tag them @public. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4013.0.0)

## @sanity/pkg-utils 12.3.3 breaking changes

@sanity/pkg-utils 12.3.3, released August 27, 2026: 1 breaking change.

- **Signature changed** `PkgConfigOptions.reactCompiler`  

Was reactCompiler?: boolean | ReactCompilerOptions$1; now reactCompiler?: boolean | ReactCompilerOptions. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.3.3)

## @sanity/pkg-utils 12.1.0 breaking changes

@sanity/pkg-utils 12.1.0, released August 7, 2026: 10 breaking changes.

- **Removed** `PkgTsdocOptions.customTags`  

PkgTsdocOptions.customTags was removed in @sanity/pkg-utils 12.1.0 [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Removed** `PkgTsdocOptions.rules`  

PkgTsdocOptions.rules was removed in @sanity/pkg-utils 12.1.0 [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Removed** `TSDocCustomTag.allowMultiple`  

TSDocCustomTag.allowMultiple was removed in @sanity/pkg-utils 12.1.0 [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Removed** `TSDocCustomTag.name`  

TSDocCustomTag.name was removed in @sanity/pkg-utils 12.1.0 [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Removed** `TSDocCustomTag.syntaxKind`  

TSDocCustomTag.syntaxKind was removed in @sanity/pkg-utils 12.1.0 [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Renamed** `inject.nodeCompat`  

The conditional CSS export now lives in the exports option, separate from inject. Move any inject.nodeCompat setting to exports.nodeCompat. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4012.1.0)
- **Signature changed** `PkgConfigOptions.tsdoc`  

Was tsdoc?: false | PkgTsdocOptions; now tsdoc?: boolean | PackageTsdocOptions$1. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Signature changed** `PkgRuleLevel`  

Was type PkgRuleLevel = "error" | "warn" | "info" | "off"; now type PkgRuleLevel = PackageTsdocRuleLevel$1. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Signature changed** `PkgTsdocOptions`  

Was interface PkgTsdocOptions; now type PkgTsdocOptions = PackageTsdocOptions$1. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)
- **Signature changed** `TSDocCustomTag`  

Was interface TSDocCustomTag; now type TSDocCustomTag = PackageTsdocCustomTag$1. [npmjs.com](https://www.npmjs.com/package/@sanity/pkg-utils/v/12.1.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @sanity/pkg-utils 12.0.1 breaking changes

@sanity/pkg-utils 12.0.1, released August 5, 2026: 2 breaking changes.

- **Behavior changed** `exports`  

Generated package export conditions are now written into both exports and publishConfig.exports, and the user-authored order of each map is preserved on later builds. Plain-string entries keep their compact shape. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4012.0.1)
- **Default changed** `exports.enabled`  

The exports.enabled option now defaults to true instead of 'local-only', so package.json is rewritten even when CI=true. Set exports.enabled explicitly to keep the previous gating. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4012.0.1)

### @sanity/pkg-utils 12.0.0 breaking changes

@sanity/pkg-utils 12.0.0, released August 5, 2026: 36 breaking changes.

- **Removed**  

Run builds on Node 22.18 or later, or 24.11 or later. The published output is unaffected. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4012.0.0)
- **Removed** `dts: 'api-extractor'`  

Delete the dts: 'api-extractor' option from package.config.ts, because tsdown generates the types. The build fails if it is still set. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4012.0.0)

And 34 more in this version.

### @sanity/pkg-utils 11.0.6 breaking changes

@sanity/pkg-utils 11.0.6, released July 15, 2026: 1 breaking change.

- **Renamed**  

The on-disk shim behind the ./bundle.css export moves to bundle-css.js, and the node and default targets now point to it. Code that imports the old dist/bundle.css.js path directly must switch to dist/bundle-css.js. [github.com](https://github.com/sanity-io/pkg-utils/releases/tag/%40sanity/pkg-utils%4011.0.6)

## Related packages

- [@sanity/client](https://since.dev/packages/npm/@sanity/client.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
