Releases: moderneinc/recipes-go
Releases · moderneinc/recipes-go
Release list
0.6.2
What's Changed
- OpenRewrite v8.91.0: https://github.com/openrewrite/rewrite
Full Changelog: https://github.com/moderneinc/recipes-go
0.6.1
What's Changed
- Bump to rewrite-go/v0.0.29 by @greg-at-moderne in #60
- Add encoding/json/v2 mechanical migration recipes by @bmuschko in #59
- Add AddV1FormatTags recipe to preserve v1 JSON encoding via field tags by @bmuschko in #61
- Describe the
Gocategory so it reads the same in every install order by @jkschneider in #62 - Add
AdoptTestifyrecipe by @greg-at-moderne in #63 - Register 18 recipes that were declared but missing from the catalog by @knutwannheden in #65
- Register the last four recipes and qualify the Ensure* family by type by @knutwannheden in #67
- Map recipes to the diagnostics their analyzers define by @knutwannheden in #66
- Rewrite what three reporting recipes only reported by @knutwannheden in #68
- Revive TestParseRealRepos and run it over all 252 recipes by @knutwannheden in #69
- Give PreferMakeForEmptyMap the rewrite its description promised by @knutwannheden in #70
- Adapt the type-assertion recipes to
Go.TypeAssertionby @knutwannheden in #64 - Re-attribute the calls hand-built recipes emit by @knutwannheden in #74
- rewrite-go/v0.0.31 by @greg-at-moderne in #73
- Use MaybeAddImport in UseStringsBuilderInLoop by @knutwannheden in #75
- Keep
main,init, and exported functions in RemoveEmptyFunction by @knutwannheden in #76 - Defer the body close where the response is known to be non-nil by @knutwannheden in #78
- Skip receiver rename when the short name is already bound by @knutwannheden in #77
- Drop the cross-file flag in UseErrorsNewForSimpleErrors by @knutwannheden in #80
- Keep the conversion that types a qualified untyped constant by @knutwannheden in #81
- Read
resource == nilguards when placing an inserted cleanup by @knutwannheden in #82 - Take indentation only when copying a statement's prefix by @knutwannheden in #83
- Declare each error sentinel once per package by @knutwannheden in #79
- Build rewritten nodes from templates instead of hand-attribution by @knutwannheden in #84
New Contributors
- @knutwannheden made their first contribution in #65
Full Changelog: v0.6.0...v0.6.1
0.6.0
What's Changed
- Adding two Audit recipes by @greg-at-moderne in #50
- Add encoding/json/v2 migration usage finder recipe by @bmuschko in #54
- Fix AvoidChannelLenCheck false match on non-channel len() calls by @bmuschko in #51
- AvoidDotImport: re-qualify references instead of leaving them dangling by @bmuschko in #52
- Guard code-quality recipes against emitting invalid Go by @bmuschko in #53
- Drop explicit io.moderne:jsonrpc dependency by @timtebeek in #58
New Contributors
Full Changelog: v0.5.3...v0.6.0
0.5.3
What's Changed
- Upgrade rewrite-go to 0.0.28 by @greg-at-moderne in #49
Full Changelog: v0.5.2...v0.5.3
0.5.2
What's Changed
- Upgrade rewrite-go to 0.0.27 by @greg-at-moderne in #48
Full Changelog: v0.5.1...v0.5.2
0.5.1
What's Changed
- Upgrade rewrite-go to 0.0.26 by @greg-at-moderne in #47
Full Changelog: v0.5.0...v0.5.1
0.5.0
What's Changed
- Add more Go upgrade versions fixed recipes by @greg-at-moderne in #42
- Bump to rewrite-go v0.0.19 by @greg-at-moderne in #43
- Upgrade to rewrite-go/v0.0.23 by @greg-at-moderne in #45
- go tidy composite recipe by @greg-at-moderne in #44
- Upgrade rewrite-go to 0.0.25 by @greg-at-moderne in #46
Full Changelog: v0.4.1...v0.5.0
0.4.1
What's Changed
- Rename migration recipe ids by @greg-at-moderne in #40
- rewrite-go/v0.0.18 by @greg-at-moderne in #41
Full Changelog: v0.4.0...v0.4.1
0.4.0
What's Changed
- rewrite-go/v0.0.17 by @greg-at-moderne in #38
- Flatten the project structure by @greg-at-moderne in #39
Full Changelog: v0.3.2...v0.4.0
0.3.2
What's Changed
- Upgrade to rewrite-go/v0.0.15 by @greg-at-moderne in #36
- Use preconditions for the go version recipes by @greg-at-moderne in #37
Full Changelog: v0.3.1...v0.3.2