grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

Remove All Deprecated Classes before Beta

Open carl-mastrangelo opened this issue 11 years ago • 4 comments

There are a number of classes in core that are Deprecated. Since it will likely be impossible to remove them later without breakage, they should be removed now.

carl-mastrangelo avatar Aug 06 '15 00:08 carl-mastrangelo

Please fix other beta issues before tackling this.

jayantkolhe avatar Aug 25 '15 00:08 jayantkolhe

The last two deprecated classes are Metadata.Headers and Metadata.Trailers. The comment for this PR says to remove them before beta, but per our deprecation policy, we cannot delete these until after a major release.

This means we would have to do a quick major release just before beta, and then go to beta. Alternatively, the title of this Issue can be changed to "remove before GA". Lastly, we could just break the rules and remove them right now before beta.

@ejona86 : thoughts?

carl-mastrangelo avatar Sep 03 '15 22:09 carl-mastrangelo

but per our deprecation policy, we cannot delete these until after a major release.

I don't agree with that. Anything marked stable can't be removed, but we can claim that things marked Deprecated in the beta release will be removed. It's about being clear what is and is not stable. As long as we are clear, it's okay.

That said, if it is only Metadata.Headers and Trailers, I can live with removing them now.

ejona86 avatar Sep 03 '15 22:09 ejona86

They were deprecated in 0.9.0-SNAPSHOT, which would not give them a major release before removal. If you don't care about this, then away they go.

carl-mastrangelo avatar Sep 03 '15 22:09 carl-mastrangelo