diff --git a/doc/go1.4.html b/doc/go1.4.html index 7e670c47cb..9fa86c31ae 100644 --- a/doc/go1.4.html +++ b/doc/go1.4.html @@ -487,6 +487,16 @@ need to know about the new location. All tools and services maintained by the Go have been updated.
+ ++Due to the runtime changes in this release, Go 1.4 will require SWIG 3.0.3. +At time of writing that has not yet been released, but we expect it to be by +Go 1.4's release date. +TODO +
+@@ -549,7 +559,7 @@ TODO major changes
-encoding/gob: remove unsafe (CL 102680045) +bufio: handling of empty tokens at EOF changed, may require scanner change (CL 145390043) syscall: now frozen (CL 129820043); go.sys subrepo created: http://golang.org/s/go1.4-syscall@@ -562,37 +572,131 @@ See the relevant package documentation for more information about each change.
compress/flate,
+compress/gzip,
+and compress/zlib
+packages now support a Reset method
+for the decompressors, allowing them to reuse buffers and improve performance.
crypto/tls package
+now supports APLN as defined in RFC 7301.
+crypto/tls package
+now supports programmatic selection of server certificates
+through the new CertificateForName function
+of the Config struct.
+crypto/tls package,
+the server now supports
+TLS_FALLBACK_SCSV
+to help clients detect fallback attacks like
+POODLE.
+(The crypto/tls package's client has never supported SSLv3, so it is not
+vulnerable to the POODLE attack.)
+encoding/asn1 package,
+optional elements with a default value will now only be omitted if they have that value.
+encoding/csv package no longer
+quotes empty strings but does quote the end-of-data marker \. (backslash dot).
+This is permitted by the definition of CSV and allows it to work better with Postgres.
+encoding/gob package has been rewritten to eliminate
+the use of unsafe operations, allowing it to be used in environments that do not permit use of the
+unsafe package.
+For typical uses it will be 10-30% slower, but the delta is dependent on the type of the data and
+in some cases, especially involving arrays, it can be faster.
+There is no functional change.
+fmt package,
+formatting of pointers to maps has changed to be consistent with that of pointers
+to structs, arrays, and so on.
+For instance, &map[string]int{"one": 1} now prints by default as
+&map[one: 1] rather than as a hexadecimal pointer value.
+os package
+now implements symbolic links on the Windows operating system
+through the Symlink function.
+Other operating systems already have this functionality.
+reflect package's
+Type interface
+has a new method, Comparable,
+that reports whether the type implements general comparisons.
+reflect package, the
+Value interface is now three instead of four words
+because of changes to the implementation of interfaces in the runtime.
+This saves memory but has no semantic effect.
+text/scanner package's
+Scanner type
+has a new function,
+IsIdentRune,
+allowing one to control the definition of an identifier when scanning.
+text/template package's boolean
+functions eq, lt, and so on have been generalized to allow comparison
+of signed and unsigned integers, simplifying their use in practice.
+(Previously one could only compare values of the same signedness.)
+All negative values compare less than all unsigned values.
+time package now uses the standard symbol for the micro prefix,
+the micro symbol (U+00B5 'µ'), to print microsecond durations.
+ParseDuration still accepts us
+but the package no longer prints microseconds as us.
+- -cmd/6l, liblink: use pc-relative addressing for all memory references, so that linking Go binaries at high addresses works (CL 125140043). This cuts the maximum size of a Go binary's text+data+bss from 4GB to 2GB. - -bufio: handling of empty tokens at EOF changed, may require scanner change (CL 145390043) -compress/flate, compress/gzip, compress/zlib: Reset support (https://codereview.appspot.com/97140043) -crypto/tls: add support for ALPN (RFC 7301) (CL 108710046) -crypto/tls: support programmatic selection of server certificates (CL 107400043) -encoding/asn1: optional elements with a default value will now only be omitted if they have that value (CL 86960045) -fmt: print type *map[T]T as &map[k:v] (CL 154870043) -encoding/csv: do not quote empty strings, quote \. (CL 164760043) -net/http: add Request.BasicAuth method (CL 76540043) -net/http: add Transport.DialTLS hook (CL 137940043) -net/http/httputil: add ReverseProxy.ErrorLog (CL 132750043) -os: implement symlink support for windows (CL 86160044) -reflect: add type.Comparable (CL 144020043) -reflect: Value is one word smaller -runtime: implement monotonic clocks on windows (CL 108700045) -runtime: MemStats.Mallocs now counts very small allocations missed in Go 1.3. This may break tests using runtime.ReadMemStats or testing.AllocsPerRun by giving a more accurate answer than Go 1.3 did (CL 143150043). -runtime/race: freebsd is supported (CL 107270043) -runtime: add PauseEnd array to MemStats and GCStats (CL 153670043) -swig: Due to runtime changes Go 1.4 will require SWIG 3.0.3 (not yet released) -sync/atomic: add Value (CL 136710045) -syscall: Setuid, Setgid are disabled on linux platforms. On linux those syscalls operate on the calling thread, not the whole process. This does not match the semantics of other platforms, nor the expectations of the caller, so the operations have been disabled until issue 1435 is resolved (CL 106170043) -testing: add Coverage (CL 98150043) -testing: add TestMain support (CL 148770043) -text/scanner: add IsIdentRune field of Scanner. (CL 108030044) -text/template: allow comparison of signed and unsigned integers (CL 149780043) -time: use the micro symbol (µ (U+00B5)) to print microsecond duration (CL 105030046) -