---
title: "css-what 8.0.0 Breaking Changes on npm | Since.dev"
description: "What each css-what release removed, renamed or changed: 17 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/css-what
last_updated: 2026-12-04
---

# css-what breaking changes

css-what 8.0.0 (March 17, 2026) is its newest release with breaking changes. The first: Package is now ESM-only in css-what 8.0.0. Every breaking API change we have recorded in css-what on npm: 17 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.1.0`, released December 2, 2026. [Source repository](https://github.com/fb55/css-what)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 1 breaking change in 1 version.

## css-what 8.0.0 breaking changes

css-what 8.0.0, released March 17, 2026: 1 breaking change.

- **Configuration changed**  

css-what no longer ships CommonJS builds and must be loaded as an ES module. Code using require() must switch to import. [github.com](https://github.com/fb55/css-what/releases/tag/v8.0.0)

## css-what 6.0.0 breaking changes

css-what 6.0.0, released December 26, 2021: 16 breaking changes.

- **Removed**  

All existing options were removed, so code that passes options must stop doing so. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Removed** `Options`  

Options was removed in css-what 6.0.0 [npmjs.com](https://www.npmjs.com/package/css-what/v/6.0.0)
- **Behavior changed**  

Parsed tag and attribute names keep their original case instead of being lowercased. Code that matches lowercase names must be updated. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Behavior changed**  

The package is now also published as an ES6 module. CommonJS is still provided for earlier Node.js versions, but your build system may need adjusting. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Behavior changed**  

The output of stringify changed format, so code that depends on its exact previous output may need updating. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Behavior changed**  

Selector types and actions use enum values instead of their previous representation, so code comparing them must be updated. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Behavior changed**  

An empty namespace in attributes is set to null rather than an empty string. Code checking for an empty string must be updated. [github.com](https://github.com/fb55/css-what/releases/tag/v6.0.0)
- **Signature changed** `AttributeAction`  

Was type AttributeAction = "any" | "element" | "end" | "equals" | "exists" | "hyphen" | "not" | "start"; now enum AttributeAction. [npmjs.com](https://www.npmjs.com/package/css-what/v/6.0.0)
- **Signature changed** `AttributeSelector.ignoreCase`  

Was ignoreCase: boolean | null; now ignoreCase: "quirks" | boolean | null. [npmjs.com](https://www.npmjs.com/package/css-what/v/6.0.0)
- **Signature changed** `AttributeSelector.type`  

Was type: "attribute"; now type: SelectorType.Attribute. [npmjs.com](https://www.npmjs.com/package/css-what/v/6.0.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [css-select](https://since.dev/packages/npm/css-select.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.
