-
Notifications
You must be signed in to change notification settings - Fork 95
Add deprecated functions and deprecation warnings #117
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 deprecated functions and deprecation warnings #117
Conversation
7647d1e
to
796d3e5
Compare
Are we planning to go ahead with this? Will require a rebase if so. |
796d3e5
to
b494edb
Compare
I would like to see this included, it makes handling different versions of |
b494edb
to
9dc87f7
Compare
Almost good to go! |
Have you left some review comments I can't see? |
Sorry I'm dumb, opened a pending a review and haven't submitted it :) There you go ^ |
And fixed! |
Good to merge, thanks! 👍 (on to #157 next? will need another rebase) |
I went through the documentation and added all functions which were marked as deprecated, mostly for completeness of the bindings. Most of these functions were deprecated in 1.8.0, which is a version we don't support.
I've also fixed up the name of some structs to be consistent with the naming in 1.12.0, and made sure we have aliases for these to remain compatible with other supported versions.
Comments on objects are officially deprecated in favor of attributes. I've added the
deprecated
attribute on the set/clear_comment in the top crate.FIxes #114