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-08-17">2011-08-17</h2> |
| 18 |
| 19 <pre> |
| 20 This weekly contains some package re-shuffling. Users of the http and |
| 21 template packages may be affected. |
| 22 |
| 23 This weekly replaces the template package with exp/template. |
| 24 The original template package is still available as old/template. |
| 25 The old/template package is deprecated and will be removed at some point |
| 26 in the future. The Go tree has been updated to use the new template package. |
| 27 We encourage users of the old template package to switch to the new one. |
| 28 Code that uses template or exp/template will need to change |
| 29 its import lines to "old/template" or "template", respectively. |
| 30 |
| 31 The http package's URL parsing and query escaping code (such as ParseURL and |
| 32 URLEscape) has been moved to the new url package, with several simplifications |
| 33 to the names. Client code can be updated automatically with gofix. |
| 34 |
| 35 * asn1: support unmarshalling structs with int32 members (thanks Dave Cheney). |
| 36 * build: allow builds without cgo or hg, |
| 37 support versioning without hg (thanks Gustavo Niemeyer). |
| 38 * builtin: add documentation for builtins. |
| 39 * cgo: omit duplicate symbols in writeDefs (thanks Julian Phillips). |
| 40 * misc: add support for OpenBSD. |
| 41 * doc/codewalk: new Markov chain codewalk. |
| 42 * exp/norm: added trie lookup code and associated tests, |
| 43 generate trie struct in triegen.go for better encapsulation, |
| 44 implementation of decomposition and composing functionality. |
| 45 * exp/template/html: new experimental package for auto-escaping HTML templates. |
| 46 * exp/template: don't panic on range of nil interface, |
| 47 rename Parse*File and Parse*Files for clarity, |
| 48 support field syntax on maps (thanks Gustavo Niemeyer), and |
| 49 many other fixes and changes. |
| 50 * gc: implement nil chan and nil map support. |
| 51 * go/parser: range clause and type literal fixes. |
| 52 * godoc: show all top-level decls for (fake) package builtin. |
| 53 * goinstall: really report all newly-installed public packages. |
| 54 * html: parse more malformed tags. |
| 55 * http: fix ParseMultipartForm after MultipartReader error, |
| 56 fix side effects in DefaultTransport's RoundTrip method (thanks Dave Gri
jalva). |
| 57 * json: fix []unmarshaler case. |
| 58 * ld: make addaddrplus4 static (thanks Lucio De Re). |
| 59 * syscall: move multicast address handling to the net package. |
| 60 * net: Plan 9 support (thanks Fazlul Shahriar), |
| 61 add SetTimeout to Listener interface (thanks Aleksandar Dezelin), |
| 62 add multicast stubs for OpenBSD, |
| 63 return correct local address for an accepted TCP connection (thanks Miki
o Hara). |
| 64 * reflect: panic on Invalid Interface call (thanks Gustavo Niemeyer). |
| 65 * rpc: implement ServeRequest to synchronously serve a single request, |
| 66 make Server.Mutex unexported. |
| 67 * runtime: better checks for syscall.NewCallback parameter (thanks Alex Brainman
), |
| 68 correct SEH installation during callbacks (thanks Alex Brainman), |
| 69 fix GC bitmap corruption, |
| 70 fix pseudo-randomness on some selects (thanks Gustavo Niemeyer). |
| 71 * syscall: make LazyDLL/LazyProc.Mutex unexported. |
| 72 * test: allow multiple patterns in errchk, |
| 73 new nil semantics. |
| 74 * time: take fractional seconds even if not in the format string. |
| 75 * url: new package. |
| 76 * utf8: rename some internal constants to remove leading underscores. |
| 77 * xml: escape string chardata in xml.Marshal. |
| 78 </pre> |
| 79 |
17 <h2 id="2011-08-10">2011-08-10</h2> | 80 <h2 id="2011-08-10">2011-08-10</h2> |
18 | 81 |
19 <pre> | 82 <pre> |
20 This weekly contains performance improvements and bug fixes. | 83 This weekly contains performance improvements and bug fixes. |
21 | 84 |
22 There are no outward-facing changes, but imports of the old-style | 85 There are no outward-facing changes, but imports of the old-style |
23 container/vector package have also been removed from the core library (thanks | 86 container/vector package have also been removed from the core library (thanks |
24 John Asmuth, Kyle Consalus). | 87 John Asmuth, Kyle Consalus). |
25 | 88 |
26 Other changes: | 89 Other changes: |
(...skipping 3683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3710 global channel lock is gone.· | 3773 global channel lock is gone.· |
3711 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 3774 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
3712 * template: can use maps as data (thanks James Meneghello)· | 3775 * template: can use maps as data (thanks James Meneghello)· |
3713 * unicode: updated to Unicode 5.2.· | 3776 * unicode: updated to Unicode 5.2.· |
3714 * websocket: new package (thanks Fumitoshi Ukai)· | 3777 * websocket: new package (thanks Fumitoshi Ukai)· |
3715 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 3778 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
3716 * xml: fixed crash (thanks Vish Subramanian)· | 3779 * xml: fixed crash (thanks Vish Subramanian)· |
3717 * misc: bbedit config (thanks Anthony Starks),· | 3780 * misc: bbedit config (thanks Anthony Starks),· |
3718 kate config (thanks Evan Shaw)· | 3781 kate config (thanks Evan Shaw)· |
3719 </pre> | 3782 </pre> |
OLD | NEW |