-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Added capability to show obsolete members in diff with message #171
base: master
Are you sure you want to change the base?
Conversation
Hi, thank you for that change! This is going to be helpful. I have just tested the changes and have run into an exception in your code. The package MineStat marked multiple methods as obsolete from 1.x->2.0.0, but did not provide workaround messages (only added in 2.1.1). Comparison between 1.x and 2.1.1 work flawlessly, listing the added deprecations without error. Stacktrace:
To replicate: (edit: forgot to include the actual error message 😉) |
Thanks for the example, I tried with a few that I'd known and all came out okay 😅 I'll take a look 😄 |
@mindsolve that should be solved now. Thanks for testing this 👍🏻 |
Does this show obsolete messages in a non-diff context viewing of the API? |
@TylerBrinkley: No, it doesn't. I have implemented that feature in my branch based on this PR, so either @jamesmcroft integrates it in here or I'll open a second PR after this one has been merged :) (#173) |
@mindsolve @TylerBrinkley happy to look into the non-diff context as part of this change 👍🏻 |
Merged the changes in that @mindsolve added. This PR should now cover API diff obsolete messaging as well as the non-diff context @TylerBrinkley 👍🏻 |
A look at implementing a fix for #167, providing diff information for obsolete members.
Change includes extra
NumObsolete
fields to the existing diff info types and anObsoleteMessage
field to theMemberDiffInfo
type.Updates made to the diff UI to reflect obsolete members showing the message