From e3cda9adac0d968e54bed9d15ae88af501534dc3 Mon Sep 17 00:00:00 2001 From: Sam Moore Date: Fri, 27 Nov 2026 15:26:54 -0500 Subject: [PATCH] chore(release): list breaking changes since 3.0.7 BREAKING CHANGE: (#567, affects Tailwind) Variables registered with `inherits: false` no longer pass to children. BREAKING CHANGE: (#578, affects Tailwind) Transforms (`translate-*`, `rotate-*`, `scale-*`, `skew-*`, `rotate-x/y-*`, `transform-*`) are now combined in the order browsers use. BREAKING CHANGE: (#580, affects Tailwind) `py-*` and `px-*` now output `paddingVertical` and `paddingHorizontal`. On Android, a TextInput with these classes will lose additional padding it was wrongly keeping. BREAKING CHANGE: (#432, affects Tailwind) `placeholder:` and `selection:` no longer depend on className order. BREAKING CHANGE: (#457, affects Tailwind) Hex colours now always clip rather than gamut-map, matching browser behavior. In the default Tailwind color palette, 4 of 242 colors change by 1/255. BREAKING CHANGE: (#585) `--x: initial` can now override another rule's value or the parent's value, and initial `!important` wins as in browsers. This means `via-none` and `*-initial` Tailwind utilities now work with variants, e.g. `md:`. BREAKING CHANGE: (#575) Lists read through `var()` keep their commas. - `box-shadow: var(--a) var(--b)` is now one shadow. - Gradient stops and `rgb(var(--c) / a)` held in variables now output correctly. - `transform: var(--t)` gives a flat list. BREAKING CHANGE: (#578) Style layering is now more accurate to browser behavior: - An `!important` value on a target other than style now sits on top of the class and inline values instead of replacing them. - For object-form mappings, an inline value that holds only CSS variables, or an inline `[]` or `{ height: undefined }`, no longer removes the class's style. BREAKING CHANGE: (#578) `Pressable` callback styles are now combined with class styles instead of being dropped. BREAKING CHANGE: (#568, #418) `styled()` and types changes: - A `mapping` that isn't an object now throws a named error. - A `nativeStyleMapping` entry set to undefined is skipped instead of crashing.