Skip to content

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

Merged
merged 4 commits into from
Oct 6, 2021

Conversation

mulimoen
Copy link
Collaborator

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

@mulimoen mulimoen force-pushed the feature/versioned_functionality branch from 7647d1e to 796d3e5 Compare April 17, 2021 10:27
@aldanor aldanor changed the title Add depreciated functions and depreciation warnings Add deprecated functions and deprecation warnings Jul 4, 2021
@aldanor
Copy link
Owner

aldanor commented Jul 4, 2021

Are we planning to go ahead with this? Will require a rebase if so.

@mulimoen mulimoen force-pushed the feature/versioned_functionality branch from 796d3e5 to b494edb Compare July 5, 2021 15:43
@mulimoen
Copy link
Collaborator Author

mulimoen commented Jul 5, 2021

I would like to see this included, it makes handling different versions of hdf5 a bit easier, and more obvious when one is using these deprecated functions.

@aldanor aldanor mentioned this pull request Oct 6, 2021
@mulimoen mulimoen force-pushed the feature/versioned_functionality branch from b494edb to 9dc87f7 Compare October 6, 2021 16:27
@aldanor
Copy link
Owner

aldanor commented Oct 6, 2021

Almost good to go!

@mulimoen
Copy link
Collaborator Author

mulimoen commented Oct 6, 2021

Have you left some review comments I can't see?

@aldanor
Copy link
Owner

aldanor commented Oct 6, 2021

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 ^

@mulimoen
Copy link
Collaborator Author

mulimoen commented Oct 6, 2021

And fixed!

@aldanor
Copy link
Owner

aldanor commented Oct 6, 2021

Good to merge, thanks! 👍 (on to #157 next? will need another rebase)

@mulimoen mulimoen merged commit 3ccbe03 into aldanor:master Oct 6, 2021
@mulimoen mulimoen deleted the feature/versioned_functionality branch October 6, 2021 19:17
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.

Alias the latest API available per hdf5 version
2 participants