-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add PositionEncodingKind and friends from 3.17 #248
Add PositionEncodingKind and friends from 3.17 #248
Conversation
Of note: I introduced these marked as |
c5af9b2
to
1d112a7
Compare
3.17 introduces `PositionEncodingKind` to indicate how positions are encoded (utf-8, utf-16, or utf-32). There are also corresponding fields in the client (`positionEncodings`) and server (`positionEncoding`) capabilities to negotiate which to use.
1d112a7
to
794c22d
Compare
hey @Marwes hate to do the ping here, but is there anything else this PR needs? |
Released as 0.93.2 |
For next time, it probably should have been 0.94 because there's new properties. Cargo's lockfiles are almost useless for publishing unfortunately :( |
This only added items hidden under the |
I see, I'd still recommend just bumping the minor (0.94) and you don't need to bump the major as it will only eagerly pull in patch releases. The problem with doing this in patch releases is it breaks cargo publishes downstream and creates some headaches. For example, we depend on another crate which depends on this crate and it doesn't pin the dependency on this crate. So even though our |
Bumping the minor version would force everyone that is not using any If I weren't using this scheme of breaking changes under |
Pinning if you are using |
That makes sense. Thanks! |
3.17 introduces
PositionEncodingKind
to indicate how positions are encoded (utf-8, utf-16, or utf-32). There are also corresponding fields in the client (positionEncodings
) and server (positionEncoding
) capabilities to negotiate which to use.