mirror of
https://github.com/golang/go
synced 2024-11-23 03:20:03 -07:00
doc: remove Release History pages (moved to x/website)
These pages were moved to the x/website repo in CL 210797 (commit golang/website@9aef1eefbb). Remove the old copies in this repo since they're no longer used. Updates #36075 Updates #29206 Change-Id: I6e3ffaebd92fa753cb5f3b21e4238edfb7f5f0e8 Reviewed-on: https://go-review.googlesource.com/c/go/+/210798 Reviewed-by: Alexander Rakoczy <alex@golang.org>
This commit is contained in:
parent
9c8c27a318
commit
9641acd653
@ -1,455 +0,0 @@
|
|||||||
<!--{
|
|
||||||
"Title": "Pre-Go 1 Release History"
|
|
||||||
}-->
|
|
||||||
|
|
||||||
<p>
|
|
||||||
This page summarizes the changes between stable releases of Go prior to Go 1.
|
|
||||||
See the <a href="release.html">Release History</a> page for notes on recent releases.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="r60">r60 (released 2011/09/07)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The r60 release corresponds to
|
|
||||||
<code><a href="weekly.html#2011-08-17">weekly.2011-08-17</a></code>.
|
|
||||||
This section highlights the most significant changes in this release.
|
|
||||||
For a more detailed summary, see the
|
|
||||||
<a href="weekly.html#2011-08-17">weekly release notes</a>.
|
|
||||||
For complete information, see the
|
|
||||||
<a href="//code.google.com/p/go/source/list?r=release-branch.r60">Mercurial change list</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r60.lang">Language</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
An "else" block is now required to have braces except if the body of the "else"
|
|
||||||
is another "if". Since gofmt always puts those braces in anyway,
|
|
||||||
gofmt-formatted programs will not be affected.
|
|
||||||
To fix other programs, run gofmt.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r60.pkg">Packages</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/http/">Package http</a>'s URL parsing and query escaping code
|
|
||||||
(such as <code>ParseURL</code> and <code>URLEscape</code>) has been moved to
|
|
||||||
the new <a href="/pkg/url/">url package</a>, with several simplifications to
|
|
||||||
the names. Client code can be updated automatically with gofix.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/image/">Package image</a> has had significant changes made to the
|
|
||||||
<code>Pix</code> field of struct types such as
|
|
||||||
<a href="/pkg/image/#RGBA">image.RGBA</a> and
|
|
||||||
<a href="/pkg/image/#NRGBA">image.NRGBA</a>.
|
|
||||||
The <a href="/pkg/image/#Image">image.Image</a> interface type has not changed,
|
|
||||||
though, and you should not need to change your code if you don't explicitly
|
|
||||||
refer to <code>Pix</code> fields. For example, if you decode a number of images
|
|
||||||
using the <a href="/pkg/image/jpeg/">image/jpeg</a> package, compose them using
|
|
||||||
<a href="/pkg/image/draw/">image/draw</a>, and then encode the result using
|
|
||||||
<a href="/pkg/img/png">image/png</a>, then your code should still work as
|
|
||||||
before.
|
|
||||||
If your code <i>does</i> refer to <code>Pix</code> fields see the
|
|
||||||
<a href="/doc/devel/weekly.html#2011-07-19">weekly.2011-07-19</a>
|
|
||||||
snapshot notes for how to update your code.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/template/">Package template</a> has been replaced with a new
|
|
||||||
templating package (formerly <code>exp/template</code>). The original template
|
|
||||||
package is still available as <a href="/pkg/old/template/">old/template</a>.
|
|
||||||
The <code>old/template</code> package is deprecated and will be removed.
|
|
||||||
The Go tree has been updated to use the new template package. We encourage
|
|
||||||
users of the old template package to switch to the new one. Code that uses
|
|
||||||
<code>template</code> or <code>exp/template</code> will need to change its
|
|
||||||
import lines to <code>"old/template"</code> or <code>"template"</code>,
|
|
||||||
respectively.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r60.cmd">Tools</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/cmd/goinstall/">Goinstall</a> now uses a new tag selection scheme.
|
|
||||||
When downloading or updating, goinstall looks for a tag or branch with the
|
|
||||||
<code>"go."</code> prefix that corresponds to the local Go version. For Go
|
|
||||||
<code>release.r58</code> it looks for <code>go.r58</code>. For
|
|
||||||
<code>weekly.2011-06-03</code> it looks for <code>go.weekly.2011-06-03</code>.
|
|
||||||
If the specific <code>go.X</code> tag or branch is not found, it chooses the
|
|
||||||
closest earlier version. If an appropriate tag or branch is found, goinstall
|
|
||||||
uses that version of the code. Otherwise it uses the default version selected
|
|
||||||
by the version control system. Library authors are encouraged to use the
|
|
||||||
appropriate tag or branch names in their repositories to make their libraries
|
|
||||||
more accessible.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r60.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
r60.1 includes a
|
|
||||||
<a href="//golang.org/change/1824581bf62d">linker
|
|
||||||
fix</a>, a pair of
|
|
||||||
<a href="//golang.org/change/9ef4429c2c64">goplay</a>
|
|
||||||
<a href="//golang.org/change/d42ed8c3098e">fixes</a>,
|
|
||||||
and a <code>json</code> package
|
|
||||||
<a href="//golang.org/change/d5e97874fe84">fix</a> and
|
|
||||||
a new
|
|
||||||
<a href="//golang.org/change/4f0e6269213f">struct tag
|
|
||||||
option</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
r60.2
|
|
||||||
<a href="//golang.org/change/ff19536042ac">fixes</a>
|
|
||||||
a memory leak involving maps.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
r60.3 fixes a
|
|
||||||
<a href="//golang.org/change/01fa62f5e4e5">reflect bug</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="r59">r59 (released 2011/08/01)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The r59 release corresponds to
|
|
||||||
<code><a href="weekly.html#2011-07-07">weekly.2011-07-07</a></code>.
|
|
||||||
This section highlights the most significant changes in this release.
|
|
||||||
For a more detailed summary, see the
|
|
||||||
<a href="weekly.html#2011-07-07">weekly release notes</a>.
|
|
||||||
For complete information, see the
|
|
||||||
<a href="//code.google.com/p/go/source/list?r=release-branch.r59">Mercurial change list</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r59.lang">Language</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
This release includes a language change that restricts the use of
|
|
||||||
<code>goto</code>. In essence, a <code>goto</code> statement outside a block
|
|
||||||
cannot jump to a label inside that block. Your code may require changes if it
|
|
||||||
uses <code>goto</code>.
|
|
||||||
See <a href="//golang.org/change/dc6d3cf9279d">this
|
|
||||||
changeset</a> for how the new rule affected the Go tree.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r59.pkg">Packages</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
As usual, <a href="/cmd/gofix/">gofix</a> will handle the bulk of the rewrites
|
|
||||||
necessary for these changes to package APIs.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/http">Package http</a> has a new
|
|
||||||
<a href="/pkg/http/#FileSystem">FileSystem</a> interface that provides access
|
|
||||||
to files. The <a href="/pkg/http/#FileServer">FileServer</a> helper now takes a
|
|
||||||
<code>FileSystem</code> argument instead of an explicit file system root. By
|
|
||||||
implementing your own <code>FileSystem</code> you can use the
|
|
||||||
<code>FileServer</code> to serve arbitrary data.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/os/">Package os</a>'s <code>ErrorString</code> type has been
|
|
||||||
hidden. Most uses of <code>os.ErrorString</code> can be replaced with
|
|
||||||
<a href="/pkg/os/#NewError">os.NewError</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/reflect/">Package reflect</a> supports a new struct tag scheme
|
|
||||||
that enables sharing of struct tags between multiple packages.
|
|
||||||
In this scheme, the tags must be of the form:
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
`key:"value" key2:"value2"`
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
The <a href="/pkg/reflect/#StructField">StructField</a> type's Tag field now
|
|
||||||
has type <a href="/pkg/reflect/#StructTag">StructTag</a>, which has a
|
|
||||||
<code>Get</code> method. Clients of <a href="/pkg/json">json</a> and
|
|
||||||
<a href="/pkg/xml">xml</a> will need to be updated. Code that says
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
type T struct {
|
|
||||||
X int "name"
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
should become
|
|
||||||
</p>
|
|
||||||
<pre>
|
|
||||||
type T struct {
|
|
||||||
X int `json:"name"` // or `xml:"name"`
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
Use <a href="/cmd/govet/">govet</a> to identify struct tags that need to be
|
|
||||||
changed to use the new syntax.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/sort/">Package sort</a>'s <code>IntArray</code> type has been
|
|
||||||
renamed to <a href="/pkg/sort/#IntSlice">IntSlice</a>, and similarly for
|
|
||||||
<a href="/pkg/sort/#Float64Slice">Float64Slice</a> and
|
|
||||||
<a href="/pkg/sort/#StringSlice">StringSlice</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/strings/">Package strings</a>'s <code>Split</code> function has
|
|
||||||
itself been split into <a href="/pkg/strings/#Split">Split</a> and
|
|
||||||
<a href="/pkg/strings/#SplitN">SplitN</a>.
|
|
||||||
<code>SplitN</code> is the same as the old <code>Split</code>.
|
|
||||||
The new <code>Split</code> is equivalent to <code>SplitN</code> with a final
|
|
||||||
argument of -1.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<a href="/pkg/image/draw/">Package image/draw</a>'s
|
|
||||||
<a href="/pkg/image/draw/#Draw">Draw</a> function now takes an additional
|
|
||||||
argument, a compositing operator.
|
|
||||||
If in doubt, use <a href="/pkg/image/draw/#Op">draw.Over</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r59.cmd">Tools</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/cmd/goinstall/">Goinstall</a> now installs packages and commands from
|
|
||||||
arbitrary remote repositories (not just Google Code, Github, and so on).
|
|
||||||
See the <a href="/cmd/goinstall/">goinstall documentation</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="r58">r58 (released 2011/06/29)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The r58 release corresponds to
|
|
||||||
<code><a href="weekly.html#2011-06-09">weekly.2011-06-09</a></code>
|
|
||||||
with additional bug fixes.
|
|
||||||
This section highlights the most significant changes in this release.
|
|
||||||
For a more detailed summary, see the
|
|
||||||
<a href="weekly.html#2011-06-09">weekly release notes</a>.
|
|
||||||
For complete information, see the
|
|
||||||
<a href="//code.google.com/p/go/source/list?r=release-branch.r58">Mercurial change list</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r58.lang">Language</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
This release fixes a <a href="//golang.org/change/b720749486e1">use of uninitialized memory in programs that misuse <code>goto</code></a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r58.pkg">Packages</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
As usual, <a href="/cmd/gofix/">gofix</a> will handle the bulk of the rewrites
|
|
||||||
necessary for these changes to package APIs.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/http/">Package http</a> drops the <code>finalURL</code> return
|
|
||||||
value from the <a href="/pkg/http/#Client.Get">Client.Get</a> method. The value
|
|
||||||
is now available via the new <code>Request</code> field on <a
|
|
||||||
href="/pkg/http/#Response">http.Response</a>.
|
|
||||||
Most instances of the type map[string][]string in have been
|
|
||||||
replaced with the new <a href="/pkg/http/#Values">Values</a> type.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/exec/">Package exec</a> has been redesigned with a more
|
|
||||||
convenient and succinct API.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/strconv/">Package strconv</a>'s <a href="/pkg/strconv/#Quote">Quote</a>
|
|
||||||
function now escapes only those Unicode code points not classified as printable
|
|
||||||
by <a href="/pkg/unicode/#IsPrint">unicode.IsPrint</a>.
|
|
||||||
Previously Quote would escape all non-ASCII characters.
|
|
||||||
This also affects the <a href="/pkg/fmt/">fmt</a> package's <code>"%q"</code>
|
|
||||||
formatting directive. The previous quoting behavior is still available via
|
|
||||||
strconv's new <a href="/pkg/strconv/#QuoteToASCII">QuoteToASCII</a> function.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/os/signal/">Package os/signal</a>'s
|
|
||||||
<a href="/pkg/os/#Signal">Signal</a> and
|
|
||||||
<a href="/pkg/os/#UnixSignal">UnixSignal</a> types have been moved to the
|
|
||||||
<a href="/pkg/os/">os</a> package.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/image/draw/">Package image/draw</a> is the new name for
|
|
||||||
<code>exp/draw</code>. The GUI-related code from <code>exp/draw</code> is now
|
|
||||||
located in the <a href="/pkg/exp/gui/">exp/gui</a> package.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r58.cmd">Tools</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/cmd/goinstall/">Goinstall</a> now observes the GOPATH environment
|
|
||||||
variable to build and install your own code and external libraries outside of
|
|
||||||
the Go tree (and avoid writing Makefiles).
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h3 id="r58.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>r58.1 adds
|
|
||||||
<a href="//golang.org/change/293c25943586">build</a> and
|
|
||||||
<a href="//golang.org/change/bf17e96b6582">runtime</a>
|
|
||||||
changes to make Go run on OS X 10.7 Lion.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="r57">r57 (released 2011/05/03)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The r57 release corresponds to
|
|
||||||
<code><a href="weekly.html#2011-04-27">weekly.2011-04-27</a></code>
|
|
||||||
with additional bug fixes.
|
|
||||||
This section highlights the most significant changes in this release.
|
|
||||||
For a more detailed summary, see the
|
|
||||||
<a href="weekly.html#2011-04-27">weekly release notes</a>.
|
|
||||||
For complete information, see the
|
|
||||||
<a href="//code.google.com/p/go/source/list?r=release-branch.r57">Mercurial change list</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>The new <a href="/cmd/gofix">gofix</a> tool finds Go programs that use old APIs and rewrites them to use
|
|
||||||
newer ones. After you update to a new Go release, gofix helps make the
|
|
||||||
necessary changes to your programs. Gofix will handle the http, os, and syscall
|
|
||||||
package changes described below, and we will update the program to keep up with
|
|
||||||
future changes to the libraries.
|
|
||||||
Gofix can’t
|
|
||||||
handle all situations perfectly, so read and test the changes it makes before
|
|
||||||
committing them.
|
|
||||||
See <a href="//blog.golang.org/2011/04/introducing-gofix.html">the gofix blog post</a> for more
|
|
||||||
information.</p>
|
|
||||||
|
|
||||||
<h3 id="r57.lang">Language</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/doc/go_spec.html#Receive_operator">Multiple assignment syntax</a> replaces the <code>closed</code> function.
|
|
||||||
The syntax for channel
|
|
||||||
receives allows an optional second assigned value, a boolean value
|
|
||||||
indicating whether the channel is closed. This code:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
v := <-ch
|
|
||||||
if closed(ch) {
|
|
||||||
// channel is closed
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p>should now be written as:</p>
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
v, ok := <-ch
|
|
||||||
if !ok {
|
|
||||||
// channel is closed
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p><a href="/doc/go_spec.html#Label_scopes">Unused labels are now illegal</a>, just as unused local variables are.</p>
|
|
||||||
|
|
||||||
<h3 id="r57.pkg">Packages</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/gob/">Package gob</a> will now encode and decode values of types that implement the
|
|
||||||
<a href="/pkg/gob/#GobEncoder">GobEncoder</a> and
|
|
||||||
<a href="/pkg/gob/#GobDecoder">GobDecoder</a> interfaces. This allows types with unexported
|
|
||||||
fields to transmit self-consistent descriptions; examples include
|
|
||||||
<a href="/pkg/big/#Int.GobDecode">big.Int</a> and <a href="/pkg/big/#Rat.GobDecode">big.Rat</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/http/">Package http</a> has been redesigned.
|
|
||||||
For clients, there are new
|
|
||||||
<a href="/pkg/http/#Client">Client</a> and <a href="/pkg/http/#Transport">Transport</a>
|
|
||||||
abstractions that give more control over HTTP details such as headers sent
|
|
||||||
and redirections followed. These abstractions make it easy to implement
|
|
||||||
custom clients that add functionality such as <a href="//code.google.com/p/goauth2/source/browse/oauth/oauth.go">OAuth2</a>.
|
|
||||||
For servers, <a href="/pkg/http/#ResponseWriter">ResponseWriter</a>
|
|
||||||
has dropped its non-essential methods.
|
|
||||||
The Hijack and Flush methods are no longer required;
|
|
||||||
code can test for them by checking whether a specific value implements
|
|
||||||
<a href="/pkg/http/#Hijacker">Hijacker</a> or <a href="/pkg/http/#Flusher">Flusher</a>.
|
|
||||||
The RemoteAddr and UsingTLS methods are replaced by <a href="/pkg/http/#Request">Request</a>'s
|
|
||||||
RemoteAddr and TLS fields.
|
|
||||||
The SetHeader method is replaced by a Header method;
|
|
||||||
its result, of type <a href="/pkg/http/#Header">Header</a>,
|
|
||||||
implements Set and other methods.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/net/">Package net</a>
|
|
||||||
drops the <code>laddr</code> argument from <a href="/pkg/net/#Conn.Dial">Dial</a>
|
|
||||||
and drops the <code>cname</code> return value
|
|
||||||
from <a href="/pkg/net/#LookupHost">LookupHost</a>.
|
|
||||||
The implementation now uses <a href="/cmd/cgo/">cgo</a> to implement
|
|
||||||
network name lookups using the C library getaddrinfo(3)
|
|
||||||
function when possible. This ensures that Go and C programs
|
|
||||||
resolve names the same way and also avoids the OS X
|
|
||||||
application-level firewall.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/os/">Package os</a>
|
|
||||||
introduces simplified <a href="/pkg/os/#File.Open">Open</a>
|
|
||||||
and <a href="/pkg/os/#File.Create">Create</a> functions.
|
|
||||||
The original Open is now available as <a href="/pkg/os/#File.OpenFile">OpenFile</a>.
|
|
||||||
The final three arguments to <a href="/pkg/os/#Process.StartProcess">StartProcess</a>
|
|
||||||
have been replaced by a pointer to a <a href="/pkg/os/#ProcAttr">ProcAttr</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/pkg/reflect/">Package reflect</a> has been redesigned.
|
|
||||||
<a href="/pkg/reflect/#Type">Type</a> is now an interface that implements
|
|
||||||
all the possible type methods.
|
|
||||||
Instead of a type switch on a Type <code>t</code>, switch on <code>t.Kind()</code>.
|
|
||||||
<a href="/pkg/reflect/#Value">Value</a> is now a struct value that
|
|
||||||
implements all the possible value methods.
|
|
||||||
Instead of a type switch on a Value <code>v</code>, switch on <code>v.Kind()</code>.
|
|
||||||
Typeof and NewValue are now called <a href="/pkg/reflect/#Type.TypeOf">TypeOf</a> and <a href="/pkg/reflect/#Value.ValueOf">ValueOf</a>
|
|
||||||
To create a writable Value, use <code>New(t).Elem()</code> instead of <code>Zero(t)</code>.
|
|
||||||
See <a href="//golang.org/change/843855f3c026">the change description</a>
|
|
||||||
for the full details.
|
|
||||||
The new API allows a more efficient implementation of Value
|
|
||||||
that avoids many of the allocations required by the previous API.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Remember that gofix will handle the bulk of the rewrites
|
|
||||||
necessary for these changes to package APIs.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r57.cmd">Tools</h3>
|
|
||||||
|
|
||||||
<p><a href="/cmd/gofix/">Gofix</a>, a new command, is described above.</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href="/cmd/gotest/">Gotest</a> is now a Go program instead of a shell script.
|
|
||||||
The new <code>-test.short</code> flag in combination with package testing's Short function
|
|
||||||
allows you to write tests that can be run in normal or “short” mode;
|
|
||||||
all.bash runs tests in short mode to reduce installation time.
|
|
||||||
The Makefiles know about the flag: use <code>make testshort</code>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The run-time support now implements CPU and memory profiling.
|
|
||||||
Gotest's new
|
|
||||||
<a href="/cmd/gotest/"><code>-test.cpuprofile</code> and
|
|
||||||
<code>-test.memprofile</code> flags</a> make it easy to
|
|
||||||
profile tests.
|
|
||||||
To add profiling to your web server, see the <a href="/pkg/http/pprof/">http/pprof</a>
|
|
||||||
documentation.
|
|
||||||
For other uses, see the <a href="/pkg/runtime/pprof/">runtime/pprof</a> documentation.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="r57.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>r57.1 fixes a <a href="//golang.org/change/ff2bc62726e7145eb2ecc1e0f076998e4a8f86f0">nil pointer dereference in http.FormFile</a>.</p>
|
|
||||||
<p>r57.2 fixes a <a href="//golang.org/change/063b0ff67d8277df03c956208abc068076818dae">use of uninitialized memory in programs that misuse <code>goto</code></a>.</p>
|
|
||||||
|
|
||||||
<h2 id="r56">r56 (released 2011/03/16)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The r56 release was the first stable release and corresponds to
|
|
||||||
<code><a href="weekly.html#2011-03-07">weekly.2011-03-07.1</a></code>.
|
|
||||||
The numbering starts at 56 because before this release,
|
|
||||||
what we now consider weekly snapshots were called releases.
|
|
||||||
</p>
|
|
@ -1,758 +0,0 @@
|
|||||||
<!--{
|
|
||||||
"Title": "Release History"
|
|
||||||
}-->
|
|
||||||
|
|
||||||
<p>This page summarizes the changes between official stable releases of Go.
|
|
||||||
The <a href="//golang.org/change">change log</a> has the full details.</p>
|
|
||||||
|
|
||||||
<p>To update to a specific release, use:</p>
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
git pull
|
|
||||||
git checkout <i>release-branch</i>
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<h2 id="policy">Release Policy</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Each major Go release is supported until there are two newer major releases.
|
|
||||||
For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was
|
|
||||||
supported until the Go 1.8 release.
|
|
||||||
We fix critical problems, including <a href="/security">critical security problems</a>,
|
|
||||||
in supported releases as needed by issuing minor revisions
|
|
||||||
(for example, Go 1.6.1, Go 1.6.2, and so on).
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.13">go1.13 (released 2019/09/03)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.13 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.13">Go 1.13 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.13.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.13.1 (released 2019/09/25) includes security fixes to the
|
|
||||||
<code>net/http</code> and <code>net/textproto</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.1+label%3ACherryPickApproved">Go
|
|
||||||
1.13.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.13.2 (released 2019/10/17) includes security fixes to the
|
|
||||||
<code>crypto/dsa</code> package and the compiler.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.2+label%3ACherryPickApproved">Go
|
|
||||||
1.13.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.13.3 (released 2019/10/17) includes fixes to the go command,
|
|
||||||
the toolchain, the runtime, <code>syscall</code>, <code>net</code>,
|
|
||||||
<code>net/http</code>, and <code>crypto/ecdsa</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.3+label%3ACherryPickApproved">Go
|
|
||||||
1.13.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.13.4 (released 2019/10/31) includes fixes to the <code>net/http</code> and
|
|
||||||
<code>syscall</code> packages. It also fixes an issue on macOS 10.15 Catalina
|
|
||||||
where the non-notarized installer and binaries were being
|
|
||||||
<a href="https://golang.org/issue/34986">rejected by Gatekeeper</a>.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.4+label%3ACherryPickApproved">Go
|
|
||||||
1.13.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.13.5 (released 2019/12/04) includes fixes to the go command, the runtime,
|
|
||||||
the linker, and the <code>net/http</code> package. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.13.5+label%3ACherryPickApproved">Go
|
|
||||||
1.13.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.12">go1.12 (released 2019/02/25)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.12 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.12">Go 1.12 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.12.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.1 (released 2019/03/14) includes fixes to cgo, the compiler, the go
|
|
||||||
command, and the <code>fmt</code>, <code>net/smtp</code>, <code>os</code>,
|
|
||||||
<code>path/filepath</code>, <code>sync</code>, and <code>text/template</code>
|
|
||||||
packages. See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.1+label%3ACherryPickApproved">Go
|
|
||||||
1.12.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.2 (released 2019/04/05) includes fixes to the compiler, the go
|
|
||||||
command, the runtime, and the <code>doc</code>, <code>net</code>,
|
|
||||||
<code>net/http/httputil</code>, and <code>os</code> packages. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.2+label%3ACherryPickApproved">Go
|
|
||||||
1.12.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.3 (released 2019/04/08) was accidentally released without its
|
|
||||||
intended fix. It is identical to go1.12.2, except for its version
|
|
||||||
number. The intended fix is in go1.12.4.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.4 (released 2019/04/11) fixes an issue where using the prebuilt binary
|
|
||||||
releases on older versions of GNU/Linux
|
|
||||||
<a href="https://golang.org/issues/31293">led to failures</a>
|
|
||||||
when linking programs that used cgo.
|
|
||||||
Only Linux users who hit this issue need to update.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.5 (released 2019/05/06) includes fixes to the compiler, the linker,
|
|
||||||
the go command, the runtime, and the <code>os</code> package. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.5+label%3ACherryPickApproved">Go
|
|
||||||
1.12.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.6 (released 2019/06/11) includes fixes to the compiler, the linker,
|
|
||||||
the go command, and the <code>crypto/x509</code>, <code>net/http</code>, and
|
|
||||||
<code>os</code> packages. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.6+label%3ACherryPickApproved">Go
|
|
||||||
1.12.6 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.7 (released 2019/07/08) includes fixes to cgo, the compiler,
|
|
||||||
and the linker.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.7+label%3ACherryPickApproved">Go
|
|
||||||
1.12.7 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.8 (released 2019/08/13) includes security fixes to the
|
|
||||||
<code>net/http</code> and <code>net/url</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.8+label%3ACherryPickApproved">Go
|
|
||||||
1.12.8 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.9 (released 2019/08/15) includes fixes to the linker,
|
|
||||||
and the <code>os</code> and <code>math/big</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.9+label%3ACherryPickApproved">Go
|
|
||||||
1.12.9 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.10 (released 2019/09/25) includes security fixes to the
|
|
||||||
<code>net/http</code> and <code>net/textproto</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.10+label%3ACherryPickApproved">Go
|
|
||||||
1.12.10 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.11 (released 2019/10/17) includes security fixes to the
|
|
||||||
<code>crypto/dsa</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.11+label%3ACherryPickApproved">Go
|
|
||||||
1.12.11 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.12 (released 2019/10/17) includes fixes to the go command,
|
|
||||||
runtime, <code>syscall</code> and <code>net</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.12+label%3ACherryPickApproved">Go
|
|
||||||
1.12.12 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.13 (released 2019/10/31) fixes an issue on macOS 10.15 Catalina
|
|
||||||
where the non-notarized installer and binaries were being
|
|
||||||
<a href="https://golang.org/issue/34986">rejected by Gatekeeper</a>.
|
|
||||||
Only macOS users who hit this issue need to update.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.12.14 (released 2019/12/04) includes a fix to the runtime. See
|
|
||||||
the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.12.14+label%3ACherryPickApproved">Go
|
|
||||||
1.12.14 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.11">go1.11 (released 2018/08/24)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.11 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.11">Go 1.11 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.11.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.1 (released 2018/10/01) includes fixes to the compiler, documentation, go
|
|
||||||
command, runtime, and the <code>crypto/x509</code>, <code>encoding/json</code>,
|
|
||||||
<code>go/types</code>, <code>net</code>, <code>net/http</code>, and
|
|
||||||
<code>reflect</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.1+label%3ACherryPickApproved">Go
|
|
||||||
1.11.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.2 (released 2018/11/02) includes fixes to the compiler, linker,
|
|
||||||
documentation, go command, and the <code>database/sql</code> and
|
|
||||||
<code>go/types</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.2+label%3ACherryPickApproved">Go
|
|
||||||
1.11.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.3 (released 2018/12/12) includes three security fixes to "go get" and
|
|
||||||
the <code>crypto/x509</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.3+label%3ACherryPickApproved">Go
|
|
||||||
1.11.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.4 (released 2018/12/14) includes fixes to cgo, the compiler, linker,
|
|
||||||
runtime, documentation, go command, and the <code>net/http</code> and
|
|
||||||
<code>go/types</code> packages.
|
|
||||||
It includes a fix to a bug introduced in Go 1.11.3 that broke <code>go</code>
|
|
||||||
<code>get</code> for import path patterns containing "<code>...</code>".
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.4+label%3ACherryPickApproved">Go
|
|
||||||
1.11.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.5 (released 2019/01/23) includes a security fix to the
|
|
||||||
<code>crypto/elliptic</code> package. See
|
|
||||||
the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.5+label%3ACherryPickApproved">Go
|
|
||||||
1.11.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.6 (released 2019/03/14) includes fixes to cgo, the compiler, linker,
|
|
||||||
runtime, go command, and the <code>crypto/x509</code>, <code>encoding/json</code>,
|
|
||||||
<code>net</code>, and <code>net/url</code> packages. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.6+label%3ACherryPickApproved">Go
|
|
||||||
1.11.6 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.7 (released 2019/04/05) includes fixes to the runtime and the
|
|
||||||
<code>net</code> packages. See the
|
|
||||||
<a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.7+label%3ACherryPickApproved">Go
|
|
||||||
1.11.7 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.8 (released 2019/04/08) was accidentally released without its
|
|
||||||
intended fix. It is identical to go1.11.7, except for its version
|
|
||||||
number. The intended fix is in go1.11.9.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.9 (released 2019/04/11) fixes an issue where using the prebuilt binary
|
|
||||||
releases on older versions of GNU/Linux
|
|
||||||
<a href="https://golang.org/issues/31293">led to failures</a>
|
|
||||||
when linking programs that used cgo.
|
|
||||||
Only Linux users who hit this issue need to update.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.10 (released 2019/05/06) includes fixes to the runtime and the linker.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.10+label%3ACherryPickApproved">Go
|
|
||||||
1.11.10 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.11 (released 2019/06/11) includes a fix to the <code>crypto/x509</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.11+label%3ACherryPickApproved">Go
|
|
||||||
1.11.11 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.12 (released 2019/07/08) includes fixes to the compiler and the linker.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.12+label%3ACherryPickApproved">Go
|
|
||||||
1.11.12 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.11.13 (released 2019/08/13) includes security fixes to the
|
|
||||||
<code>net/http</code> and <code>net/url</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.13+label%3ACherryPickApproved">Go
|
|
||||||
1.11.13 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.10">go1.10 (released 2018/02/16)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.10 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.10">Go 1.10 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.10.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.1 (released 2018/03/28) includes fixes to the compiler, runtime, and the
|
|
||||||
<code>archive/zip</code>, <code>crypto/tls</code>, <code>crypto/x509</code>,
|
|
||||||
<code>encoding/json</code>, <code>net</code>, <code>net/http</code>, and
|
|
||||||
<code>net/http/pprof</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.1+label%3ACherryPickApproved">Go
|
|
||||||
1.10.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.2 (released 2018/05/01) includes fixes to the compiler, linker, and go
|
|
||||||
command.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.2+label%3ACherryPickApproved">Go
|
|
||||||
1.10.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.3 (released 2018/06/05) includes fixes to the go command, and the
|
|
||||||
<code>crypto/tls</code>, <code>crypto/x509</code>, and <code>strings</code> packages.
|
|
||||||
In particular, it adds <a href="https://go.googlesource.com/go/+/d4e21288e444d3ffd30d1a0737f15ea3fc3b8ad9">
|
|
||||||
minimal support to the go command for the vgo transition</a>.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.3+label%3ACherryPickApproved">Go
|
|
||||||
1.10.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.4 (released 2018/08/24) includes fixes to the go command, linker, and the
|
|
||||||
<code>net/http</code>, <code>mime/multipart</code>, <code>ld/macho</code>,
|
|
||||||
<code>bytes</code>, and <code>strings</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.4+label%3ACherryPickApproved">Go
|
|
||||||
1.10.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.5 (released 2018/11/02) includes fixes to the go command, linker, runtime
|
|
||||||
and the <code>database/sql</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.5+label%3ACherryPickApproved">Go
|
|
||||||
1.10.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.6 (released 2018/12/12) includes three security fixes to "go get" and
|
|
||||||
the <code>crypto/x509</code> package.
|
|
||||||
It contains the same fixes as Go 1.11.3 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.6+label%3ACherryPickApproved">Go
|
|
||||||
1.10.6 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.7 (released 2018/12/14) includes a fix to a bug introduced in Go 1.10.6
|
|
||||||
that broke <code>go</code> <code>get</code> for import path patterns containing
|
|
||||||
"<code>...</code>".
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.7+label%3ACherryPickApproved">
|
|
||||||
Go 1.10.7 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.10.8 (released 2019/01/23) includes a security fix to the
|
|
||||||
<code>crypto/elliptic</code> package. See
|
|
||||||
the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.8+label%3ACherryPickApproved">Go
|
|
||||||
1.10.8 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.9">go1.9 (released 2017/08/24)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.9 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.9">Go 1.9 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.9.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.1 (released 2017/10/04) includes two security fixes.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.1+label%3ACherryPickApproved">Go
|
|
||||||
1.9.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.2 (released 2017/10/25) includes fixes to the compiler, linker, runtime,
|
|
||||||
documentation, <code>go</code> command,
|
|
||||||
and the <code>crypto/x509</code>, <code>database/sql</code>, <code>log</code>,
|
|
||||||
and <code>net/smtp</code> packages.
|
|
||||||
It includes a fix to a bug introduced in Go 1.9.1 that broke <code>go</code> <code>get</code>
|
|
||||||
of non-Git repositories under certain conditions.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.2+label%3ACherryPickApproved">Go
|
|
||||||
1.9.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.3 (released 2018/01/22) includes fixes to the compiler, runtime,
|
|
||||||
and the <code>database/sql</code>, <code>math/big</code>, <code>net/http</code>,
|
|
||||||
and <code>net/url</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.3+label%3ACherryPickApproved">Go
|
|
||||||
1.9.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.4+label%3ACherryPickApproved">Go
|
|
||||||
1.9.4</a> milestone on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.5 (released 2018/03/28) includes fixes to the compiler, go command, and
|
|
||||||
<code>net/http/pprof</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.5+label%3ACherryPickApproved">Go
|
|
||||||
1.9.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.6 (released 2018/05/01) includes fixes to the compiler and go command.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.6+label%3ACherryPickApproved">Go
|
|
||||||
1.9.6 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.9.7 (released 2018/06/05) includes fixes to the go command, and the
|
|
||||||
<code>crypto/x509</code>, and <code>strings</code> packages.
|
|
||||||
In particular, it adds <a href="https://go.googlesource.com/go/+/d4e21288e444d3ffd30d1a0737f15ea3fc3b8ad9">
|
|
||||||
minimal support to the go command for the vgo transition</a>.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.7+label%3ACherryPickApproved">Go
|
|
||||||
1.9.7 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="go1.8">go1.8 (released 2017/02/16)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.8 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.8">Go 1.8 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.8.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.1 (released 2017/04/07) includes fixes to the compiler, linker, runtime,
|
|
||||||
documentation, <code>go</code> command and the <code>crypto/tls</code>,
|
|
||||||
<code>encoding/xml</code>, <code>image/png</code>, <code>net</code>,
|
|
||||||
<code>net/http</code>, <code>reflect</code>, <code>text/template</code>,
|
|
||||||
and <code>time</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.1">Go
|
|
||||||
1.8.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.2 (released 2017/05/23) includes a security fix to the
|
|
||||||
<code>crypto/elliptic</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.2">Go
|
|
||||||
1.8.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.3 (released 2017/05/24) includes fixes to the compiler, runtime,
|
|
||||||
documentation, and the <code>database/sql</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.3">Go
|
|
||||||
1.8.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.4 (released 2017/10/04) includes two security fixes.
|
|
||||||
It contains the same fixes as Go 1.9.1 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.4">Go
|
|
||||||
1.8.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.5 (released 2017/10/25) includes fixes to the compiler, linker, runtime,
|
|
||||||
documentation, <code>go</code> command,
|
|
||||||
and the <code>crypto/x509</code> and <code>net/smtp</code> packages.
|
|
||||||
It includes a fix to a bug introduced in Go 1.8.4 that broke <code>go</code> <code>get</code>
|
|
||||||
of non-Git repositories under certain conditions.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.5">Go
|
|
||||||
1.8.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.6 (released 2018/01/22) includes the same fix in <code>math/big</code>
|
|
||||||
as Go 1.9.3 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.6">Go
|
|
||||||
1.8.6 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.8.7 (released 2018/02/07) includes a security fix to “go get”.
|
|
||||||
It contains the same fix as Go 1.9.4 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.7">Go
|
|
||||||
1.8.7</a> milestone on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.7">go1.7 (released 2016/08/15)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.7 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.7">Go 1.7 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.7.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.1 (released 2016/09/07) includes fixes to the compiler, runtime,
|
|
||||||
documentation, and the <code>compress/flate</code>, <code>hash/crc32</code>,
|
|
||||||
<code>io</code>, <code>net</code>, <code>net/http</code>,
|
|
||||||
<code>path/filepath</code>, <code>reflect</code>, and <code>syscall</code>
|
|
||||||
packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.7.1">Go
|
|
||||||
1.7.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.2 should not be used. It was tagged but not fully released.
|
|
||||||
The release was deferred due to a last minute bug report.
|
|
||||||
Use go1.7.3 instead, and refer to the summary of changes below.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime,
|
|
||||||
and the <code>crypto/cipher</code>, <code>crypto/tls</code>,
|
|
||||||
<code>net/http</code>, and <code>strings</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.7.3">Go
|
|
||||||
1.7.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.4 (released 2016/12/01) includes two security fixes.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.7.4">Go
|
|
||||||
1.7.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.5 (released 2017/01/26) includes fixes to the compiler, runtime,
|
|
||||||
and the <code>crypto/x509</code> and <code>time</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.7.5">Go
|
|
||||||
1.7.5 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.7.6 (released 2017/05/23) includes the same security fix as Go 1.8.2 and
|
|
||||||
was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.2">Go
|
|
||||||
1.8.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.6">go1.6 (released 2016/02/17)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.6 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.6">Go 1.6 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.6.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.6.1 (released 2016/04/12) includes two security fixes.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.6.1">Go
|
|
||||||
1.6.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.6.2 (released 2016/04/20) includes fixes to the compiler, runtime, tools,
|
|
||||||
documentation, and the <code>mime/multipart</code>, <code>net/http</code>, and
|
|
||||||
<code>sort</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.6.2">Go
|
|
||||||
1.6.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.6.3 (released 2016/07/17) includes security fixes to the
|
|
||||||
<code>net/http/cgi</code> package and <code>net/http</code> package when used in
|
|
||||||
a CGI environment.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.6.3">Go
|
|
||||||
1.6.3 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.6.4 (released 2016/12/01) includes two security fixes.
|
|
||||||
It contains the same fixes as Go 1.7.4 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.7.4">Go
|
|
||||||
1.7.4 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.5">go1.5 (released 2015/08/19)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.5 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.5">Go 1.5 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.5.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.5.1 (released 2015/09/08) includes bug fixes to the compiler, assembler, and
|
|
||||||
the <code>fmt</code>, <code>net/textproto</code>, <code>net/http</code>, and
|
|
||||||
<code>runtime</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.5.1">Go
|
|
||||||
1.5.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.5.2 (released 2015/12/02) includes bug fixes to the compiler, linker, and
|
|
||||||
the <code>mime/multipart</code>, <code>net</code>, and <code>runtime</code>
|
|
||||||
packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.5.2">Go
|
|
||||||
1.5.2 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.5.3 (released 2016/01/13) includes a security fix to the <code>math/big</code> package
|
|
||||||
affecting the <code>crypto/tls</code> package.
|
|
||||||
See the <a href="https://golang.org/s/go153announce">release announcement</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.5.4 (released 2016/04/12) includes two security fixes.
|
|
||||||
It contains the same fixes as Go 1.6.1 and was released at the same time.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.6.1">Go
|
|
||||||
1.6.1 milestone</a> on our issue tracker for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.4">go1.4 (released 2014/12/10)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.4 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.4">Go 1.4 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.4.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.4.1 (released 2015/01/15) includes bug fixes to the linker and the <code>log</code>, <code>syscall</code>, and <code>runtime</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.4.1">Go 1.4.1 milestone on our issue tracker</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.4.2 (released 2015/02/17) includes bug fixes to the <code>go</code> command, the compiler and linker, and the <code>runtime</code>, <code>syscall</code>, <code>reflect</code>, and <code>math/big</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.4.2">Go 1.4.2 milestone on our issue tracker</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.4.3 (released 2015/09/22) includes security fixes to the <code>net/http</code> package and bug fixes to the <code>runtime</code> package.
|
|
||||||
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.4.3">Go 1.4.3 milestone on our issue tracker</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.3">go1.3 (released 2014/06/18)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.3 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.3">Go 1.3 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.3.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.3.1 (released 2014/08/13) includes bug fixes to the compiler and the <code>runtime</code>, <code>net</code>, and <code>crypto/rsa</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.3.1">change history</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.3.2 (released 2014/09/25) includes bug fixes to cgo and the crypto/tls packages.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.3.2">change history</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.3.3 (released 2014/09/30) includes further bug fixes to cgo, the runtime package, and the nacl port.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.3.3">change history</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.2">go1.2 (released 2013/12/01)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.2 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.2">Go 1.2 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.2.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.2.1 (released 2014/03/02) includes bug fixes to the <code>runtime</code>, <code>net</code>, and <code>database/sql</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.2.1">change history</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.2.2 (released 2014/05/05) includes a
|
|
||||||
<a href="https://github.com/golang/go/commits/go1.2.2">security fix</a>
|
|
||||||
that affects the tour binary included in the binary distributions (thanks to Guillaume T).
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1.1">go1.1 (released 2013/05/13)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1.1 is a major release of Go.
|
|
||||||
Read the <a href="/doc/go1.1">Go 1.1 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.1.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.1.1 (released 2013/06/13) includes several compiler and runtime bug fixes.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.1.1">change history</a> for details.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.1.2 (released 2013/08/13) includes fixes to the <code>gc</code> compiler
|
|
||||||
and <code>cgo</code>, and the <code>bufio</code>, <code>runtime</code>,
|
|
||||||
<code>syscall</code>, and <code>time</code> packages.
|
|
||||||
See the <a href="https://github.com/golang/go/commits/go1.1.2">change history</a> for details.
|
|
||||||
If you use package syscall's <code>Getrlimit</code> and <code>Setrlimit</code>
|
|
||||||
functions under Linux on the ARM or 386 architectures, please note change
|
|
||||||
<a href="//golang.org/cl/11803043">11803043</a>
|
|
||||||
that fixes <a href="//golang.org/issue/5949">issue 5949</a>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="go1">go1 (released 2012/03/28)</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Go 1 is a major release of Go that will be stable in the long term.
|
|
||||||
Read the <a href="/doc/go1.html">Go 1 Release Notes</a> for more information.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
It is intended that programs written for Go 1 will continue to compile and run
|
|
||||||
correctly, unchanged, under future versions of Go 1.
|
|
||||||
Read the <a href="/doc/go1compat.html">Go 1 compatibility document</a> for more
|
|
||||||
about the future of Go 1.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
The go1 release corresponds to
|
|
||||||
<code><a href="weekly.html#2012-03-27">weekly.2012-03-27</a></code>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3 id="go1.minor">Minor revisions</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.0.1 (released 2012/04/25) was issued to
|
|
||||||
<a href="//golang.org/cl/6061043">fix</a> an
|
|
||||||
<a href="//golang.org/issue/3545">escape analysis bug</a>
|
|
||||||
that can lead to memory corruption.
|
|
||||||
It also includes several minor code and documentation fixes.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.0.2 (released 2012/06/13) was issued to fix two bugs in the implementation
|
|
||||||
of maps using struct or array keys:
|
|
||||||
<a href="//golang.org/issue/3695">issue 3695</a> and
|
|
||||||
<a href="//golang.org/issue/3573">issue 3573</a>.
|
|
||||||
It also includes many minor code and documentation fixes.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
go1.0.3 (released 2012/09/21) includes minor code and documentation fixes.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
See the <a href="https://github.com/golang/go/commits/release-branch.go1">go1 release branch history</a> for the complete list of changes.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2 id="pre.go1">Older releases</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
See the <a href="pre_go1.html">Pre-Go 1 Release History</a> page for notes
|
|
||||||
on earlier releases.
|
|
||||||
</p>
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user