Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/ax-length-based-group-key.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/tidy-experiments-clean.md

This file was deleted.

8 changes: 8 additions & 0 deletions fixtures/parcel-optimizer-test-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-optimizer-test-app

## 0.2.4

### Patch Changes

- Updated dependencies [bab22a2]
- Updated dependencies [f34e80d]
- @compiled/react@1.0.0

## 0.2.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions fixtures/parcel-optimizer-test-app/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@compiled/parcel-optimizer-test-app",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"@compiled/react": "^0.22.0",
"@compiled/react": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
8 changes: 8 additions & 0 deletions fixtures/parcel-transformer-test-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-transformer-test-app

## 0.2.4

### Patch Changes

- Updated dependencies [bab22a2]
- Updated dependencies [f34e80d]
- @compiled/react@1.0.0

## 0.2.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions fixtures/parcel-transformer-test-app/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@compiled/parcel-transformer-test-app",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"@compiled/react": "^0.22.0",
"@compiled/react": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-transformer-test-custom-resolve-app

## 0.2.4

### Patch Changes

- Updated dependencies [bab22a2]
- Updated dependencies [f34e80d]
- @compiled/react@1.0.0

## 0.2.3

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@compiled/parcel-transformer-test-custom-resolve-app",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"@compiled/react": "^0.22.0",
"@compiled/react": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-transformer-test-custom-resolver-app

## 0.2.4

### Patch Changes

- Updated dependencies [bab22a2]
- Updated dependencies [f34e80d]
- @compiled/react@1.0.0

## 0.2.3

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@compiled/parcel-transformer-test-custom-resolver-app",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"@compiled/react": "^0.22.0",
"@compiled/react": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
8 changes: 8 additions & 0 deletions fixtures/parcel-transformer-test-extract-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-transformer-test-extract-app

## 0.2.4

### Patch Changes

- Updated dependencies [bab22a2]
- Updated dependencies [f34e80d]
- @compiled/react@1.0.0

## 0.2.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions fixtures/parcel-transformer-test-extract-app/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@compiled/parcel-transformer-test-extract-app",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"dependencies": {
"@compiled/react": "^0.22.0",
"@compiled/react": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/babel-plugin-strip-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @compiled/babel-plugin-strip-runtime

## 1.0.0

### Patch Changes

- Updated dependencies [f34e80d]
- @compiled/css@1.0.0

## 0.40.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-strip-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/babel-plugin-strip-runtime",
"version": "0.40.1",
"version": "1.0.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-babel-plugin-strip-runtime",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand All @@ -24,7 +24,7 @@
"@babel/template": "^7.26.9",
"@babel/traverse": "^7.26.10",
"@babel/types": "^7.26.10",
"@compiled/css": "^0.22.0",
"@compiled/css": "^1.0.0",
"@compiled/utils": "^0.13.1"
},
"devDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions packages/babel-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @compiled/babel-plugin

## 1.0.0

### Major Changes

- f34e80d: Remove the unused class name compression feature (`classNameCompressionMap`).

This removes the `classNameCompressionMap` / `classNameCompressionMapFilePath` options across the
babel plugin, CSS transform, and all bundler integrations (Parcel, webpack, Vite), along with the
`ac` runtime (and `clearAcCache`) from `@compiled/react/runtime` and the `generateCompressionMap`
export from `@compiled/css`. Compiled components now always use the `ax` runtime for class name
merging. The feature was unused in practice and its removal simplifies the codebase and reduces
runtime bundle size.

### Patch Changes

- Updated dependencies [f34e80d]
- @compiled/css@1.0.0

## 0.40.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/babel-plugin",
"version": "0.40.0",
"version": "1.0.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-babel-plugin",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand Down Expand Up @@ -28,7 +28,7 @@
"@babel/template": "^7.26.9",
"@babel/traverse": "^7.26.10",
"@babel/types": "^7.26.10",
"@compiled/css": "^0.22.0",
"@compiled/css": "^1.0.0",
"@compiled/utils": "^0.13.1",
"@emotion/is-prop-valid": "^1.3.1",
"resolve": "^1.22.12"
Expand Down
13 changes: 13 additions & 0 deletions packages/css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @compiled/css

## 1.0.0

### Major Changes

- f34e80d: Remove the unused class name compression feature (`classNameCompressionMap`).

This removes the `classNameCompressionMap` / `classNameCompressionMapFilePath` options across the
babel plugin, CSS transform, and all bundler integrations (Parcel, webpack, Vite), along with the
`ac` runtime (and `clearAcCache`) from `@compiled/react/runtime` and the `generateCompressionMap`
export from `@compiled/css`. Compiled components now always use the `ax` runtime for class name
merging. The feature was unused in practice and its removal simplifies the codebase and reduces
runtime bundle size.

## 0.22.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/css",
"version": "0.22.0",
"version": "1.0.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-css",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand Down
8 changes: 8 additions & 0 deletions packages/parcel-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @compiled/parcel-config

## 0.5.7

### Patch Changes

- Updated dependencies [f34e80d]
- @compiled/parcel-transformer@1.0.0
- @compiled/parcel-optimizer@0.6.8

## 0.5.6

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/parcel-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/parcel-config",
"version": "0.5.6",
"version": "0.5.7",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
"repository": {
Expand All @@ -16,8 +16,8 @@
"config.json"
],
"dependencies": {
"@compiled/parcel-optimizer": "^0.6.0",
"@compiled/parcel-transformer": "^0.19.0",
"@compiled/parcel-optimizer": "^0.6.8",
"@compiled/parcel-transformer": "^1.0.0",
"@compiled/parcel-transformer-external": "^0.1.0",
"@parcel/plugin": "^2.8.3"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/parcel-optimizer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @compiled/parcel-optimizer

## 0.6.8

### Patch Changes

- Updated dependencies [f34e80d]
- @compiled/css@1.0.0

## 0.6.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/parcel-optimizer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/parcel-optimizer",
"version": "0.6.7",
"version": "0.6.8",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
"repository": {
Expand All @@ -19,7 +19,7 @@
"src"
],
"dependencies": {
"@compiled/css": "^0.22.0",
"@compiled/css": "^1.0.0",
"@compiled/utils": "^0.13.1",
"@parcel/plugin": "^2.8.3",
"posthtml": "^0.16.7",
Expand Down
19 changes: 19 additions & 0 deletions packages/parcel-transformer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @compiled/parcel-transformer

## 1.0.0

### Major Changes

- f34e80d: Remove the unused class name compression feature (`classNameCompressionMap`).

This removes the `classNameCompressionMap` / `classNameCompressionMapFilePath` options across the
babel plugin, CSS transform, and all bundler integrations (Parcel, webpack, Vite), along with the
`ac` runtime (and `clearAcCache`) from `@compiled/react/runtime` and the `generateCompressionMap`
export from `@compiled/css`. Compiled components now always use the `ax` runtime for class name
merging. The feature was unused in practice and its removal simplifies the codebase and reduces
runtime bundle size.

### Patch Changes

- Updated dependencies [f34e80d]
- @compiled/babel-plugin@1.0.0
- @compiled/babel-plugin-strip-runtime@1.0.0

## 0.19.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/parcel-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/parcel-transformer",
"version": "0.19.2",
"version": "1.0.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-parcel-transformer",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand All @@ -22,8 +22,8 @@
"dependencies": {
"@babel/core": "^7.26.10",
"@babel/generator": "^7.26.10",
"@compiled/babel-plugin": "^0.40.0",
"@compiled/babel-plugin-strip-runtime": "^0.40.0",
"@compiled/babel-plugin": "^1.0.0",
"@compiled/babel-plugin-strip-runtime": "^1.0.0",
"@compiled/utils": "^0.13.1",
"@parcel/plugin": "^2.8.3",
"@parcel/source-map": "^2.1.1",
Expand Down
25 changes: 25 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @compiled/react

## 1.0.0

### Major Changes

- f34e80d: Remove the unused class name compression feature (`classNameCompressionMap`).

This removes the `classNameCompressionMap` / `classNameCompressionMapFilePath` options across the
babel plugin, CSS transform, and all bundler integrations (Parcel, webpack, Vite), along with the
`ac` runtime (and `clearAcCache`) from `@compiled/react/runtime` and the `generateCompressionMap`
export from `@compiled/css`. Compiled components now always use the `ax` runtime for class name
merging. The feature was unused in practice and its removal simplifies the codebase and reduces
runtime bundle size.

### Minor Changes

- bab22a2: Update the `ax()` runtime to extract the atomic group key using length-based slicing
(`className.length - 4`) instead of a hardcoded offset.

This makes `ax()` forward-compatible with longer atomic class names: it now correctly
deduplicates both the current 9-char format (`_` + 4-char group + 4-char value) and the
upcoming 11-char format (`_` + 6-char group + 4-char value). Because the two formats
produce group keys of different lengths, they are structurally disjoint and never falsely
deduplicate each other — so old and new class names can safely coexist on the same element
during a migration. Behaviour for existing 9-char class names is unchanged.

## 0.22.2

### Patch Changes
Expand Down
Loading
Loading