Skip to content

Commit 7fe7cae

Browse files
committed
gopls/doc/release/v0.20.0.md: final tweaks
Updates golang/go#74655 Change-Id: I5e3b78ca86d7c608d90098c605313146185e8cca Reviewed-on: https://go-review.googlesource.com/c/tools/+/690955 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 4982c3b commit 7fe7cae

File tree

3 files changed

+45
-22
lines changed

3 files changed

+45
-22
lines changed

gopls/doc/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ by editor, so we recommend that you proceed to the
2626
Also, the gopls documentation for each feature describes whether it is
2727
supported in each client editor.
2828

29+
This documentation (https://go.dev/gopls) describes the most recent release of gopls.
30+
To preview documentation for the release under development, visit https://tip.golang.org/gopls.
31+
2932
## Features
3033

3134
Gopls supports a wide range of standard LSP features for navigation,

gopls/doc/release/v0.20.0.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
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
1513
web 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
3840
you 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
6054
still 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.
9892
the 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.

gopls/doc/release/v0.21.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: "Gopls release v0.21.0 (forthcoming)"
3+
---
4+
5+
## Configuration changes
6+
## Web-based features
7+
## Editing features
8+
## Analysis features
9+
## Code transformation features
10+
11+
<!-- golang/go#42301 -->
12+
The Rename operation now treats [Doc Links](https://tip.golang.org/doc/comment#doclinks)
13+
like identifiers, so you can initiate a renaming from a Doc Link.
14+
15+
<!--
16+
17+
### $feature
18+
19+
https://go.dev/issue#xxxxx
20+
21+
-->

0 commit comments

Comments
 (0)