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
5 changes: 0 additions & 5 deletions .changeset/styled-forwarded-as.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-spins-remain.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/update-wyw-2-7-2.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/atomic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Change Log

## 8.4.0

### Patch Changes

- 75e11a78: Update WyW dependencies to 2.7.2

The `@wyw-in-js/*` dependencies move from 2.7.1 to 2.7.2. Linaria styles are compiled by the WyW integration of your bundler, and each integration depends on an exact version of `@wyw-in-js/transform`, so update `@wyw-in-js/vite`, `@wyw-in-js/webpack-loader` or the integration you use to 2.7.2 as well: the build runs the transform that the integration installs.

Changes from this release that reach Linaria builds:

- `@wyw-in-js/shared` and `@wyw-in-js/transform` depend on `minimatch` 11 instead of 9, so a fresh install no longer resolves a `minimatch` release affected by GHSA-g3hv-75wg-m249 (denial of service through globparts amplification), which has no fix in the 9.x line.
- Build-time evaluation with DOM emulation (`features.happyDOM`, on by default) runs in a single JavaScript realm, so checks such as `[] instanceof Array` or `error instanceof TypeError` in evaluated code give the same results as with `happyDOM: false`.
- A call to a function or class whose body assigns an outer binding with `=`, such as `let n = 0; function init() { n = 5; } init();`, is kept when a module is prepared for evaluation, so styles read the assigned value instead of the initial one.
- Statements that read `new.target` are kept when a module is prepared for evaluation; before, they were removed as if they read `import.meta`.
- An SSR check such as `typeof(window)`, `typeof (window as any)` or `typeof window!` is treated as `"undefined"` during build-time evaluation, as the bare `typeof window` already was.
- The Rollup and esbuild integrations print processor diagnostics as warnings instead of dropping them.
- Processor lookups and the waits between transform steps are cheaper in projects with many modules or many transforms in flight.

Two changes can alter the CSS of existing code. With the default `hybrid` evaluation strategy, a module-level value that a function, constructor, method or callback changes while the module loads is now evaluated instead of resolved from its declaration: `let size = 0; function init() { size += 5; } init();` used to produce `0` and now produces `5`, and with the `static` strategy such a value now fails with the usual message about values it could not resolve. A module `var` that an interpolation reads above its declaration now gives the value that evaluation sees, as in the `execute` strategy.

- Updated dependencies [0129dda0]
- Updated dependencies [75e11a78]
- @linaria/react@8.4.0
- @linaria/core@8.4.0

## 8.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/atomic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/atomic",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
20 changes: 20 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Change Log

## 8.4.0

### Patch Changes

- 75e11a78: Update WyW dependencies to 2.7.2

The `@wyw-in-js/*` dependencies move from 2.7.1 to 2.7.2. Linaria styles are compiled by the WyW integration of your bundler, and each integration depends on an exact version of `@wyw-in-js/transform`, so update `@wyw-in-js/vite`, `@wyw-in-js/webpack-loader` or the integration you use to 2.7.2 as well: the build runs the transform that the integration installs.

Changes from this release that reach Linaria builds:

- `@wyw-in-js/shared` and `@wyw-in-js/transform` depend on `minimatch` 11 instead of 9, so a fresh install no longer resolves a `minimatch` release affected by GHSA-g3hv-75wg-m249 (denial of service through globparts amplification), which has no fix in the 9.x line.
- Build-time evaluation with DOM emulation (`features.happyDOM`, on by default) runs in a single JavaScript realm, so checks such as `[] instanceof Array` or `error instanceof TypeError` in evaluated code give the same results as with `happyDOM: false`.
- A call to a function or class whose body assigns an outer binding with `=`, such as `let n = 0; function init() { n = 5; } init();`, is kept when a module is prepared for evaluation, so styles read the assigned value instead of the initial one.
- Statements that read `new.target` are kept when a module is prepared for evaluation; before, they were removed as if they read `import.meta`.
- An SSR check such as `typeof(window)`, `typeof (window as any)` or `typeof window!` is treated as `"undefined"` during build-time evaluation, as the bare `typeof window` already was.
- The Rollup and esbuild integrations print processor diagnostics as warnings instead of dropping them.
- Processor lookups and the waits between transform steps are cheaper in projects with many modules or many transforms in flight.

Two changes can alter the CSS of existing code. With the default `hybrid` evaluation strategy, a module-level value that a function, constructor, method or callback changes while the module loads is now evaluated instead of resolved from its declaration: `let size = 0; function init() { size += 5; } init();` used to produce `0` and now produces `5`, and with the `static` strategy such a value now fails with the usual message about values it could not resolve. A module `var` that an interpolation reads above its declaration now gives the value that evaluation sees, as in the `execute` strategy.

## 8.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/core",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
2 changes: 2 additions & 0 deletions packages/interop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## 8.4.0

## 8.3.0

## 8.2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/interop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/babel-plugin-interop",
"version": "8.3.0",
"version": "8.4.0",
"homepage": "https://github.com/callstack/linaria/tree/master/packages/interop#readme",
"repository": "git@github.com:callstack/linaria.git",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/linaria/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 8.4.0

### Patch Changes

- Updated dependencies [0129dda0]
- Updated dependencies [c51dfe9b]
- Updated dependencies [75e11a78]
- @linaria/react@8.4.0
- @linaria/server@8.4.0
- @linaria/core@8.4.0

## 8.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/linaria/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linaria",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"babel",
Expand Down
2 changes: 2 additions & 0 deletions packages/postcss-linaria/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## 8.4.0

## 8.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-linaria/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/postcss-linaria",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
27 changes: 27 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Change Log

## 8.4.0

### Minor Changes

- 0129dda0: Add the `forwardedAs` prop to styled components. It is passed to the wrapped component as its `as` prop, which makes it possible to change the element rendered by a wrapped component without replacing the component itself.

### Patch Changes

- 75e11a78: Update WyW dependencies to 2.7.2

The `@wyw-in-js/*` dependencies move from 2.7.1 to 2.7.2. Linaria styles are compiled by the WyW integration of your bundler, and each integration depends on an exact version of `@wyw-in-js/transform`, so update `@wyw-in-js/vite`, `@wyw-in-js/webpack-loader` or the integration you use to 2.7.2 as well: the build runs the transform that the integration installs.

Changes from this release that reach Linaria builds:

- `@wyw-in-js/shared` and `@wyw-in-js/transform` depend on `minimatch` 11 instead of 9, so a fresh install no longer resolves a `minimatch` release affected by GHSA-g3hv-75wg-m249 (denial of service through globparts amplification), which has no fix in the 9.x line.
- Build-time evaluation with DOM emulation (`features.happyDOM`, on by default) runs in a single JavaScript realm, so checks such as `[] instanceof Array` or `error instanceof TypeError` in evaluated code give the same results as with `happyDOM: false`.
- A call to a function or class whose body assigns an outer binding with `=`, such as `let n = 0; function init() { n = 5; } init();`, is kept when a module is prepared for evaluation, so styles read the assigned value instead of the initial one.
- Statements that read `new.target` are kept when a module is prepared for evaluation; before, they were removed as if they read `import.meta`.
- An SSR check such as `typeof(window)`, `typeof (window as any)` or `typeof window!` is treated as `"undefined"` during build-time evaluation, as the bare `typeof window` already was.
- The Rollup and esbuild integrations print processor diagnostics as warnings instead of dropping them.
- Processor lookups and the waits between transform steps are cheaper in projects with many modules or many transforms in flight.

Two changes can alter the CSS of existing code. With the default `hybrid` evaluation strategy, a module-level value that a function, constructor, method or callback changes while the module loads is now evaluated instead of resolved from its declaration: `let size = 0; function init() { size += 5; } init();` used to produce `0` and now produces `5`, and with the `static` strategy such a value now fails with the usual message about values it could not resolve. A module `var` that an interpolation reads above its declaration now gives the value that evaluation sees, as in the `execute` strategy.

- Updated dependencies [75e11a78]
- @linaria/core@8.4.0

## 8.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/react",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
6 changes: 6 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 8.4.0

### Patch Changes

- c51dfe9b: Preserve critical keyframes when animation names follow other shorthand components or appear in comma-separated animation lists.

## 8.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/server",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
6 changes: 6 additions & 0 deletions packages/stylelint-config-standard-linaria/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 8.4.0

### Patch Changes

- @linaria/postcss-linaria@8.4.0

## 8.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-standard-linaria/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/stylelint-config-standard-linaria",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
20 changes: 20 additions & 0 deletions packages/stylelint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Change Log

## 8.4.0

### Patch Changes

- 75e11a78: Update WyW dependencies to 2.7.2

The `@wyw-in-js/*` dependencies move from 2.7.1 to 2.7.2. Linaria styles are compiled by the WyW integration of your bundler, and each integration depends on an exact version of `@wyw-in-js/transform`, so update `@wyw-in-js/vite`, `@wyw-in-js/webpack-loader` or the integration you use to 2.7.2 as well: the build runs the transform that the integration installs.

Changes from this release that reach Linaria builds:

- `@wyw-in-js/shared` and `@wyw-in-js/transform` depend on `minimatch` 11 instead of 9, so a fresh install no longer resolves a `minimatch` release affected by GHSA-g3hv-75wg-m249 (denial of service through globparts amplification), which has no fix in the 9.x line.
- Build-time evaluation with DOM emulation (`features.happyDOM`, on by default) runs in a single JavaScript realm, so checks such as `[] instanceof Array` or `error instanceof TypeError` in evaluated code give the same results as with `happyDOM: false`.
- A call to a function or class whose body assigns an outer binding with `=`, such as `let n = 0; function init() { n = 5; } init();`, is kept when a module is prepared for evaluation, so styles read the assigned value instead of the initial one.
- Statements that read `new.target` are kept when a module is prepared for evaluation; before, they were removed as if they read `import.meta`.
- An SSR check such as `typeof(window)`, `typeof (window as any)` or `typeof window!` is treated as `"undefined"` during build-time evaluation, as the bare `typeof window` already was.
- The Rollup and esbuild integrations print processor diagnostics as warnings instead of dropping them.
- Processor lookups and the waits between transform steps are cheaper in projects with many modules or many transforms in flight.

Two changes can alter the CSS of existing code. With the default `hybrid` evaluation strategy, a module-level value that a function, constructor, method or callback changes while the module loads is now evaluated instead of resolved from its declaration: `let size = 0; function init() { size += 5; } init();` used to produce `0` and now produces `5`, and with the `static` strategy such a value now fails with the usual message about values it could not resolve. A module `var` that an interpolation reads above its declaration now gives the value that evaluation sees, as in the `execute` strategy.

## 8.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linaria/stylelint",
"version": "8.3.0",
"version": "8.4.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
Expand Down
Loading