Releases: Antonboom/testifylint
Releases · Antonboom/testifylint
v1.6.4
v1.6.3
What's Changed
- Version support bug fixes
- Scan all files without any filtering by @Antonboom in #262
- equal-values: fix false positive with any by @ccoVeille in #246
Full Changelog: v1.6.2...v1.6.3
v1.6.2
What's Changed
- build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0 by @dependabot[bot] in #239
- Migrate to v2 of golangci-lint by @Antonboom in #258
- bump testify to 1.11.1 by @Antonboom in #259
- error-is-as: error-nil: support IsType and IsNotType by @Antonboom in #260
- expected-actual: support 'sub' (-) unary operation by @Antonboom in #261
- Version support via goreleaser by @Antonboom in #263
Full Changelog: v1.6.1...v1.6.2
v1.6.1
What's Changed
- fix: false-positive useless-assert on Positive function by @semihbkgr in #236
New Contributors
- @semihbkgr made their first contribution in #236
Full Changelog: v1.6.0...v1.6.1
v1.6.0 – new `equal-values` and `suite-method-signature`
What's Changed
New checkers
- new checker
equal-valuesby @Antonboom in #223 - new checker
suite-method-signatureby @Antonboom in #228
New features
len: support len-len and value-len cases by @Antonboom in #204error-is-as: support NotErrorAs by @Antonboom in #219useless-assert: add NotElementsMatch and NotErrorAs by @Antonboom in #220formatter: support non-string-message checks by @Antonboom in #221formatter: warn on empty message by @Antonboom in #225empty: support empty strings, Zero for strings and len + bubbled useless-assert cases by @ccoVeille in #129
New fixes
negative-positive: remove untyping, ignore Negative for len comparisons by @Antonboom in #226- fixes: support
assert.CollectTby @Antonboom in #233
Bump deps
- Upgrade testdata to v1.10.0 of testify by @Antonboom in #218
- Go 1.24 by @Antonboom in #234
- build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0 by @dependabot in #206
- build(deps): bump rlespinasse/github-slug-action from 4.4.1 to 5.0.0 by @dependabot in #207
- build(deps): bump golang.org/x/tools from 0.27.0 to 0.29.0 by @dependabot in #214
Full Changelog: v1.5.2...v1.6.0
formatter: ignore non-string single arg
What's Changed
- build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0 by @dependabot in #195
- formatter: ignore non-string single arg by @Antonboom in #200
Full Changelog: v1.5.1...v1.5.2
`encoded-compare` false positives fix
What's Changed
- encoded-compare false positives fix by @Antonboom in #199
Full Changelog: v1.5.0...v1.5.1
New `contains`, `regexp`, `encoded-compare'`!
What's Changed
- ci: checkout before setup-go by @mmorel-35 in #137
- new checker 'regexp' by @Antonboom in #136
- new checker
containsby @mmorel-35 in #152 - build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 by @dependabot in #163
- build(deps): bump golang.org/x/tools from 0.22.0 to 0.23.0 by @dependabot in #168
- enable several rules from revive by @mmorel-35 in #164
- build(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 by @dependabot in #173
- useless-assert: more cases by @Antonboom in #182
- formatter: support require only and suite only packages by @Antonboom in #188
- new checker 'encoded-compare' by @Antonboom in #179
- empty: adjust report for NotEmpty+len cases by @Antonboom in #189
- error-nil: support Empty and Zero error by @mmorel-35 in #153
- Go 1.23 by @Antonboom in #191
Full Changelog: v1.4.3...v1.5.0
v1.4.3
What's Changed
- README: add disclaimer about unused imports by @Antonboom in #128
- negative-positive: support typed 0 by @ccoVeille in #126
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
- refactor generator by @ccoVeille in #121
- Suggest NotEmpty for Positive len by @mmorel-35 in #124
Full Changelog: v1.4.1...v1.4.2