From: Rob Pike
@@ -182,7 +183,7 @@ Details of the new collector were presented in aIn Go 1.5, the order in which goroutines are scheduled has been changed. The properties of the scheduler were never defined by the language, -but programs that depended on the scheduling order may be broken +but programs that depend on the scheduling order may be broken by this change. We have seen a few (erroneous) programs affected by this change. If you have programs that implicitly depend on the scheduling @@ -194,7 +195,7 @@ Another potentially breaking change is that the runtime now sets the default number of threads to run simultaneously, defined by
@@ -512,7 +513,7 @@ A newGOMAXPROCS
, to the number of cores available on the CPU. -In prior releases it defaulted to 1. +In prior releases the default was 1. Programs that do not expect to run with multiple cores may break inadvertently. They can be updated by removing the restriction or by setting @@ -292,7 +293,7 @@ The old names are gone; the new tools are available through thego
mechanism asgo tool compile
,go tool asm
,and go tool link
. -Also, the file suffixes.6
,.8
etc. for the +Also, the file suffixes.6
,.8
, etc. for the intermediate object files are also gone; now they are just plain.o
files.cmd
wildcard covers the commands.
-asmflags
build option
sets flags to pass to the assembler.
-However,
+However,
the -ccflags
build option has been dropped;
it was specific to the old, now deleted C compiler .
go tool
.
test
subcommand now has a -count
flag to specify how many times to run each test and benchmark.
-testing
package
+The testing
package
does the work here, through by the -test.count
flag.
image
package,
the Rectangle
type
now implements the Image
interface,
-mask image when drawing.
+so a Rectangle
can serve as a mask when drawing.
image
package,
to assist in the handling of some JPEG images,
there is now support for 4:1:1 and 4:1:0 YCbCr subsampling and basic
-CMYK support, represented by the new image.CMYK struct.
+CMYK support, represented by the new image.CMYK
struct.
uint8(r>>8)
.
-Incidentally, image/draw
package
+Incidentally, the image/draw
package
provides better support for such conversions; see
this blog post
for more information.
@@ -1100,7 +1101,7 @@ but now correctly according to the IEEE754 definition of NaNs.
math/big
package
adds a new Jacobi
-function for integers and a new method
+function for integers and a new
ModSqrt
method for the Int
type.
net/mail
package
-adds a AddressParser
+adds an AddressParser
type that can parse mail addresses.
text/template
and
html/template
packages,
-a new Option
type
+a new Option
method
allows customization of the behavior of the template during execution.
The sole implemented option allows control over how a missing key is
handled when indexing a map.