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/prettier-plugin-tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.14
Choose a base ref
...
head repository: tailwindlabs/prettier-plugin-tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.0
Choose a head ref
  • 17 commits
  • 53 files changed
  • 8 contributors

Commits on Jul 29, 2025

  1. Upgrade dev dependencies (#388)

    * Upgrade dev dependencies
    
    * Update lockfile
    
    * Bump deps
    
    * Update lockfile
    
    * Remove unused option
    
    ---------
    
    Co-authored-by: Jordan Pittman <[email protected]>
    akx and thecrypticace authored Jul 29, 2025
    Configuration menu
    Copy the full SHA
    65d0049 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Remove declare to clean up global scope (#354)

    * refactor(types): Remove dangerous `declare` so prettier types aren't polluted globally
    
    * add docs example
    
    * Update changelog
    
    * Tweak readme
    
    * Adjust internal types
    
    ---------
    
    Co-authored-by: Jordan Pittman <[email protected]>
    drake-nathan and thecrypticace authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    2c0965b View commit details
    Browse the repository at this point in the history
  2. Drop support for prettier-plugin-import-sort (#385)

    * Drop support for `prettier-plugin-import-sort`
    
    The last update was over 4 years ago and pulls in old deps. Don’t think we need to keep it around.
    
    * Remove test
    
    * Update changelog
    thecrypticace authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    20cdfeb View commit details
    Browse the repository at this point in the history
  3. Handle quotes in @plugin, @config, and @source (#387)

    * Handle quotes in `@plugin`, `@config`, and `@source`
    
    * Update src/index.ts
    
    Co-authored-by: Robin Malfait <[email protected]>
    
    * Update changelog
    
    ---------
    
    Co-authored-by: Robin Malfait <[email protected]>
    thecrypticace and RobinMalfait authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    4794bce View commit details
    Browse the repository at this point in the history
  4. Add support for callable template literals when using custom JSX pars…

    …er (#367)
    
    * Add support for callable template literals
    
    * Add tests
    
    * Traverse mixed call and member expressions
    
    * Update changelog
    
    ---------
    
    Co-authored-by: Jordan Pittman <[email protected]>
    dimitribarbot and thecrypticace authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    db0bd74 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. Handle quote escapes in LESS when sorting @apply (#392)

    * Handle quote escapes in LESS when sorting `@apply`
    
    It’s perfect since the AST doesn’t actually have information on these (it’s just strings) but this should be good enough.
    
    * Update changelog
    thecrypticace authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    c3c5ff5 View commit details
    Browse the repository at this point in the history
  2. Resolve tailwindcss relative to the file being processed (#386)

    * Bump deps
    
    * Cleanup formatting
    
    * Drop support for `prettier-plugin-style-order`
    
    The last release was over 5 years ago
    
    * Ridiculously large config loading refactor
    
    * Resolve `tailwindcss` relative to the file being processed
    
    * Resolve auto-loaded v3 configs relative to the file being processed
    
    * Renamed bundled v3 package
    
    * Ensure CSS imports are inlined
    
    * Add tests
    
    * Only warn once per run
    
    * Include Prettier config path in error messages
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Malfait <[email protected]>
    
    * Update changelog
    
    * Tweak error message
    
    * Add tests for errors
    
    ---------
    
    Co-authored-by: Robin Malfait <[email protected]>
    thecrypticace and RobinMalfait authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    fa61eae View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. Fix whitespace removal inside nested concat and template expressions (#…

    …396)
    
    * Refactor
    
    * Bail out of whitespace removal inside nested concat expressions
    
    * Bail out of whitespace removal inside template literals based on position
    
    * Update changelog
    
    * Refactor
    
    * Fix angular expression parsing with concat statements
    
    * Tweak test
    thecrypticace authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    30f8d8e View commit details
    Browse the repository at this point in the history
  2. Add bundled v4 fallback (#390)

    * Add fallback for v4
    
    * Fallback to v4 by default
    
    * Add tests
    
    * Fix testing aginst unminified build
    
    * Update changelog
    thecrypticace authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    919349c View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2025

  1. Fix whitespace removal caused by re-parsing at-rules (#400)

    * Tweak test example
    
    * Add failing test
    
    * Pass in shallow copy of parse options when re-parsing at-rule params
    
    * Update test case
    thecrypticace authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    39bf3d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2025

  1. Bump Jiti to v2.6 (#401)

    * Bump Jiti to v2.6
    
    Nice initialization perf improvement
    
    * Patch jiti for now
    
    This would negate the perf improvement sadly. We need to chunk split this dep.
    thecrypticace authored Sep 23, 2025
    Configuration menu
    Copy the full SHA
    f9f28a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2025

  1. Configuration menu
    Copy the full SHA
    5916b34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a195f71 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2025

  1. Support regex matches for attributes and function names (#405)

    * Add support for regex patterns in Tailwind attributes sorting
    
    * Remove debug logging for tailwindAttributes in getCustomizations function
    
    * Refactor
    
    wip
    
    * Update tests
    
    * Update readme
    
    * Update changelog
    
    * Refactor
    
    * Add support for Astro
    
    * Refactor
    
    * Add test
    
    * Support regex matching of function names
    
    * Cleanup tests
    
    * move tests
    
    * Update src/options.ts
    
    Co-authored-by: Robin Malfait <[email protected]>
    
    ---------
    
    Co-authored-by: Loki <[email protected]>
    Co-authored-by: Jordan Pittman <[email protected]>
    Co-authored-by: Robin Malfait <[email protected]>
    4 people authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    95a3d4e View commit details
    Browse the repository at this point in the history
  2. Update changelog

    thecrypticace committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    7b9e2a7 View commit details
    Browse the repository at this point in the history
  3. Update changelog

    thecrypticace committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    cc87f7b View commit details
    Browse the repository at this point in the history
  4. 0.7.0

    thecrypticace committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    e03702a View commit details
    Browse the repository at this point in the history
Loading