Repository navigation
chore(release): list breaking changes since 3.0.7 - #588
Merged
danstepanov merged 1 commit intoNov 27, 2026
Merged
Conversation
BREAKING CHANGE: (nativewind#567, affects Tailwind) Variables registered with `inherits: false` no longer pass to children. BREAKING CHANGE: (nativewind#578, affects Tailwind) Transforms (`translate-*`, `rotate-*`, `scale-*`, `skew-*`, `rotate-x/y-*`, `transform-*`) are now combined in the order browsers use. BREAKING CHANGE: (nativewind#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: (nativewind#432, affects Tailwind) `placeholder:` and `selection:` no longer depend on className order. BREAKING CHANGE: (nativewind#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: (nativewind#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: (nativewind#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: (nativewind#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: (nativewind#578) `Pressable` callback styles are now combined with class styles instead of being dropped. BREAKING CHANGE: (nativewind#568, nativewind#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.
danstepanov
force-pushed
the
chore/breaking-changes-4.0.0-rc.1
branch
from
November 27, 2026 20:44
061e2e4 to
e3cda9a
Compare
danstepanov
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: (#567, affects Tailwind) Variables registered with
inherits: falseno longerpass 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-*andpx-*now outputpaddingVerticalandpaddingHorizontal. On Android, a TextInput with these classes will lose additional padding itwas wrongly keeping.
BREAKING CHANGE: (#432, affects Tailwind)
placeholder:andselection:no longer depend onclassName 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: initialcan now override another rule's value or the parent'svalue, and initial
!importantwins as in browsers. This meansvia-noneand*-initialTailwind 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.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:
!importantvalue on a target other than style now sits on top of the class and inline values instead of replacing them.[]or{ height: undefined }, no longer removes the class's style.BREAKING CHANGE: (#578)
Pressablecallback styles are now combined with class styles instead ofbeing dropped.
BREAKING CHANGE: (#568, #418)
styled()and types changes:mappingthat isn't an object now throws a named error.nativeStyleMappingentry set to undefined is skipped instead of crashing.