-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Comparing changes
Open a pull request
base repository: tailwindlabs/tailwindcss
base: v3.0.8
head repository: tailwindlabs/tailwindcss
compare: v3.0.9
- 12 commits
- 21 files changed
- 3 contributors
Commits on Dec 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a1c7868 - Browse repository at this point
Copy the full SHA a1c7868View commit details
Commits on Dec 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 07c3e95 - Browse repository at this point
Copy the full SHA 07c3e95View commit details -
* improve DEBUG flag * update changelog
Configuration menu - View commit details
-
Copy full SHA for 10710b0 - Browse repository at this point
Copy the full SHA 10710b0View commit details
Commits on Dec 30, 2021
-
Improve DEBUG parsing: only take care of
tailwindcss
and not `tailw……ind` (#6804) * only take care of `tailwindcss` and not `tailwind` * update changelog
Configuration menu - View commit details
-
Copy full SHA for 875c850 - Browse repository at this point
Copy the full SHA 875c850View commit details
Commits on Jan 3, 2022
-
Ensure we can use
<
and>
characters in modifiers (#6851)* ensure we can use "special" characters in modifiers Fixes: #6778 * update changelog
Configuration menu - View commit details
-
Copy full SHA for b341813 - Browse repository at this point
Copy the full SHA b341813View commit details -
Validate
theme()
works in arbitray values (#6852)* add tests to ensure theme value inside arbitrary values work * update changelog
Configuration menu - View commit details
-
Copy full SHA for c912434 - Browse repository at this point
Copy the full SHA c912434View commit details -
Properly detect
theme()
value usage in arbitrary properties (#6854)* properly detect theme value in arbitrary properties * update changelog
Configuration menu - View commit details
-
Copy full SHA for 3149738 - Browse repository at this point
Copy the full SHA 3149738View commit details -
Improve collapsing of duplicate declarations (#6856)
* improve collapsing of duplicate properties In theory, we don't have to do anything because the browser is smart enough to figure everything out. However, leaving in duplicate properties is not that ideal for file size. Our previous method was pretty simple: if you see a declaration you already saw in this rule, delete the previous one and keep the current one. This works pretty well, but this gets rid of **all** the declarations with the same property. This is not great for overrides for older browsers. In a perfect world, we can handle this based on your target browser but this is a lot of unnecessary complexity and will slow things down performance wise. Alternative, we improved the solution by being a bit smarter: 1. Delete duplicate declarations that have the same property and value (this will get rid of **exact** duplications). 2. Delete declarations with the same property and the same **unit**. This means that we will reduce this: ```css .example { height: 50%; height: 100px; height: 20vh; height: 30%; height: 50px; height: 30vh; transform: var(--value); transform: var(--value); } ``` To: ```diff-css .example { - height: 50%; /* Another height exists later with a `%` unit */ - height: 100px; /* Another height exists later with a `px` unit */ - height: 20vh; /* Another height exists later with a `vh` unit */ height: 30%; height: 50px; height: 30vh; - transform: var(--value); /* Value is too complex, but is **exactly** the same as the one below */ transform: var(--value); } ``` This will reduce the values that we are 100% sure that can be safely removed. This will still result in some overrides but the browser can handle those for you. Fixes: #6844 * update changelog
Configuration menu - View commit details
-
Copy full SHA for b9af5a9 - Browse repository at this point
Copy the full SHA b9af5a9View commit details -
Remove the watching context (#6858)
* remove watching context * update changelog
Configuration menu - View commit details
-
Copy full SHA for 1cbb29f - Browse repository at this point
Copy the full SHA 1cbb29fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87b5d2d - Browse repository at this point
Copy the full SHA 87b5d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b691fa - Browse repository at this point
Copy the full SHA 1b691faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b3c0a - Browse repository at this point
Copy the full SHA 51b3c0aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.0.8...v3.0.9