Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deprecation info for unknown custom-properties in build-var #2922

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

idoros
Copy link
Collaborator

@idoros idoros commented Oct 24, 2023

This PR introduces a deprecation warning for build-vars that reference undefined custom properties in Stylable@5.

While the current evaluation mechanism remains unchanged, it will be updated in version 6 (as detailed in the related PR). Users are recommended to either define global custom properties or wrap the value in quotes to achieve the intended result.

@idoros idoros added deprecated Removed feature or API next-major Issues or PR related to the next major version 5.x Stylable v5 related labels Oct 24, 2023
@idoros idoros requested a review from barak007 October 24, 2023 15:53
@idoros idoros self-assigned this Oct 24, 2023
@idoros idoros requested a review from tomrav October 24, 2023 15:55
@idoros idoros merged commit 3841888 into 5.x Oct 26, 2023
18 checks passed
@idoros idoros deleted the ido/unknown-prop-in-build-var-deprecation branch October 26, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.x Stylable v5 related deprecated Removed feature or API next-major Issues or PR related to the next major version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants