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="2010-12-15">2010-12-15</h3> |
| 9 |
| 10 <pre> |
| 11 Package crypto/cipher has been started, to replace crypto/block. |
| 12 As part of the changes, rc4.Cipher’s XORKeyStream method signature has changed f
rom |
| 13 XORKeyStream(buf []byte) |
| 14 to |
| 15 XORKeyStream(dst, src []byte) |
| 16 to implement the cipher.Stream interface. If you use crypto/block, you’ll need |
| 17 to switch to crypto/cipher once it is complete. |
| 18 |
| 19 Package smtp’s StartTLS now takes a *tls.Config argument. |
| 20 |
| 21 Package reflect’s ArrayCopy has been renamed to Copy. There are new functions |
| 22 Append and AppendSlice. |
| 23 |
| 24 The print/println bootstrapping functions now write to standard error. |
| 25 To write to standard output, use fmt.Print[ln]. |
| 26 |
| 27 A new tool, govet, has been added to the Go distribution. Govet is a static |
| 28 checker for Go programs. At the moment, and for the forseeable future, |
| 29 it only checks arguments to print calls. |
| 30 |
| 31 The cgo tool for writing Go bindings for C code has changed so that it no |
| 32 longer uses stub .so files (like cgo_stdio.so). Cgo-based packages using the |
| 33 standard Makefiles should build without any changes. Any alternate build |
| 34 mechanisms will need to be updated. |
| 35 |
| 36 The C and Go compilers (6g, 6c, 8g, 8c, 5g, 5c) now align structs according to |
| 37 the maximum alignment of the fields they contain; previously they aligned |
| 38 structs to word boundaries. This may break non-cgo-based code that attempts to |
| 39 mix C and Go. |
| 40 |
| 41 NaCl support has been removed. The recent linker changes broke NaCl support |
| 42 a month ago, and there are no known users of it. |
| 43 If necessary, the NaCl code can be recovered from the repository history. |
| 44 |
| 45 * 5g/8g, 8l, ld, prof: fix output of 32-bit values (thanks Eoghan Sherry). |
| 46 * [68]l and runtime: GDB support for interfaces and goroutines. |
| 47 * 6l, 8l: support for linking ELF and Mach-O .o files. |
| 48 * all: simplify two-variable ranges with unused second variable (thanks Ryan Hit
chman). |
| 49 * arm: updated soft float support. |
| 50 * codereview: keep quiet when not in use (thanks Eoghan Sherry). |
| 51 * compress/flate: implement Flush, equivalent to zlib's Z_SYNC_FLUSH. |
| 52 * crypto/tls: use rand.Reader in cert generation example (thanks Anthony Martin)
. |
| 53 * dashboard: fix project tag filter. |
| 54 * debug/elf, debug/macho: add ImportedLibraries, ImportedSymbols. |
| 55 * doc/go_mem: goroutine exit is not special. |
| 56 * event.go: another print glitch from gocheck. |
| 57 * gc: bug fixes, |
| 58 syntax error for incomplete chan type (thanks Ryan Hitchman). |
| 59 * go/ast: fix ast.Walk. |
| 60 * gob: document the byte count used in the encoding of values, |
| 61 fix bug sending zero-length top-level slices and maps, |
| 62 Register should use the original type, not the indirected one. |
| 63 * godashboard: support submitting projects with non-ascii names (thanks Ryan Hit
chman) |
| 64 * godefs: guard against structs with pad fields |
| 65 * godoc: added textual search, to enable use -fulltext flag. |
| 66 * gofmt: simplify "x, _ = range y" to "x = range y". |
| 67 * gopack: allow ELF/Mach-O objects in .a files without clearing allobj. |
| 68 * go/token,scanner: fix comments so godoc aligns properly. |
| 69 * govet: on error continue to the next file (thanks Christopher Wedgwood). |
| 70 * html: improved parsing. |
| 71 * http: ServeFile handles Range header for partial requests. |
| 72 * json: check for invalid UTF-8. |
| 73 * ld: allow .o files with no symbols, |
| 74 reading of ELF object files, |
| 75 reading of Mach-O object files. |
| 76 * math: change float64 bias constant from 1022 to 1023 (thanks Eoghan Sherry), |
| 77 rename the MinFloat constant to SmallestNonzeroFloat. |
| 78 * nm: silently ignore .o files in .a files. |
| 79 * os: fix test of RemoveAll. |
| 80 * os/inotify: new package (thanks Balazs Lecz). |
| 81 * os: make MkdirAll work with symlinks (thanks Ryan Hitchman). |
| 82 * regexp: simplify code for brackets, speed up by about 30%. |
| 83 * runtime/linux/386: set FPU to 64-bit precision. |
| 84 * runtime: remove paranoid mapping at 0. |
| 85 * suffixarray: add Bytes function. |
| 86 * syscall: add network interface constants for linux/386, linux/amd64 (thanks Mi
kio Hara). |
| 87 * syscall/windows: restrict access rights param of OpenProcess(), |
| 88 remove \r and \n from error messages (thanks Alex Brainman). |
| 89 * test/bench: fixes to timing.sh (thanks Anthony Martin). |
| 90 * time: fix bug in Ticker: shutdown using channel rather than memory. |
| 91 * token/position: provide FileSet.File, provide files iterator. |
| 92 * xml: disallow invalid Unicode code points (thanks Nigel Kerr). |
| 93 </pre> |
| 94 |
8 <h3 id="2010-12-08">2010-12-08</h3> | 95 <h3 id="2010-12-08">2010-12-08</h3> |
9 | 96 |
10 <pre> | 97 <pre> |
11 This release includes some package changes. If you use the crypto/tls or | 98 This release includes some package changes. If you use the crypto/tls or |
12 go/parser packages your code may require changes. | 99 go/parser packages your code may require changes. |
13 | 100 |
14 The crypto/tls package's Dial function now takes an additional *Config | 101 The crypto/tls package's Dial function now takes an additional *Config |
15 argument. Most uses will pass nil to get the same default behavior as before. | 102 argument. Most uses will pass nil to get the same default behavior as before. |
16 See the documentation for details: | 103 See the documentation for details: |
17 http://golang.org/pkg/crypto/tls/#Config | 104 http://golang.org/pkg/crypto/tls/#Config |
(...skipping 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 global channel lock is gone.· | 1854 global channel lock is gone.· |
1768 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 1855 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
1769 * template: can use maps as data (thanks James Meneghello)· | 1856 * template: can use maps as data (thanks James Meneghello)· |
1770 * unicode: updated to Unicode 5.2.· | 1857 * unicode: updated to Unicode 5.2.· |
1771 * websocket: new package (thanks Fumitoshi Ukai)· | 1858 * websocket: new package (thanks Fumitoshi Ukai)· |
1772 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 1859 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
1773 * xml: fixed crash (thanks Vish Subramanian)· | 1860 * xml: fixed crash (thanks Vish Subramanian)· |
1774 * misc: bbedit config (thanks Anthony Starks),· | 1861 * misc: bbedit config (thanks Anthony Starks),· |
1775 kate config (thanks Evan Shaw)· | 1862 kate config (thanks Evan Shaw)· |
1776 </pre> | 1863 </pre> |
OLD | NEW |