Releases: Antonboom/testifylint
Releases · Antonboom/testifylint
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-values
by @Antonboom in #223 - new checker
suite-method-signature
by @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.CollectT
by @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
contains
by @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
v1.4.1
What's Changed
- Don't use 1.22 features (
types.Unalias
) by @Antonboom in #120
Full Changelog: v1.4.0...v1.4.1
New `formatter`, 'suite-subtest-run', `suite-broken-parallel`!
What's Changed
- build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 by @dependabot in #101
- build(deps): bump golangci/golangci-lint-action from 5 to 6 by @dependabot in #100
- New checker
formatter
by @Antonboom in #102 - contribution guideline: remove zero checker by @Antonboom in #103
- new checker 'suite-subtest-run' by @Antonboom in #104
- new checker
suite-broken-parallel
by @Antonboom in #118 - empty: added empty and zero length detection by @ccoVeille in #109
Full Changelog: v1.3.1...v1.4.0
`compares` and `error-nil` false behaviour fix
What's Changed
- compares: support Same/NotSame by @Antonboom in #96
- helpers: isError: strict type comparison instead of implementing check by @Antonboom in #97
Full Changelog: v1.3.0...v1.3.1