@@ -163,6 +163,20 @@ <h3 id="cmd_go">Go command</h3>
163
163
A new “< code > go</ code > < code > bug</ code > ” command helps users file bug reports.
164
164
</ p >
165
165
166
+ < h3 id ="cmd_doc "> Go doc</ h3 >
167
+
168
+ < p >
169
+ The “< code > go</ code > < code > doc</ code > ” command
170
+ now groups constants and variables with their type,
171
+ following the behavior of
172
+ < a href ="/cmd/godoc/ "> < code > godoc</ code > </ a > .
173
+ </ p >
174
+
175
+ < p >
176
+ In order to improve the readability of the < code > doc</ code > 's
177
+ output, each summary of the first-level items is guaranteed to
178
+ occupy a single line.
179
+ </ p >
166
180
167
181
< h2 id ="performance "> Performance</ h2 >
168
182
@@ -255,16 +269,62 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
255
269
in mind.
256
270
</ p >
257
271
258
- < dl id ="foo "> < dt > < a href ="/pkg/foo/ "> foo</ a > </ dt >
272
+ < dl id ="archive_tar "> < dt > < a href ="/pkg/archive/tar/ "> archive/tar</ a > </ dt >
273
+ < dd >
259
274
260
- < dd >
261
- < p >
262
- </ p >
263
- </ dd > </ dl >
275
+ < p >
276
+ The tar implementation corrects many bugs in corner cases of the file format.
277
+ The < a href ="/pkg/archive/tar/#Reader "> < code > Reader</ code > </ a > is now able to process tar files in the PAX format with entries larger than 8GB.
278
+ The < a href ="/pkg/archive/tar/#Writer "> < code > Writer</ code > </ a > no longer produces invalid tar files in some situations involving long pathnames.
279
+ </ p >
280
+
281
+ </ dd >
282
+ </ dl >
283
+
284
+
285
+ < dl id ="compress_flate "> < dt > < a href ="/pkg/compress/flate/ "> compress/flate</ a > </ dt >
286
+ < dd >
287
+
288
+ < p >
289
+ There have been some minor fixes to the encoder to improve the
290
+ compression ratio in certain situations. As a result, the exact
291
+ encoded output of DEFLATE may be different from Go 1.7. Since
292
+ DEFLATE is the underlying compression of gzip, ping, zlib, and zip,
293
+ those formats may have changed outputs.
294
+ </ p >
295
+
296
+ < p >
297
+ The encoder, when operating in
298
+ < a href ="/pkg/compress/flate/#NoCompression "> < code > NoCompression</ code > </ a >
299
+ mode, now produces a consistent output that is not dependent on
300
+ the size of the input buffer to the
301
+ < a href ="/pkg/compress/flate/#Writer.Write "> < code > Write</ code > </ a >
302
+ method.
303
+ </ p >
304
+
305
+ </ dd >
306
+ </ dl >
307
+
308
+
309
+ < dl id ="compress_gzip "> < dt > < a href ="/pkg/compress/gzip/ "> compress/gzip</ a > </ dt >
310
+ < dd >
311
+
312
+ < p >
313
+ The < a href ="/pkg/compress/gzip/#Writer "> < code > Writer</ code > </ a >
314
+ now encodes a zero < code > MTIME</ code > field when
315
+ the < a href ="/pkg/compress/gzip/#Header "> < code > Header.ModTime</ code > </ a >
316
+ field is the zero value.
317
+
318
+ In previous releases of Go, the < code > Writer</ code > would encode
319
+ a non-sensible value.
320
+
321
+ Similarly,
322
+ the < a href ="/pkg/compress/gzip/#Reader "> < code > Reader</ code > </ a >
323
+ now updates the < code > Header.ModTime</ code > field only if the
324
+ encoded MTIME field is non-zero.
325
+ </ p >
326
+
327
+ </ dd >
328
+ </ dl >
264
329
265
- < dl id ="bar "> < dt > < a href ="/pkg/bar/ "> bar</ a > </ dt >
266
330
267
- < dd >
268
- < p >
269
- </ p >
270
- </ dd > </ dl >
0 commit comments