Chapter 6. Changes in Go Toolset 1.25


Go Toolset has been updated to version 1.25.0.

  • Language:

    • There are no user-visible changes to the language in Go 1.25.
  • Runtime and Performance:

    • The runtime now automatically sets GOMAXPROCS based on the CPU quota available to the container on Linux.
    • A new experimental garbage collector ("Green Tea") is available, optimized for improving tail latency in certain workloads.
  • Tools:

    • The compiler and linker now default to generating DWARF 5 debug information.
    • The go build -asan command now detects memory leaks at program exit by default.
    • The go doc command supports a new -http flag to start a local documentation server.
    • The go version command supports a -json flag to print build information in JSON format.
  • Standard Library:

    • A new experimental encoding/json/v2 package is available, offering performance improvements and new features.

For more information, see the upstream release notes.

Go Toolset is a rolling Application Stream, and Red Hat supports only the latest version. For more information, see the Red Hat Enterprise Linux Application Streams Life Cycle document.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top