#3702·sass

Deprecate and remove meta.feature-exists()

Author: nex3Created Sep 27, 2023Updated Jun 15, 2026
Labelsenhancementrequires deprecation

From https://github.com/sass/sass-spec/issues/1939#issuecomment-1738040431:

In practice, essentially all the new features we add fall into one of three categories:

  1. New built-in functions or mixins, which are easy to detect using other sass:meta functions.
  2. Language-level features which are relatively easy to detect on their own (for example, first-class calc can be detected with calc(1 + 1) == 2).
  3. New syntax which can't even be parsed in implementations that don't support it, for which feature detection isn't particularly useful anyway.

This, combined with the fact that we haven't added a new feature to meta.feature-exists() in years, suggests that it's not useful anymore and should be removed.