Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.4.1
Choose a base ref
...
head repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.2
Choose a head ref

Commits on Jan 9, 2024

  1. Ensure max specificity of 0,0,1 for button and input Preflight rules (#…

    …12735)
    
    * Ensure max specificity of 001 in all Preflight rules
    
    * Update changelog
    
    * Update changelog
    
    ---------
    
    Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
    Co-authored-by: Jordan Pittman <jordan@cryptica.me>
    3 people committed Jan 9, 2024
    Copy the full SHA
    50fa6dd View commit details
  2. Split :has rules when using experimental.optimizeUniversalDefaults (

    #12736)
    
    * Split `:has` rules when using optimizeUniversalDefaults
    
    * Update changelog
    thecrypticace committed Jan 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9e62bf2 View commit details

Commits on Feb 13, 2024

  1. Sort arbitrary properties alphabetically across multiple class lists (#…

    …12911)
    
    * Sort arbitrary properties alphabetically across multiple files
    
    * Update test
    thecrypticace committed Feb 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    240a0ad View commit details
  2. Update changelog

    thecrypticace committed Feb 13, 2024
    Copy the full SHA
    89f0f54 View commit details

Commits on Feb 23, 2024

  1. Improve glob handling for folders with (, ), [ or ] in the fi…

    …le path (#12715)
    
    * sync package-lock.json
    
    * modify `normalizePath` to keep `\\[`, `\\]`, `\\(` and `\\)` into account
    
    * manually escape () and [] characters in globs
    
    * update changelog
    RobinMalfait authored and KrisBraun committed Feb 23, 2024
    Copy the full SHA
    f2a7c2c View commit details
  2. Add mix-blend-plus-darker utility (#12923)

    * feat: add plus-darker support for mix-blend-mode
    
    * Fix failing test
    
    * Update changelog
    
    * Formatting
    
    ---------
    
    Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
    2 people authored and KrisBraun committed Feb 23, 2024
    Copy the full SHA
    5767986 View commit details
  3. feat: add contain utilities (#12993)

    * feat: add contain utilities
    
    * chore: lint
    
    * Support mulptiple contain properites
    
    Support multiple contain properties, such as "contain-size contain-layout". Drop contain-unset as we haven't added -unset variants for other utilities.
    
    * Update Vite; fix test regex
    
    Vite is generating files like "index--T9oO-MP.css", which required relaxing the regex used in tests.
    
    ---------
    
    Co-authored-by: Alexander <github@lichter.io>
    KrisBraun and TheAlexLichter committed Feb 23, 2024
    Copy the full SHA
    780163c View commit details

Commits on Feb 26, 2024

  1. Update CHANGELOG.md 3.4.1 release date (#13024)

    ziloen authored Feb 26, 2024
    Copy the full SHA
    4429ab8 View commit details

Commits on Mar 7, 2024

  1. Update contributing

    adamwathan committed Mar 7, 2024
    Copy the full SHA
    de00a62 View commit details
  2. CI: Add provenance to all published packages (#13097)

    * CI: Add provenance to all published packages
    
    This commit adds provenance for all published packages. See the NPM documentation [0].
    
    Provenance will allow people to verify that the tailwindcss packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.
    
    For this to work, the `id-token` permission was added only where necessary.
    
    [0]: https://docs.npmjs.com/generating-provenance-statements
    
    * chore: Add missing repository links to packages
    
    This is needed for provenance, to link the repository to the build accoring to the NPM docs [0].
    
    [0]: https://docs.npmjs.com/generating-provenance-statements#prerequisites
    saibotk authored Mar 7, 2024
    Copy the full SHA
    d86fd0b View commit details

Commits on Mar 21, 2024

  1. Fix failing integration tests in CI (#13300)

    * run prettier on integrations
    
    * update media query syntax
    
    * drop oxide related workflows
    
    * rename `{workflow}-stable` to just `workflow`
    RobinMalfait authored Mar 21, 2024
    Copy the full SHA
    f5408d6 View commit details
  2. Update sass to version 1.72.0 (#13296)

    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    depfu[bot] authored Mar 21, 2024
    Copy the full SHA
    41c90f6 View commit details
  3. Update rollup to version 4.13.0 (#13279)

    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    depfu[bot] authored Mar 21, 2024
    Copy the full SHA
    3a466bc View commit details
  4. 🚨 [security] Update vite 4.3.2 → 5.1.6 (major) (#13287)

    * Update vite to version 5.1.6
    
    * Fix regex
    
    ---------
    
    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    Co-authored-by: Jordan Pittman <jordan@cryptica.me>
    depfu[bot] and thecrypticace authored Mar 21, 2024
    Copy the full SHA
    3eb8cab View commit details
  5. Add missing workflow_dispatch (#13302)

    * add missing `workflow_dispatch`
    
    * re-add `ci-stable.yml`, purely to fix a broken badge on npmjs.com
    
    * update badge in README to point to `ci.yml` instead of `ci-stable.yml`
    RobinMalfait authored Mar 21, 2024
    Copy the full SHA
    41e94eb View commit details
  6. Ensure dashes are allowed in variant modifiers (#13303)

    * sync package-lock.json
    
    * ensure dashes are allowed in variant modifiers
    
    * update changelog
    RobinMalfait authored Mar 21, 2024
    Copy the full SHA
    d56d241 View commit details
  7. Cleanup oxide — Part #1 (#13304)

    * swap engines
    
    * remove all oxide related files
    
    * drop swap engine step from CI
    
    * drop oxide tests where we read from a `.oxide.*` file
    
    * drop swap-engines.js file
    
    * drop unused `oxide` variable
    
    Let's make eslint happy!
    RobinMalfait authored Mar 21, 2024
    Copy the full SHA
    9b90c53 View commit details
  8. Fix crash showing completions in Intellisense when using a custom sep…

    …arator (#13306)
    
    * Fix variant completions in intellisense when using a custom separator
    
    * Update changelog
    thecrypticace authored Mar 21, 2024
    Copy the full SHA
    27e4b65 View commit details

Commits on Mar 22, 2024

  1. Update esbuild to version 0.20.2 (#13315)

    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    depfu[bot] authored Mar 22, 2024
    Copy the full SHA
    c28c718 View commit details
  2. Cleanup oxide — Part #2 (#13312)

    * remove all oxide related code
    
    * Update lightningcss to version 1.24.1
    
    * update tests to match bumped Lightning CSS output
    
    ---------
    
    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    RobinMalfait and depfu[bot] authored Mar 22, 2024
    Copy the full SHA
    44b3b42 View commit details
  3. Transpile import.meta.url in config files (#13322)

    * Use Babel to transpile configs when import.meta is present
    
    * Update minimum jiti version
    
    * Update changelog
    thecrypticace authored Mar 22, 2024
    Copy the full SHA
    b10b431 View commit details
  4. Reset letter spacing for form elements (#13150)

    * Reset letter spacing for form elements
    
    Some browsers, such as Chrome, set `letter-spacing: normal` for form elements. For consistency with the other styles, it should be set to `inherit` by Preflight.
    
    * wip
    
    * Update changelog
    
    ---------
    
    Co-authored-by: Jordan Pittman <jordan@cryptica.me>
    Stadly and thecrypticace authored Mar 22, 2024
    Copy the full SHA
    ea90d3a View commit details
  5. Fix missing xx-large and remove double x-large absolute size (#13324

    )
    
    * fixing double x-large absolute size
    
    x-large appears twice in the set of absolute sizes.
    
    I believe the second one is meant to be 'xx-large'.
    
    * update changelog
    
    ---------
    
    Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
    allain and RobinMalfait authored Mar 22, 2024
    Copy the full SHA
    a53d854 View commit details

Commits on Mar 23, 2024

  1. Remove leading space in box-shadow's addDefaults call (#13334)

    Co-authored-by: Jordan Pittman <jordan@cryptica.me>
    allain and thecrypticace authored Mar 23, 2024
    Copy the full SHA
    3ba51d1 View commit details
  2. Only detect nesting when using @apply (#13325)

    * drop nesting detection for `@tailwind`
    
    * drop separate nesting detection entirely
    
    * detect nesting only when using `@apply` with a class that uses nesting
    
    * drop unnecessary `important` config
    
    * add test to verify applying nested user CSS errors
    
    * add error reason to tests
    
    * update `@apply` error message
    RobinMalfait authored Mar 23, 2024
    Copy the full SHA
    bda8421 View commit details

Commits on Mar 24, 2024

  1. Update CHANGELOG.md

    adamwathan authored Mar 24, 2024
    Copy the full SHA
    c033f10 View commit details

Commits on Mar 26, 2024

  1. Ensure that arbitrary properties respect important configuration (#…

    …13353)
    
    * ensure we respect important on arbitrary properties
    
    * update changelog
    
    * reword changelog entry
    RobinMalfait authored Mar 26, 2024
    Copy the full SHA
    97607f1 View commit details

Commits on Mar 27, 2024

  1. Change dark selector so @apply works correctly with pseudo elements (

    …#13379)
    
    * Change dark selector so `@apply` hoists pseudo elements properly
    
    * Update tests
    
    * Update changelog
    thecrypticace authored Mar 27, 2024
    Copy the full SHA
    8b4a2a6 View commit details
  2. 3.4.2

    thecrypticace committed Mar 27, 2024
    Copy the full SHA
    8430d8b View commit details
Showing 728 changed files with 34,157 additions and 1,273,816 deletions.
10 changes: 0 additions & 10 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

13 changes: 8 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Contributing

Thanks for your interest in contributing to Tailwind CSS! Please take a moment to review this document **before submitting a pull request**.
## Bug fixes

## Pull requests
If you've found a bug in Tailwind that you'd like to fix, [submit a pull request](https://github.com/tailwindlabs/tailwindcss/pulls) with your changes. Include a helpful description of the problem and how your changes address it, and provide tests so we can verify the fix works as expected.

**Please ask first before starting work on any significant new features.**
## New features

It's never a fun experience to have your pull request declined after investing a lot of time and effort into a new feature. To avoid this from happening, we request that contributors create [a feature request](https://github.com/tailwindlabs/tailwindcss/discussions/new?category=ideas) to first discuss any significant new ideas. This includes things like adding new utilities, creating new at-rules, etc.
If there's a new feature you'd like to see added to Tailwind, [share your idea with us](https://github.com/tailwindlabs/tailwindcss/discussions/new?category=ideas) in our discussion forum to get it on our radar as something to consider for a future release.

**Please note that we don't often accept pull requests for new features.** Adding a new feature to Tailwind requires us to think through the entire problem ourselves to make sure we agree with the proposed API, which means the feature needs to be high on our own priority list for us to be able to give it the attention it needs.

If you open a pull request for a new feature, we're likely to close it not because it's a bad idea, but because we aren't ready to prioritize the feature and don't want the PR to sit open for months or even years.

## Coding standards

@@ -31,4 +35,3 @@ npm run build && npm test
```

Please ensure that the tests are passing when submitting a pull request. If you're adding new features to Tailwind, please include tests.

7 changes: 3 additions & 4 deletions .github/workflows/ci-stable.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# The only reason this file exists is so that the `badge` in the README of the
# currently published version isn't broken (https://www.npmjs.com/package/tailwindcss).
#
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

@@ -33,10 +36,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Use the `stable` engine
run: |
node ./scripts/swap-engines.js
- name: Cache node_modules
uses: actions/cache@v3
with:
45 changes: 12 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: CI — Oxide
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI — Stable

on:
push:
branches: [master, 3.3, 3.4]
branches: [master]
pull_request:
branches: [master, 3.3, 3.4]

@@ -13,16 +16,15 @@ env:
CI: true
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
CACHE_PREFIX: oxide
CACHE_PREFIX: stable

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15

strategy:
matrix:
node-version: [18]
node-version: [14, 18]

steps:
- uses: actions/checkout@v3
@@ -37,40 +39,17 @@ jobs:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ env.CACHE_PREFIX }}-node_modules-${{ hashFiles('**/package-lock.json') }}

# Cargo already skips downloading dependencies if they already exist
- name: Cache cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

# Cache the `oxide` Rust build
- name: Cache oxide build
uses: actions/cache@v3
with:
path: |
./oxide/target/
./oxide/crates/node/*.node
./oxide/crates/node/index.js
./oxide/crates/node/index.d.ts
key: ${{ runner.os }}-oxide-${{ hashFiles('./oxide/crates/**/*') }}

- name: Install dependencies
run: npm install

- name: Build Tailwind CSS
run: npx turbo run build --filter=//
run: npm run build

- name: Test
run: |
npx turbo run test --filter=// || \
npx turbo run test --filter=// || \
npx turbo run test --filter=// || exit 1
npm run test || \
npm run test || \
npm run test || exit 1
- name: Lint
run: npx turbo run style --filter=//
run: npm run style
85 changes: 0 additions & 85 deletions .github/workflows/integration-tests-oxide.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration Tests — Stable
name: Integration Tests

on:
push:
@@ -42,10 +42,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Use the `stable` engine
run: |
node ./scripts/swap-engines.js
- name: Cache node_modules (tailwindcss)
uses: actions/cache@v3
with:
4 changes: 0 additions & 4 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -47,10 +47,6 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Use the `stable` engine
run: |
node ./scripts/swap-engines.js
- name: Install dependencies
run: npm install

Loading