Commit ee198df4 authored by Ian Lance Taylor's avatar Ian Lance Taylor

doc: update go1.11 release notes

Change-Id: I806d411c075cdc66322112b6ee5e50f58462bc6b
Reviewed-on: https://go-review.googlesource.com/124776Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 798f74b9
...@@ -453,7 +453,8 @@ for k := range m { ...@@ -453,7 +453,8 @@ for k := range m {
<dl id="debug/elf"><dt><a href="/pkg/debug/elf/">debug/elf</a></dt> <dl id="debug/elf"><dt><a href="/pkg/debug/elf/">debug/elf</a></dt>
<dd> <dd>
<p><!-- CL 112115 --> <p><!-- CL 112115 -->
TODO: <a href="https://golang.org/cl/112115">https://golang.org/cl/112115</a>: add machine and OSABI constants More <code>ELFOSABI</code> and <code>EM</code> constants have
been added.
</p> </p>
</dl><!-- debug/elf --> </dl><!-- debug/elf -->
...@@ -469,7 +470,10 @@ for k := range m { ...@@ -469,7 +470,10 @@ for k := range m {
<dl id="encoding/base32"><dt><a href="/pkg/encoding/base32/">encoding/base32</a></dt> <dl id="encoding/base32"><dt><a href="/pkg/encoding/base32/">encoding/base32</a></dt>
<dd> <dd>
<p><!-- CL 112516 --> <p><!-- CL 112516 -->
TODO: <a href="https://golang.org/cl/112516">https://golang.org/cl/112516</a>: handle surplus padding consistently The decoder now consistently
returns <code>io.ErrUnexpectedEOF</code> for an incomplete
chunk. Previously it would return <code>io.EOF</code> in some
cases.
</p> </p>
</dl><!-- encoding/base32 --> </dl><!-- encoding/base32 -->
...@@ -477,7 +481,9 @@ for k := range m { ...@@ -477,7 +481,9 @@ for k := range m {
<dl id="encoding/csv"><dt><a href="/pkg/encoding/csv/">encoding/csv</a></dt> <dl id="encoding/csv"><dt><a href="/pkg/encoding/csv/">encoding/csv</a></dt>
<dd> <dd>
<p><!-- CL 99696 --> <p><!-- CL 99696 -->
TODO: <a href="https://golang.org/cl/99696">https://golang.org/cl/99696</a>: disallow quote for use as Comma The <code>Reader</code> now rejects attempts to set
the <code>Comma</code> field to a double-quote character, as
double-quote characters already have a special meaning in CSV.
</p> </p>
</dl><!-- encoding/csv --> </dl><!-- encoding/csv -->
...@@ -485,7 +491,11 @@ for k := range m { ...@@ -485,7 +491,11 @@ for k := range m {
<dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt> <dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt>
<dd> <dd>
<p><!-- CL 100235 --> <p><!-- CL 100235 -->
TODO: <a href="https://golang.org/cl/100235">https://golang.org/cl/100235</a>: report errors for incorrect line directives The package no longer modifies filenames in <code>//line</code>
directives when recording position information or reporting
errors. Previously the package would change relative paths
in <code>//line</code> directives to absolute paths by
prepending the source file directory.
</p> </p>
</dl><!-- go/scanner --> </dl><!-- go/scanner -->
...@@ -493,7 +503,12 @@ for k := range m { ...@@ -493,7 +503,12 @@ for k := range m {
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt> <dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
<dd> <dd>
<p><!-- CL 121815 --> <p><!-- CL 121815 -->
TODO: <a href="https://golang.org/cl/121815">https://golang.org/cl/121815</a>: ignore untyped nil arguments to default escapers The package has changed its behavior when a typed interface
value is passed to an implicit escaper function. Previously such
a value was written out as (an escaped form)
of <code>&lt;nil&gt;</code>. Now such values are ignored, just
as an untyped <code>nil</code> value is (and always has been)
ignored.
</p> </p>
</dl><!-- html/template --> </dl><!-- html/template -->
...@@ -769,10 +784,9 @@ for k := range m { ...@@ -769,10 +784,9 @@ for k := range m {
</p> </p>
<p><!-- CL 95215 --> <p><!-- CL 95215 -->
In previous versions, passing an untyped nil to a template function In previous versions untyped <code>nil</code> values passed to
would result in an incorrect error stating that the function was missing an argument. template functions were ignored. They are now passed as normal
Errors resulting from untyped nil values being passed to template-evaluated functions arguments.
are now properly reported.
</p> </p>
</dl><!-- text/template --> </dl><!-- text/template -->
......
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