diff options
author | Nigel Tao <nigeltao@golang.org> | 2014-11-11 16:06:47 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2014-11-11 16:06:47 +1100 |
commit | 9e377ed8636febfddaa35dbe83ef75ad2273f446 (patch) | |
tree | 8e23c0deacec25579d6a92b907bd70ebd4c4373d /doc/go1.4.html | |
parent | 053d5a0a22df5bbb551e3e23a9693b6c305239f1 (diff) | |
download | go-9e377ed8636febfddaa35dbe83ef75ad2273f446.tar.gz |
doc: update go1.4.html's minor library changes.
LGTM=r
R=r
CC=golang-codereviews
https://codereview.appspot.com/173920043
Diffstat (limited to 'doc/go1.4.html')
-rw-r--r-- | doc/go1.4.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/go1.4.html b/doc/go1.4.html index ac63ade60..d96440708 100644 --- a/doc/go1.4.html +++ b/doc/go1.4.html @@ -638,11 +638,28 @@ See the relevant package documentation for more information about each change. <ul> <li> +The <a href="/pkg/archive/zip/"><code>archive/zip</code></a> package's +<a href="/pkg/archive/zip/#Writer"><code>Writer</code></a> now supports a +<a href="/pkg/archive/zip/#Writer.Flush"><code>Flush</code></a> method. +</li> + +<li> The <a href="/pkg/compress/flate/"><code>compress/flate</code></a>, <a href="/pkg/compress/gzip/"><code>compress/gzip</code></a>, and <a href="/pkg/compress/zlib/"><code>compress/zlib</code></a> packages now support a <code>Reset</code> method for the decompressors, allowing them to reuse buffers and improve performance. +The <a href="/pkg/compress/gzip/"><code>compress/gzip</code></a> package also has a +<a href="/pkg/compress/gzip/#Reader.Multistream"><code>Multistream</code></a> method to control support +for multistream files. +</li> + +<li> +The <a href="/pkg/crypto/"><code>crypto</code></a> package now has a +<a href="/pkg/crypto/#Signer"><code>Signer</code></a> interface, implemented by the +<code>PrivateKey</code> types in +<a href="/pkg/crypto/ecdsa"><code>crypto/ecdsa</code></a> and +<a href="/pkg/crypto/rsa"><code>crypto/rsa</code></a>. </li> <li> @@ -666,6 +683,16 @@ those attacks.) </li> <li> +The <a href="/pkg/database/sql/"><code>database/sql</code></a> package can now list all registered +<a href="/pkg/database/sql/#Drivers"><code>Drivers</code></a>. +</li> + +<li> +The <a href="/pkg/debug/dwarf/"><code>debug/dwarf</code></a> package now supports +<a href="/pkg/debug/dwarf/#UnspecifiedType"><code>UnspecifiedType</code></a>s. +</li> + +<li> In the <a href="/pkg/encoding/asn1/"><code>encoding/asn1</code></a> package, optional elements with a default value will now only be omitted if they have that value. </li> @@ -686,6 +713,11 @@ There is no functional change. </li> <li> +The <a href="/pkg/encoding/xml/"><code>encoding/xml</code></a> package's +<a href="/pkg/encoding/xml/#Decoder"><code>Decoder</code></a> can now report its input offset. +</li> + +<li> In the <a href="/pkg/fmt/"><code>fmt</code></a> package, formatting of pointers to maps has changed to be consistent with that of pointers to structs, arrays, and so on. @@ -694,6 +726,28 @@ For instance, <code>&map[string]int{"one":</code> <code>1}</code> now prints </li> <li> +The <a href="/pkg/image/"><code>image</code></a> package's +<a href="/pkg/image/#Image"><code>Image</code></a> +implementations like +<a href="/pkg/image/#RGBA"><code>RGBA</code></a> and +<a href="/pkg/image/#Gray"><code>Gray</code></a> have specialized +<a href="/pkg/image/#RGBA.RGBAAt"><code>RGBAAt</code></a> and +<a href="/pkg/image/#Gray.GrayAt"><code>GrayAt</code></a> methods alongside the general +<a href="/pkg/image/#Image.At"><code>At</code></a> method. +</li> + +<li> +The <a href="/pkg/image/png/"><code>image/png</code></a> package now has an +<a href="/pkg/image/png/#Encoder"><code>Encoder</code></a> +type to control the compression level used for encoding. +</li> + +<li> +The <a href="/pkg/math/"><code>math</code></a> package now has a +<a href="/pkg/math/#Nextafter32"><code>Nextafter32</code><a/> function. +</li> + +<li> The <a href="/pkg/net/http/"><code>net/http</code></a> package's <a href="/pkg/net/http/#Request"><code>Request</code></a> type has a new <a href="/pkg/net/http/#Request.BasicAuth"><code>BasicAuth</code></a> method @@ -721,6 +775,7 @@ The <a href="/pkg/os/"><code>os</code></a> package now implements symbolic links on the Windows operating system through the <a href="/pkg/os/#Symlink"><code>Symlink</code></a> function. Other operating systems already have this functionality. +There is also a new <a href="/pkg/os/#Unsetenv"><code>Unsetenv</code></a> function. </li> <li> |