Skip to content

Bump github.com/NETWAYS/go-check from 0.6.4 to 1.0.0#145

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0
Closed

Bump github.com/NETWAYS/go-check from 0.6.4 to 1.0.0#145
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 30, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/NETWAYS/go-check is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 30, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/NETWAYS/go-check-1.0.0 branch June 30, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

0 participants