From 90a8b7361cf0d4f117af49fb9c72ec77c345298b Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick
- TODO: There have been significant optimizations bringing more than 10% improvements
- to implementations in the
- encoding/gob
, and ...
- packages.
-
@@ -357,6 +350,19 @@ type T1 = T2 +
+ 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.
+
@@ -459,11 +465,17 @@ type T1 = T2
- 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.
+
- TODO: https://golang.org/cl/38474: Create empty maps and slices as return type -
- -- 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.
+
+ Calling
+ SetGCPercent
+ with a negative value no longer runs an immediate garbage collection.
+
@@ -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.
+