diff --git a/doc/go1.11.html b/doc/go1.11.html index 9aef342a430..d09552b5e9b 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -53,18 +53,61 @@ Do not send CLs removing the interior tags from such phrases. TODO: PPC64LE race detector support
-
+ Go 1.11 adds an experimental port to WebAssembly (js/wasm
).
+
NOTE: This is not present in go1.11beta1 but will be available in future betas and subsequent releases. - Go 1.11 adds experimental, integrated support for package versioning. + Go 1.11 adds experimental support for a new concept called “modules,” + an alternative to GOPATH with integrated support for versioning and + package distribution. + Using modules, developers are no longer confined to working inside GOPATH, + version dependency information is explicit yet lightweight, + and builds are more reliable and reproducible.
-
- Go 1.11 adds an experimental port to WebAssembly (js/wasm
).
+ Module support is considered experimental.
+ Details are likely to change in response to feedback from Go 1.11 users,
+ and we have more tools planned.
+ Although the details of module support may change, projects that convert
+ to modules using Go 1.11 will continue to work with Go 1.12 and later.
+ If you encounter bugs using modules,
+ please file issues
+ so we can fix them.
+
+ TODO: Link to intro doc. +
+ ++ TODO: Note about go/build versus golang.org/x/tools/go/packages. +
+ +
+ Go 1.11 will be the last release to support setting the environment
+ variable GOCACHE=off
to disable the
+ build cache,
+ introduced in Go 1.10.
+ Starting in Go 1.12, the build cache will be required,
+ as a step toward eliminating $GOPATH/pkg
.
+ The module and package loading support described above
+ already require that the build cache be enabled.
+ If you have disabled the build cache to avoid problems you encountered,
+ please file an issue to let us know about them.
The Go 1.5 release added a facility to the
-go command
+go
command
that makes it easier to manage external dependencies by "vendoring"
them into a special directory near the package that depends upon them.
See the design
@@ -1161,10 +1161,11 @@ document for details.
-Work is underway on an experimental package management tool,
-dep
, to learn
-more about how tooling can help package management. More information can be found in
-the dep
FAQ.
+The Go 1.11 release added new, experimental support
+for package versioning to the go
command,
+in the form of Go modules.
+For more information, see the Go 1.11 release notes
+and the go
command documentation.