Skip to content

Version 4 API, take two

Latest
Compare
Choose a tag to compare
@bobg bobg released this 17 Aug 03:43
· 1 commit to master since this release
50a3d39

What's Changed

This is the new official release of the v4 API. Callers should not use v4.0.0, which is now retracted, because of an incompatible change: removing the ~func type parameters from functions in parallel.

This release updates go-generics to new major version 4 for the release of Go 1.23.

This release removes the iter and maps packages.

The iter.Of[T] type was made obsolete with the introduction of Go 1.23 iterators. The functionality previously available for iter.Of[T] iterators has now been replicated for Go 1.23 iterators in the github.com/bobg/seqs package (qv).

Operations in other subpackages that produced or consumed iter.Of[T] iterators now use Go's standard iter.Seq[T] iterators.

The maps package was mostly redundant with the Go standard library.

Additionally, combinatorial operations previously found in the slices package have now moved to github.com/bobg/combo.

Full Changelog: v3.7.0...v4.1.0