diff --git a/doc/go1.20.html b/doc/go1.20.html index a64a8d8f3e7..25ece4de0bb 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -203,7 +203,9 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://go.dev/cl/449955: archive/zip: don't read directories containing file data + Reading from a directory file that contains file data will now return an error. + The zip specification does not permit directory files to contain file data, + so this change only affects reading from invalid archives.
- TODO: https://go.dev/cl/420274: encoding/binary: ReadUvarint return io.ErrUnexpectedEOF when read at least 1 byte
+ The ReadVarint
and
+ ReadUvarint
+ functions will now return io.ErrUnexpectedEOF
after reading a partial value,
+ rather than io.EOF
.
- TODO: https://go.dev/issue/48866: allow duplicate media parameters with equal values
+ The ParseMediaType
function now allows duplicate parameter names,
+ so long as the values of the names are the same.
- TODO: https://go.dev/cl/431675: mime/multipart: use %w when wrapping error in NextPart
+ Methods of the Reader
type now wrap errors
+ returned by the underlying io.Reader
.