Releases: elliotchance/pie
Releases · elliotchance/pie
v1.37.1
Travis: go 1.13, 1.14, 1.15 (#163)
v1.37.0
Added Insert (#160) Fixes #43
v1.36.0
Added Pop (#159) Pop the first element of the slice. Fixes #45
v1.35.0
Added Group() (#158) Group returns a map of the value with an individual count. Fixes #26
v1.34.0
Join() for all types (#134) Join is also more efficient and has a special case for `[]string`. Fixes #133
v1.33.0
Add Shift() and Unshift() (#156) Shift will return two values: the shifted value and the rest slice. Unshift adds one or more elements to the beginning of the slice and returns the new slice. Fixes #37
v1.32.2
How do I exclude generated files from code coverage? (#155) Updated README with direciton on how to exclude generated files from code coverage reports. Fixes #154
v1.32.1
ElementZeroValue should be nil (#153) ElementZeroValue should be nil when dealing with structs, instead of a new allocation. Fixes #152
v1.32.0
Added Equal() (#151) Equals compare elements from the start to the end. If they are the same is considered the slices are equal if all elements are the same is considered the slices are equal. If each slice == nil is considered that they're equal. If element realizes Equals interface it uses that method, in other way uses default compare.
v1.31.0
ToStrings -> StringsUsing (#150) This is a breaking change, but it's necessary to be consistent with naming of the other functions. ToStrings was chosen very early on. FIxes #124