Skip to content
New issue

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

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

Already on GitHub? # to your account

Move plugin to visitor API #93

Conversation

TheSeally
Copy link
Contributor

@TheSeally TheSeally commented Aug 19, 2021

Since postcss-nested moved to visitor API (in version 5.0.2) there is a problem with correctness of processing nested rules using this plugin.
This problem discussed in more details in postcss/postcss#1611 (comment)

So I tried to fix it by moving your plugin to visitor API too and this fixed problem. All test in repo was passed but maybe you have additional checks

@RadValentin
Copy link
Owner

Looks good, thanks for contributing! It will take a few days until I can push out a new version as I'm busy with exams ATM and I'd like to add at least one test around nesting.

@RadValentin RadValentin merged commit 0afbd22 into RadValentin:master Aug 19, 2021
@RadValentin
Copy link
Owner

Nvm the wait, I went ahead an published a new version 1.11.0 with the fix 🚀

@Bdg0o
Copy link

Bdg0o commented Aug 19, 2021

Thanks guys !

@RadValentin
Copy link
Owner

RadValentin commented Aug 19, 2021

I jumped the gun on this one 😞 and didn't realise it was a breaking change (see #94). I'll do a full upgrade of the plugin to support PostCSS 8 in #95 and release it as v2.0.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants