OLD | NEW |
1 <!-- Release History --> | 1 <!-- Release History --> |
2 | 2 |
3 <h2 id="Releases">Release History</h2> | 3 <h2 id="Releases">Release History</h2> |
4 | 4 |
5 <p>This page summarizes the changes between tagged releases of Go. | 5 <p>This page summarizes the changes between tagged releases of Go. |
6 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> | 6 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> |
7 | 7 |
| 8 <h3 id="2011-01-12">2011-01-12</h3> |
| 9 |
| 10 <pre> |
| 11 The json, gob, and template packages have changed, and code that uses them |
| 12 may need to be updated after this release. They will no longer read or write |
| 13 unexported struct fields. When marshalling a struct with json or gob the |
| 14 unexported fields will be silently ignored. Attempting to unmarshal json or |
| 15 gob data into an unexported field will generate an error. Accessing an |
| 16 unexported field from a template will cause the Execute function to return |
| 17 an error. |
| 18 |
| 19 Godoc now supports regular expression full text search, and this |
| 20 functionality is now available on golang.org. |
| 21 |
| 22 Other changes: |
| 23 * arm: initial cut at arm optimizer. |
| 24 * bytes.Buffer: Fix bug in UnreadByte. |
| 25 * cgo: export unsafe.Pointer as void*, fix enum const conflict, |
| 26 output alignment fix (thanks Gustavo Niemeyer). |
| 27 * crypto/block: mark as deprecated. |
| 28 * crypto/openpgp: add error and armor. |
| 29 * crypto: add twofish package (thanks Berengar Lehr). |
| 30 * doc/spec: remove Maxalign from spec. |
| 31 * encoding/line: new package for reading lines from an io.Reader. |
| 32 * go/ast: correct end position for Index and TypeAssert expressions. |
| 33 * gob: make (en|dec)code(Ui|I)nt methods rather than functions. |
| 34 * godefs: better handling of enums. |
| 35 * gofmt: don't attempt certain illegal rewrites, |
| 36 rewriter matches apply to expressions only. |
| 37 * goinstall: preliminary support for cgo packages (thanks Gustavo Niemeyer). |
| 38 * hg: add cgo/_cgo_* to .hgignore. |
| 39 * http: fix text displayed in Redirect. |
| 40 * ld: fix exported dynamic symbols on Mach-O, |
| 41 permit a Mach-O symbol to be exported in the dynamic symbol table. |
| 42 * log: add methods for exit and panic. |
| 43 * net: use closesocket api instead of CloseHandle on Windows (thanks Alex Brainm
an). |
| 44 * netchan: make fields exported for gob change. |
| 45 * os: add Sync to *File, wraps syscall.Fsync. |
| 46 * runtime/cgo: Add callbacks to support SWIG. |
| 47 * runtime: Restore scheduler stack position if cgo callback panics. |
| 48 * suffixarray: faster creation algorithm (thanks Eric Eisner). |
| 49 * syscall: fix mksysnum_linux.sh (thanks Anthony Martin). |
| 50 * time.NewTicker: panic for intervals <= 0. |
| 51 * time: add AfterFunc to call a function after a duration (thanks Roger Peppe), |
| 52 fix tick accuracy when using multiple Tickers (thanks Eoghan Sherry).</p
re> |
| 53 |
8 <h3 id="2011-01-06">2011-01-06</h3> | 54 <h3 id="2011-01-06">2011-01-06</h3> |
9 | 55 |
10 <pre> | 56 <pre> |
11 This release includes several fixes and changes: | 57 This release includes several fixes and changes: |
12 | 58 |
13 * build: Make.pkg: use installed runtime.h for cgo. | 59 * build: Make.pkg: use installed runtime.h for cgo. |
14 * cgo: disallow use of C.errno. | 60 * cgo: disallow use of C.errno. |
15 * crypto/cipher: fix OCFB, | 61 * crypto/cipher: fix OCFB, |
16 make NewCBCEncrypter return BlockMode. | 62 make NewCBCEncrypter return BlockMode. |
17 * doc: 6l: fix documentation of -L flag, | 63 * doc: 6l: fix documentation of -L flag, |
(...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1917 global channel lock is gone.· | 1963 global channel lock is gone.· |
1918 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 1964 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
1919 * template: can use maps as data (thanks James Meneghello)· | 1965 * template: can use maps as data (thanks James Meneghello)· |
1920 * unicode: updated to Unicode 5.2.· | 1966 * unicode: updated to Unicode 5.2.· |
1921 * websocket: new package (thanks Fumitoshi Ukai)· | 1967 * websocket: new package (thanks Fumitoshi Ukai)· |
1922 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 1968 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
1923 * xml: fixed crash (thanks Vish Subramanian)· | 1969 * xml: fixed crash (thanks Vish Subramanian)· |
1924 * misc: bbedit config (thanks Anthony Starks),· | 1970 * misc: bbedit config (thanks Anthony Starks),· |
1925 kate config (thanks Evan Shaw)· | 1971 kate config (thanks Evan Shaw)· |
1926 </pre> | 1972 </pre> |
OLD | NEW |