From c519b156fcc5e53a2a91690303cc7502261dc57b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 3 Dec 2020 10:03:22 -0500 Subject: [PATCH] doc/go1.16: more release notes Fixes #42899 (flag). Fixes #42900 (io). Fixes #42901 (log). Fixes #42902 (log/syslog). Fixes #42903 (mime/multipart). Fixes #42904 (net). Fixes #42905 (net/http). Fixes #42906 (net/http/httputil). Fixes #42907 (net/smtp). Fixes #42909 (os/signal). Fixes #42913 (syscall). Change-Id: Id09f038751d61fe0f1ff57b525e49473dd75c95f Reviewed-on: https://go-review.googlesource.com/c/go/+/275113 Trust: Russ Cox Run-TryBot: Russ Cox Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- doc/go1.16.html | 56 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 12 deletions(-) diff --git a/doc/go1.16.html b/doc/go1.16.html index 6618240ed1..1862808486 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -494,7 +494,10 @@ Do not send CLs removing the interior tags from such phrases.
flag

- TODO: https://golang.org/cl/240014: add Func + The new Func function + allows registering a flag implemented by calling a function, + as a lighter-weight alternative to implementing the + Value interface.

@@ -502,7 +505,8 @@ Do not send CLs removing the interior tags from such phrases.
io

- TODO: https://golang.org/cl/261577: add a new ReadSeekCloser interface + The package now defines a + ReadSeekCloser interface.

@@ -510,7 +514,8 @@ Do not send CLs removing the interior tags from such phrases.
log

- TODO: https://golang.org/cl/264460: expose std via new Default function + The new Default function + provides access to the default Logger.

@@ -518,7 +523,11 @@ Do not send CLs removing the interior tags from such phrases.
log/syslog

- TODO: https://golang.org/cl/264297: set local to true if network is any of "unix", or "unixgram" + The Writer + now uses the local message format + (omitting the host name and using a shorter time stamp) + when logging to custom Unix domain sockets, + matching the format already used for the default log socket.

@@ -526,7 +535,10 @@ Do not send CLs removing the interior tags from such phrases.
mime/multipart

- TODO: https://golang.org/cl/247477: return overflow errors in Reader.ReadForm + The Reader's + ReadForm + method no longer rejects form data + when passed the maximum int64 value as a limit.

@@ -550,7 +562,10 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://golang.org/cl/238629: prefer /etc/hosts over DNS when no /etc/nsswitch.conf is present + On Linux, host name lookups no longer use DNS before checking + /etc/hosts when /etc/nsswitch.conf + is missing; this is common on musl-based systems and makes + Go programs match the behavior of C programs on those systems.

@@ -590,11 +605,16 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://golang.org/cl/250039: set Content-Length:0 for empty PATCH requests as with POST, PATCH + The Client now sends + an explicit Content-Length: 0 + header in PATCH requests with empty bodies, + matching the existing behavior of POST and PUT.

- TODO: https://golang.org/cl/249440: match http scheme when selecting http_proxy + The ProxyFromEnvironment function + no longer returns the setting of the HTTP_PROXY environment + variable for https:// URLs when HTTPS_PROXY is unset.

@@ -602,7 +622,9 @@ Do not send CLs removing the interior tags from such phrases.
net/http/httputil

- TODO: https://golang.org/cl/260637: flush ReverseProxy immediately if Content-Length is -1 + The ReverseProxy + now flushes buffered data more aggressively when proxying + streamed responses with unknown body lengths.

@@ -610,7 +632,10 @@ Do not send CLs removing the interior tags from such phrases.
net/smtp

- TODO: https://golang.org/cl/247257: adds support for the SMTPUTF8 extension + The Client's + Mail + method now sends the SMTPUTF8 directive to + servers that support it, signaling that addresses are encoded in UTF-8.

@@ -629,7 +654,10 @@ Do not send CLs removing the interior tags from such phrases.
os/signal

- TODO: https://golang.org/cl/219640: add NotifyContext to cancel context using system signals + The new + NotifyContext + function allows creating contexts that are canceled upon arrival of + specific signals.

@@ -709,7 +737,11 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://golang.org/cl/210639: support POSIX semantics for Linux syscalls + On Linux, + Setgid, + Setuid, + and related calls are now implemented. + Previously, they returned an syscall.EOPNOTSUPP error.

-- 2.48.1