-
Notifications
You must be signed in to change notification settings - Fork 11k
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
JDiff links point to non-matching JDIFF output #7765
Comments
Thanks! I had noticed the second half ("Between Guava 33.3.1-jre and Guava 33.4.6-jre") and convinced myself that that made some sense: A patch release wouldn't contain any API additions or removals, so we might as well diff against the most recent version that we would actually have changes relative to. I still found it little surprising. And maybe part of the reason that I found it surprising is the inconsistency that you've pointed out, which had gone entirely over my head. Clearly we should say either the one thing or the other :) After actually looking into this for a moment, I'm guessing that the issue is that I never updated Lines 265 to 266 in 87933ba
@cgdecker, does that sound right to you? |
(And this is particularly vexing right now, given that JDiff thinks that lots of APIs changed since 33.3.1, thanks to its poor understanding of type-use annotations.) |
I don't know if this is the right thing to do, but it looks like the comparison to the most recent version that has a lower major or minor version is intentional:
|
Ah, thanks. (Who would ever have thought to read the docs? :)) I'm not sure what's best, either. |
I think the intention was definitely to show the diff from the last version that should actually have API differences, which generally makes sense to me (in theory there should be no meaningful JDiff at all between patch versions, though I suppose things that wouldn't directly be potentially-breaking changes like some annotation changes could be in patches). Maybe we can just change the code that generates the release notes to say what it's actually doing? |
Guava Version
33.4.6-jre
Description
In https://github.com/google/guava/releases, the links to JDiff output is broken.
Example
Expected Behavior
Either fix link descriptions or link targets.
Actual Behavior
The link "33.4.6-jre vs. 33.4.5-jre" links to the JDIFF "Between Guava 33.3.1-jre and Guava 33.4.6-jre".
Packages
No response
Platforms
No response
Checklist
I agree to follow the code of conduct.
I can reproduce the bug with the latest version of Guava available.
The text was updated successfully, but these errors were encountered: