From 1271054229dd7ab1a1fbf6931cc147330d6f1866 Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Mon, 29 Jul 2024 15:56:53 +0530 Subject: [PATCH 1/7] Remove unnecessary INFO log statements in Memoize func --- plugin/hydrate_cache.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/hydrate_cache.go b/plugin/hydrate_cache.go index 9f1e6b18..1b286d21 100644 --- a/plugin/hydrate_cache.go +++ b/plugin/hydrate_cache.go @@ -62,7 +62,6 @@ func (f HydrateFunc) Memoize(opts ...MemoizeOption) HydrateFunc { if isMemoized(f) { log.Printf("[WARN] Memoize %s - already memoized", helpers.GetFunctionName(f)) } - log.Printf("[INFO] Memoize %s", helpers.GetFunctionName(f)) config := newMemoizeConfiguration(f) for _, o := range opts { @@ -130,8 +129,6 @@ func (f HydrateFunc) Memoize(opts ...MemoizeOption) HydrateFunc { return callAndCacheHydrate(ctx, d, h, f, cacheKey, ttl) } - log.Printf("[INFO] Memoize %p %s", f, helpers.GetFunctionName(f)) - if memoizedFuncPtr == 0 { memoizedFuncPtr = reflect.ValueOf(memoizedFunc).Pointer() } From 7904fe55872e3a764f13226e93ef7e380760725c Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Fri, 2 Aug 2024 15:53:50 +0530 Subject: [PATCH 2/7] v5.10.2 --- CHANGELOG.md | 4 ++++ version/version.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 899d6e17..d323a64e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v5.10.2 [2024-08-02] +_Bug fixes_ +* Remove unnecessary INFO log statements in Memoize func. This fixes logging in the plugin export tools. ([#813](https://github.com/turbot/steampipe-plugin-sdk/issues/813)) + ## v5.10.1 [2024-05-09] _Bug fixes_ * Ensure QueryData passed to ConnectionKeyColumns value callback is populated with ConnectionManager. ([#797](https://github.com/turbot/steampipe-plugin-sdk/issues/797)) diff --git a/version/version.go b/version/version.go index 476ce8b4..89f6efeb 100644 --- a/version/version.go +++ b/version/version.go @@ -12,7 +12,7 @@ import ( var ProtocolVersion int64 = 20220201 // Version is the main version number that is being run at the moment. -var version = "5.10.1" +var version = "5.10.2" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release From 3203a3ad3c0beab520cb73fa8d2f4fe8717bcc72 Mon Sep 17 00:00:00 2001 From: Puskar Basu <45908484+pskrbasu@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:46:13 +0530 Subject: [PATCH 3/7] Update go version to 1.22 (#816) --- .github/workflows/acceptance-test.yml | 4 ++-- go.mod | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/acceptance-test.yml b/.github/workflows/acceptance-test.yml index d2987306..67b64669 100644 --- a/.github/workflows/acceptance-test.yml +++ b/.github/workflows/acceptance-test.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -40,7 +40,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Checkout uses: actions/checkout@v4 diff --git a/go.mod b/go.mod index b0d053af..00917c1c 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/turbot/steampipe-plugin-sdk/v5 -go 1.21.0 - -toolchain go1.21.3 +go 1.22.4 //replace github.com/turbot/pipe-fittings => ../pipe-fittings From c60ce434875d69fd083f21b5bc138d539b55f6c5 Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Tue, 13 Aug 2024 17:51:25 +0530 Subject: [PATCH 4/7] v5.10.3 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d323a64e..b5d4272c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v5.10.3 [2024-08-13] +_What's new?_ +* Compiled with Go 1.22. ([#811](https://github.com/turbot/steampipe-plugin-sdk/issues/811)) + ## v5.10.2 [2024-08-02] _Bug fixes_ * Remove unnecessary INFO log statements in Memoize func. This fixes logging in the plugin export tools. ([#813](https://github.com/turbot/steampipe-plugin-sdk/issues/813)) From 7c6d7483450293d14451f10154a7af492ed65397 Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Tue, 13 Aug 2024 17:53:44 +0530 Subject: [PATCH 5/7] Update version to v5.10.3 --- version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version/version.go b/version/version.go index 89f6efeb..dca7e3a7 100644 --- a/version/version.go +++ b/version/version.go @@ -12,7 +12,7 @@ import ( var ProtocolVersion int64 = 20220201 // Version is the main version number that is being run at the moment. -var version = "5.10.2" +var version = "5.10.3" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release From f707eff288ac3cb24da2735e37fa2e86669bf761 Mon Sep 17 00:00:00 2001 From: Puskar Basu <45908484+pskrbasu@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:44:39 +0530 Subject: [PATCH 6/7] Bump github.com/hashicorp/go-getter (#819) --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 00917c1c..6a9af977 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,7 @@ require ( github.com/eko/gocache/store/bigcache/v4 v4.2.1 github.com/eko/gocache/store/ristretto/v4 v4.2.1 github.com/fsnotify/fsnotify v1.7.0 - github.com/hashicorp/go-getter v1.7.4 + github.com/hashicorp/go-getter v1.7.5 go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 diff --git a/go.sum b/go.sum index 16eb69c8..31785da9 100644 --- a/go.sum +++ b/go.sum @@ -407,8 +407,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0Q github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter v1.7.4 h1:3yQjWuxICvSpYwqSayAdKRFcvBl1y/vogCxczWSmix0= -github.com/hashicorp/go-getter v1.7.4/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.5 h1:dT58k9hQ/vbxNMwoI5+xFYAJuv6152UNvdHokfI5wE4= +github.com/hashicorp/go-getter v1.7.5/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v1.6.2 h1:NOtoftovWkDheyUM/8JW3QMiXyxJK3uHRK7wV04nD2I= github.com/hashicorp/go-hclog v1.6.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= From 23424019df8d732897cb74635faf010436eaf39e Mon Sep 17 00:00:00 2001 From: Puskar Basu Date: Thu, 29 Aug 2024 11:46:08 +0530 Subject: [PATCH 7/7] v5.10.4 --- CHANGELOG.md | 4 ++++ version/version.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d4272c..9292a557 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v5.10.4 [2024-08-29] +_What's new?_ +* Updated `hashicorp/go-getter` dependency to v1.7.5. + ## v5.10.3 [2024-08-13] _What's new?_ * Compiled with Go 1.22. ([#811](https://github.com/turbot/steampipe-plugin-sdk/issues/811)) diff --git a/version/version.go b/version/version.go index dca7e3a7..605df429 100644 --- a/version/version.go +++ b/version/version.go @@ -12,7 +12,7 @@ import ( var ProtocolVersion int64 = 20220201 // Version is the main version number that is being run at the moment. -var version = "5.10.3" +var version = "5.10.4" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release