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

[lang] Move Lang.Diagnostics.Data.t from a list to name field #843

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

ejgallego
Copy link
Owner

This fits our use case better.

Comment on lines +37 to +38
- [lsp] [diagnostics] (! breaking change) change type of diagnostics
extra data from list to named record (@ejgallego, #843)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think these should be in a separate subsection of the changelog near the top with the title "Breaking changes".

Copy link
Owner Author

Choose a reason for hiding this comment

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

Indeed, we haven't been too formal as we considered the 0.1.x series not stable at all, we can try to improve in the 0.2.x series, but I think 0.3.x (which could become a kind of 1.0 beta) could enforce this more strictly.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I noted this in the changelog because I know water proof is using sentenceRange. Also because this change was important moving forward with stuff like #840

Copy link
Owner Author

Choose a reason for hiding this comment

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

For now we can keep things like now, as tweaking the changes entry will break some tooling, and make a note in the release notes. I skipped the 0.2.0 release notes as this was mostly a "beta".

@ejgallego ejgallego merged commit 5559fb9 into main Sep 30, 2024
14 checks passed
@ejgallego ejgallego deleted the diagnostics_data branch September 30, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants