From 6df542159b195f4564ea1f380dd95eddba5fb2b9 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Mon, 14 Nov 2022 12:35:19 -0800 Subject: [PATCH] doc/go1.20: add release notes for archive/zip, encoding/binary, mime For #48866 For #54139 For #54801 Change-Id: Iafe72ccc7e756ec1edb5bb7e8e90d385458cff29 Reviewed-on: https://go-review.googlesource.com/c/go/+/450280 TryBot-Result: Gopher Robot Run-TryBot: Damien Neil Reviewed-by: Ian Lance Taylor --- doc/go1.20.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/go1.20.html b/doc/go1.20.html index a64a8d8f3e..25ece4de0b 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.
archive/zip

- 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.

@@ -306,7 +308,10 @@ Do not send CLs removing the interior tags from such phrases.
encoding/binary

- 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.

@@ -418,7 +423,8 @@ Do not send CLs removing the interior tags from such phrases.
mime

- 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.

@@ -426,7 +432,8 @@ Do not send CLs removing the interior tags from such phrases.
mime/multipart

- 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.