diff --git a/doc/go1.8.html b/doc/go1.8.html index a88af0c077ffd..9a33cee68d6e0 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -33,7 +33,6 @@

DRAFT RELEASE NOTES - Introduction to Go 1.8

The release adds support for 32-bit MIPS, updates the compiler back end to generate more efficient code, -produces smaller binaries (TODO: link/numbers), reduces GC pauses by eliminating stop-the-world stack rescanning, adds HTTP/2 Push support, adds HTTP graceful shutdown, @@ -268,6 +267,7 @@

Garbage Collector

Defer

+

defer calls are now about twice as fast.

Cgo

@@ -327,7 +327,7 @@

Minor changes to the library

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. @@ -336,11 +336,24 @@

Minor changes to the library

+
archive/zip
+
+ +

+ The zip Reader now supports modification times in + the NTFS, UNIX, and Extended Time Stamp metadata fields. + + When writing zip files, the Extended Time Stamp field is written + if TODO: validate implementation. +

+ +
+
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 @@ -357,6 +370,11 @@

Minor changes to the library

method.

+

+ The decoder, upon encountering an error, now returns any + buffered data it had uncompressed along with the error. +

+
@@ -393,7 +411,33 @@

Minor changes to the library

-
encoding/binary
+
debug/pe
+
+

+ TODO: describe Issue 15345 and CL 22181, CL 22332, CL 22336 +

pkg debug/pe, method (*COFFSymbol) FullName(StringTable) (string, error)
+pkg debug/pe, method (StringTable) String(uint32) (string, error)
+pkg debug/pe, type File struct, COFFSymbols []COFFSymbol
+pkg debug/pe, type File struct, StringTable StringTable
+pkg debug/pe, type Reloc struct
+pkg debug/pe, type Reloc struct, SymbolTableIndex uint32
+pkg debug/pe, type Reloc struct, Type uint16
+pkg debug/pe, type Reloc struct, VirtualAddress uint32
+pkg debug/pe, type Section struct, Relocs []Reloc
+pkg debug/pe, type StringTable []uint8
+

+
+
+ +
encoding/base64
+
+

+ The new Encoding.Strict method returns an Encoding that causes the decoder to return an error when the trailing padding bits are not zero. +

+
+
+ +
encoding/binary

The package now supports boolean values. @@ -403,6 +447,46 @@

Minor changes to the library

+
encoding/json
+
+ +

+ UnmarshalTypeError + now includes the struct and field name. +

+ +

+ A nil Marshaler + now marshals as a JSON "null" value. +

+ +

+ A RawMessage value now + marshals the same as its pointer type. +

+ +

+ Numbers are now formatted in the same floating point format as they are in ES6. +

+ +

+ Implementations + of Unmarshaler + are now called with the literal "null" and can + decide what to do with it. +

+ +
+
+ +
encoding/pem
+
+

+ The PEM decoder is now strict about the format of the ending line. +

+
+
+
expvar

@@ -423,6 +507,7 @@

Minor changes to the library

+
image/png

@@ -512,7 +597,8 @@

Minor changes to the library

PathEscape and PathUnescape - deal with path escaping.

+ are similar to the query escaping and unescaping functions but + don't treat spaces specially.

The new methods URL.Hostname @@ -581,6 +667,12 @@

Minor changes to the library

addition to days that are too large.

+

+ The tzdata database has been updated to version + 2016i for systems that don't already have a local time zone + database. +

+

diff --git a/doc/go1.8.txt b/doc/go1.8.txt index 65fe180d27da4..588d56d5e029c 100644 --- a/doc/go1.8.txt +++ b/doc/go1.8.txt @@ -13,16 +13,6 @@ go: can set secure/insecure GIT schemes using GIT_ALLOW_PROTOCOL env var (CL 301 API additions and behavior changes: -archive/tar: fix and cleanup readOldGNUSparseMap (CL 28471) -archive/tar: fix parsePAX to be POSIX.1-2001 compliant (CL 31440) -archive/tar: fix parsePAXTime (CL 31441) -archive/tar: make Reader handle GNU format properly (CL 31444) -archive/tar: reapply Header.Size to regFileReader after merging (CL 28418) -archive/tar: validate sparse headers in parsePAX (CL 31439) - -archive/zip: handle mtime in NTFS/UNIX/ExtendedTS extra fields (CL 18274) -archive/zip: only use Extended Timestamp on non-zero MS-DOS timestamps (CL 30811) - cmd/cgo: add #line directives to avoid printing bogus references to Go source files (CL 32613) cmd/cgo: add -srcdir option (CL 32354) cmd/cgo: don't ignore qualifiers, don't cast to void* (CL 33097) @@ -34,16 +24,10 @@ cmd/compile, runtime: add go:yeswritebarrierrec pragma (CL 30938) cmd/compile/internal/gc: add runtime/trace support (CL 25354) cmd/compile/internal/gc: enable new parser by default (CL 27203) cmd/compile/internal/syntax: fast Go syntax trees, initial commit (CL 27195) -cmd/compile: add SSA backend for s390x and enable by default (CL 28978) cmd/compile: add compiler phase timing (CL 24462) -cmd/compile: add go:notinheap type pragma (CL 30939) cmd/compile: add inline explainer (CL 22782) -cmd/compile: do more type conversion inline (CL 32313) cmd/compile: enable flag-specified dump of specific phase+function (CL 23044) -cmd/compile: fail gracefully on export format skew (CL 27814) -cmd/compile: inline convI2E (CL 31260) cmd/compile: remove -A flag (CL 31497) -cmd/compile: remove support for textual export format (CL 27171) cmd/cover: Fix compiler directives handling (CL 30161) cmd/cover: change covered block for switch/select case to exclude expression (CL 32612) @@ -105,15 +89,7 @@ cmd/vet: improve asmdecl parameter handling (CL 27150) cmd/vet: properly handle indexed arguments in printf (CL 24391) cmd/vet: skip printf check for non-constant format string during failed import (CL 29014) -compress/flate: always return uncompressed data in the event of error (CL 28216) -compress/flate: level 1 (best speed) match across blocks (CL 31640) -compress/flate: make compression level 0 consistent (CL 31174) -compress/flate: tighten the BestSpeed max match offset bound. (CL 32149) -compress/gzip, compress/zlib: add HuffmanOnly as compression levels. (CL 31186) -compress/gzip: only encode MTIME if it is valid (CL 32325) - crypto/cipher: enforce message size limits for GCM (CL 28410) -crypto/rsa: ensure that generating toy RSA keys doesn't loop (CL 28969) crypto/tls: add CloseWrite method to Conn (CL 25159, 31318) crypto/tls: add Config.Clone (CL 28075) @@ -132,6 +108,7 @@ crypto/tls: set Conn.ConnectionState.ServerName unconditionally (CL 22862) crypto/tls: support AES-128-CBC cipher suites with SHA-256 (CL 27315) crypto/tls: support ChaCha20-Poly1305. (CL 30957) crypto/tls: support X25519 (CL 30824, CL 30825) +crypto/{tls,cipher,internal/cryptohw}: prioritise AES-GCM when hardware support is present. (CL 32871) crypto/x509: Fix bug in UnknownAuthorityError.Error (CL 27992) crypto/x509: allow a leaf certificate to be specified directly as root (CL 27393) @@ -148,8 +125,6 @@ crypto/x509: return error for missing SerialNumber (CL 27238) crypto/x509: support PSS signatures (CL 24743) crypto/x509: support RHEL 7 cert bundle (CL 30375) -crypto/{cipher,tls,internal/cryptohw}: prioritise AES-GCM when hardware support is present. (CL 32871) - database/sql: accept nil pointers to Valuers implemented on value receivers (CL 31259) database/sql: add Pinger interface to driver Conn (CL 32136) database/sql: add context helper methods and transaction types (CL 31258) @@ -159,32 +134,20 @@ database/sql: add support for multiple result sets (CL 30592) database/sql: don't hang if the driver Exec method panics (CL 23576) database/sql: support returning query database types (CL 29961) -debug/elf: add sparc64 relocations (CL 30870) -debug/pe: revert CL 22720 (CL 27212) encoding/asn1: return error for unexported fields in Marshal, Unmarshal (CL 31540) -encoding/base64: add Encoding.Strict (CL 24964) - -encoding/json: add struct and field name to UnmarshalTypeError message (CL 18692) -encoding/json: encode nil Marshaler as "null" (CL 31932) -encoding/json: fix decoding of null into Unmarshaler, TextUnmarshaler (CL 30944) -encoding/json: marshal the RawMessage value type the same as its pointer type (CL 21811) -encoding/json: use standard ES6 formatting for numbers during marshal (CL 30371) - -encoding/pem: be stricter about the ending line (CL 27391) - encoding/xml: add wildcard support for collecting all attributes (CL 30946) encoding/xml: prevent omitempty from omitting non-nil pointers to empty values (CL 15684) -flag: arrange for FlagSet.Usage to be non-nil by default (CL 31576) fmt: document and adjust Scanf space handling to eliminate a few paradoxes (CL 30611) go/build: allow % in ${SRCDIR} expansion for Jenkins (CL 31611) go/build: do not record go:binary-only-package if build tags not satisfied (CL 31577) go/build: implement default GOPATH (CL 32019) + go/doc: add IsPredeclared function (CL 29870) go/doc: allow ToHTML to properly handle URLs containing semicolons (CL 25385) -go/internal/gcimporter: fail gracefully on export format skew (CL 27816) + go/printer: don't drop required semi/linebreak after /*-comment (CL 33016) go/token: fix race in FileSet.PositionFor. (CL 25345) go/types: expose Default function, which converts untyped T to T (CL 30715) @@ -194,16 +157,12 @@ html/template: check "type" attribute in