Skip to content

Releases: barweiss/go-tuple

Fix dependabot alert for indirect test dependency

01 Sep 07:54
936f0d4
Compare
Choose a tag to compare

Fix dependabot alert for the gopkg.in/yaml.v3 dependency, a transitive dependency of the github.com/stretchr/testify package.
The package is used only for assertions in test files. Requiring the go-tuple package does not transitively require github.com/stretchr/testify nor gopkg.in/yaml.v3 at all, and specifically not it's vulnerable version.

What's Changed

  • Upgrade stretchr/testify dependency to fix security issue in yaml.v3 by @barweiss in #23

Full Changelog: v1.1.1...v1.1.2

v1.1.1

08 Jun 23:07
8941d4a
Compare
Choose a tag to compare

What's Changed

  • Fix JSON unmarshalling in complex structures bug by @barweiss in #22

Full Changelog: v1.1.0...v1.1.1

Added JSON support

08 Jun 20:56
6a4df85
Compare
Choose a tag to compare

What's Changed

  • Fix package documentation to look better in go reference by @barweiss in #14
  • Add Go report card badge to README by @barweiss in #15
  • Add examples for using tuples in maps and channels to README by @barweiss in #17
  • Add awesome-go badge to README by @barweiss in #18
  • Update references of Go1.18 in readme to Go1.18+ by @barweiss in #19
  • Add support for JSON marshalling by @barweiss in #21

Full Changelog: v1.0.2...v1.1.0

v1.0.2

16 Mar 12:39
5f07ced
Compare
Choose a tag to compare

go-tuple is now Go 1.18 ready!

v1.0.1

22 Jan 16:38
dd9f94b
Compare
Choose a tag to compare

Documentation fixes

  • Fix the documentation of some comparison functions
  • Add package documentation

v1.0.0

14 Jan 12:31
853454b
Compare
Choose a tag to compare

The first release of go-tuple.

go-tuple follows semantic versioning.
This means:

  • Incompatible API changes that are not backwards compatible will bump the "major" version, and reset the "minor" and "patch" versions.
  • New features that are backwards-compatible will bump the "minor" version and reset the "patch" version.
  • Bug fixes that are backwards-compatible will bump the "patch" version.

Supported features:

  • Tuples can contain values of different types.
  • Support tuples with a varying number of values, from 1 to 9.
  • Tuples can be constructed with the New* function.
  • Tuples implement the Stringer and GoStringer interfaces.
  • Tuples of the same type can be compared and ordered.

What's Changed

  • Fix GitHub action by @barweiss in #1
  • Fix code snippets in README by @barweiss in #2
  • Add tests directory for tuple tests by @barweiss in #5
  • Change generated code to reuse type parameters constraint by @barweiss in #7
  • Revert "Add tests directory for tuple tests" by @barweiss in #8
  • Add initial support for tuple comparison by @barweiss in #9
  • Add lint and coverage steps to the GitHub action by @barweiss in #10

New Contributors

Full Changelog: https://github.com/barweiss/go-tuple/commits/v1.0.0