From 940e5bc5617ed86fcbf845fdd1973be984259a59 Mon Sep 17 00:00:00 2001
From: Andrew Bonventre
- TODO: https://golang.org/cl/141397: remove CLI support
-
- TODO: https://golang.org/cl/118755: make RegisterFormat safe for concurrent use
+ The
- TODO: https://golang.org/cl/134235: pack image data for small bitdepth paletted images
+ Paletted images with fewer than 16 colors now encode to smaller outputs.
- TODO: https://golang.org/cl/139457: export StringWriter
+ The new
-
@@ -308,7 +300,7 @@ for {
RegisterFormat
function is now safe for concurrent use.
@@ -332,7 +324,8 @@ for {
@@ -424,15 +417,19 @@ for {
StringWriter
interface wraps the
+ WriteString
function.
- TODO: https://golang.org/cl/135075: add ModeCharDevice to ModeType
+ ModeCharDevice
has been added to the ModeType
bitmask, allowing for
+ ModeDevice | ModeCharDevice
to be recovered when masking a
+ FileMode
with ModeType
.
- TODO: https://golang.org/cl/139418: add UserHomeDir
+ The new function UserHomeDir
returns the
+ current user's home directory.
- TODO: https://golang.org/cl/146020: add support for long path names on unix RemoveAll
+ RemoveAll
now supports paths longer than 4096 characters
+ on most Unix systems.
- TODO: https://golang.org/cl/145220: change IsAbs("NUL") to return true
+ The IsAbs
function now returns true when passed
+ a reserved filename on Windows such as NUL
.
+ List of reserved names.
- TODO: https://golang.org/cl/131495: correctly handle invalid utf8 sequences in Map
+ The character mapping functions Map
,
+ Title
,
+ ToLower
,
+ ToLowerSpecial
,
+ ToTitle
,
+ ToTitleSpecial
,
+ ToUpper
, and
+ ToUpperSpecial
+ now always guarantee to return valid UTF-8. In earlier releases, if the input was invalid UTF-8 but no character replacements
+ needed to be applied, these routines incorrectly returned the invalid UTF-8 unmodified.
- TODO: https://golang.org/cl/142217: removed truncation of context in error message + When executing a template, long context values are no longer truncated in errors. +
+
+ executing "tmpl" at <.very.deep.context.v...>: map has no entry for key "notpresent"
+
+ is now +
+
+ executing "tmpl" at <.very.deep.context.value.notpresent>: map has no entry for key "notpresent"