Wrapcheck Versions Save

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

v2.3.1

2 years ago

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

v2.3.0

2 years ago

This release adds the ability to configure glob patterns to ignore unwrapped errors returned by functions contained in packages that match the glob pattern.

Below is an example configuration.

# An array of glob patterns which, if any match the package of the function
# returning the error, will skip wrapcheck analysis for this error. This is
# useful for broadly ignoring packages and/or subpackages from wrapcheck
# analysis. There are no defaults for this value.
ignorePackageGlobs:
- encoding/*
- github.com/pkg/*

v2.2.0

2 years ago

This release adds better support for github.com/pkg/errors by default. Including ignore cases for the signatures:

  • .WithMessagef(
  • .WithStack(

v2.1.0

3 years ago

v2.0.0

3 years ago
  • Add configuration file support.
  • Add support for configuring ignored signatures.

v1.2.0

3 years ago
  • Added .Error to the list of default ignore sigs due to #8

v1.1.0

3 years ago

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

3 years ago

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.