diff --git a/doc/go1.12.html b/doc/go1.12.html index 9908829d44..f452d136c0 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -171,17 +171,20 @@ for { -
- TODO: https://golang.org/cl/137855: add ReplaceAll
+ The new function ReplaceAll returns a copy of
+ a byte slice with all non-overlapping instances of a value replaced by another.
- TODO: https://golang.org/cl/145098: fix Reader.UnreadRune returning without error on a zero Reader
+ A pointer to a zero-value Reader is now
+ functionally equivalent to NewReader(nil).
+ Prior to Go 1.12, the former could not be used as a substitute for the latter in all cases.
- TODO: https://golang.org/cl/145738: add support for returning cursors to client
+ A query cursor can now be obtained by passing a
+ *Rows
+ value to the Row.Scan method.
- TODO: https://golang.org/cl/139537: add Map.Delete
+ The new Delete method allows
+ for deletion of key/value pairs from a Map.
- TODO: https://golang.org/cl/129777: print values for map keys with non-reflexive equality +
+ Maps are now printed in key-sorted order to ease testing. The ordering rules are: +
reflect.Type describing the concrete type
+ and then by concrete value as described in the previous rules.
+ - TODO: https://golang.org/cl/142737: print maps in key-sorted order +
+ When printing maps, non-reflexive key values like NaN were previously
+ displayed as <nil>. As of this release, the correct values are printed.
+ The new function ReplaceAll returns a copy of
+ a string with all non-overlapping instances of a value replaced by another.
+
+ A pointer to a zero-value Reader is now
+ functionally equivalent to NewReader(nil).
+ Prior to Go 1.12, the former could not be used as a substitute for the latter in all cases.
+
The new Builder.Cap method returns the capacity of the builder's underlying byte slice.