Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

build(deps): bump github.com/NETWAYS/go-check from 0.6.4 to 1.0.0 - #129

Merged
martialblog merged 4 commits into
mainfrom
dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0
Jul 29, 2026
Merged

build(deps): bump github.com/NETWAYS/go-check from 0.6.4 to 1.0.0#129
martialblog merged 4 commits into
mainfrom
dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/NETWAYS/go-check from 0.6.4 to 1.0.0.

Release notes

Sourced from github.com/NETWAYS/go-check's releases.

v1.0.0

What's Changed

We have a lot of breaking changes. However, with the 1.0.0 we're going to avoid these in the future.

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))

... (truncated)

Commits
  • 946b365 Fix some docs
  • 1ed1cb4 handle nil value in ExitError()
  • 04bfbf9 Introduce AddPerfdata to PartialResult to ensure concurrency-safety (#162)
  • f0d9a25 Merge pull request #161 from NETWAYS/replace-vertical-bar
  • 31e1bb8 Add ExitWithPerfdata function
  • 652bbf2 Merge perfdata package into check package
  • 43dc532 Replace vertical bars in Exit and Overall output
  • 159d48e Merge pull request #160 from NETWAYS/threshold-const
  • 016d1b7 Provide commonly used symbols as public constants
  • 4584a5a Remove named returns and enable check for then in CI
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 6, 2026
Bumps [github.com/NETWAYS/go-check](https://github.com/NETWAYS/go-check) from 0.6.4 to 1.0.0.
- [Release notes](https://github.com/NETWAYS/go-check/releases)
- [Commits](NETWAYS/go-check@v0.6.4...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/NETWAYS/go-check
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0 branch from 123ca3c to 319338d Compare July 22, 2026 10:40
@martialblog
martialblog merged commit 94e348a into main Jul 29, 2026
2 checks passed
@martialblog
martialblog deleted the dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0 branch July 29, 2026 06:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant