From 6b0d25d8ee85795575aaf8d7d0174ba73ee04bea Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Sun, 31 Jul 2011 15:34:20 -0700 Subject: [release-branch.r59] doc: document release.r59 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ««« CL 4835044 / d655c911a608 doc: document release.r59 R=golang-dev, dsymonds, r, r CC=golang-dev https://golang.org/cl/4835044 »»» R=r CC=golang-dev https://golang.org/cl/4801068 --- doc/devel/release.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/devel/weekly.html | 2 +- 2 files changed, 116 insertions(+), 1 deletion(-) diff --git a/doc/devel/release.html b/doc/devel/release.html index d632200d39..feb433f146 100644 --- a/doc/devel/release.html +++ b/doc/devel/release.html @@ -14,6 +14,113 @@ hg pull hg update release.rNN +

r59 (released 2011/08/01)

+ +

+The r59 release corresponds to +weekly.2011-07-07. +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

+ +

+This release includes a language change that restricts the use of +goto. In essence, a goto statement outside a block +cannot jump to a label inside that block. Your code may require changes if it +uses goto. +See this +changeset for how the new rule affected the Go tree. +

+ +

Packages

+ +

+As usual, gofix will handle the bulk of the rewrites +necessary for these changes to package APIs. +

+ +

+Package http has a new +FileSystem interface that provides access +to files. The FileServer helper now takes a +FileSystem argument instead of an explicit file system root. By +implementing your own FileSystem you can use the +FileServer to serve arbitrary data. +

+ +

+Package os's ErrorString type has been +hidden. Most uses of os.ErrorString can be replaced with +os.NewError. +

+ +

+Package reflect 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: +

+
+	`key:"value" key2:"value2"`
+
+

+The StructField type's Tag field now +has type StructTag, which has a +Get method. Clients of json and +xml will need to be updated. Code that says +

+
+	type T struct {
+		X int "name"
+	}
+
+

+should become +

+
+	type T struct {
+		X int `json:"name"`  // or `xml:"name"`
+	}
+
+

+Use govet to identify struct tags that need to be +changed to use the new syntax. +

+ +

+Package sort's IntArray type has been +renamed to IntSlice, and similarly for +Float64Slice and +StringSlice. +

+ +

+Package strings's Split function has +itself been split into Split and +SplitN. +SplitN is the same as the old Split. +The new Split is equivalent to SplitN with a final +argument of -1. +

+ +Package image/draw's +Draw function now takes an additional +argument, a compositing operator. +If in doubt, use draw.Over. +

+ +

Tools

+ +

+Goinstall now installs packages and commands from +arbitrary remote repositories (not just Google Code, Github, and so on). +See the goinstall documentation for details. +

+

r58 (released 2011/06/29)

@@ -86,6 +193,14 @@ the Go tree (and avoid writing Makefiles).

+

Minor revisions

+ +

r58.1 adds +build and +runtime +changes to make Go run on OS X 10.7 Lion. +

+

r57 (released 2011/05/03)

diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html index bf16c8370e..0fb6483f4f 100644 --- a/doc/devel/weekly.html +++ b/doc/devel/weekly.html @@ -14,7 +14,7 @@ hg pull hg update weekly.YYYY-MM-DD -

2011-07-07

+

2011-07-07 (base for r59)

 This weekly snapshot includes changes to the strings, http, reflect, json, and
-- 
cgit v1.2.3-54-g00ecf