diff --git a/examples/chat/weaver_gen.go b/examples/chat/weaver_gen.go index 70db8eabc..4e65015d1 100644 --- a/examples/chat/weaver_gen.go +++ b/examples/chat/weaver_gen.go @@ -17,7 +17,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/collatz/weaver_gen.go b/examples/collatz/weaver_gen.go index 733835c27..42f06d66b 100644 --- a/examples/collatz/weaver_gen.go +++ b/examples/collatz/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/factors/weaver_gen.go b/examples/factors/weaver_gen.go index 02d6bce4d..431cdc868 100644 --- a/examples/factors/weaver_gen.go +++ b/examples/factors/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/fakes/weaver_gen.go b/examples/fakes/weaver_gen.go index f07419369..b895e4252 100644 --- a/examples/fakes/weaver_gen.go +++ b/examples/fakes/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/hello/weaver_gen.go b/examples/hello/weaver_gen.go index 1f340e298..72c684e77 100644 --- a/examples/hello/weaver_gen.go +++ b/examples/hello/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/helloworld/weaver_gen.go b/examples/helloworld/weaver_gen.go index c09bc0acd..cf9bdef5a 100644 --- a/examples/helloworld/weaver_gen.go +++ b/examples/helloworld/weaver_gen.go @@ -13,7 +13,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/adservice/weaver_gen.go b/examples/onlineboutique/adservice/weaver_gen.go index 77bc6c188..c1e684c70 100644 --- a/examples/onlineboutique/adservice/weaver_gen.go +++ b/examples/onlineboutique/adservice/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/cartservice/weaver_gen.go b/examples/onlineboutique/cartservice/weaver_gen.go index 7e811cf97..a7e4fa7c6 100644 --- a/examples/onlineboutique/cartservice/weaver_gen.go +++ b/examples/onlineboutique/cartservice/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/checkoutservice/weaver_gen.go b/examples/onlineboutique/checkoutservice/weaver_gen.go index b16710dc1..10d899380 100644 --- a/examples/onlineboutique/checkoutservice/weaver_gen.go +++ b/examples/onlineboutique/checkoutservice/weaver_gen.go @@ -19,7 +19,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/currencyservice/weaver_gen.go b/examples/onlineboutique/currencyservice/weaver_gen.go index 108d8c446..3d2133ff0 100644 --- a/examples/onlineboutique/currencyservice/weaver_gen.go +++ b/examples/onlineboutique/currencyservice/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/emailservice/weaver_gen.go b/examples/onlineboutique/emailservice/weaver_gen.go index a02d29513..0fa1f9826 100644 --- a/examples/onlineboutique/emailservice/weaver_gen.go +++ b/examples/onlineboutique/emailservice/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/frontend/weaver_gen.go b/examples/onlineboutique/frontend/weaver_gen.go index 6f04f73e8..5a07f242b 100644 --- a/examples/onlineboutique/frontend/weaver_gen.go +++ b/examples/onlineboutique/frontend/weaver_gen.go @@ -13,7 +13,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/paymentservice/weaver_gen.go b/examples/onlineboutique/paymentservice/weaver_gen.go index e0ff3ee79..7c7bfcc40 100644 --- a/examples/onlineboutique/paymentservice/weaver_gen.go +++ b/examples/onlineboutique/paymentservice/weaver_gen.go @@ -18,7 +18,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/productcatalogservice/weaver_gen.go b/examples/onlineboutique/productcatalogservice/weaver_gen.go index f6ec21362..b8b5ff8a0 100644 --- a/examples/onlineboutique/productcatalogservice/weaver_gen.go +++ b/examples/onlineboutique/productcatalogservice/weaver_gen.go @@ -17,7 +17,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/recommendationservice/weaver_gen.go b/examples/onlineboutique/recommendationservice/weaver_gen.go index f14992200..70d6e8477 100644 --- a/examples/onlineboutique/recommendationservice/weaver_gen.go +++ b/examples/onlineboutique/recommendationservice/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/shippingservice/weaver_gen.go b/examples/onlineboutique/shippingservice/weaver_gen.go index ba96d6bb4..0b3b431b0 100644 --- a/examples/onlineboutique/shippingservice/weaver_gen.go +++ b/examples/onlineboutique/shippingservice/weaver_gen.go @@ -18,7 +18,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/types/money/weaver_gen.go b/examples/onlineboutique/types/money/weaver_gen.go index f31b4ce38..d403513d8 100644 --- a/examples/onlineboutique/types/money/weaver_gen.go +++ b/examples/onlineboutique/types/money/weaver_gen.go @@ -11,7 +11,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/onlineboutique/types/weaver_gen.go b/examples/onlineboutique/types/weaver_gen.go index 5a1cb1c1e..ec2bbeaf5 100644 --- a/examples/onlineboutique/types/weaver_gen.go +++ b/examples/onlineboutique/types/weaver_gen.go @@ -14,7 +14,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/examples/reverser/weaver_gen.go b/examples/reverser/weaver_gen.go index 95b8ab565..bca02a857 100644 --- a/examples/reverser/weaver_gen.go +++ b/examples/reverser/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/internal/benchmarks/weaver_gen.go b/internal/benchmarks/weaver_gen.go index 19c559bb6..ec0463b9f 100644 --- a/internal/benchmarks/weaver_gen.go +++ b/internal/benchmarks/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/internal/tool/generate/example/weaver_gen.go b/internal/tool/generate/example/weaver_gen.go index 8e48e15ea..895ad4721 100644 --- a/internal/tool/generate/example/weaver_gen.go +++ b/internal/tool/generate/example/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/internal/tool/generate/generator_test.go b/internal/tool/generate/generator_test.go index 3aec5deae..e4f466a8e 100644 --- a/internal/tool/generate/generator_test.go +++ b/internal/tool/generate/generator_test.go @@ -459,7 +459,7 @@ func TestExampleVersion(t *testing.T) { got := fmt.Sprintf("%x", h.Sum(nil)) // If weaver_gen.go has changed, the codegen version may need updating. - const want = "149188524b7639a9470071875e68668c38b3145cd5f7d98559e1158da7761e4e" + const want = "d5bbe7230b21a6da08782adfb8b303cb6d6d11319eae9fa1c0eee5e610afb00e" if got != want { t.Fatalf(`Unexpected SHA-256 hash of examples/weaver_gen.go: got %s, want %s. If this change is meaningful, REMEMBER TO UPDATE THE CODEGEN VERSION in runtime/version/version.go.`, got, want) } diff --git a/runtime/bin/bin.go b/runtime/bin/bin.go index 39f9d9815..150a88b34 100644 --- a/runtime/bin/bin.go +++ b/runtime/bin/bin.go @@ -41,7 +41,7 @@ func init() { // the values of version.ModuleVersion and version.DeployerVersion. If the // string is not a constant---if we try to use fmt.Sprintf, for // example---it will not be embedded in a Service Weaver binary. - versionData = "⟦wEaVeRvErSiOn:module=v0.17.0;deployer=v0.18.0⟧" + versionData = "⟦wEaVeRvErSiOn:module=v0.18.0;deployer=v0.18.0⟧" } // rodata returns the read-only data section of the provided binary. diff --git a/runtime/bin/testprogram/weaver_gen.go b/runtime/bin/testprogram/weaver_gen.go index 169824484..1ba215e77 100644 --- a/runtime/bin/testprogram/weaver_gen.go +++ b/runtime/bin/testprogram/weaver_gen.go @@ -13,7 +13,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/runtime/version/version.go b/runtime/version/version.go index 3ae018bf5..d577ec405 100644 --- a/runtime/version/version.go +++ b/runtime/version/version.go @@ -28,7 +28,7 @@ const ( // // [1]: https://go.dev/doc/modules/version-numbers ModuleMajor = 0 - ModuleMinor = 17 + ModuleMinor = 18 ModulePatch = 0 // Note that there is currently no way to programmatically get the version diff --git a/weavertest/internal/chain/weaver_gen.go b/weavertest/internal/chain/weaver_gen.go index e9ac056e2..2284a0989 100644 --- a/weavertest/internal/chain/weaver_gen.go +++ b/weavertest/internal/chain/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/weavertest/internal/deploy/weaver_gen.go b/weavertest/internal/deploy/weaver_gen.go index bbda51910..11664af26 100644 --- a/weavertest/internal/deploy/weaver_gen.go +++ b/weavertest/internal/deploy/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/weavertest/internal/diverge/weaver_gen.go b/weavertest/internal/diverge/weaver_gen.go index 457bf2e1f..4cd5f9145 100644 --- a/weavertest/internal/diverge/weaver_gen.go +++ b/weavertest/internal/diverge/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/weavertest/internal/generate/weaver_gen.go b/weavertest/internal/generate/weaver_gen.go index 22829d79f..7af308f72 100644 --- a/weavertest/internal/generate/weaver_gen.go +++ b/weavertest/internal/generate/weaver_gen.go @@ -16,7 +16,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/weavertest/internal/protos/weaver_gen.go b/weavertest/internal/protos/weaver_gen.go index e7e07437f..9b1a34683 100644 --- a/weavertest/internal/protos/weaver_gen.go +++ b/weavertest/internal/protos/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command. diff --git a/weavertest/internal/simple/weaver_gen.go b/weavertest/internal/simple/weaver_gen.go index 6c38b3363..21178f647 100644 --- a/weavertest/internal/simple/weaver_gen.go +++ b/weavertest/internal/simple/weaver_gen.go @@ -15,7 +15,7 @@ import ( var _ codegen.LatestVersion = codegen.Version[[0][17]struct{}](` -ERROR: You generated this file with 'weaver generate' v0.17.0 (codegen +ERROR: You generated this file with 'weaver generate' v0.18.0 (codegen version v0.17.0). The generated code is incompatible with the version of the github.com/ServiceWeaver/weaver module that you're using. The weaver module version can be found in your go.mod file or by running the following command.