From c3e33975aa8d256984ba897ab88d1ca7cad4940a Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 13 Jan 2011 12:04:43 +1100 Subject: [PATCH] release.2011-01-12 R=r CC=golang-dev https://golang.org/cl/3972041 --- .hgtags | 1 - doc/devel/release.html | 46 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/.hgtags b/.hgtags index c9e3a3043a..9a38d75352 100644 --- a/.hgtags +++ b/.hgtags @@ -45,4 +45,3 @@ f7e692dc29b02fba8e5d59b967880a347b53607c release.2010-12-02 61b2c52b0d2246430395f2869d7b34e565333cf5 release.2010-12-15.1 51c777dbccb9f537ebffb99244f521c05bf65df6 release.2010-12-22 8eeee945e358f19405e81792db0e16a1cad14bc0 release.2011-01-06 -8eeee945e358f19405e81792db0e16a1cad14bc0 release diff --git a/doc/devel/release.html b/doc/devel/release.html index 4148ea8bfc..ecf125953e 100644 --- a/doc/devel/release.html +++ b/doc/devel/release.html @@ -5,6 +5,52 @@

This page summarizes the changes between tagged releases of Go. For full details, see the Mercurial change log.

+

2011-01-12

+ +
+The json, gob, and template packages have changed, and code that uses them
+may need to be updated after this release. They will no longer read or write
+unexported struct fields. When marshalling a struct with json or gob the
+unexported fields will be silently ignored. Attempting to unmarshal json or
+gob data into an unexported field will generate an error. Accessing an
+unexported field from a template will cause the Execute function to return
+an error.
+
+Godoc now supports regular expression full text search, and this
+functionality is now available on golang.org.
+
+Other changes:
+* arm: initial cut at arm optimizer.
+* bytes.Buffer: Fix bug in UnreadByte.
+* cgo: export unsafe.Pointer as void*, fix enum const conflict,
+        output alignment fix (thanks Gustavo Niemeyer).
+* crypto/block: mark as deprecated.
+* crypto/openpgp: add error and armor.
+* crypto: add twofish package (thanks Berengar Lehr).
+* doc/spec: remove Maxalign from spec.
+* encoding/line: new package for reading lines from an io.Reader.
+* go/ast: correct end position for Index and TypeAssert expressions.
+* gob: make (en|dec)code(Ui|I)nt methods rather than functions.
+* godefs: better handling of enums.
+* gofmt: don't attempt certain illegal rewrites,
+        rewriter matches apply to expressions only.
+* goinstall: preliminary support for cgo packages (thanks Gustavo Niemeyer).
+* hg: add cgo/_cgo_* to .hgignore.
+* http: fix text displayed in Redirect.
+* ld: fix exported dynamic symbols on Mach-O,
+        permit a Mach-O symbol to be exported in the dynamic symbol table.
+* log: add methods for exit and panic.
+* net: use closesocket api instead of CloseHandle on Windows (thanks Alex Brainman).
+* netchan: make fields exported for gob change.
+* os: add Sync to *File, wraps syscall.Fsync.
+* runtime/cgo: Add callbacks to support SWIG.
+* runtime: Restore scheduler stack position if cgo callback panics.
+* suffixarray: faster creation algorithm (thanks Eric Eisner).
+* syscall: fix mksysnum_linux.sh (thanks Anthony Martin).
+* time.NewTicker: panic for intervals <= 0.
+* time: add AfterFunc to call a function after a duration (thanks Roger Peppe),
+        fix tick accuracy when using multiple Tickers (thanks Eoghan Sherry).
+

2011-01-06