Go agent release notes

Release date: July 22, 2021

Language versions currently supported: Go: 1.15, 1.16

New and improved:

  • When an error occurs during agent initialization, more specific/detailed error messages are logged.

Release date: July 8, 2021

Language versions currently supported: Go: 1.15, 1.16

Bug fixes:

  • When using getTypeName, the rewriter failed to safely handle errors and did not inject correct packages. (GO-884)

  • When comparing types, the rewriter incorrectly compared by pointer rather than by type. (GO-885)

Release date: June 17, 2021

Language versions currently supported: Go: 1.15, 1.16

New and improved:

  • Update the rewriter to only emit on exported functions, reducing the performance overhead of the rewriter itself.

Bug fixes:

  • When replacing expressions with callexprs, the agent may break addressability, resulting in a failed build. (GO-873)

  • When creating caches for rewrite, the reported tool version is not included, resulting in caches that will not be rebuilt despite agent changes. (GO-875)

  • When rewriting string slices, shadowed type names do not prevent casts from being injected, resulting in code that will not build. (GO-883)

Release date: June 15, 2021

Language versions currently supported: Go: 1.15, 1.16

New and improved:

  • Updated the rewriter functionality of the agent to rely on Go’s toolexec to allow for the instrumentation of a larger set of Go applications.

Bug fixes:

Release date: June 14, 2021

Language versions currently supported: Go: 1.15, 1.16

New and improved:

  • Add custom SSRF sink for net/http Client.PostForm.

Bug fixes:

Release date: May 28, 2021

Language versions currently supported: Go: 1.15, 1.16

New and improved:

  • Added the ability to rewrite Go code including compiler directive comments, such as, //go:embed//go:nosplit and //go:noescape and others.

  • OSS and Assess feature support for the Go standard library.

Bug fixes:

  • Update agent.logger.path and agent.logger.level config settings to those from remote settings. (GO-844)