From 2544d30973dbecec4fadd34884d0b7dabfc753f2 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 8 Sep 2011 12:08:07 +1000 Subject: [PATCH] doc: release.r60 R=dsymonds, r, rsc CC=golang-dev https://golang.org/cl/4981047 --- doc/devel/release.html | 77 +++++++++++++++++++++++++++++++++++++++++- doc/devel/weekly.html | 2 +- 2 files changed, 77 insertions(+), 2 deletions(-) diff --git a/doc/devel/release.html b/doc/devel/release.html index feb433f1468..458a116de25 100644 --- a/doc/devel/release.html +++ b/doc/devel/release.html @@ -14,6 +14,81 @@ hg pull hg update release.rNN +

r60 (released 2011/09/07)

+ +

+The r60 release corresponds to +weekly.2011-08-17. +This section highlights the most significant changes in this release. +For a more detailed summary, see the +weekly release notes. +For complete information, see the +Mercurial change list. +

+ +

Language

+ +

+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. +

+ +

Packages

+ +

+Package http's URL parsing and query escaping code +(such as ParseURL and URLEscape) has been moved to +the new url package, with several simplifications to +the names. Client code can be updated automatically with gofix. +

+ +

+Package image has had significant changes made to the +Pix field of struct types such as +image.RGBA and +image.NRGBA. +The image.Image interface type has not changed, +though, and you should not need to change your code if you don't explicitly +refer to Pix fields. For example, if you decode a number of images +using the image/jpeg package, compose them using +image/draw, and then encode the result using +image/png, then your code should still work as +before. +If your code does refer to Pix fields see the +weekly.2011-07-19 +snapshot notes for how to update your code. +

+ +

+Package template has been replaced with a new +templating package (formerly exp/template). The original template +package is still available as old/template. +The old/template 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 +template or exp/template will need to change its +import lines to "old/template" or "template", +respectively. +

+ +

Tools

+ +

+Goinstall now uses a new tag selection scheme. +When downloading or updating, goinstall looks for a tag or branch with the +"go." prefix that corresponds to the local Go version. For Go +release.r58 it looks for go.r58. For +weekly.2011-06-03 it looks for go.weekly.2011-06-03. +If the specific go.X 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. +

+

r59 (released 2011/08/01)

@@ -323,7 +398,7 @@ Remember that gofix will handle the bulk of the rewrites necessary for these changes to package APIs.

-

Tools

+

Tools

Gofix, a new command, is described above.

diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html index 17348ad333a..d984d3b1ba5 100644 --- a/doc/devel/weekly.html +++ b/doc/devel/weekly.html @@ -202,7 +202,7 @@ Other changes: * xml: marshal "parent>child" tags correctly. (thanks Ross Light) -

2011-08-17

+

2011-08-17 (base for r60)

 This weekly contains some package re-shuffling. Users of the http and