-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
api: audit for Go 1.18 #51333
Comments
The only cases where a concern could be raised are the changes to debug/buildinfo, runtime/debug, and go/constant. All the rest either have officially affected proposals or clearly do not need them. To be clear, I think the changes to those three packages are fine. |
Thank you Ian. Russ, are you able to take a look at the remaining unchecked boxes? |
constant.Kind.String is fine. I am amused that constant.String is a constant.Kind while constant.Kind.String is not. |
debug/buildinfo and runtime/debug should have had a proposal. Bryan, Michael, Jay, and I did talk a lot about these APIs when they were being designed, though, so I think they have gotten sufficient attention. If I'd noticed this at the start of the freeze I'd have kicked them over to the release process for good measure, but at this point I'm not going to hold up all of Go 1.18. They're OK as is. Apologies for the mistake and the deviation from standard process. We will endeavor to do better next time. |
I believe that covers everything. Thanks Ian for checking the proposal issues. I wonder if going forward we should require the API file to have the proposal issue number at the end of the line. That would make this a lot easier for Go 1.19+. |
This is a tracking issue for doing an audit of API additions for Go 1.18.
The list was populated from
api/go1.18.txt
including changes as of https://go.dev/cl/384154.New API changes for Go 1.18
bufio
bytes
crypto/tls
debug/buildinfo
debug/elf
debug/dwarf
debug/plan9obj
go/ast
go/constant
go/token
go/types
net
net/http
net/netip
reflect
runtime/debug
strings
sync
syscall
testing
text/template/parse
unicode/utf8
CC @rsc, @ianlancetaylor, @golang/release.
The text was updated successfully, but these errors were encountered: