Release v1.0.0-rc1
What's Changed
- Update example in README by @martialblog in https://github.com/NETWAYS/go-check/pull/140
- Extend convert and result test cases by @martialblog in https://github.com/NETWAYS/go-check/pull/142
- Apply go fix by @RincewindsHat in https://github.com/NETWAYS/go-check/pull/138
- Bump golangci-lint version by @martialblog in https://github.com/NETWAYS/go-check/pull/139
Breaking changes
- Refactored status to be a type. The Status type now implements the Stringer interface
Exit codes are now represented by a Status type instead of an integer. The previous constants have been replaced by this type. A constructor from an integer and string was added.
NewStatus(status int) (Status, error)
NewStatusFromString(status string) (Status, error)
The StatusText function was replaced by implementing the Stringer interface in the Status type
- Removed ExitRaw, replaced by Exit
Exit is now the primary function to handle program exit and status code handling.
- Removed Exitf, replaced by Exit and fmt.Sprintf
Exitf was removed and should be replaced by using Exit with fmt.Sprintf
# Was
check.Exitf(check.OK, "Everything is fine - answer=%d", 42)
# Now
check.Exit(check.OK, fmt.Sprintf("Everything is fine - value=%d", 42))
Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.4...v1.0.0-rc1
go-check-v1.0.0-rc1.tar.gzRelease tarball |
application/gzip | 2026-06-09 | Download from Github |
Release v0.6.4
What's Changed
- build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in https://github.com/NETWAYS/go-check/pull/136
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/NETWAYS/go-check/pull/135
Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.3...v0.6.4
go-check-v0.6.4.tar.gzRelease tarball |
application/gzip | 2026-01-07 | Download from Github |
Release v0.6.3
What's Changed
- Fix typo by @dgoetz in https://github.com/NETWAYS/go-check/pull/121
- Fix spelling + indentation by @RincewindsHat in https://github.com/NETWAYS/go-check/pull/122
- docs(readme): Update PartialResult example by @mocdaniel in https://github.com/NETWAYS/go-check/pull/124
- Rework to use stdlib testing by @martialblog in https://github.com/NETWAYS/go-check/pull/129
- build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 by @dependabot[bot] in https://github.com/NETWAYS/go-check
New Contributors
- @dgoetz made their first contribution in https://github.com/NETWAYS/go-check/pull/121
- @mocdaniel made their first contribution in https://github.com/NETWAYS/go-check/pull/124
Full Changelog: https://github.com/NETWAYS/go-check/compare/v0.6.2...v0.6.3
go-check-v0.6.3.tar.gzRelease tarball |
application/gzip | 2025-10-16 | Download from Github |