]> Cypherpunks repositories - gostls13.git/commit
cmd/api: track deprecations
authorRuss Cox <rsc@golang.org>
Wed, 23 Nov 2022 18:45:56 +0000 (13:45 -0500)
committerGopher Robot <gobot@golang.org>
Fri, 2 Dec 2022 16:29:41 +0000 (16:29 +0000)
commit1711f953e48c3de0f85726cb0299c0c0f0b928a1
tree270ac0747740ad7c5e016f417d36ed3e03a3e585
parentdadd80ae204bda1c3a48245d8a938f55f71259ea
cmd/api: track deprecations

Deprecating an API creates notices that go out to potentially
millions of Go developers encouraging them to update their code.
The choice to deprecate an API is as important as the choice to
add a new API. We should track those and make them explicit.
This will also ensure that deprecations go through proposal review.

Change-Id: Ide9f60c32e5a88fb133e0dfedd984b8b0f70f510
Reviewed-on: https://go-review.googlesource.com/c/go/+/453259
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: David Chase <drchase@google.com>
14 files changed:
api/go1.16.txt
api/go1.17.txt
api/go1.18.txt
api/go1.19.txt
api/next/20661.txt [new file with mode: 0644]
api/next/56319.txt [new file with mode: 0644]
src/cmd/api/api.go
src/cmd/api/api_test.go
src/cmd/api/testdata/src/pkg/p1/golden.txt
src/cmd/api/testdata/src/pkg/p1/p1.go
src/cmd/api/testdata/src/pkg/p2/golden.txt
src/cmd/api/testdata/src/pkg/p2/p2.go
src/cmd/api/testdata/src/pkg/p4/golden.txt
src/cmd/api/testdata/src/pkg/p4/p4.go