Skip to content

Version 4 (v4) Upgrade Guide does not mention safelist #2015

Open
@ridler

Description

The safelist property seems to have been removed from the tailwind config object

image

I cannot find any mention of this in the upgrade guide:
https://tailwindcss.com/docs/upgrade-guide#changes-from-v3

This v4 alpha announcement implies that this was going to be supported before a stable release:
https://tailwindcss.com/blog/tailwindcss-v4-alpha

The issue is that the upgrade guide seems incomplete without a mention of this as a breaking change, or guidance on how to upgrade for those of us who rely on the functionality provided by safelist

These discussion questions indicate similar confusion:
tailwindlabs/tailwindcss#14462
tailwindlabs/tailwindcss#15291

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions