-
Notifications
You must be signed in to change notification settings - Fork 129
Fix deprecation warnings #301
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
Conversation
@swift-ci please test |
cc @compnerd which deprecated the APIs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Sorry about the additional work here, I didn't think of checking within the repository itself :-(
@compnerd Any ideas about |
@neonichu hmm .. |
@compnerd I'm assuming swift-driver has migrated off it by now? Maybe we can move it into |
Yes, swift-driver now uses a different implementation of that (assuming that there has been a snapshot). I think that the only problem with making it internal and private is ... well, its internal and private and it was public before. So technically that is a problem if you use an old version and mix and match shared libraries, etc. Basically I am worried that the ABI/API break here would be something that may be material to someone depending on the library and this change would break semver unless we did a major version bump. |
I guess another solution would be to make an internal one that's not deprecated and let the deprecated public one call into the internal one. The issue with that is that clients inside I'm not sure how worried we are about ABI/API breakage since we haven't declared a stable API so far. @tomerd wdyt? |
making it internal SGTM. we can keep a public deprecated version that wraps the internal non-deprecated types until we are ready to remove them |
@neonichu is this ready to merge? |
Yah, I think we can merge this and address the remaining deprecation warnings in a follow-up. |
This fixes almost all deprecation warnings in TSC, except for the ones in
IndexStoreAPIImpl
. That code is usingDLHandle
etc which was marked as "moved to swift-driver" when being deprecated, so not sure what the right solution here is.