doc/devel/release.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/devel/weekly.html | 2 +- diff --git a/doc/devel/release.html b/doc/devel/release.html index d632200d399981cd3031b75ede67918e63aedf4b..feb433f146844b3064584eead90ccef9d45823be 100644 --- a/doc/devel/release.html +++ b/doc/devel/release.html @@ -14,6 +14,113 @@ hg pull hg update release.rNN +
+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.
+
+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.
+
+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.
+
+Goinstall now installs packages and commands from +arbitrary remote repositories (not just Google Code, Github, and so on). +See the goinstall documentation for details. +
+@@ -85,6 +192,14 @@ variable to build and install your own code and external libraries outside of the Go tree (and avoid writing Makefiles).
+ +r58.1 adds +build and +runtime +changes to make Go run on OS X 10.7 Lion. +
This weekly snapshot includes changes to the strings, http, reflect, json, and