From 90a8b7361cf0d4f117af49fb9c72ec77c345298b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 14 Jun 2017 23:17:30 +0000 Subject: [PATCH] doc: add more Go 1.9 release notes Only one TODO remains, for pprof changes. Updates #20587 Change-Id: Ib67b23adc7851cc96455b0c20649c8e565a4f92a Reviewed-on: https://go-review.googlesource.com/45810 Reviewed-by: Ian Lance Taylor --- doc/go1.9.html | 75 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 27 deletions(-) diff --git a/doc/go1.9.html b/doc/go1.9.html index 8f33a046d3..2291053898 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -155,13 +155,6 @@ type T1 = T2 better generated code, and optimizations in the core library.

-

- TODO: There have been significant optimizations bringing more than 10% improvements - to implementations in the - encoding/gob, and ... - packages. -

-

Garbage Collector

@@ -357,6 +350,19 @@ type T1 = T2 +

encoding/csv
+
+

+ The new field + Reader.ReuseRecord + controls whether calls to + Read + may return a slice sharing the backing array of the previous + call's returned slice for improved performance. +

+ +
+
fmt

@@ -459,11 +465,17 @@ type T1 = T2

net

- TODO: https://golang.org/cl/32572: add Resolver.StrictErrors + The new + Resolver.StrictErrors + provides control over how Go's built-in DNS resolver handles + temporary errors during queries composed of multiple sub-queries, + such as an A+AAAA address lookup.

- TODO: https://golang.org/cl/37260: allow Resolver to use a custom dialer + The new + Resolver.Dial + allows a Resolver to use a custom dial function.

@@ -471,10 +483,6 @@ type T1 = T2 In previous releases it would also wrap addresses in square brackets if they contained a percent ('%') sign.

-

- TODO: https://golang.org/cl/40512: validate network in Dial{,IP} and Listen{Packet,IP} for IP networks -

-

The new methods TCPConn.SyscallConn, @@ -485,6 +493,13 @@ type T1 = T2 provide access to the connections' underlying file descriptors.

+

+ It is now safe to call Dial with the address obtained from + (*TCPListener).String() after creating the listener with + Listen("tcp", ":0"). + Previously it failed on some machines with half-configured IPv6 stacks. +

+
net/http
@@ -550,23 +565,13 @@ type T1 = T2
-
net/rpc
-
-

- TODO: https://golang.org/cl/38474: Create empty maps and slices as return type -

- -
-
os

- TODO: https://golang.org/cl/37915: parse command line without shell32.dll -

- -

- TODO: https://golang.org/cl/41830: do not report ModeDir for symlinks on windows -

+ On Windows, + Args + is now populated without shell32.dll, improving process start-up time by 1-7 ms. +

@@ -648,6 +653,16 @@ type T1 = T2
+
runtime/debug
+
+

+ Calling + SetGCPercent + with a negative value no longer runs an immediate garbage collection. +

+ +
+
runtime/trace

@@ -739,5 +754,11 @@ type T1 = T2 Retrieving the time and sleeping now work correctly under Wine.

+

+ The included tzdata timezone database has bene + updated to version 2017b. As always, it is only used if the + system does not already have the database available. +

+
-- 2.48.1