tree-sitter / tree-sitter-css

CSS grammar for Tree-sitter
MIT License
85 stars 34 forks source link

feature: release tree-sitter 0.21 compatible version #48

Closed HerringtonDarkholme closed 3 months ago

HerringtonDarkholme commented 4 months ago

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

ast-grep is using a lot of tree-sitter grammars and is going to upgrading the tree-sitter parser library.

However, tree-sitter-css's dependency range is blocking the upgrade. I do think this will be a more ecosystem breaking change without all parsers upgrading at the same time.

e.g. https://github.com/ast-grep/ast-grep/issues/1057

Describe the solution you'd like

Release a new tree-sitter 0.21 compatible version

Describe alternatives you've considered

Make the dependency more compatible by relaxing the version range

Additional context

No response