OLD | NEW |
1 <!-- Weekly Snapshot History --> | 1 <!-- Weekly Snapshot History --> |
2 | 2 |
3 <p>This page summarizes the changes between tagged weekly snapshots of Go. | 3 <p>This page summarizes the changes between tagged weekly snapshots of Go. |
4 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> | 4 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> |
5 | 5 |
6 <p>Weekly snapshots occur often and may not be stable. | 6 <p>Weekly snapshots occur often and may not be stable. |
7 If stability of API and code is more important than having the | 7 If stability of API and code is more important than having the |
8 latest features, use the <a href="release.html">official releases</a> instead.</
p> | 8 latest features, use the <a href="release.html">official releases</a> instead.</
p> |
9 | 9 |
10 <p>To update to a specific snapshot, use:</p> | 10 <p>To update to a specific snapshot, use:</p> |
11 | 11 |
12 <pre> | 12 <pre> |
13 hg pull | 13 hg pull |
14 hg update weekly.<i>YYYY-MM-DD</i> | 14 hg update weekly.<i>YYYY-MM-DD</i> |
15 </pre> | 15 </pre> |
16 | 16 |
| 17 <h2 id="2011-06-23">2011-06-23</h2> |
| 18 |
| 19 <pre> |
| 20 This release includes a language change that restricts the use of goto. |
| 21 In essence, a "goto" statement outside a block cannot jump to a label inside |
| 22 that block. Your code may require changes if it uses goto. |
| 23 This changeset shows how the new rule affected the Go tree: |
| 24 http://code.google.com/p/go/source/detail?r=dc6d3cf9279d |
| 25 |
| 26 The os.ErrorString type has been hidden. If your code uses os.ErrorString it |
| 27 must be changed. Most uses of os.ErrorString can be replaced with os.NewError. |
| 28 |
| 29 Other changes: |
| 30 * 5c: do not use R9 and R10. |
| 31 * 8l: more fixes for Plan 9 (thanks Lucio De Re). |
| 32 * build: Make.ccmd: link with mach lib (thanks Joe Poirier). |
| 33 * build: exclude packages that fail on Plan 9 (thanks Anthony Martin). |
| 34 * cc: nit: silence comment warnings (thanks Dave Cheney). |
| 35 * codereview.py: note that hg change -d abandons a change list (thanks Robert He
ncke). |
| 36 * crypto/openpgp: add ElGamal support. |
| 37 * doc/faq: add question about converting from []T to []interface{}. |
| 38 * doc: Effective Go: fix variadic function example (thanks Ben Lynn). |
| 39 * exec: LookPath should not search %PATH% for files like c:cmd.exe (thanks Alex
Brainman), |
| 40 add support for Plan 9 (thanks Anthony Martin), |
| 41 better error message for windows LookPath (thanks Alex Brainman). |
| 42 * fmt: catch panics from calls to String etc. |
| 43 * gc: descriptive panic for nil pointer -> value method call, |
| 44 implement goto restriction, |
| 45 unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr. |
| 46 * go/build: include Import objects in Script Inputs. |
| 47 * godefs: rudimentary tests (thanks Robert Hencke). |
| 48 * goinstall: refactor and generalize repo handling code (thanks Julian Phillips)
, |
| 49 temporarily use Makefiles by default (override with -make=false). |
| 50 * gopprof: update list of memory allocators. |
| 51 * http: add Server.ListenAndServeTLS, |
| 52 buffer request.Write, |
| 53 fix req.Cookie(name) with cookies in one header, |
| 54 permit handlers to explicitly remove the Date header, |
| 55 write Header keys with empty values. |
| 56 * image: basic test for the 16-bits-per-color-channel types. |
| 57 * io: clarify Read, ReadAt, Copy, Copyn EOF behavior. |
| 58 * ld: don't attempt to build dynamic sections unnecessarily (thanks Gustavo Niem
eyer). |
| 59 * libmach: fix disassembly of FCMOVcc and FCOMI (thanks Anthony Martin), |
| 60 fix tracing on linux (for cov) (thanks Anthony Martin). |
| 61 * mime: fix RFC references (thanks Pascal S. de Kloe). |
| 62 * misc/gobuilder: run make single-threaded on windows (thanks Alex Brainman). |
| 63 * misc/godashboard: Accept sub-directories for goinstall's report (thanks Yasuhi
ro Matsumoto). |
| 64 * nacl, tiny: remove vestiges (thanks Robert Hencke). |
| 65 * net, syscall: interface for windows (thanks Yasuhiro Matsumoto). |
| 66 * os: change Waitmsg String method to use pointer receiver (thanks Graham Miller
). |
| 67 * runtime: don't use twice the memory with grsec-like kernels (thanks Gustavo Ni
emeyer), |
| 68 * spec: disallow goto into blocks. |
| 69 * sync: restore GOMAXPROCS during benchmarks. |
| 70 * syscall: add LSF support for linux (thanks Mikio Hara), |
| 71 add socket control message support for darwin, freebsd, linux (thanks Mi
kio Hara), |
| 72 add tty support to StartProcess (thanks Ken Rockot), |
| 73 fix build for Sizeof change. |
| 74 * test: test of goto restrictions. |
| 75 * time: add support for Plan 9 (thanks Anthony Martin). |
| 76 </pre> |
| 77 |
17 <h2 id="2011-06-16">2011-06-16</h2> | 78 <h2 id="2011-06-16">2011-06-16</h2> |
18 | 79 |
19 <pre> | 80 <pre> |
20 This release includes changes to the sort and image/draw packages that will | 81 This release includes changes to the sort and image/draw packages that will |
21 require changes to client code. | 82 require changes to client code. |
22 | 83 |
23 The sort.IntArray type has been renamed to IntSlice, and similarly for | 84 The sort.IntArray type has been renamed to IntSlice, and similarly for |
24 StringArray and Float64Array. | 85 StringArray and Float64Array. |
25 | 86 |
26 The image/draw package’s Draw function now takes an additional argument, | 87 The image/draw package’s Draw function now takes an additional argument, |
(...skipping 3294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3321 global channel lock is gone.· | 3382 global channel lock is gone.· |
3322 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 3383 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
3323 * template: can use maps as data (thanks James Meneghello)· | 3384 * template: can use maps as data (thanks James Meneghello)· |
3324 * unicode: updated to Unicode 5.2.· | 3385 * unicode: updated to Unicode 5.2.· |
3325 * websocket: new package (thanks Fumitoshi Ukai)· | 3386 * websocket: new package (thanks Fumitoshi Ukai)· |
3326 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 3387 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
3327 * xml: fixed crash (thanks Vish Subramanian)· | 3388 * xml: fixed crash (thanks Vish Subramanian)· |
3328 * misc: bbedit config (thanks Anthony Starks),· | 3389 * misc: bbedit config (thanks Anthony Starks),· |
3329 kate config (thanks Evan Shaw)· | 3390 kate config (thanks Evan Shaw)· |
3330 </pre> | 3391 </pre> |
OLD | NEW |