Go programming language announced the new 1.26 release on 10 February, 2026! Here’s the new features and how to install guide for Ubuntu & other Linux.
What’s New in Go 1.26:
- The built-in new function, which creates a new variable, now allows its operand to be an expression.
- Generic types may now refer to themselves in their own type parameter list.
- Completely rewritten
go fixcommand. - Deleted
go tool doc, usego docas a replacement. - The pprof tool web UI, enabled with the -http flag, now defaults to the flame graph view.
- The Green Tea garbage collector is now enabled by default.
- Reduce the baseline runtime overhead of cgo calls by ~30%.
- Randomizes the heap base address at startup on 64-bit platform.
- New experimental profile type that reports leaked goroutines.
- Compiler can now allocate the backing store for slices on the stack in more situations.
- The linker now supports internal linking mode of cgo programs on 64-bit Windows on ARM.
- Requires Go 1.24.6 or later for bootstrap.
- New crypto/hpke package.
- New experimental simd/archsimd package.
- New experimental runtime/secret package
See the announcement for more changes in Go 1.26.