Changes in Fedora 41 For Developers

Golang 1.23

The latest stable release of this programming language is now available in Fedora 41. Notable changes include:

  • The range clause in the for-range loop accepts iterator functions as range expressions. The supported types of iterator functions are:

    • func(func() bool)

    • func(func(K) bool)

    • func(func(K, V) bool)

    Calls of the iterator argument function produce the iteration values for the for-range loop.

  • The Go toolchain can collect usage and breakage statistics. These are referred to as "Go telemetry" and represent an opt-in-system controlled by the go telemetry command.

  • The GOROOT_FINAL environment variable no longer works. Install a symbolic link instead of relocating or copying the go binary if your distribution installs the go command to a location other than $GOROOT/bin/go.

  • The traceback message printed by the runtime after a fatal error now indents the second and subsequent lines of the message by a single tab.

  • Significant changes to the implementation of the time.Timer and time.Ticker types.

For more details, see the upstream release notes.