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-02-24">2011-02-24</h3> |
| 9 |
| 10 <pre> |
| 11 This release includes changes to the http package and a small language change. |
| 12 Your code will require changes if it manipulates http Headers or omits the |
| 13 condition in if statements. |
| 14 |
| 15 The new http.Header type replaces map[string]string in the Header and Trailer |
| 16 fields of http.Request and http.Response. |
| 17 A Header value can be manipulated via its Get, Set, Add, and Del methods. |
| 18 See http://golang.org/pkg/http/#Header |
| 19 |
| 20 The condition is now mandatory in if statements. |
| 21 Previously it would default to true, as in switch and for statements. |
| 22 This code is now illegal: |
| 23 if x := foo(); { |
| 24 // code that is always executed |
| 25 } |
| 26 The same effect can be achieved like this: |
| 27 if x := foo(); true { |
| 28 // code |
| 29 } |
| 30 Or, in a simpler form: |
| 31 { |
| 32 x := foo() |
| 33 // code |
| 34 } |
| 35 |
| 36 Other changes: |
| 37 * 6l: new -Hwindowsgui flag allows to build windows gui pe (thanks Alex Brainman
), |
| 38 pe fixes (thanks Wei Guangjing). |
| 39 * 8l, 6l: allow for more os threads to be created on Windows (thanks Alex Brainm
an), |
| 40 * build: reduce the use of subshells in recursive make, and |
| 41 remove unused NaCl conditional from make.bash (thanks Dave Cheney). |
| 42 * codereview: fix clpatch with empty diffs (thanks Gustavo Niemeyer). |
| 43 * compress/bzip2: add package. |
| 44 * compress/lzw: implement a decoder. |
| 45 * crypto/openpgp: add package. |
| 46 * crypto/rand: add read buffer to speed up small requests (thanks Albert Strashe
im). |
| 47 * crypto/rsa: left-pad OAEP results when needed. |
| 48 * crypto/tls: make protocol negotiation failure fatal. |
| 49 * fmt: stop giving characters to the Scan method of Scanner when we hit a newlin
e in Scanln. |
| 50 * gc: interface error message fixes, |
| 51 make string const comparison unsigned (thanks Jeff R. Allen). |
| 52 * go spec: minor clarification on channel types. |
| 53 * go/ast, parser: condition in if statement is mandatory. |
| 54 * gob: compute information about a user's type once. |
| 55 protect against pure recursive types. |
| 56 * godoc: accept symbolic links as path names provided to -path, |
| 57 add robots.txt, log errors when reading filter files. |
| 58 * html: tokenize HTML comments. |
| 59 * http: add proxy support (thanks Yasuhiro Matsumoto), |
| 60 implement with net/textproto (thanks Petar Maymounkov), |
| 61 send full URL in proxy requests, |
| 62 introduce start of Client and ClientTransport. |
| 63 * image/png: support for more formats (thanks Mikael Tillenius). |
| 64 * json: only use alphanumeric tags, |
| 65 use base64 to encode []byte (thanks Roger Peppe). |
| 66 * ld: detect stack overflow due to NOSPLIT, drop rpath, support weak symbols. |
| 67 * misc/dashboard/builder: talk to hg with utf-8 encoding. |
| 68 * misc/dashboard: notify golang-dev on build failure. |
| 69 * net: *netFD.Read to return os.EOF on eof under windows (thanks Alex Brainman), |
| 70 add IPv4 multicast to UDPConn (thanks Dave Cheney), |
| 71 more accurate IPv4-in-IPv6 API test (thanks Mikio Hara), |
| 72 reject invalid net:proto network names (thanks Olivier Antoine). |
| 73 * netchan: allow use of arbitrary connections (thanks Roger Peppe). |
| 74 * os: add ENODATA and ENOTCONN (thanks Albert Strasheim). |
| 75 * reflect: add a couple of sentences explaining how Methods operate, |
| 76 add a secret method to ArrayOrSliceType to ensure it’s only implemented
by arrays and slices, |
| 77 add pointer word to CommonType (placeholder for future work). |
| 78 * runtime-gdb.py: gdb pretty printer for go strings properly handles length. |
| 79 * runtime: various bug fixes, more complete stack traces, |
| 80 record $GOROOT_FINAL for runtime.GOROOT. |
| 81 * spec: delete incorrect mention of selector working on pointer to interface typ
e. |
| 82 * sync: add Cond (thanks Gustavo Niemeyer). |
| 83 * syscall: add MCL_* flags for mlockall (thanks Albert Strasheim), |
| 84 implement chmod() for win32 (thanks Yasuhiro Matsumoto). |
| 85 * test/bench: update timings for new GC. |
| 86 * testing: rename cmdline flags to avoid conflicts (thanks Gustavo Niemeyer). |
| 87 * textproto: introduce Header type (thanks Petar Maymounkov). |
| 88 * websocket: use new interface to access Header. |
| 89 </pre> |
| 90 |
8 <h3 id="2011-02-15">2011-02-15</h3> | 91 <h3 id="2011-02-15">2011-02-15</h3> |
9 | 92 |
10 <pre> | 93 <pre> |
11 This release includes changes to the io, os, and template packages. | 94 This release includes changes to the io, os, and template packages. |
12 You may need to update your code. | 95 You may need to update your code. |
13 | 96 |
14 The io.ReadByter and io.ReadRuner interface types have been renamed to | 97 The io.ReadByter and io.ReadRuner interface types have been renamed to |
15 io.ByteReader and io.RuneReader respectively. | 98 io.ByteReader and io.RuneReader respectively. |
16 | 99 |
17 The os package's ForkExec function has been superseded by the new StartProcess | 100 The os package's ForkExec function has been superseded by the new StartProcess |
(...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2287 global channel lock is gone.· | 2370 global channel lock is gone.· |
2288 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 2371 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
2289 * template: can use maps as data (thanks James Meneghello)· | 2372 * template: can use maps as data (thanks James Meneghello)· |
2290 * unicode: updated to Unicode 5.2.· | 2373 * unicode: updated to Unicode 5.2.· |
2291 * websocket: new package (thanks Fumitoshi Ukai)· | 2374 * websocket: new package (thanks Fumitoshi Ukai)· |
2292 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 2375 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
2293 * xml: fixed crash (thanks Vish Subramanian)· | 2376 * xml: fixed crash (thanks Vish Subramanian)· |
2294 * misc: bbedit config (thanks Anthony Starks),· | 2377 * misc: bbedit config (thanks Anthony Starks),· |
2295 kate config (thanks Evan Shaw)· | 2378 kate config (thanks Evan Shaw)· |
2296 </pre> | 2379 </pre> |
OLD | NEW |