11---
2- title : " Gopls release v0.20.0 (forthcoming) "
2+ title : " Gopls release v0.20.0"
33---
44
5- This release contains a new experimental Model Context Protocol server for
6- gopls, which may be used to integrate a subset of gopls' features in
7- AI-assisted environments.
5+ This release contains a new experimental Model Context Protocol (MCP)
6+ server for gopls, which may be used to integrate a subset of gopls'
7+ features in AI-assisted environments.
88
9- Additionally, gopls' documentation is now available on the Go project's website
10- at https://go.dev/gopls . (Note: this link will not be accurate until the
11- completion of the release. Dueing the pre-release period, please use
12- https://tip.golang.org/gopls , which reflects the latest commit.)
13-
14- Unlike markdown files in GitHub, these pages are crawled by Google's
9+ Gopls' documentation is now available on the Go project's website at
10+ https://go.dev/gopls . (This link reflects the latest gopls release;
11+ use https://tip.golang.org/gopls to see docs for the latest commit.)
12+ Unlike Markdown files in GitHub, these pages are crawled by Google's
1513web search index.
1614
17- ## Configuration Changes
15+ ## Configuration changes
16+
17+ This release enables by default the new persistent index of packages
18+ in the module cache. This was first attempted in [ v0.19.0] but reverted
19+ due to problems that have since been fixed.
1820
1921## Web-based features
2022
@@ -38,14 +40,6 @@ the tool will automate the code transformation, but for now
3840you must do that step by hand.
3941
4042
41- <!--
42-
43- ### $feature
44-
45- https://go.dev/issue#xxxxx
46-
47- -->
48-
4943## Editing features
5044
5145### Model Context Protocol server
@@ -58,9 +52,9 @@ See the [documentation](../features/mcp.md) for more information.
5852
5953** Caveats:** This is a brand new mode of operation for gopls, and so we're
6054still experimenting with the best set of tools and instructions to provide.
61- Please let us know how well it works for you. Also, please be aware that using
62- gopls in an AI powered environment may carry additional security
63- considerations, as discussed in the documentation above.
55+ Please let us know how well it works for you. Also, please be aware that
56+ allowing LLMs to execute operations in your workspace entails additional
57+ security considerations, as discussed in the documentation above.
6458
6559## Analysis features
6660
@@ -98,3 +92,8 @@ that are unreferenced within their declaring package.
9892the analysis framework since it depends on the entire workspace.)
9993
10094## Code transformation features
95+
96+ <!-- golang/go#45199 -->
97+ The Rename operation now allows you to rename an embedded field, such
98+ as T in ` struct{ T } ` , so long as the operation is requested at the
99+ field declaration (T). Both the field and its type will be renamed.
0 commit comments