delve icon indicating copy to clipboard operation
delve copied to clipboard

Remove service/rpc1

Open derekparker opened this issue 3 years ago • 2 comments

The service/rpc2 package was introduced way back in 2016. I think 7 years is long enough to keep both around for the users sake.

I think we should remove the service/rpc1 package and make service/rpc2 just service/rpc and the default. We could keep the command line flag for a bit to avoid breaking clients, but we should deprecate it and also plan to eventually remove it as well.

If we find we really need to version the rpc package perhaps it belongs as a standalone package versioned via its own Go module.

derekparker avatar Jan 13 '23 19:01 derekparker

Do we deprecate in 1.21 and delete in 1.22? Or 1.23? I'd leave rpc2 as rpc2, in case we ever do rpc3.

aarzilli avatar Jan 13 '23 20:01 aarzilli

@aarzilli I think deprecate in 1.21 and then remove in 1.23, give 2 releases worth of notice.

derekparker avatar Feb 20 '23 18:02 derekparker

rpc1 was removed a while back but we forgot to reference this issue.

aarzilli avatar May 14 '25 06:05 aarzilli