diff options
author | Andrew <andybons@golang.org> | 2020-08-11 11:03:03 -0400 |
---|---|---|
committer | Andrew Bonventre <andybons@golang.org> | 2020-08-11 17:05:57 +0000 |
commit | cbc69e89b17188b3633bafa9d6e6c44f7f1a2ec0 (patch) | |
tree | 7808aa129ba880f9b8b85b5efc51d1d1f5bc7aa8 /doc | |
parent | c4f8cb43caf0bcd0c730d7d04a3fce129393cecc (diff) | |
download | go-cbc69e89b17188b3633bafa9d6e6c44f7f1a2ec0.tar.gz go-cbc69e89b17188b3633bafa9d6e6c44f7f1a2ec0.zip |
[release-branch.go1.15] all: merge master into release-branch.go1.15
5c7748dc9d doc/go1.15: encoding/json's CL 191783 was reverted
5ff5b3c557 doc/go1.15: remove draft notice
5ae1d62ee3 CONTRIBUTORS: update for the Go 1.15 release
7ad776dda5 doc/go1.15: document crypto/tls permanent error
a93a4c1780 runtime: make nanotime1 reentrant
Updates #40697
Change-Id: Ie39896ee6304544cc9e9c1938bdf176f1dcf8766
Reviewed-on: https://go-review.googlesource.com/c/go/+/247900
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.15.html | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html index 17e442d4c6..8872d71138 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -14,13 +14,21 @@ Do not send CLs removing the interior tags from such phrases. main ul li { margin: 0.5em 0; } </style> -<h2 id="introduction">DRAFT RELEASE NOTES — Introduction to Go 1.15</h2> +<h2 id="introduction">Introduction to Go 1.15</h2> <p> - <strong> - Go 1.15 is not yet released. These are work-in-progress - release notes. Go 1.15 is expected to be released in August 2020. - </strong> + The latest Go release, version 1.15, arrives six months after <a href="go1.14">Go 1.14</a>. + Most of its changes are in the implementation of the toolchain, runtime, and libraries. + As always, the release maintains the Go 1 <a href="/doc/go1compat.html">promise of compatibility</a>. + We expect almost all Go programs to continue to compile and run as before. +</p> + +<p> + Go 1.15 includes <a href="#linker">substantial improvements to the linker</a>, + improves <a href="#runtime">allocation for small objects at high core counts</a>, and + deprecates <a href="#commonname">X.509 CommonName</a>. + <code>GOPROXY</code> now supports skipping proxies that return errors and + a new <a href="#time/tzdata">embedded tzdata package</a> has been added. </p> <h2 id="language">Changes to the language</h2> @@ -524,6 +532,17 @@ Do not send CLs removing the interior tags from such phrases. fields <code>OCSPResponse</code> and <code>SignedCertificateTimestamps</code> are now repopulated on client-side resumed connections. </p> + + <p><!-- CL 227840 --> + <a href="/pkg/crypto/tls/#Conn"><code>tls.Conn</code></a> + now returns an opaque error on permanently broken connections, wrapping + the temporary + <a href="/pkg/net/http/#Error"><code>net.Error</code></a>. To access the + original <code>net.Error</code>, use + <a href="/pkg/errors/#As"><code>errors.As</code></a> (or + <a href="/pkg/errors/#Unwrap"><code>errors.Unwrap</code></a>) instead of a + type assertion. + </p> </dd> </dl><!-- crypto/tls --> @@ -638,11 +657,6 @@ Do not send CLs removing the interior tags from such phrases. <dl id="encoding/json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt> <dd> - <p><!-- CL 191783 --> - Decoding a JSON array into a slice no longer reuses any existing slice elements, - following the rules that the package documentation already stated. - </p> - <p><!-- CL 199837 --> The package now has an internal limit to the maximum depth of nesting when decoding. This reduces the possibility that a |