Skip to content
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

core: Deprecate ForwardingChannelBuilder #10587

Merged
merged 11 commits into from
Nov 2, 2023

Conversation

sergiitk
Copy link
Member

@sergiitk sergiitk commented Oct 3, 2023

Deprecate ForwardingChannelBuilder in favor of ForwardingChannelBuilder2

@sergiitk sergiitk force-pushed the deprecate-fwd-channel-builder branch 3 times, most recently from a726446 to 121922d Compare October 6, 2023 18:19
@sergiitk sergiitk marked this pull request as ready for review October 6, 2023 18:20
@sergiitk sergiitk requested a review from ejona86 October 6, 2023 18:20
@sergiitk
Copy link
Member Author

sergiitk commented Oct 6, 2023

cc @larry-safran

@@ -26,7 +26,7 @@
* using ALTS if applicable and using TLS as fallback.
*/
public final class ComputeEngineChannelBuilder
extends ForwardingChannelBuilder<ComputeEngineChannelBuilder> {
extends ForwardingChannelBuilder2<ComputeEngineChannelBuilder> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks ABI. We can't change this. Ditto for most of the usages in public APIs. AltsChannelBuilder has few enough users it is probably fine. BinderChannelBuilder would be nice to change, but we may not be easily able to. I'm actually surprised it isn't stable, but I guess it was just BinderServerBuilder that was marked stable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about AndroidChannelBuilder? That also looks to be stabilized.

Are we going to use AltsChannelBuilder2 & AndroidChannelBuilder2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undid:

  • AndroidChannelBuilder
  • BinderChannelBuilder
  • ComputeEngineChannelBuilder
  • GoogleDefaultChannelBuilder

@sergiitk sergiitk force-pushed the deprecate-fwd-channel-builder branch from 121922d to 2c5c69b Compare November 1, 2023 17:12
Undo:
- AndroidChannelBuilder
- BinderChannelBuilder
- ComputeEngineChannelBuilder
- GoogleDefaultChannelBuilder

Add "As of 1.60.0" to `@deprecated` javadoc tag.
@sergiitk
Copy link
Member Author

sergiitk commented Nov 2, 2023

Ready for another round

@sergiitk
Copy link
Member Author

sergiitk commented Nov 2, 2023

When it's approved, I'll edit 57d1f8e Fix @SuppressWarnings("deprecation") description so it doesn't tag the user.

@sergiitk sergiitk force-pushed the deprecate-fwd-channel-builder branch from 2ae064e to d0ec2d9 Compare November 2, 2023 17:08
@sergiitk sergiitk merged commit a294b27 into grpc:master Nov 2, 2023
6 checks passed
@sergiitk sergiitk deleted the deprecate-fwd-channel-builder branch November 2, 2023 17:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants