From f88a33aeac427b57a9acb4ecf6e26d7191ab60cc Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 22 Nov 2016 07:24:07 -0500 Subject: [PATCH] doc: go1.8.html updates from Joe Tsai Updates #17929 Change-Id: Ibc711d39d9ff83458d213778117493796b678aa7 Reviewed-on: https://go-review.googlesource.com/33437 Reviewed-by: Brad Fitzpatrick --- doc/go1.8.html | 80 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 70 insertions(+), 10 deletions(-) diff --git a/doc/go1.8.html b/doc/go1.8.html index ef13825a89..79f2605209 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -163,6 +163,20 @@ is unchanged, but there are a number of changes worth noting. A new “go bug” command helps users file bug reports.

+

Go doc

+ +

+ The “go doc” command + now groups constants and variables with their type, + following the behavior of + godoc. +

+ +

+ In order to improve the readability of the doc's + output, each summary of the first-level items is guaranteed to + occupy a single line. +

Performance

@@ -255,16 +269,62 @@ made with the Go 1 promise of compatibility in mind.

-
foo
+
archive/tar
+
-
-

-

-
+

+ The tar implementation corrects many bugs in corner cases of the file format. + The Reader is now able to process tar files in the PAX format with entries larger than 8GB. + The Writer no longer produces invalid tar files in some situations involving long pathnames. +

+ + +
+ + +
compress/flate
+
+ +

+ There have been some minor fixes to the encoder to improve the + compression ratio in certain situations. As a result, the exact + encoded output of DEFLATE may be different from Go 1.7. Since + DEFLATE is the underlying compression of gzip, ping, zlib, and zip, + those formats may have changed outputs. +

+ +

+ The encoder, when operating in + NoCompression + mode, now produces a consistent output that is not dependent on + the size of the input buffer to the + Write + method. +

+ +
+
+ + +
compress/gzip
+
+ +

+ The Writer + now encodes a zero MTIME field when + the Header.ModTime + field is the zero value. + + In previous releases of Go, the Writer would encode + a non-sensible value. + + Similarly, + the Reader + now updates the Header.ModTime field only if the + encoded MTIME field is non-zero. +

+ +
+
-
bar
-
-

-

-