Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 6. Changes in Go Toolset 1.24


Go Toolset has been updated to version 1.24.4 with the release of the RHSA-2025:10677 advisory.

  • Language:

    • Generic type aliases are now fully supported, allowing type aliases to be parameterized for increased flexibility with generics.
  • Tools:

    • The Go module system supports tool directives in go.mod files, enabling direct management of executable dependencies.
    • The go build, go install, and go test commands now support the -json flag for structured output.
    • The new GOAUTH environment variable provides enhanced authentication for private modules.
  • Runtime and Performance:

    • Runtime improvements reduce CPU overhead by 2–3% on average.
    • Notable changes include a new map implementation based on Swiss Tables and more efficient memory allocation.
  • Standard Library:

    • The new os.Root type enables directory-limited filesystem access.
    • The testing.B.Loop method improves benchmarking.
    • The runtime.AddCleanup function provides a more flexible finalization mechanism.
    • The new weak package introduces weak pointers.
  • Cryptography:

    • New packages for ML-KEM post-quantum key exchange (crypto/mlkem), HKDF, PBKDF2, and SHA-3 are now available.
    • The Go Cryptographic Module is now under review for FIPS 140-3 certification.
  • Additional updates:

    • The vet tool includes a new analyzer for detecting common mistakes in tests and examples.
    • The objdump tool now supports more architectures.
    • Cgo introduces annotations for improved performance and correctness.

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.

Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat