1
0
mirror of https://github.com/golang/go synced 2024-11-22 15:04:52 -07:00
go/doc/go1.2.txt
Russ Cox 64054a40ad encoding/json: coerce invalid UTF-8 to valid UTF-8 during Marshal
In practice, rejecting an entire structure due to a single invalid byte
in a string is just too picky, and too hard to track down.
Be consistent with the bulk of the standard library by converting
invalid UTF-8 into UTF-8 with replacement runes.

R=golang-dev, crawshaw
CC=golang-dev
https://golang.org/cl/11211045
2013-07-12 17:37:10 -04:00

29 lines
1.6 KiB
Plaintext

This file collects notes about what has changed since Go 1.1
and should be mentioned in the Go 1.2 release notes.
During the Go 1.2 release process it will be necessary to convert
it to HTML, similar to go1.1.html, but for now it is a text file,
to make the process of keeping it up-to-date more lightweight.
Please keep the descriptions to a single line, starting with the
package or cmd/xxx directory name, and ending in a CL number.
Please keep the list sorted (as in sort.Strings of the lines).
cmd/5a: removed support for R9/R10 (use m/g instead) (CL 9840043).
cmd/cgo, cmd/go: support including C++ code with cgo (CL 8248043).
cmd/go: test coverage (CL 10413044).
crypto/md5: Sum function to simplify hashing (CL10624044).
crypto/sha1: Sum function to simplify hashing (CL 10571043).
crypto/sha256: Sum256 and Sum224 functions to simplify hashing (CL 10629043).
crypto/sha512: Sum512 and Sum384 functions to simplify hashing (CL 10630043).
crypto/tls: add support for TLS 1.1. (CL 7872043).
encoding/json: accept but correct invalid UTF-8 in Marshal (CL 11211045).
flag: add Getter interface (CL 10472043).
fmt: indexed access to arguments in Printf etc. (CL 9680043).
go/build: support including C++ code with cgo (CL 8248043).
io: Copy prioritizes WriterTo over ReaderFrom (CL 9462044).
net: new build tag netgo for building a pure Go net package (CL 7100050).
sort: new Stable function provides stable sort (CL 9612044).
syscall: implemented Sendfile for Darwin, added Syscall9 for Darwin/amd64 (CL 10980043).
testing: AllocsPerRun is now quantized to an integer (the type is still float64) (CL 9837049).