aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2021-06-08doc/go1.17: remove TODO for Tools sectionBryan C. Mills
Change-Id: I6cd7376bd051222a830cbf18cf7e887072b61f3b Reviewed-on: https://go-review.googlesource.com/c/go/+/325911 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-08doc/go1.17: resolve TODO for cmd/coverBryan C. Mills
Updates #32211 Change-Id: Ie38e831fcf557534023afd552d9394fe9e055caa Reviewed-on: https://go-review.googlesource.com/c/go/+/325909 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-06-08cmd/go: in Go 1.17+ modules, add indirect go.mod dependencies separately ↵Bryan C. Mills
from direct ones Fixes #45965 Change-Id: If5c0d7b29e9f81be0763f3fa68051d4ef5419990 Reviewed-on: https://go-review.googlesource.com/c/go/+/325922 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
2021-06-08doc/go1.17: add release notes for crypto packagesFilippo Valsorda
For #44513 Change-Id: I459b3a4f9936eaa2c09888177f91176140d04280 Reviewed-on: https://go-review.googlesource.com/c/go/+/325649 Trust: Filippo Valsorda <filippo@golang.org> Trust: Katie Hockman <katie@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
2021-06-08doc/go1.17: add a release note for the '-compat' flag to 'go mod tidy'Bryan C. Mills
Updates #46141 Change-Id: I7a6a84f816e3db19bb492f862366a29dc46ed2ee Reviewed-on: https://go-review.googlesource.com/c/go/+/325910 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
2021-06-07doc: document Go 1.17 language changesMatthew Dempsky
Fixes #46020. Change-Id: Iadf9a0ac4a8863e17155d6ba1af2cc497634a634 Reviewed-on: https://go-review.googlesource.com/c/go/+/325870 Trust: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-05spec: improve wording consistency by eliminating "specifier"DQNEO
The word "specifier" is used once only here and technically not defined. Change-Id: Ifc9f0582f4eb3c3011ba60d8008234de511d4be6 Reviewed-on: https://go-review.googlesource.com/c/go/+/323730 Reviewed-by: Robert Griesemer <gri@golang.org> Trust: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org>
2021-06-05spec: improve wording by choosing an official term "keyword"DQNEO
Replace "reserved word" by "keyword" as the latter is the official term. Change-Id: I9f269759b872026034a9f47e4a761cff2d348ca0 Reviewed-on: https://go-review.googlesource.com/c/go/+/323729 Reviewed-by: Robert Griesemer <gri@golang.org> Trust: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org>
2021-06-04doc/go1.17: document testing changes for Go 1.17Aaron Sheah
For #44513. Fixes #46024 Change-Id: Icf3877d1fcd67448fbc79a0ce3db3f319ad4a0e9 GitHub-Last-Rev: 8c015935c2e376134d81aa577bffdca7fc03170d GitHub-Pull-Request: golang/go#46324 Reviewed-on: https://go-review.googlesource.com/c/go/+/322109 Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Jeremy Faller <jeremy@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-02doc/go1.17: remove runtime sectionJeremy Faller
Updates #44513 Change-Id: I359d56fc3eeece3005f092cca2cb485664affc23 Reviewed-on: https://go-review.googlesource.com/c/go/+/324209 Trust: Jeremy Faller <jeremy@golang.org> Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
2021-06-02doc/go1.17: mention SYS_WAIT6/WEXITED on NetBSDIan Lance Taylor
For #13987 For #16028 For #44513 Change-Id: I7a73446fcc80a01fa6de24eec1e5b993e543be37 Reviewed-on: https://go-review.googlesource.com/c/go/+/323489 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-06-02doc/go1.17: document time changes for Go1.17Uddeshya Singh
Documents the newly implemented changes of - Time.IsDST() method - Addition of Time.UnixMilli, Time.UnixMicro and to-Time helpers UnixMicro, UnixMilli methods - Addition of comma "," support as separator for fraction seconds For #44513 Fixes #46026 Change-Id: Ib8d3449d3b061f013112d33362b50e68ad6ddffa Reviewed-on: https://go-review.googlesource.com/c/go/+/317913 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-06-02doc/go1.17: document flag changes for Go 1.17KimMachineGun
For #44513 Fixes #46010 Change-Id: I1fe638e5db0b4f3b64dbfbd948154a7c7a80afc9 GitHub-Last-Rev: d5bd53b1df202329661ffb1818803f2ec1d3f57a GitHub-Pull-Request: golang/go#46150 Reviewed-on: https://go-review.googlesource.com/c/go/+/319273 Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Robert Findley <rfindley@google.com>
2021-06-01doc/go1.17: add release notes for register ABICherry Mui
Also delete the TODO for the linker section. Updates #44513. Updates #40724. Change-Id: I4d62a907e8c3070831a052cdfe1e21648698df12 Reviewed-on: https://go-review.googlesource.com/c/go/+/323289 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org>
2021-05-29doc/go1.17: mention time.LayoutIan Lance Taylor
For #44513 Change-Id: Id4624e977654f7e8c489508a9dce98c9fab621a6 Reviewed-on: https://go-review.googlesource.com/c/go/+/323490 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Rob Pike <r@golang.org>
2021-05-29doc/go1.17: document text/template/parse.SkipFuncCheckAriel Mashraki
Documents the newly added mode that skips type checking functions as per CL 301493. Fixes #46025 For #34652 For #44513 For #38627 Change-Id: I56c4f65924702a931944796e39f43cfeb66abc8a Reviewed-on: https://go-review.googlesource.com/c/go/+/311569 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Trust: Michael Knyszek <mknyszek@google.com>
2021-05-28doc/go1.17: mention new definitions of MSG_CMSG_CLOEXECIan Lance Taylor
For #44513 Change-Id: I8c0070b116ee520a76726eb9d3dcbdd489a1fb1f Reviewed-on: https://go-review.googlesource.com/c/go/+/323351 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-28doc/go1.17: mention testing.[TB].Setenv methodsIan Lance Taylor
For #41260 For #44513 Change-Id: I47ac0c751dafeb05abfe66fdf77938774164915f Reviewed-on: https://go-review.googlesource.com/c/go/+/323353 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: roger peppe <rogpeppe@gmail.com>
2021-05-28doc/go1.17: mention new Windows SysProcAttr fieldsIan Lance Taylor
For #44011 For #44513 Change-Id: I512466f2e775e36098eb36ca7ef82333cd9e632a Reviewed-on: https://go-review.googlesource.com/c/go/+/323352 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-28doc/go1.17: document new go/build/BuildContext.ToolTags fieldIan Lance Taylor
For #44513 Change-Id: Ib21af742e574fcaa7e38bb437d42dbeed9d01f0b Reviewed-on: https://go-review.googlesource.com/c/go/+/323350 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-28doc/go1.17: mention new encoding/csv/Reader.FieldPos methodIan Lance Taylor
For #44221 For #44513 Change-Id: I2d2d1c55255f4411c11fd51f0f3ae726cbf4d136 Reviewed-on: https://go-review.googlesource.com/c/go/+/323349 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: roger peppe <rogpeppe@gmail.com>
2021-05-28doc/go1.17: document new debug/elf constantIan Lance Taylor
For #39677 For #44513 Change-Id: I8c4193fd4359b83e6739e7e30a3a42b5f21b0f1a Reviewed-on: https://go-review.googlesource.com/c/go/+/323275 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-27doc/go1.17: clarify that compress/lzw Reader and Writer types are newIan Lance Taylor
For #26535 For #44513 For #46005 Change-Id: I70d3711ab6451a61b526abb3da8e91243f637656 Reviewed-on: https://go-review.googlesource.com/c/go/+/323273 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2021-05-27doc/go1.17: document reflect changesDamien Neil
For #44513. Fixes #46019. Change-Id: Ica84edd5703a4ccf343ff01e10483f8d51d1c79f Reviewed-on: https://go-review.googlesource.com/c/go/+/323069 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-26doc/go1.17: document net/... changesDamien Neil
For #44513. Fixes #46014. Fixes #46015. Fixes #46016. Fixes #46017. Change-Id: I356483d68d07159281dfe2ea1e49430ddf200973 Reviewed-on: https://go-review.googlesource.com/c/go/+/322891 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-26doc/go1.17: document syscall changesDamien Neil
Fixes #46023 Change-Id: Ia63829d03afb0936862b16f0971175cbaa1095bc Reviewed-on: https://go-review.googlesource.com/c/go/+/322890 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-26mime: document use of the Shared MIME-Info DatabaseDamien Neil
For #44513. Fixes #46013. Change-Id: I382603208aa94b66d5220cf0f418b8528a4e4148 Reviewed-on: https://go-review.googlesource.com/c/go/+/322892 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-26doc/go1.17: add release notes for runtime/metrics packageCherry Mui
Updates #44513. Change-Id: I571a791e9c76371be3b3f1a323f1ea8ff485cf0f Reviewed-on: https://go-review.googlesource.com/c/go/+/322857 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
2021-05-26doc/go1.17: mention enabling frame pointer on all ARM64Cherry Mui
Updates #44513. Change-Id: I43e95de0423779b3311d96c56f7c8c1cc5be27b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/321311 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org>
2021-05-26doc/go1.17: fix formatting for time changesTobias Klauser
Also add a link to the time.Time type and adjust the wording a bit. Change-Id: I2f4210ada6d253eb5804e6327b2432487beb8a05 Reviewed-on: https://go-review.googlesource.com/c/go/+/321811 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-25doc: add Go 1.17 release note about inlining functions with closuresDan Scales
Fixes #45781 Change-Id: Ia5bc2845f7f94aff4f3f0ff15533feb148223adb Reviewed-on: https://go-review.googlesource.com/c/go/+/322089 Trust: Dan Scales <danscales@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
2021-05-25cmd/go: add a -compat flag to 'go mod tidy'Bryan C. Mills
Fixes #46141 Change-Id: I9d4032e75252ade9eaa937389ea97ef3fb287499 Reviewed-on: https://go-review.googlesource.com/c/go/+/321071 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
2021-05-21doc/go1.17: document changes to net/http packageian woolf
Changes include: * ReadRequest function now returns an error when a request has multiple Host headers. For #44513. Updates #46015. Change-Id: I48ea7c5cee3f1d1a247035fd37191362a53d1f04 Reviewed-on: https://go-review.googlesource.com/c/go/+/317914 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Heschi Kreinick <heschi@google.com>
2021-05-21doc: document additional atomic.Value methodsKeith Randall
For #44513. Fixes #46022. Change-Id: Id1d87fbd4034461953760ce77201f87ed723ff88 Reviewed-on: https://go-review.googlesource.com/c/go/+/319549 Trust: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-05-21cmd/go: in 'go mod download' without args, don't save module zip sumsJay Conrod
'go mod download' without arguments is frequently used to populate the module cache. It tends to fetch a lot of extra files (for modules in the build list that aren't needed to build packages in the main module). It's annoying when sums are written for these extra files. 'go mod download mod@version' will still write sums for specific modules in the build list. 'go mod download all' still has the previous behavior. For now, all invocations of 'go mod download' still update go.mod and go.sum with changes needed to load the build list (1.15 behavior). Fixes #45332 Change-Id: I9e17d18a7466ac7271a0e1a2b663f6b3cb168c97 Reviewed-on: https://go-review.googlesource.com/c/go/+/318629 Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-05-21doc/go1.17: document database/sql changes for Go 1.17sryoya
For #44513 Fixes #46008 Change-Id: If80d484f73a0eb6946abdc654eb2c0d3dd6db416 Reviewed-on: https://go-review.googlesource.com/c/go/+/320251 Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Robert Findley <rfindley@google.com>
2021-05-21doc/go1.17: document io/fs changes for Go 1.17Adam Mitha
For #44513 Fixes #46011 Change-Id: I862ef9a4314cd34fb8c828a8cd7d0a7b36c6f683 Reviewed-on: https://go-review.googlesource.com/c/go/+/320151 Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Heschi Kreinick <heschi@google.com> Trust: Robert Findley <rfindley@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-21doc/go1.17: document archive/zip changes for Go 1.17Aaron Sheah
For #44513. Fixes #46000 Change-Id: I299d0b5657f1f96174d6e35d60daac8b36e59d29 GitHub-Last-Rev: e63461bff042a8abe79e0ec3515eefbf56ba1d82 GitHub-Pull-Request: golang/go#46235 Reviewed-on: https://go-review.googlesource.com/c/go/+/320809 Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Robert Findley <rfindley@google.com>
2021-05-20doc/go1.17: document changes to os packageVishal Dalwadi
Documents the changes to File.WriteString method. For #44513. Fixes #46018. Change-Id: I3a8ef9df9f84662614d54802710bd705d626b995 Reviewed-on: https://go-review.googlesource.com/c/go/+/317910 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Cherry Mui <cherryyz@google.com>
2021-05-20doc/go1.17: add release notes for OpenBSD portsCherry Mui
Updates #44513. Change-Id: I8758768f6231fd7fcbaa7109eb49ee56cd60d93d Reviewed-on: https://go-review.googlesource.com/c/go/+/321310 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-20doc/go1.17: add release note for windows/arm64 portCherry Mui
Updates #44513, #42604. Change-Id: I8200e8087c219a0042ab2a6770a7275c3b17942a Reviewed-on: https://go-review.googlesource.com/c/go/+/321309 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-20doc/go1.17: document new math constantsVishal Dalwadi
Documents the newly introduced: * MaxInt * MinInt * MaxUint Updates #28538. For #44513. Fixes #46012. Change-Id: Iab6bbcf8f76ebe105b973d5fd39b86b8cd078348 Reviewed-on: https://go-review.googlesource.com/c/go/+/317911 Trust: Heschi Kreinick <heschi@google.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-05-18doc/go1.17: fix typo "avoding" -> "avoiding"Jeff Widman
Change-Id: Ice4a6e7ec8175caf3f049ac1ca39929059f90e9c GitHub-Last-Rev: a2d59d55511ac7825cbeca6651a79b1060d90de3 GitHub-Pull-Request: golang/go#46227 Reviewed-on: https://go-review.googlesource.com/c/go/+/320729 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
2021-05-07doc/go1.17: fill in TODO for compress/lzw packageJoe Tsai
Fixes #46005 Change-Id: I80ca21eb64d245749af62506ba960dbc1726c6c4 Reviewed-on: https://go-review.googlesource.com/c/go/+/318012 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-07doc/go1.17: fill in TODO for reflect packageJoe Tsai
Updates #46019 Change-Id: I3025927d949ff72535542e89b83dd830e969c255 Reviewed-on: https://go-review.googlesource.com/c/go/+/318011 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-07doc/go1.17: document encoding/binary.Uvarint max read of 10 bytesEmmanuel T Odeke
Updates #41185 For #44513. Fixes #46009 Change-Id: I60f4d891b897809765acc0aace037c78e95bb4f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/317929 Trust: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Keith Randall <khr@golang.org>
2021-05-07doc/go1.17: fill in TODO for strconv packageJoe Tsai
Updates #46021 Change-Id: Iaed26b5a1defa6c5d00fb7a3998db56d2f1b96b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/318010 Trust: Joe Tsai <joetsai@digital-static.net> Trust: Joe Tsai <thebrokentoaster@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-05-07doc/go1.17: move language specification TODO to the right placeDmitri Shuralyov
It was misplaced by the relnote tool. Also add a TODO for CL 312212, per discussion in golang.org/issue/46020. For #44513. For #46020. Change-Id: I8d766df969f85c351ead18df3e45adb6fb27b7a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/317829 Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-05-06crypto/tls: enforce ALPN overlap when negotiated on both sidesRoland Shoemaker
During the TLS handshake if the server doesn't support any of the application protocols requested by the client, send the no_application_protocol alert and abort the handshake on the server side. This enforces the requirements of RFC 7301. Change-Id: Iced2bb5c6efc607497de1c40ee3de9c2b393fa5d Reviewed-on: https://go-review.googlesource.com/c/go/+/289209 Trust: Roland Shoemaker <roland@golang.org> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
2021-05-06doc/go1.17: document fixes for negative rune handlingDmitri Shuralyov
CL 317273 accidentally grouped a fix for bufio, bytes, strings packages into a single entry, but they should be separate ones. Fix that, and document these negative rune handling fixes. The list of fixed functions in package unicode was computed by taking the functions covered by the new TestNegativeRunes test, and including those that fail when tested with Go 1.16.3. For #44513. Updates #43254. Change-Id: I6f387327f83ae52543526dbdcdd0bb5775c678bd Reviewed-on: https://go-review.googlesource.com/c/go/+/317469 Reviewed-by: David Benjamin <davidben@google.com> Reviewed-by: Alexander Rakoczy <alex@golang.org> Trust: Alexander Rakoczy <alex@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Alexander Rakoczy <alex@golang.org>