|
| 1 | +<!--{ |
| 2 | + "Title": "Go 1.11 Release Notes", |
| 3 | + "Path": "/doc/go1.11", |
| 4 | + "Template": true |
| 5 | +}--> |
| 6 | + |
| 7 | +<!-- |
| 8 | +NOTE: In this document and others in this directory, the convention is to |
| 9 | +set fixed-width phrases with non-fixed-width spaces, as in |
| 10 | +<code>hello</code> <code>world</code>. |
| 11 | +Do not send CLs removing the interior tags from such phrases. |
| 12 | +--> |
| 13 | + |
| 14 | +<style> |
| 15 | + ul li { margin: 0.5em 0; } |
| 16 | +</style> |
| 17 | + |
| 18 | +<h2 id="introduction">DRAFT RELEASE NOTES - Introduction to Go 1.11</h2> |
| 19 | + |
| 20 | +<p> |
| 21 | + <strong> |
| 22 | + Go 1.11 is not yet released. These are work-in-progress |
| 23 | + release notes. Go 1.11 is expected to be released in August 2018. |
| 24 | + </strong> |
| 25 | +</p> |
| 26 | + |
| 27 | +<p> |
| 28 | + The latest Go release, version 1.11, arrives six months after <a href="go1.10">Go 1.10</a>. |
| 29 | + Most of its changes are in the implementation of the toolchain, runtime, and libraries. |
| 30 | + As always, the release maintains the Go 1 <a href="/doc/go1compat.html">promise of compatibility</a>. |
| 31 | + We expect almost all Go programs to continue to compile and run as before. |
| 32 | +</p> |
| 33 | + |
| 34 | +<h2 id="language">Changes to the language</h2> |
| 35 | + |
| 36 | +<p> |
| 37 | + There are no changes to the language specification. |
| 38 | +</p> |
| 39 | + |
| 40 | +<h2 id="ports">Ports</h2> |
| 41 | + |
| 42 | +<p> |
| 43 | + As <a href="go1.10#ports">announced in the Go 1.10 release notes</a>, Go 1.11 now requires |
| 44 | + OpenBSD 6.2 or later, macOS 10.10 Yosemite or later, or Windows 7 or later; |
| 45 | + Support for previous versions of these operating systems has been removed. |
| 46 | +</p> |
| 47 | + |
| 48 | +<p> |
| 49 | + There are <a href="https://golang.org/issue/25206">known issues</a> with NetBSD on i386 hardware. |
| 50 | +</p> |
| 51 | + |
| 52 | +<p><!-- CL 107935 --> |
| 53 | + TODO: PPC64LE race detector support |
| 54 | +</p> |
| 55 | + |
| 56 | +<h3 id="wasm">WebAssembly</h3> |
| 57 | +<p> |
| 58 | + Go 1.11 adds an experimental port to WebAssembly (<code>wasm/js</code>). |
| 59 | +</p> |
| 60 | + |
| 61 | +<h2 id="library">Core library</h2> |
| 62 | + |
| 63 | +<p> |
| 64 | + All of the changes to the standard library are minor. |
| 65 | +</p> |
| 66 | + |
| 67 | +<h3 id="minor_library_changes">Minor changes to the library</h3> |
| 68 | + |
| 69 | +<p> |
| 70 | + As always, there are various minor changes and updates to the library, |
| 71 | + made with the Go 1 <a href="/doc/go1compat">promise of compatibility</a> |
| 72 | + in mind. |
| 73 | +</p> |
| 74 | + |
| 75 | +<!-- CL 113315: https://golang.org/cl/113315: cmd/asm: enable AVX512 --> |
| 76 | +<!-- CL 100459: https://golang.org/cl/100459: cmd/compile: reject type switch with guarded declaration and no cases --> |
| 77 | +<!-- CL 106797: https://golang.org/cl/106797: cmd/compile: enable indexed export format by default --> |
| 78 | +<!-- CL 108475: https://golang.org/cl/108475: cmd/compile: add softfloat support to mips64{,le} --> |
| 79 | +<!-- CL 97375: https://golang.org/cl/97375: cmd/compile, cmd/compile/internal/syntax: print relative column info --> |
| 80 | +<!-- CL 110395: https://golang.org/cl/110395: cmd/go, cmd/compile: use Windows response files to avoid arg length limits --> |
| 81 | +<!-- CL 107475: https://golang.org/cl/107475: cmd/internal/obj/arm, runtime: delete old ARM softfloat code --> |
| 82 | +<!-- CL 112436: https://golang.org/cl/112436: cmd/pprof: add readline support similar to upstream --> |
| 83 | +<dl id="all"><dt><a href="/pkg/all/">all</a></dt> |
| 84 | + <dd> |
| 85 | + <p><!-- CL 93875 --> |
| 86 | + TODO: <a href="https://golang.org/cl/93875">https://golang.org/cl/93875</a>: enable c-shared/c-archive support for freebsd/amd64 |
| 87 | + </p> |
| 88 | + |
| 89 | + <p><!-- CL 94255 --> |
| 90 | + TODO: <a href="https://golang.org/cl/94255">https://golang.org/cl/94255</a>: drop support for Windows Vista or below (Windows XP) |
| 91 | + </p> |
| 92 | + |
| 93 | + <p><!-- CL 115038 --> |
| 94 | + TODO: <a href="https://golang.org/cl/115038">https://golang.org/cl/115038</a>: remove support for macOS 10.9 and earlier |
| 95 | + </p> |
| 96 | + |
| 97 | +</dl><!-- all --> |
| 98 | + |
| 99 | +<dl id="crypto"><dt><a href="/pkg/crypto/">crypto</a></dt> |
| 100 | + <dd> |
| 101 | + <p><!-- CL 64451 --> |
| 102 | + TODO: <a href="https://golang.org/cl/64451">https://golang.org/cl/64451</a>: randomly read an extra byte of randomness in some places. |
| 103 | + </p> |
| 104 | + |
| 105 | +</dl><!-- crypto --> |
| 106 | + |
| 107 | +<dl id="crypto/cipher"><dt><a href="/pkg/crypto/cipher/">crypto/cipher</a></dt> |
| 108 | + <dd> |
| 109 | + <p><!-- CL 48510, CL 116435 --> |
| 110 | + TODO: <a href="https://golang.org/cl/48510">https://golang.org/cl/48510</a>: add NewGCMWithTagSize for custom tag sizes. |
| 111 | + </p> |
| 112 | + |
| 113 | +</dl><!-- crypto/cipher --> |
| 114 | + |
| 115 | +<dl id="crypto/rsa"><dt><a href="/pkg/crypto/rsa/">crypto/rsa</a></dt> |
| 116 | + <dd> |
| 117 | + <p><!-- CL 103876 --> |
| 118 | + TODO: <a href="https://golang.org/cl/103876">https://golang.org/cl/103876</a>: add PublicKey.Size accessor |
| 119 | + </p> |
| 120 | + |
| 121 | +</dl><!-- crypto/rsa --> |
| 122 | + |
| 123 | +<dl id="debug/elf"><dt><a href="/pkg/debug/elf/">debug/elf</a></dt> |
| 124 | + <dd> |
| 125 | + <p><!-- CL 112115 --> |
| 126 | + TODO: <a href="https://golang.org/cl/112115">https://golang.org/cl/112115</a>: add machine and OSABI constants |
| 127 | + </p> |
| 128 | + |
| 129 | +</dl><!-- debug/elf --> |
| 130 | + |
| 131 | +<dl id="encoding/asn1"><dt><a href="/pkg/encoding/asn1/">encoding/asn1</a></dt> |
| 132 | + <dd> |
| 133 | + <p><!-- CL 110561 --> |
| 134 | + TODO: <a href="https://golang.org/cl/110561">https://golang.org/cl/110561</a>: allow Marshaling and Unmarshaling private tag class |
| 135 | + </p> |
| 136 | + |
| 137 | +</dl><!-- encoding/asn1 --> |
| 138 | + |
| 139 | +<dl id="encoding/base32"><dt><a href="/pkg/encoding/base32/">encoding/base32</a></dt> |
| 140 | + <dd> |
| 141 | + <p><!-- CL 112516 --> |
| 142 | + TODO: <a href="https://golang.org/cl/112516">https://golang.org/cl/112516</a>: handle surplus padding consistently |
| 143 | + </p> |
| 144 | + |
| 145 | +</dl><!-- encoding/base32 --> |
| 146 | + |
| 147 | +<dl id="encoding/csv"><dt><a href="/pkg/encoding/csv/">encoding/csv</a></dt> |
| 148 | + <dd> |
| 149 | + <p><!-- CL 99696 --> |
| 150 | + TODO: <a href="https://golang.org/cl/99696">https://golang.org/cl/99696</a>: disallow quote for use as Comma |
| 151 | + </p> |
| 152 | + |
| 153 | +</dl><!-- encoding/csv --> |
| 154 | + |
| 155 | +<dl id="go/build, runtime/internal/sys"><dt><a href="/pkg/go/build, runtime/internal/sys/">go/build, runtime/internal/sys</a></dt> |
| 156 | + <dd> |
| 157 | + <p><!-- CL 106256 --> |
| 158 | + TODO: <a href="https://golang.org/cl/106256">https://golang.org/cl/106256</a>: reserve RISC-V arch names |
| 159 | + </p> |
| 160 | + |
| 161 | +</dl><!-- go/build, runtime/internal/sys --> |
| 162 | + |
| 163 | +<dl id="image/gif"><dt><a href="/pkg/image/gif/">image/gif</a></dt> |
| 164 | + <dd> |
| 165 | + <p><!-- CL 93076 --> |
| 166 | + TODO: <a href="https://golang.org/cl/93076">https://golang.org/cl/93076</a>: support non-looping animated gifs (LoopCount=-1) |
| 167 | + </p> |
| 168 | + |
| 169 | +</dl><!-- image/gif --> |
| 170 | + |
| 171 | +<dl id="io/ioutil"><dt><a href="/pkg/io/ioutil/">io/ioutil</a></dt> |
| 172 | + <dd> |
| 173 | + <p><!-- CL 105675 --> |
| 174 | + TODO: <a href="https://golang.org/cl/105675">https://golang.org/cl/105675</a>: change TempFile prefix to a pattern |
| 175 | + </p> |
| 176 | + |
| 177 | +</dl><!-- io/ioutil --> |
| 178 | + |
| 179 | +<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt> |
| 180 | + <dd> |
| 181 | + <p><!-- CL 74851 --> |
| 182 | + TODO: <a href="https://golang.org/cl/74851">https://golang.org/cl/74851</a>: speed-up addMulVVW on amd64 |
| 183 | + </p> |
| 184 | + |
| 185 | +</dl><!-- math/big --> |
| 186 | + |
| 187 | +<dl id="net"><dt><a href="/pkg/net/">net</a></dt> |
| 188 | + <dd> |
| 189 | + <p><!-- CL 72810 --> |
| 190 | + TODO: <a href="https://golang.org/cl/72810">https://golang.org/cl/72810</a>: add ListenConfig, Dialer.Control to permit socket opts before listen/dial |
| 191 | + </p> |
| 192 | + |
| 193 | + <p><!-- CL 76391 --> |
| 194 | + TODO: <a href="https://golang.org/cl/76391">https://golang.org/cl/76391</a>: implement (*syscall.RawConn).Read/Write on Windows |
| 195 | + </p> |
| 196 | + |
| 197 | + <p><!-- CL 107715 --> |
| 198 | + TODO: <a href="https://golang.org/cl/107715">https://golang.org/cl/107715</a>: add support for splice(2) in (*TCPConn).ReadFrom on Linux |
| 199 | + </p> |
| 200 | + |
| 201 | + <p><!-- CL 108297 --> |
| 202 | + TODO: <a href="https://golang.org/cl/108297">https://golang.org/cl/108297</a>: calling File leaves the socket in nonblocking mode |
| 203 | + </p> |
| 204 | + |
| 205 | +</dl><!-- net --> |
| 206 | + |
| 207 | +<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt> |
| 208 | + <dd> |
| 209 | + <p><!-- CL 89275 --> |
| 210 | + TODO: <a href="https://golang.org/cl/89275">https://golang.org/cl/89275</a>: don't sniff Content-type in Server when X-Content-Type-Options:nosniff |
| 211 | + </p> |
| 212 | + |
| 213 | + <p><!-- CL 93296 --> |
| 214 | + TODO: <a href="https://golang.org/cl/93296">https://golang.org/cl/93296</a>: add StatusMisdirectedRequest (421) |
| 215 | + </p> |
| 216 | + |
| 217 | +</dl><!-- net/http --> |
| 218 | + |
| 219 | +<dl id="os"><dt><a href="/pkg/os/">os</a></dt> |
| 220 | + <dd> |
| 221 | + <p><!-- CL 78835 --> |
| 222 | + TODO: <a href="https://golang.org/cl/78835">https://golang.org/cl/78835</a>: add UserCacheDir |
| 223 | + </p> |
| 224 | + |
| 225 | + <p><!-- CL 94856 --> |
| 226 | + TODO: <a href="https://golang.org/cl/94856">https://golang.org/cl/94856</a>: add ModeIrregular flag |
| 227 | + </p> |
| 228 | + |
| 229 | + <p><!-- CL 99337 --> |
| 230 | + TODO: <a href="https://golang.org/cl/99337">https://golang.org/cl/99337</a>: enable symlink creation on Windows 10 |
| 231 | + </p> |
| 232 | + |
| 233 | + <p><!-- CL 100077 --> |
| 234 | + TODO: <a href="https://golang.org/cl/100077">https://golang.org/cl/100077</a>: use poller when NewFile is called with a blocking descriptor. |
| 235 | + </p> |
| 236 | + |
| 237 | +</dl><!-- os --> |
| 238 | + |
| 239 | +<dl id="os/signal"><dt><a href="/pkg/os/signal/">os/signal</a></dt> |
| 240 | + <dd> |
| 241 | + <p><!-- CL 108376 --> |
| 242 | + TODO: <a href="https://golang.org/cl/108376">https://golang.org/cl/108376</a>: add func Ignored(sig Signal) bool |
| 243 | + </p> |
| 244 | + |
| 245 | +</dl><!-- os/signal --> |
| 246 | + |
| 247 | +<dl id="os/user"><dt><a href="/pkg/os/user/">os/user</a></dt> |
| 248 | + <dd> |
| 249 | + <p><!-- CL 92456 --> |
| 250 | + TODO: <a href="https://golang.org/cl/92456">https://golang.org/cl/92456</a>: add a way to enforce pure Go implementation |
| 251 | + </p> |
| 252 | + |
| 253 | +</dl><!-- os/user --> |
| 254 | + |
| 255 | +<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt> |
| 256 | + <dd> |
| 257 | + <p><!-- CL 85887 --> |
| 258 | + TODO: <a href="https://golang.org/cl/85887">https://golang.org/cl/85887</a>: use sparse mappings for the heap |
| 259 | + </p> |
| 260 | + |
| 261 | + <p><!-- CL 94076 --> |
| 262 | + TODO: <a href="https://golang.org/cl/94076">https://golang.org/cl/94076</a>: use native CAS and memory barrier on ARMv7 |
| 263 | + </p> |
| 264 | + |
| 265 | + <p><!-- CL 106156 --> |
| 266 | + TODO: <a href="https://golang.org/cl/106156">https://golang.org/cl/106156</a>: use fixed TLS offsets on darwin/amd64 and darwin/386 |
| 267 | + </p> |
| 268 | + |
| 269 | + <p><!-- CL 109255 --> |
| 270 | + TODO: <a href="https://golang.org/cl/109255">https://golang.org/cl/109255</a>: enable memory sanitizer on arm64 |
| 271 | + </p> |
| 272 | + |
| 273 | +</dl><!-- runtime --> |
| 274 | + |
| 275 | +<dl id="runtime,cmd/ld"><dt><a href="/pkg/runtime,cmd/ld/">runtime,cmd/ld</a></dt> |
| 276 | + <dd> |
| 277 | + <p><!-- CL 108679 --> |
| 278 | + TODO: <a href="https://golang.org/cl/108679">https://golang.org/cl/108679</a>: on darwin, create theads using libc |
| 279 | + </p> |
| 280 | + |
| 281 | +</dl><!-- runtime,cmd/ld --> |
| 282 | + |
| 283 | +<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt> |
| 284 | + <dd> |
| 285 | + <p><!-- CL 102696 --> |
| 286 | + TODO: <a href="https://golang.org/cl/102696">https://golang.org/cl/102696</a>: introduce "allocs" profile |
| 287 | + </p> |
| 288 | + |
| 289 | +</dl><!-- runtime/pprof --> |
| 290 | + |
| 291 | +<dl id="runtime/traceback"><dt><a href="/pkg/runtime/traceback/">runtime/traceback</a></dt> |
| 292 | + <dd> |
| 293 | + <p><!-- CL 70993 --> |
| 294 | + TODO: <a href="https://golang.org/cl/70993">https://golang.org/cl/70993</a>: support tracking goroutine ancestor tracebacks with GODEBUG="tracebackancestors=N" |
| 295 | + </p> |
| 296 | + |
| 297 | +</dl><!-- runtime/traceback --> |
| 298 | + |
| 299 | +<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt> |
| 300 | + <dd> |
| 301 | + <p><!-- CL 87095 --> |
| 302 | + TODO: <a href="https://golang.org/cl/87095">https://golang.org/cl/87095</a>: enable profiling of RWMutex |
| 303 | + </p> |
| 304 | + |
| 305 | +</dl><!-- sync --> |
| 306 | + |
| 307 | +<dl id="syscall"><dt><a href="/pkg/syscall/">syscall</a></dt> |
| 308 | + <dd> |
| 309 | + <p><!-- CL 106275 --> |
| 310 | + TODO: <a href="https://golang.org/cl/106275">https://golang.org/cl/106275</a>: introduce Pointer type and use it instead of uintptr |
| 311 | + </p> |
| 312 | + |
| 313 | +</dl><!-- syscall --> |
| 314 | + |
| 315 | +<dl id="text/scanner"><dt><a href="/pkg/text/scanner/">text/scanner</a></dt> |
| 316 | + <dd> |
| 317 | + <p><!-- CL 112037 --> |
| 318 | + TODO: <a href="https://golang.org/cl/112037">https://golang.org/cl/112037</a>: return RawString token rather than String for raw string literals |
| 319 | + </p> |
| 320 | + |
| 321 | +</dl><!-- text/scanner --> |
| 322 | + |
| 323 | +<dl id="text/template"><dt><a href="/pkg/text/template/">text/template</a></dt> |
| 324 | + <dd> |
| 325 | + <p><!-- CL 84480 --> |
| 326 | + TODO: <a href="https://golang.org/cl/84480">https://golang.org/cl/84480</a>: add variable assignments |
| 327 | + </p> |
| 328 | + |
| 329 | +</dl><!-- text/template --> |
| 330 | + |
| 331 | +<dl id="time"><dt><a href="/pkg/time/">time</a></dt> |
| 332 | + <dd> |
| 333 | + <p><!-- CL 98157 --> |
| 334 | + TODO: <a href="https://golang.org/cl/98157">https://golang.org/cl/98157</a>: add support for parsing timezones denoted by sign and offset |
| 335 | + </p> |
| 336 | + |
| 337 | +</dl><!-- time --> |
0 commit comments