@@ -53,18 +53,61 @@ <h2 id="ports">Ports</h2>
53
53
TODO: PPC64LE race detector support
54
54
</ p >
55
55
56
- < h3 id ="package-versioning "> Package Versioning (vgo)</ h3 >
56
+ < h3 id ="wasm "> WebAssembly</ h3 >
57
+ < p >
58
+ Go 1.11 adds an experimental port to WebAssembly (< code > js/wasm</ code > ).
59
+ </ p >
60
+
61
+ < h2 id ="tools "> Tools</ h2 >
62
+
63
+ < h3 id ="modules "> Modules, package versioning, and dependency management</ h3 >
57
64
< p >
58
65
< strong >
59
66
NOTE: This is not present in go1.11beta1 but will be available in future
60
67
betas and subsequent releases.
61
68
</ strong >
62
- Go 1.11 adds experimental, integrated support for package versioning.
69
+ Go 1.11 adds experimental support for a new concept called “modules,”
70
+ an alternative to GOPATH with integrated support for versioning and
71
+ package distribution.
72
+ Using modules, developers are no longer confined to working inside GOPATH,
73
+ version dependency information is explicit yet lightweight,
74
+ and builds are more reliable and reproducible.
63
75
</ p >
64
76
65
- < h3 id ="wasm "> WebAssembly</ h3 >
66
77
< p >
67
- Go 1.11 adds an experimental port to WebAssembly (< code > js/wasm</ code > ).
78
+ Module support is considered experimental.
79
+ Details are likely to change in response to feedback from Go 1.11 users,
80
+ and we have more tools planned.
81
+ Although the details of module support may change, projects that convert
82
+ to modules using Go 1.11 will continue to work with Go 1.12 and later.
83
+ If you encounter bugs using modules,
84
+ please < a href ="https://golang.org/issue/new "> file issues</ a >
85
+ so we can fix them.
86
+ </ p >
87
+
88
+ < p >
89
+ TODO: Link to intro doc.
90
+ </ p >
91
+
92
+ < h3 id ="gopackages "> Package loading</ h2 >
93
+
94
+ < p >
95
+ TODO: Note about go/build versus golang.org/x/tools/go/packages.
96
+ </ p >
97
+
98
+ < h3 id ="gocache "> Build cache requirement</ h2 >
99
+
100
+ < p >
101
+ Go 1.11 will be the last release to support setting the environment
102
+ variable < code > GOCACHE=off</ code > to disable the
103
+ < a href ="/cmd/go/#hdr-Build_and_test_caching "> build cache</ a > ,
104
+ introduced in Go 1.10.
105
+ Starting in Go 1.12, the build cache will be required,
106
+ as a step toward eliminating < code > $GOPATH/pkg</ code > .
107
+ The module and package loading support described above
108
+ already require that the build cache be enabled.
109
+ If you have disabled the build cache to avoid problems you encountered,
110
+ please < a href ="https://golang.org/issue/new "> file an issue</ a > to let us know about them.
68
111
</ p >
69
112
70
113
< h2 id ="library "> Core library</ h2 >
0 commit comments