golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.36k stars 17.71k forks source link

doc: document the Go 1.9 release #20587

Closed bradfitz closed 7 years ago

bradfitz commented 7 years ago

Write go1.9.html.

Start of a tool was just submitted in https://golang.org/cl/44814 :

$ go get golang.org/x/build/cmd/relnote
$ relnote
archive/zip
  https://golang.org/cl/39570: archive/zip: set utf-8 flag
cmd/compile
  https://golang.org/cl/36725: requires Power8 now: cmd/compile: use reg moves for int <-> float conversions on ppc64x
  https://golang.org/cl/36832: power8 requirement: cmd/compile: atomics as intrinsics on ppc64x
cmd/doc
  https://golang.org/cl/38438: cmd/doc: implement "go doc struct.field"
cmd/go
  https://golang.org/cl/38745: cmd/go: exclude vendored packages from ... matches
  https://golang.org/cl/38757: cmd/go: add -json flag to go env
  https://golang.org/cl/40112: cmd/go: allow full flag processing in go vet
  https://golang.org/cl/43855: cmd/go: include GOARM and GO386 in computed build ID
cmd/internal/dwarf
  https://golang.org/cl/44210: cmd/internal/dwarf: update to DWARF4, emit frame_base
cmd/internal/obj/x86
  https://golang.org/cl/42990: cmd/internal/obj/x86: add ADDSUBPS/PD
cmd/link
  https://golang.org/cl/36983: cmd/link: write dwarf sections
cmd/link,runtime/cgo
  https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS generation on OpenBSD
cmd/pprof
  https://golang.org/cl/38343: cmd/pprof: use proxy from environment
cmd/trace
  https://golang.org/cl/36015: cmd/trace: Record mark assists in execution traces
crypto
  https://golang.org/cl/36876: crypto: add BLAKE2b and BLAKE2s hash constants
crypto/aes
  https://golang.org/cl/38366: crypto/aes: ARM assembly versions of encrypt, decrypt and expandKey
crypto/rand
  https://golang.org/cl/43852: crypto/rand: use blocking getrandom call on Linux when supported
crypto/x509
  https://golang.org/cl/36093: crypto/x509: load certs from env vars + extra locations
  https://golang.org/cl/36900:  thing for this release, to remind us what to write about later at the end of the cycle:: crypto/x509: support excluded domains in name constraints.
database/sql
  https://golang.org/cl/35476: database/sql: proper prepared statement support in transactions
  https://golang.org/cl/39031: database/sql: support scanning into user defined string types
  https://golang.org/cl/40694: database/sql: allow using a single connection from the database
debug/dwarf
  https://golang.org/cl/44017: debug/dwarf: heuristically handle both UNIX and Windows paths
encoding/asn1
  https://golang.org/cl/38660: encoding/asn1: add NullBytes and NullRawValue for working with ASN.1 NULL
encoding/base32
  https://golang.org/cl/38634: encoding/base32: add Encoding.WithPadding, StdPadding, NoPadding
encoding/gob
  https://golang.org/cl/39203: encoding/gob: speedup decoding of maps by zeroing values
fmt
  https://golang.org/cl/37051: fmt: support sharp flag for float and complex value printing
go/build
  https://golang.org/cl/44291: go/build: make -I/-L options in cgo flags absolute
hash/fnv
  https://golang.org/cl/38356: hash/fnv: add 128-bit FNV hash support
html/template
  https://golang.org/cl/37880: html/template: panic if predefined escapers are found in pipelines during rewriting
  https://golang.org/cl/40936: html/template: allow safe usage of predefined escapers in pipelines
image
  https://golang.org/cl/36734: image: fix the overlap check in Rectangle.Intersect.
image/color
  https://golang.org/cl/36732: image/color: tweak the YCbCr to RGBA conversion formula again.
image/png
  https://golang.org/cl/34150: image/png: reduce memory allocs encoding images by reusing buffers
  https://golang.org/cl/38271: image/png: decode Gray8 transparent images.
math/big
  https://golang.org/cl/36487: math/big: add IsInt64/IsUint64 predicates
math/bits
  https://golang.org/cl/36315: new package: math/bits: added package for bit-level counting and manipulation
mime/multipart
  https://golang.org/cl/39223: mime/multipart: add Size to FileHeader
net
  https://golang.org/cl/32572: net: add Resolver.StrictErrors
  https://golang.org/cl/37260: net: allow Resolver to use a custom dialer
  https://golang.org/cl/37402: net: implement deadline functionality on Pipe
  https://golang.org/cl/40510: net: don't enclose non-literal IPv6 addresses in square brackets
  https://golang.org/cl/40512: net: validate network in Dial{,IP} and Listen{Packet,IP} for IP networks
net/http
  https://golang.org/cl/35488: transport socks5 support: net/http: add support for socks5 proxy
  https://golang.org/cl/38194: net/http: strip port from host in mux Handler
  https://golang.org/cl/43231: net/http: for http2, use the priority write scheduler by default
net/http/fcgi
  https://golang.org/cl/40012: net/http/fcgi: expose cgi env vars in request context
net/http/httptest
  https://golang.org/cl/34639: new API: net/http/httptest: add Client and Certificate to Server
net/rpc
  https://golang.org/cl/38474: net/rpc: Create empty maps and slices as return type
os
  https://golang.org/cl/37915: os: parse command line without shell32.dll
  https://golang.org/cl/41830: os: do not report ModeDir for symlinks on windows
os/exec
  https://golang.org/cl/37586: os/exec: remove duplicate environment variables in Cmd.Start
os/user
  https://golang.org/cl/33713: feature: os/user: add Go implementation of LookupGroup, LookupGroupId
  https://golang.org/cl/37664: os/user: add non-cgo versions of Lookup, LookupId
reflect
  https://golang.org/cl/38335: reflect: Add MakeMapWithSize for creating maps with size hint
runtime
  https://golang.org/cl/29341: maybe: runtime: use cpuset_getaffinity for runtime.NumCPU() on FreeBSD
  https://golang.org/cl/34937: runtime: make ReadMemStats STW for < 25µs
  https://golang.org/cl/35710: runtime: make time correctly update on Wine
  https://golang.org/cl/37233: tracebacks now include inlined functions: runtime: use inlining tables to generate accurate tracebacks
  https://golang.org/cl/37441: runtime: make complex division c99 compatible
  https://golang.org/cl/37520: runtime: make runtime.GC() trigger a concurrent GC
  https://golang.org/cl/37726: runtime: strongly encourage CallersFrames with the result of Callers
  https://golang.org/cl/38403: runtime: reduce Windows timer resolution when idle
  https://golang.org/cl/40810: maybe: runtime: make sweep trace events encompass entire sweep loop
  https://golang.org/cl/43641: maybe: runtime: use pselect6 for usleep on linux/amd64 and linux/arm
runtime/debug
  https://golang.org/cl/34013: runtime/debug: don't run a GC when setting SetGCPercent negative
  https://golang.org/cl/39835: runtime/debug: don't trigger a GC on SetGCPercent
runtime/pprof
  https://golang.org/cl/34198: add support for profiler labels: runtime/pprof: add definitions of profile label types
sync
  https://golang.org/cl/34310: possible starvation problem fixed in sync.Mutex: sync: make Mutex more fair
  https://golang.org/cl/36617: sync: import Map from x/sync/syncmap
syscall
  https://golang.org/cl/36697: syscall: only call setgroups if we need to
  https://golang.org/cl/37439: syscall: use CLONE_VFORK and CLONE_VM
  https://golang.org/cl/37913: syscall: add Conn and RawConn interfaces
testing
  https://golang.org/cl/38796: testing: add TB.Helper to better support test helpers
  https://golang.org/cl/41195: testing: add argument to list tests, benchmarks, and examples
testing/quick
  https://golang.org/cl/39152: testing/quick: generate all possible int64, uint64 values
time
  https://golang.org/cl/36255: time: record monotonic clock reading in time.Now, for more accurate comparisons
  https://golang.org/cl/36615: time: add Duration.Truncate and Duration.Round
gopherbot commented 7 years ago

CL https://golang.org/cl/45011 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45012 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45014 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45050 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45051 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45091 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45116 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45118 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45550 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45613 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45730 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45780 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45810 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45811 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/45910 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/46717 mentions this issue.

ALTree commented 7 years ago

Relnotes usually have a gccgo subsection in the Tools section explaining how's gccgo doing and what version to expect in the next release (e.g. http://tip.golang.org/doc/go1.8#gccgo, http://tip.golang.org/doc/go1.7#gccgo, http://tip.golang.org/doc/go1.6#gccgo). Currently missing from the 1.9 relnotes.

gopherbot commented 7 years ago

CL https://golang.org/cl/47034 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/47092 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/47331 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/47551 mentions this issue.

gopherbot commented 7 years ago

CL https://golang.org/cl/47610 mentions this issue.

bradfitz commented 7 years ago

Seems done. No changes from final review CL (CL 47610).

dmitris commented 7 years ago

https://github.com/golang/go/issues/21289 - crypto/x509 change I believe is missing, though it's probably too late now...

gopherbot commented 7 years ago

Change https://golang.org/cl/53370 mentions this issue: doc: mention handling of moved GOROOT in 1.9 release notes