GitPedia
tomarrell

tomarrell/wrapcheck

A Go linter to check that errors from external packages are wrapped

22 Releases
Latest: 7mo ago
deps: update Go version and upgrade golang.org/x/tools to v0.39.0v2.12.0Latest
tomarrelltomarrell·7mo ago·November 24, 2025
GitHub

📋 What's Changed

  • deps: update Go version and upgrade golang.org/x/tools to v0.39.0 by @KoheiMatsuno99 in https://github.com/tomarrell/wrapcheck/pull/66

New Contributors

  • @KoheiMatsuno99 made their first contribution in https://github.com/tomarrell/wrapcheck/pull/66
  • Full Changelog: https://github.com/tomarrell/wrapcheck/compare/v2.11.0...v2.12.0
Optional reporting for package-internal errors, dep updatesv2.11.0
tomarrelltomarrell·1y ago·March 26, 2025
GitHub

📋 What's Changed

  • deps: upgrade golang.org/x/tools to v0.25.0 by @high-moctane in https://github.com/tomarrell/wrapcheck/pull/61
  • feat: add option for reporting internal errors by @frozenbonito in https://github.com/tomarrell/wrapcheck/pull/60

New Contributors

  • @high-moctane made their first contribution in https://github.com/tomarrell/wrapcheck/pull/61
  • @frozenbonito made their first contribution in https://github.com/tomarrell/wrapcheck/pull/60
  • Full Changelog: https://github.com/tomarrell/wrapcheck/compare/v2.10.0...v2.11.0
Add config option to extend default signaturesv2.10.0
tomarrelltomarrell·1y ago·November 16, 2024
GitHub

📋 What's Changed

  • Add config option to extend `ignoreSigs` by @matthewhughes934 in https://github.com/tomarrell/wrapcheck/pull/56. Previously the only option was to replace the entire set, requiring you to also include the default set.

New Contributors

  • @matthewhughes934 made their first contribution in https://github.com/tomarrell/wrapcheck/pull/56
  • Full Changelog: https://github.com/tomarrell/wrapcheck/compare/v2.9.0...v2.10.0
Restrict checking to exported interface methodsv2.9.0
tomarrelltomarrell·1y ago·August 15, 2024
GitHub

📋 What's Changed

  • Suppress reports from unexported interface methods by @MichaelUrman in https://github.com/tomarrell/wrapcheck/pull/52

New Contributors

  • @MichaelUrman made their first contribution in https://github.com/tomarrell/wrapcheck/pull/52
  • Full Changelog: https://github.com/tomarrell/wrapcheck/compare/v2.8.3...v2.9.0
Compile with Go v1.21v2.8.3
tomarrelltomarrell·2y ago·February 20, 2024
GitHub

Shifting back to Go v1.21 for the benefit of golangci-lint.

Update dependencies, support Go v1.22v2.8.2
tomarrelltomarrell·2y ago·February 19, 2024
GitHub

📋 What's Changed

  • Support for Go v1.22.
  • deps: upgrade golang.org/x/tools by @rledisez & @tomarrell in https://github.com/tomarrell/wrapcheck/pull/48
  • Full Changelog: https://github.com/tomarrell/wrapcheck/compare/v2.8.1...v2.8.2
Bump dependency versionv2.8.1
tomarrelltomarrell·3y ago·February 23, 2023
GitHub

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.

Ignore `errors.Join()` sig by defaultv2.8.0
tomarrelltomarrell·3y ago·February 4, 2023
GitHub

The new `errors.Join()` function was added in Go 1.20, it should be ignored by default. More info in the Go 1.20 release notes: https://tip.golang.org/doc/go1.20#errors

Check interfaces against ignorePackageGlobsv2.7.0
tomarrelltomarrell·3y ago·October 7, 2022
GitHub

This release introduces checking of the interface's package against the configured ignorePackageGlobs values. Previously, only functions called directly from other packages had their packages checked against this option, however this behaviour was unintuitive. This change checks the interface package as well, ignoring interfaces which originate from a package matching a glob pattern. Closes #34

Update Dependenciesv2.6.2
tomarrelltomarrell·4y ago·June 14, 2022
GitHub

Closes #30, updates `x/tools` to latest.

Update Dependenciesv2.6.1
tomarrelltomarrell·4y ago·April 29, 2022
GitHub

This release fixes an issue when running wrapcheck over a Go v1.18 codebase due to an older version of a dependency.

Config to ignore interfacesv2.6.0
tomarrelltomarrell·4y ago·March 24, 2022
GitHub

📋 Changes

  • [dD]ecoder
Improved compilation of `ignoreSigRegexp`v2.5.0
tomarrelltomarrell·4y ago·February 17, 2022
GitHub

This releases front-loads the compilation of regexps provided via the config file, enabling immediate error reporting. It also removes the `os.Exit(1)` upon failing to compile the regexps, to play nicer with golangci-lint.

Ignore signature by Regexv2.4.0
tomarrelltomarrell·4y ago·October 29, 2021
GitHub

📋 Changes

  • \.New.*Error\(
Upgrade dependenciesv2.3.1
tomarrelltomarrell·4y ago·October 1, 2021
GitHub

There are no functional differences with this release, just dependency upgrades.

Ignore packages by patternv2.3.0
tomarrelltomarrell·4y ago·July 29, 2021
GitHub

📋 Changes

  • encoding/*
  • github.com/pkg/*
Better default pkg/errors supportv2.2.0
tomarrelltomarrell·5y ago·June 15, 2021
GitHub

📋 Changes

  • `.WithMessagef(`
  • `.WithStack(`
v2.1.0
tomarrelltomarrell·5y ago·April 30, 2021
GitHub
v2.0.0
tomarrelltomarrell·5y ago·April 30, 2021
GitHub

📋 Changes

  • Add configuration file support.
  • Add support for configuring ignored signatures.
v1.2.0
tomarrelltomarrell·5y ago·April 19, 2021
GitHub

📋 Changes

  • Added `.Error` to the list of default ignore sigs due to #8
More flexible defaultv1.1.0
tomarrelltomarrell·5y ago·March 31, 2021
GitHub

This release adds some more signatures to ignore error wrapping calls from popular package such as `github.com/pkg/errors` by default.

v1.0.0
tomarrelltomarrell·5y ago·March 29, 2021
GitHub

This release takes wrapcheck to v1. It's currently stable and breaking changes will result in major version bumps. An upcoming minor version release will allow for configurable ignored signatures in order to have more control over where errors are reported.