--- - branch: MAIN date: Sat Mar 16 17:13:20 UTC 2024 files: - new: '1.87' old: '1.86' path: pkgsrc/devel/gopls/Makefile pathrev: pkgsrc/devel/gopls/Makefile@1.87 type: modified - new: '1.43' old: '1.42' path: pkgsrc/devel/gopls/distinfo pathrev: pkgsrc/devel/gopls/distinfo@1.43 type: modified - new: '1.38' old: '1.37' path: pkgsrc/devel/gopls/go-modules.mk pathrev: pkgsrc/devel/gopls/go-modules.mk@1.38 type: modified id: 20240316T171320Z.fdfd82fb81fed6976c3f6b16dde72fd9d54349f7 log: | gopls: update to 0.15.2 This release fixes the following regressions in gopls@v0.15.0+. - a crash when encountering a test file excluded via build tags, which also contained an invalid import of a main package. This could occur in a tools_test.go file implementing the common pattern for tool dependencies. - spurious import errors in multi-root workspaces. In some scenarios, the new zero-config logic added in gopls@v0.15.0 resulted in inaccurate errors about missing imports. This could occur when module A has a local replace of module B, and A and B are open as a separate workspace folders. - a crash when working on modules with a go directive of the form go a.b.c, when gopls was compiled with Go 1.20 or earlier. - a crash when SignatureHelp is cancelled (found via telemetry) - a crash in references when one of the package files is missing a package declaration (found via telemetry) These last two crashes are worth highlighting. Both were found via the (off by default) automated crash reporting added in gopls@v0.15.0. Both were unlikely to get reported via GitHub issues, because they won't happen frequently enough for most LSP clients to notify the user. This is a perfect example of how telemetry can help us deliver a more reliable product than would be possible without automated reporting. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/gopls' unixtime: '1710609200' user: bsiegert