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="2012-01-20">2012-01-20</h2> |
| 18 |
| 19 <pre> |
| 20 This weekly snapshot renamed the exp/sql package to database/sql, and moved |
| 21 utf8.String from unicode/utf8 to exp/utf8string. |
| 22 |
| 23 Package net's SetTimeout methods were changed to SetDeadline. |
| 24 |
| 25 Many functions in package os now take a os.FileMode argument instead of a |
| 26 plain uint32. An os.ModeSticky constant is also now defined. |
| 27 |
| 28 The meaning of the first buffer element for image.YCbCr has changed to match |
| 29 the semantics of the other image types like image.RGBA. |
| 30 |
| 31 The NewMD5, NewSHA1 and NewSHA256 functions in crypto/hmac have been |
| 32 deprecated. Use New instead, explicitly passing the hash function. |
| 33 |
| 34 Other changes: |
| 35 * buildscripts: move to buildscript directory (thanks Shenghou Ma). |
| 36 * bytes: add the usual copyright notice to example_test.go (thanks Olivier Duper
ray). |
| 37 * cmd/go: remove mentions of 'gotest' from the documentation, |
| 38 skip _obj directories in package scans. |
| 39 * container/heap: better package documentation. |
| 40 * crypto/elliptic: add constant-time P224. |
| 41 * crypto/hmac: Add HMAC-SHA224 and HMAC-SHA384/512 (thanks Luit van Drongelen), |
| 42 * crypto/tls: add FreeBSD root certificate location (thanks Shenghou Ma). |
| 43 * crypto/x509: remove explicit uses of rsa. |
| 44 * doc: various updates (thanks Jongmin Kim, Scott Lawrence, Shenghou Ma, Stefan
Nilsson). |
| 45 * encoding/json: allow / and % in tag names, |
| 46 document angle bracket escaping, |
| 47 fix comments, tweak tests for tag names (thanks Mikio Hara). |
| 48 * encoding/xml: marshal/unmarshal xml.Name in field (thanks Gustavo Niemeyer). |
| 49 * exp/inotify: fix data race in linux tests. |
| 50 * exp/proxy: fix build after URL changes (thanks Gustavo Niemeyer). |
| 51 * exp/sql: copy when scanning into []byte by default, |
| 52 rename NullableString to NullString and allow its use as a parameter. |
| 53 * exp/ssh: add marshal functions for uint32 and uint64 types, |
| 54 handle versions with just '\n', |
| 55 rename (some) fields (thanks Christopher Wedgwood). |
| 56 * exp/terminal: fix build on non-Linux using Makefiles. |
| 57 * fmt: enable and fix malloc test, |
| 58 * gc: don't emit pkgpath for error type, |
| 59 don't fault on return outside function (thanks Scott Lawrence), |
| 60 fieldnames in structliterals in exported inlines should not be qualified
if they're embedded builtin types, |
| 61 fix infinite recursion for embedded interfaces, |
| 62 give esc.c's sink an orig so -mm diagnostics work again, |
| 63 handle printing of string/arrayrune conversions. |
| 64 remove redundant code (thanks Shenghou Ma). |
| 65 * go/build: no back slash in FindTree returned pkg name (thanks Alex Brainman). |
| 66 * go/doc: collect imports, |
| 67 don't shadow receiver. |
| 68 rewrote and completed test framework. |
| 69 print only one newline between paragraphs |
| 70 * go/parser: expressions may have comments. |
| 71 * go/scanner: fix example (thanks Olivier Duperray). |
| 72 * go/token: replaced Files() with Iterate(). |
| 73 * godoc: add anchors to cmd documentation headings, |
| 74 remove "need more packages?" link, |
| 75 specify HTML page metadata with a JSON blob, |
| 76 support canonical Paths in HTML metadata. |
| 77 * html/template: fix docs after API changes (thanks Gustavo Niemeyer). |
| 78 * html: in foreign content, check for HTML integration points in breakout. |
| 79 * image/color: rename modelYCbCr to yCbCrModel (thanks Benny Siegert), |
| 80 simplify documentation (thanks David Crawshaw). |
| 81 * image: add PixOffset methods. |
| 82 * math/rand: decrease test duration in short mode, |
| 83 document default initial seed for global generator (thanks Scott Lawrenc
e). |
| 84 * mime: make FormatMediaType take full type for consistency. |
| 85 * misc/cgo/test: make tests run on windows (thanks Alex Brainman). |
| 86 * net/http/cgi: increase a flaky test timeout. |
| 87 * net/http: change test to use override param instead of chan, |
| 88 log handler panic before closing HTTP connection, |
| 89 send cookies in jar on redirect (thanks Jeff Hodges), |
| 90 the documentation should call NewRequest with the right signature (thank
s Christoph Hack), |
| 91 update the Client docs a bit. |
| 92 * net/url: cleaned up URL interface (v2) (thanks Gustavo Niemeyer). |
| 93 * net: consistent log format in test (thanks Mikio Hara), |
| 94 various build fixes (thanks Mikio Hara), |
| 95 use NewTimer, not NewTicker, in fd_windows.go. |
| 96 * old/netchan: fix data race on client hashmap. |
| 97 * os/exec: trivial allocation removal in LookPath (thanks Gustavo Niemeyer). |
| 98 * os: remove old note about NewSyscallError being special (thanks Alex Brainman)
, |
| 99 * path: added examples (thanks Sanjay Menakuru). |
| 100 * pkg: Add and fix Copyright of "hand generated" files (thanks Olivier Duperray)
, |
| 101 add missing godoc comments to windows versions (thanks Alex Brainman). |
| 102 * regexp: add SubexpNames. |
| 103 * runtime: implement runtime.usleep for FreeBSD/386 and amd64 (thanks Shenghou M
a), |
| 104 madvise and SysUnused for Darwin (thanks Dave Cheney). |
| 105 * sync/atomic: fix data race in tests. |
| 106 * syscall: add Unix method to TimeSpec, TimeVal, |
| 107 fix plan9 build (thanks Mikio Hara). |
| 108 * test: change several tests to not print, |
| 109 fix bug364 to actually run, |
| 110 match gccgo error messages for bug345, |
| 111 split golden.out into expected output per test. |
| 112 * testing: do not recover example's panic (thanks Shenghou Ma), |
| 113 document examples. |
| 114 * text/template/parse: use human error prints. |
| 115 * text/template: fix nil error on redefinition. |
| 116 * time: add Since, which returns the time elapsed since some past time t. |
| 117 </pre> |
| 118 |
17 <h2 id="2012-01-15">2012-01-15</h2> | 119 <h2 id="2012-01-15">2012-01-15</h2> |
18 | 120 |
19 <pre> | 121 <pre> |
20 This weekly snapshot includes two package changes that may require changes to | 122 This weekly snapshot includes two package changes that may require changes to |
21 client code. | 123 client code. |
22 | 124 |
23 The image package's Tiled type has been renamed to Repeated. | 125 The image package's Tiled type has been renamed to Repeated. |
24 | 126 |
25 The encoding/xml package has been changed to make more idiomatic use of struct | 127 The encoding/xml package has been changed to make more idiomatic use of struct |
26 tags, among other things. If you use the xml package please read the change | 128 tags, among other things. If you use the xml package please read the change |
(...skipping 5098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5125 global channel lock is gone.· | 5227 global channel lock is gone.· |
5126 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 5228 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
5127 * template: can use maps as data (thanks James Meneghello)· | 5229 * template: can use maps as data (thanks James Meneghello)· |
5128 * unicode: updated to Unicode 5.2.· | 5230 * unicode: updated to Unicode 5.2.· |
5129 * websocket: new package (thanks Fumitoshi Ukai)· | 5231 * websocket: new package (thanks Fumitoshi Ukai)· |
5130 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 5232 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
5131 * xml: fixed crash (thanks Vish Subramanian)· | 5233 * xml: fixed crash (thanks Vish Subramanian)· |
5132 * misc: bbedit config (thanks Anthony Starks),· | 5234 * misc: bbedit config (thanks Anthony Starks),· |
5133 kate config (thanks Evan Shaw)· | 5235 kate config (thanks Evan Shaw)· |
5134 </pre> | 5236 </pre> |
OLD | NEW |