Commit 0ae5036b authored by Nigel Tao's avatar Nigel Tao

doc: add a "New packages" section to the 1.1 release notes.

R=adg, r
CC=golang-dev
https://golang.org/cl/9344044
parent 12ab08a8
...@@ -694,6 +694,36 @@ The old package <code>exp/norm</code> has also been moved, but to a new reposito ...@@ -694,6 +694,36 @@ The old package <code>exp/norm</code> has also been moved, but to a new reposito
be developed. be developed.
</p> </p>
<h3 id="new_packages">New packages</h3>
<p>
There are three new packages.
</p>
<ul>
<li>
The <a href="/pkg/go/format/"><code>go/format</code></a> package provides
a convenient way for a program to access the formatting capabilities of the
<a href="/cmd/go/#hdr-Run_gofmt_on_package_sources"><code>go fmt</code></a> command.
It has two functions,
<a href="/pkg/go/format/#Node"><code>Node</code></a> to format a Go parser
<a href="/pkg/go/ast/#Node"><code>Node</code></a>,
and
<a href="/pkg/go/format/#Source"><code>Source</code></a>
to reformat arbitrary Go source code into the standard format as provided by the
<a href="/cmd/go/#hdr-Run_gofmt_on_package_sources"><code>go fmt</code></a> command.
</li>
<li>
The <a href="/pkg/net/http/cookiejar/"><code>net/http/cookiejar</code></a> package provides the basics for managing HTTP cookies.
</li>
<li>
The <a href="/pkg/runtime/race/"><code>runtime/race</code></a> package provides low-level facilities for data race detection.
It is internal to the race detector and does not otherwise export any user-visible functionality.
</li>
</ul>
<h3 id="minor_library_changes">Minor changes to the library</h3> <h3 id="minor_library_changes">Minor changes to the library</h3>
<p> <p>
...@@ -796,17 +826,6 @@ information that the <a href="/cmd/godoc/"><code>godoc</code></a> ...@@ -796,17 +826,6 @@ information that the <a href="/cmd/godoc/"><code>godoc</code></a>
command can filter or present according to the value of the <code>-notes</code> flag. command can filter or present according to the value of the <code>-notes</code> flag.
</li> </li>
<li>
A new package, <a href="/pkg/go/format/"><code>go/format</code></a>, provides
a convenient way for a program to access the formatting capabilities of <code>gofmt</code>.
It has two functions,
<a href="/pkg/go/format/#Node"><code>Node</code></a> to format a Go parser
<a href="/pkg/go/ast/#Node"><code>Node</code></a>,
and
<a href="/pkg/go/format/#Source"><code>Source</code></a>
to format arbitrary Go source code.
</li>
<li> <li>
The undocumented and only partially implemented "noescape" feature of the The undocumented and only partially implemented "noescape" feature of the
<a href="/pkg/html/template/"><code>html/template</code></a> <a href="/pkg/html/template/"><code>html/template</code></a>
...@@ -943,10 +962,6 @@ a <a href="/pkg/net/http/#Response"><code>Response.Body</code></a> is closed bef ...@@ -943,10 +962,6 @@ a <a href="/pkg/net/http/#Response"><code>Response.Body</code></a> is closed bef
being fully consumed. being fully consumed.
</li> </li>
<li>
The new <a href="/pkg/net/http/cookiejar/"><code>net/http/cookiejar</code></a> package provides the basics for managing HTTP cookies.
</li>
<li> <li>
The <a href="/pkg/net/mail/"><code>net/mail</code></a> package has two new functions, The <a href="/pkg/net/mail/"><code>net/mail</code></a> package has two new functions,
<a href="/pkg/net/mail/#ParseAddress"><code>ParseAddress</code></a> and <a href="/pkg/net/mail/#ParseAddress"><code>ParseAddress</code></a> and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment