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

Fix grammar versions #317

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Fix grammar versions #317

merged 1 commit into from
Oct 5, 2023

Conversation

hendrikvanantwerpen
Copy link
Collaborator

Tree-sitter grammar versions are not semantic. Therefore, we depend on precise versions and don't allow e.g. a new patch version to break our code.

For example, the latest tree-sitter-typescript release (a patch bump) broke our build because the grammar nodes changed and queries became invalid.

Tree-sitter grammar versions are not semantic. Therefore, we depend on
precise versions and don't allow e.g. a new patch version to break our
code.
@hendrikvanantwerpen hendrikvanantwerpen requested a review from a team as a code owner October 5, 2023 13:36
@hendrikvanantwerpen hendrikvanantwerpen self-assigned this Oct 5, 2023
Copy link
Contributor

@patrickt patrickt left a comment

Choose a reason for hiding this comment

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

LGTM re an unfortunate situation.

@hendrikvanantwerpen hendrikvanantwerpen merged commit eaa769f into main Oct 5, 2023
5 checks passed
@hendrikvanantwerpen hendrikvanantwerpen deleted the fix-grammar-versions branch October 5, 2023 14:36
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.

2 participants