diff --git a/doc/go1.18.html b/doc/go1.18.html index 385a1ae804c26..55a1de3bd8fd9 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -31,19 +31,30 @@

Changes to the language

Ports

-

+

FreeBSD

+ +

Go 1.18 is the last release that is supported on FreeBSD 11.x, which has already reached end-of-life. Go 1.19 will require FreeBSD 12.2+ or FreeBSD 13.0+. FreeBSD 13.0+ will require a kernel with the COMPAT_FREEBSD12 option set (this is the default).

-

Tools

+

PPC64

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://golang.org/cl/353969: internal/buildcfg: enable register ABI for PPC64 +

+ +

RISC-V

+ +

+ The 64-bit RISC-V architecture on Linux (the linux/riscv64 port) + now supports the c-archive and c-shared build modes.

+

Tools

+

Go command

@@ -103,8 +114,8 @@

Go command

go mod download all.

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://golang.org/cl/349595: https://golang.org/cl/349595: cmd/go: add GOAMD64 environment variable

gofmt

@@ -115,7 +126,6 @@

gofmt

multiple CPUs, gofmt should now be significantly faster.

-

Runtime

@@ -124,24 +134,30 @@

Runtime

Compiler

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://golang.org/cl/298611: https://golang.org/cl/298611: cmd/compile: add -asan option +

+ +

+ TODO: https://golang.org/cl/352057: https://golang.org/cl/352057: cmd/compile, runtime: track argument stack slot liveness

Linker

-

- TODO: complete this section, or delete if not needed +

+ TODO: https://golang.org/cl/298610: https://golang.org/cl/298610: cmd/link: add -asan option

Core library

-

TODO

-

- TODO: complete this section +

New constraints package

+ +

+ TODO: https://golang.org/cl/349709: constraints: new package

New net/netip package

+

The new net/netip package defines a new IP address type, Addr. @@ -163,6 +179,12 @@

New net/netip package

*net.UDPAddr values.

+

TODO

+ +

+ TODO: complete this section +

+

Minor changes to the library

@@ -175,6 +197,26 @@

Minor changes to the library

TODO: complete this section

+
bufio
+
+

+ TODO: https://golang.org/cl/345569: add Writer.AvailableBuffer +

+ +

+ TODO: https://golang.org/cl/345570: make Reader.Reset and Writer.Reset work on the zero value +

+
+
+ +
crypto/tls
+
+

+ TODO: https://golang.org/cl/325250: add Conn.NetConn method +

+
+
+
debug/buildinfo

@@ -201,9 +243,33 @@

Minor changes to the library

+
net
+
+

+ TODO: https://golang.org/cl/340261: deprecate (net.Error).Temporary +

+
+
+ +
net/http
+
+

+ TODO: https://golang.org/cl/338590: add Cookie.Valid method +

+
+
+ +
os/user
+
+

+ TODO: https://golang.org/cl/330753: implement go native GroupIds +

+
+
+
reflect
-

+

The new Value.SetIterKey and Value.SetIterValue @@ -211,8 +277,7 @@

Minor changes to the library

Value.Set(iter.Key()) and Value.Set(iter.Value()) but do fewer allocations.

-
-
+

The new Value.UnsafePointer @@ -221,9 +286,69 @@

Minor changes to the library

and Value.Pointer to eliminate the need to perform uintptr to unsafe.Pointer conversions at the callsite (as unsafe.Pointer rules require).

+ +

+ TODO: https://golang.org/cl/321889: allocate hiter as part of MapIter +

+ +

+ TODO: https://golang.org/cl/321891: add MapIter.Reset +

+ +

+ TODO: https://golang.org/cl/345486: optimize for maps with string keys +

+ +

+ TODO: https://golang.org/cl/352131: add Value.{CanInt, CanUint, CanFloat, CanComplex} +

+ +

+ TODO: https://golang.org/cl/357962: add FieldByIndexErr +

+
regexp
+
+

+ TODO: https://golang.org/cl/354569: document and implement that invalid UTF-8 bytes are the same as U+FFFD +

+
+
+ +
strconv
+
+

+ TODO: https://golang.org/cl/343877: reject surrogate halves in Unquote +

+
+
+ +
strings
+
+

+ TODO: https://golang.org/cl/345849: add Clone function +

+
+
+ +
strings,bytes
+
+

+ TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight +

+
+
+ +
sync
+
+

+ TODO: https://golang.org/cl/319769: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock +

+
+
+
syscall

@@ -238,5 +363,45 @@

Minor changes to the library

Syscall18 are deprecated in favor of SyscallN.

+ +

+ TODO: https://golang.org/cl/355570: add support for SysProcAttr.Pdeathsig on FreeBSD +

+ +
syscall/js
+
+

+ TODO: https://golang.org/cl/356430: remove Wrapper interface +

+
+
+ +
testing
+
+

+ TODO: https://golang.org/cl/343883: increase alternation precedence +

+ +

+ TODO: https://golang.org/cl/356669: skip extra -count iterations if there are no tests +

+
+
+ +
text/template
+
+

+ TODO: https://golang.org/cl/321490: implement short-circuit and, or +

+
+
+ +
unicode/utf8
+
+

+ TODO: https://golang.org/cl/345571: add AppendRune +

+
+