Skip to content

Commit ca9472d

Browse files
authored
Merge branch 'main' into feat/ohos-support
2 parents ac52bfe + 41d9cae commit ca9472d

88 files changed

Lines changed: 9788 additions & 2650 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
- name: Linux
2828
os: namespace-profile-default
2929

30+
# Playwright 1.62+ dropped WebKit support for macOS 14, and hangs
31+
# instead of failing when launching WebKit on a macos-14 runner.
3032
- name: macOS
31-
os: macos-14
33+
os: macos-15
3234

3335
# Exclude windows and macos from being built on feature branches
3436
run-all:

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Added
11+
12+
- Add `@tailwindcss/turbopack` package to run Tailwind CSS with Next.js ([20367](https://github.com/tailwindlabs/tailwindcss/pull/20367))
13+
14+
### Fixed
15+
16+
- Ensure watch mode detects changes to symlinked `@source` files whose real paths aren't otherwise scanned ([#20356](https://github.com/tailwindlabs/tailwindcss/pull/20356))
17+
- Ensure custom variants using `@scope` wrap the generated utilities instead of nesting inside them ([#20369](https://github.com/tailwindlabs/tailwindcss/pull/20369))
18+
- Fix flattening of `@scope` at-rules ([#20369](https://github.com/tailwindlabs/tailwindcss/pull/20369))
19+
- Fix standalone declarations in `@scope`, wrap them in `:where(:scope)` ([#20369](https://github.com/tailwindlabs/tailwindcss/pull/20369))
20+
- Always emit a space for empty fallback values in CSS variables (e.g. `var(--tw-blur,)``var(--tw-blur, )`) ([#20373](https://github.com/tailwindlabs/tailwindcss/pull/20373))
21+
- Canonicalization: convert arbitrary breakpoint and container query variants to named equivalents (e.g. `max-[64rem]``max-lg`) ([#20380](https://github.com/tailwindlabs/tailwindcss/pull/20380))
22+
- Prevent `@tailwindcss/vite` from crashing on every edit under Vite's experimental `bundledDev` mode ([#20379](https://github.com/tailwindlabs/tailwindcss/pull/20379))
23+
- Ensure `@tailwindcss/oxide` falls back to WASM on platforms without native bindings ([#20383](https://github.com/tailwindlabs/tailwindcss/pull/20383))
24+
- Detect classes in Ruby percent literals using angle brackets or custom delimiters (e.g. `%w<flex>`, `%w|flex|`), including in Slim and Haml templates ([#20387](https://github.com/tailwindlabs/tailwindcss/pull/20387))
25+
- Preserve whitespace in `--default(…)` values in custom functional utilities (e.g. `--default(box alphabetic)` no longer becomes `boxalphabetic`) ([#20392](https://github.com/tailwindlabs/tailwindcss/pull/20392))
26+
- Don't scan gitignored directories (e.g. `node_modules` and `.git`) when the project uses a safelist-style `.gitignore` (e.g. `/*` followed by `!/…` negations) ([#20397](https://github.com/tailwindlabs/tailwindcss/pull/20397))
27+
- Ensure root `theme('…')` namespace lookups in JavaScript plugins and config files return the full namespace object instead of the value of its `DEFAULT` key ([#20399](https://github.com/tailwindlabs/tailwindcss/pull/20399))
28+
- Skip ignored directories entirely when computing watch globs (`scanner.globs`), instead of walking their full contents on every rebuild ([#20408](https://github.com/tailwindlabs/tailwindcss/pull/20408))
29+
- Oxide: drop invalid UTF-8 candidates ([#20389](https://github.com/tailwindlabs/tailwindcss/pull/20389))
30+
- `@tailwindcss/vite` no longer forces a full page reload for external files (e.g.: `.php` files) ([#20414](https://github.com/tailwindlabs/tailwindcss/issues/20414))
31+
- Canonicalization: don't merge utilities that reference different theme variables set to CSS-wide keywords like `unset` ([#20417](https://github.com/tailwindlabs/tailwindcss/pull/20417))
32+
- Don't generate utilities when a modifier is used that would otherwise be silently ignored (e.g. `rounded-sm/[5]`, `shadow-sm/foo`, `stroke-2/50`) ([#20419](https://github.com/tailwindlabs/tailwindcss/pull/20419))
33+
- Only normalize top-level `and`, `or`, and `not` keywords in `supports-[…]` variants (e.g. `selector(a: not (.foo))``selector(a:not(.foo))`) ([#20420](https://github.com/tailwindlabs/tailwindcss/pull/20420))
34+
- Don't warn about Angular's `::ng-deep` and `:host-context()` when optimizing CSS ([#20434](https://github.com/tailwindlabs/tailwindcss/pull/20434))
35+
- Don't generate CSS for candidates containing an empty additional modifier (e.g. `bg-red-500/50/` and `group-hover/foo//bar:flex`) ([#20466](https://github.com/tailwindlabs/tailwindcss/pull/20466))
1136

1237
## [4.3.3] - 2026-07-16
1338

Cargo.lock

Lines changed: 74 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ignore/Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ignore"
3-
version = "0.4.24" #:version
3+
version = "0.4.33" #:version
44
authors = ["Andrew Gallant <jamslam@gmail.com>"]
55
description = """
66
A fast library for efficiently matching ignore files such as `.gitignore`
@@ -12,23 +12,28 @@ repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/ignore"
1212
readme = "README.md"
1313
keywords = ["glob", "ignore", "gitignore", "pattern", "file"]
1414
license = "Unlicense OR MIT"
15+
# CHANGED: Use an explicit edition instead of `edition.workspace = true` since this crate is
16+
# vendored into the Tailwind CSS workspace.
1517
edition = "2024"
18+
rust-version = "1.88"
1619

1720
[lib]
1821
name = "ignore"
1922
bench = false
2023

2124
[dependencies]
2225
crossbeam-deque = "0.8.3"
23-
globset = "0.4.17"
26+
# CHANGED: Use the published globset crate instead of a path dependency.
27+
globset = "0.4.20"
2428
log = "0.4.20"
2529
memchr = "2.6.3"
2630
same-file = "1.0.6"
2731
walkdir = "2.4.0"
32+
# CHANGED: Added `dunce` to canonicalize paths without UNC prefixes on Windows.
2833
dunce = "1.0.5"
2934

3035
[dependencies.regex-automata]
31-
version = "0.4.0"
36+
version = "0.4.18"
3237
default-features = false
3338
features = ["std", "perf", "syntax", "meta", "nfa", "hybrid", "dfa-onepass"]
3439

crates/ignore/examples/walk.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ fn main() {
1818
let stdout_thread = std::thread::spawn(move || {
1919
let mut stdout = std::io::BufWriter::new(std::io::stdout());
2020
for dent in rx {
21-
stdout
22-
.write_all(&Vec::from_path_lossy(dent.path()))
23-
.unwrap();
21+
stdout.write_all(&Vec::from_path_lossy(dent.path())).unwrap();
2422
stdout.write_all(b"\n").unwrap();
2523
}
2624
});

0 commit comments

Comments
 (0)