-
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.17 #46688
Comments
I went through all of these. They are all fine BUT there are two mistakes that need correcting (marked above with BUT). |
Change https://golang.org/cl/326789 mentions this issue: |
I've sent CLs for both of the BUTs. |
Change https://golang.org/cl/326790 mentions this issue: |
Not sure if this matters, but the go/parser proposal for SkipObjectResolution is actually #46485, which is marked Likely Accept but not yet accepted. Per discussion we're OK either documenting it or removing it pending the final outcome of that proposal. |
We are missing release notes for |
Only methods that modify the time take pointer receivers; IsDST does not modify it and therefore should not. For #42102 and #46688. Change-Id: I4721ef7f4d7572236ae6e4d99a459b9ffb11999e Reviewed-on: https://go-review.googlesource.com/c/go/+/326789 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
As of now, there have been 2 updates to api/go1.17.txt since it was created (and this issue was based on):
Remaining Work
After that's done, there doesn't seem to be anything more left to audit for 1.17, so I think we can close the issue (but reopen if there are any more API changes that come up and need more work). |
I checked the box for the image API changes. |
Submitted the testing CL as well. |
For #41260 and #46688. Change-Id: I6f42742cc3234a90003136ae8798a6b0e1291788 Reviewed-on: https://go-review.googlesource.com/c/go/+/326790 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Thanks Russ! Closing as done, to be reopened in the unlikely case there are new API additions that need to be reviewed for the eventual final release. |
Not sure if this is important, but the heading |
In case it's missed, |
Thanks, this is fine although the heading is missing.
Thanks, the change that adds |
This is a tracking issue for doing an audit of API additions for Go 1.17 as of https://golang.org/cl/326410.
New API changes for Go 1.17
archive/zip
https://golang.org/cl/312310
OK: accepted in proposal #34974
compress/lzw
https://golang.org/cl/273667
OK: accepted in proposal #26535
crypto/tls
https://golang.org/cl/295370
OK: accepted in proposal #32406
database/sql
https://golang.org/cl/311572
OK: accepted in proposal #40082
debug/elf
https://golang.org/cl/239217
Did not go through proposal process, but new entry in existing type, so OK. - @rsc
encoding/csv
https://golang.org/cl/291290
OK: accepted in proposal #44221
go/build
https://golang.org/cl/310732
Did not go through proposal process but discussed with @jayconrod and @rsc as part of fixing regabi experiments. OK. - @rsc
go/parser
https://golang.org/cl/306149
OK: accepted in proposal #45104
io/fs
https://golang.org/cl/293649
OK: accepted in proposal #42387
math
https://golang.org/cl/247058
OK: accepted in proposal #28538
https://golang.org/cl/315969
OK: bug fix (more precise values), per #44058. - @rsc
net
https://golang.org/cl/307030
OK: bug fix (package net error must implement Error), per #45357. - @rsc
https://golang.org/cl/272668
OK: accepted in proposal #29146.
net/http
https://golang.org/cl/326309
OK: accepted in proposal #45973.
net/url
https://golang.org/cl/314850
OK: accepted in proposal #45100.
reflect
https://golang.org/cl/281233
OK: accepted in proposal #42782.
https://golang.org/cl/266197
OK: accepted in proposal #41563.
runtime/cgo
https://golang.org/cl/295369
OK: accepted in proposal #37033.
strconv
https://golang.org/cl/314775
OK: accepted in proposal #45033.
sync/atomic
https://golang.org/cl/241678
OK: accepted in proposal #39351.
syscall
https://golang.org/cl/315281
OK: new constant needed for bug fix in package os. - @rsc
https://golang.org/cl/311570
OK: new constant needed for bug fix in package os. - @rsc
https://golang.org/cl/288298
OK: accepted in proposal #44011.
testing
https://golang.org/cl/260577
OK: accepted in proposal #41260.
BUT it looks like we forgot to add it to the type TB interface.
https://golang.org/cl/301493, https://golang.org/cl/317269
OK: accepted in proposal #38627.
time
https://golang.org/cl/320252
OK: not in proposal but added for commentary purposes by @robpike after discussion with @rsc. -@rsc
https://golang.org/cl/293349
OK: accepted as proposal #44196.
https://golang.org/cl/264077
OK: accepted as proposal #42102.
BUT the receiver should be a value not a pointer.
https://golang.org/cl/267017
OK: accepted as proposal #39034.
cc @rsc @ianlancetaylor
The text was updated successfully, but these errors were encountered: