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

Bring back deprecated stylus package in order to fix a caching bug. #9565

Merged
merged 3 commits into from Jan 22, 2018

Conversation

benjamn
Copy link
Contributor

@benjamn benjamn commented Jan 22, 2018

This code was recently removed in PR #9445, with this commit: d644705

Rather than removing deprecated code entirely from the codebase, I think it's sufficient to keep it in packages/deprecated, and print a deprecation notice whenever the package is used. This way it's clear that developers should migrate to other similar packages, but we can still release important patches for those who haven't been able to migrate yet.

This code was recently removed in PR #9445, with this commit:
d644705

Rather than removing deprecated code entirely from the codebase, I think
it's sufficient to keep it in packages/deprecated, and print a deprecation
notice whenever the package is used. This way it's clear that developers
should migrate to other similar packages, but we can still release
important patches for those who haven't been able to migrate yet.

cc @hwillson @abernix
@benjamn benjamn added this to the Package Patches milestone Jan 22, 2018
@benjamn benjamn requested a review from hwillson January 22, 2018 21:23
Copy link
Contributor

@hwillson hwillson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me @benjamn - I'll make sure I follow this pattern moving forward. Code changes look great - thanks!

@benjamn benjamn merged commit 818ef0e into devel Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants