Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/turbot/steampipe-plugin-sdk/v4 to v5 - autoclosed #14

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/turbot/steampipe-plugin-sdk/v4 v4.1.13 -> v5.10.1 age adoption passing confidence

Release Notes

turbot/steampipe-plugin-sdk (github.com/turbot/steampipe-plugin-sdk/v4)

v5.10.1

Compare Source

Bug fixes

  • Ensure QueryData passed to ConnectionKeyColumns value callback is populated with ConnectionManager. (#​797)

v5.10.0

Compare Source

What's new?

  • Add support for connection key columns. (#​768)
  • Add sp_ctx and sp_connection_name columns to all tables. (#​769)

v5.9.0

Compare Source

What's new?

  • Remove support for Memoized functions to be directly assigned as column hydrate functions. Instead require a wrapper hydrate function. (#​738)

Bug fixes

  • If cache is disabled for the server, but enabled for the client, the query execution code tries to stream to the cache even though there is not active set operation. (#​740)

v5.8.0

Compare Source

What's new?

  • Encapsulate plugin server so it is possible to use it in-process as well as via GRPC. (#​719)
  • Add steampipe field to _ctx column, containing sdk version. (#​712)

Bug fixes

  • Remove plugin has no connections error when deleting and then re-adding a connection. (#​725)
  • Fix potential divide by zero bug when setting cache size

v5.7.0

Compare Source

What's new?

  • Update proto.ColumnDefinition to include column default and hydrate function name. (#​711)
  • Show connection name along with error message. (#​684)
  • Dynamically allocate a TCP port when STEAMPIPE_PPROF environment variable is set.

Bug fixes

  • Fix issue where NullIfEmptySliceValue panics when input is not a slice. (#​707)

v5.6.3

Compare Source

Bug fixes

  • Fix expired credentials sometimes being left in connection cache - update connection cache to use a backing store per connection, rather than a shared backing store. (#​699)

v5.6.2

Compare Source

Bug fixes

  • The initialise function is now being called for implicit hydrate configs (i.e. hydrate functions without explicit config), thereby preventing nil pointer reference errors when the hydrate function returns an error. (#​683)

v5.6.1

Compare Source

What's new?

  • SetConnectionCacheOptions, a new GRPC endpoint to clear connection cache. (#​678)

v5.6.0

Compare Source

What's new?

  • Define rate and concurrency limits for plugin execution. (#​623)
  • Diagnostics property added to _ctx column, containing information on hydrate calls and rate limiting (enabled by setting env var STEAMPIPE_DIAGNOSTIC_LEVEL=all)
  • Support for JSONB operators in List hydrate functions. (#​594).
  • Type property added to ConnectionConfig protobuf definition and use to determine if a connection is an aggregator. (#​590)
  • When plugin startup fails, write specially formatted string to stdout so plugin manager can parse the output and display a useful message. (#​619)
  • Support for multi-line log entries. (#​612)
  • Added Equals function for QualValue. (#​646)

Bug fixes

  • Fix cache deadlock caused when the same table is scanned multiple times, and Postgres does not iterate the first scan.
    Update the query cache to make all scans a subscriber of the cache request, and decouple the reading ands writing of cached data . (#​586)

v5.5.2

Compare Source

What's new?

  • Improve logging for connection config updates and connection cache clearing (#​677)

v5.5.1

Compare Source

What's new?

  • Upgrade opentelemetry SDK to v1.16.0. (#​570)

v5.5.0

Compare Source

What's new?

  • Update cache pending item implementation. (#​564,#​566)
    • Cache requests subscribe to pending items and stream them as the data is received rather than waiting for the item to complete.
    • When making cache request, update request to include ALL columns which will be returned, not just columns requested. This will allow pending item code to match in cases where a different column in the same hydrate function is requested.

Bug fixes

  • Optimise GetSourceFiles to avoid recursing into child folders when not necessary (update go-kit version). (#​557)
  • Fix hang in hydrate retry code - fix invalid default retryInterval in getBackoff. (#​558)
  • Update GetSourceFiles to use go-getter GetAny method for https URLs. (#​560)
  • Do not print call stacks in logs. (#​553)

v5.4.1

Compare Source

Bug fixes

  • Avoid loading schema repeatedly when initializing plugin with multiple connections. (#​547)

v5.4.0

Compare Source

What's new?

  • Add SetCacheOptions to allow control of cache at server level. (#​546)

v5.3.0

Compare Source

What's new?

  • Add env var support for limiting the folders from which source files are retrieved. (#​540)
  • Add go-getter support to TableMapFunc - add GetSourceFiles method to ConnectionMapData. (#​542)

v5.2.0

Compare Source

What's new?

  • Add support for update of dynamic plugin schema based on file watching events. (#​457)
  • Update SetAllConnectionConfigs to return map of failed connections. (#​458)
  • Add support/handling for aggregator connections using dynamic plugins. (#​453)
  • Add new Hydrate function wrapper Memoize to replace WithCache. (#​499)
  • Replace Mutexes with RWMutexes and update locking to use RLock where possible. (#​498)
  • If an empty Matrix is returned from MatrixItemFunc, fetch function should not be called.(#​496)
  • Remove need for connection config schema - support hcl tags on connection config struct. (#​482)
  • Add support for including child struct properties in connection config. (#​168)
  • Instead of renaming _ctx column to dedupe it, implement a set of reserved columns which may not be used. (#​536)
  • Add support for like, not like, ilike and not ilike operators in List hydrate functions. (#​592)

Bug fixes

  • Fix query cache pending item mechanism. (#​511,#​512,#​517)
  • Fix dynamic plugins exhibiting very high CPU usage due to message stream function. (#​537)

BREAKING CHANGE

  • Fix typo in TableMapData - rename ConectionCache to ConnectionCache. (#​535)

v5.1.4

Compare Source

v5.1.3

Compare Source

v5.1.2

Compare Source

Bug fixes

  • Fix cache timeout when doing select * - when adding all columns to the cache request, include the _ctx column. (#​490)

v5.1.1

Compare Source

Bug fixes

  • When caching query results, cache all columns, not just those that were requested. (#​487)

v5.1.0

Compare Source

What's new?

  • Add DiagsToWarnings function. (#​474)
  • Add NullIfEmptySlice transform. (#​476)

v5.0.2

Compare Source

Bug fixes

  • When adding the ctx column to table schema, if that column already exists, keep prepending '' (e.g. __ctx) until a unique name is found. (#​466)
  • Fix validation for dynamic plugins. This fixes optional key columns which were sometimes not working for dynamic plugins as the key column operators were not being defaulted. (#​469)

v5.0.1

Compare Source

Bug fixes

  • Fix hydrate function caching using WithCache for aggregator connections. (#​460)

v5.0.0

Compare Source

What's new?

  • Add QueryData.GetSourceFiles which fetches files using go-getter. (#​434)
  • Add support for watching files specified by connection config properties with the tag watch. (#​451)
  • Update comments to improve GoDoc documentation and remove unnecessary exports. (#​432)
  • Update signature of TableMapFunc to accept TableMapData, which included ConnectionCache. (#​436)
  • Add support to customize the RetryHydrate function. (#​349)
  • Remove explicit setting of rlimit, now that Go 1.19 does it automatically. (#​444)
  • Fix query cache TTL maxing out at 5 mins - set hard limit to 24 hours. (#​446)

Bug fixes

  • Fix nil pointer reference error when qual value is nil. (#​442)

Breaking changes

  • The signature or TableMapFunc has changed to
    func(ctx context.Context, d *TableMapData) (map[string]*Table, error)
    where TableMapData is:
type TableMapData struct {
	Connection     *Connection
	ConectionCache *connection.ConnectionCache
}
  • QueryData.QueryStatus.RowsRemaining has been moved to QueryData.RowsRemaining. (QueryData.QueryStatus is no longer exported)
  • QueryData.KeyColumnQuals has been renamed to EqualsQuals
  • QueryData.KeyColumnQualsString has been renamed to EqualsQualString
  • ConcurrencyManager and HydrateCall and no longer exported

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Jul 20, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: downloading github.com/andrerfcsantos/go-plausible v0.3.1
go: downloading github.com/valyala/fasthttp v1.34.0
go: downloading github.com/andybalholm/brotli v1.0.4
go: downloading github.com/klauspost/compress v1.15.11
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/turbot/steampipe-plugin-sdk/v4 v4.1.13
go: downloading github.com/turbot/steampipe-plugin-sdk v1.8.3
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/turbot/go-kit v0.10.0-rc.0
go: downloading google.golang.org/grpc v1.63.2
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/dgraph-io/ristretto v0.1.1
go: downloading github.com/eko/gocache/v3 v3.1.1
go: downloading github.com/gertd/go-pluralize v0.2.1
go: downloading github.com/hashicorp/go-hclog v1.6.2
go: downloading github.com/hashicorp/hcl/v2 v2.20.1
go: downloading github.com/sethvargo/go-retry v0.2.4
go: downloading github.com/stevenle/topsort v0.2.0
go: downloading github.com/zclconf/go-cty v1.14.4
go: downloading go.opentelemetry.io/otel v1.26.0
go: downloading go.opentelemetry.io/otel/trace v1.26.0
go: downloading golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
go: downloading golang.org/x/sync v0.6.0
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/iancoleman/strcase v0.3.0
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/btubbs/datetime v0.1.1
go: downloading github.com/tkrajina/go-reflector v0.5.6
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading golang.org/x/net v0.23.0
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading github.com/XiaoMi/pegasus-go-client v0.0.0-20210427083443-f3b6b08bc4c2
go: downloading github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d
go: downloading github.com/go-redis/redis/v8 v8.11.5
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/fatih/color v1.15.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading github.com/agext/levenshtein v1.2.2
go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading golang.org/x/tools v0.6.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
go: downloading github.com/hashicorp/go-plugin v1.6.0
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/allegro/bigcache/v3 v3.1.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.30.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0
go: downloading go.opentelemetry.io/otel/metric v1.26.0
go: downloading go.opentelemetry.io/otel/sdk/metric v1.26.0
go: downloading go.opentelemetry.io/otel/sdk v1.26.0
go: downloading github.com/hashicorp/go-version v1.6.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading golang.org/x/sys v0.19.0
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/golang/glog v1.2.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/prometheus/client_golang v1.14.0
go: downloading github.com/cenkalti/backoff/v4 v4.3.0
go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
go: downloading k8s.io/apimachinery v0.23.5
go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/hashicorp/yamux v0.1.1
go: downloading github.com/mitchellh/go-testing-interface v1.14.1
go: downloading github.com/oklog/run v1.0.0
go: downloading github.com/go-logr/logr v1.4.1
go: downloading go.opentelemetry.io/proto/otlp v1.2.0
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/pegasus-kv/thrift v0.13.0
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/client_model v0.3.0
go: downloading github.com/prometheus/common v0.37.0
go: downloading github.com/prometheus/procfs v0.8.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading golang.org/x/mod v0.8.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de
go: downloading go.opentelemetry.io/otel v1.28.0
go: downloading go.opentelemetry.io/otel/sdk/metric v1.28.0
go: downloading go.opentelemetry.io/otel/sdk v1.28.0
go: downloading go.opentelemetry.io/otel/metric v1.28.0
go: downloading go.opentelemetry.io v0.1.0
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/sdk/metric/controller/basic: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/controller/basic
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/sdk/metric/processor/basic: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/processor/basic
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/sdk/metric/selector/simple: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/selector/simple
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric imports
	go.opentelemetry.io/otel/sdk/metric/export: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/export
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric imports
	go.opentelemetry.io/otel/sdk/metric/export/aggregation: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/export/aggregation
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric imports
	go.opentelemetry.io/otel/sdk/metric/sdkapi: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/sdkapi
go: github.com/francois2metz/steampipe-plugin-plausible imports
	github.com/turbot/steampipe-plugin-sdk/v4/plugin imports
	github.com/turbot/steampipe-plugin-sdk/v4/telemetry imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/metrictransform imports
	go.opentelemetry.io/otel/sdk/metric/number: cannot find module providing package go.opentelemetry.io/otel/sdk/metric/number

@renovate renovate bot changed the title Update module github.com/turbot/steampipe-plugin-sdk/v4 to v5 Update module github.com/turbot/steampipe-plugin-sdk/v4 to v5 - autoclosed Jul 22, 2024
@renovate renovate bot closed this Jul 22, 2024
@renovate renovate bot deleted the renovate/github.com-turbot-steampipe-plugin-sdk-v4-5.x branch July 22, 2024 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants