Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.40.0
Choose a base ref
...
head repository: cloudquery/plugin-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.41.0
Choose a head ref
  • 14 commits
  • 21 files changed
  • 4 contributors

Commits on Feb 24, 2023

  1. fix: Cleanup code (#710)

    bbernays authored Feb 24, 2023
    1 Configuration menu
    Copy the full SHA
    963f03c View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. 1 Configuration menu
    Copy the full SHA
    78530f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. chore(deps): Update codecov/codecov-action digest to 4b062cb (#717)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | codecov/codecov-action | action | digest | `e0fbd59` -> `4b062cb` |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    1 Configuration menu
    Copy the full SHA
    5f4c181 View commit details
    Browse the repository at this point in the history
  2. fix(deps): Update golang.org/x/exp digest to c95f2b4 (#718)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [golang.org/x/exp](https://togithub.com/golang/exp) | require | digest | `a684f29` -> `c95f2b4` |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    1 Configuration menu
    Copy the full SHA
    de52c10 View commit details
    Browse the repository at this point in the history
  3. fix(deps): Update google.golang.org/genproto digest to 9b19f0b (#719)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [google.golang.org/genproto](https://togithub.com/googleapis/go-genproto) | indirect | digest | `0dfe4f8` -> `9b19f0b` |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    ecfddea View commit details
    Browse the repository at this point in the history
  4. fix(deps): Update module github.com/rivo/uniseg to v0.4.4 (#720)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [github.com/rivo/uniseg](https://togithub.com/rivo/uniseg) | indirect | patch | `v0.4.3` -> `v0.4.4` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>rivo/uniseg</summary>
    
    ### [`v0.4.4`](https://togithub.com/rivo/uniseg/compare/v0.4.3...v0.4.4)
    
    [Compare Source](https://togithub.com/rivo/uniseg/compare/v0.4.3...v0.4.4)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    2 Configuration menu
    Copy the full SHA
    0da69b6 View commit details
    Browse the repository at this point in the history
  5. fix(deps): Update module github.com/stretchr/testify to v1.8.2 (#721)

    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | require | patch | `v1.8.1` -> `v1.8.2` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>stretchr/testify</summary>
    
    ### [`v1.8.2`](https://togithub.com/stretchr/testify/compare/v1.8.1...v1.8.2)
    
    [Compare Source](https://togithub.com/stretchr/testify/compare/v1.8.1...v1.8.2)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    1 Configuration menu
    Copy the full SHA
    19c0742 View commit details
    Browse the repository at this point in the history
  6. chore(deps): Update dependency golangci/golangci-lint to v1.51.2 (#722)

    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [golangci/golangci-lint](https://togithub.com/golangci/golangci-lint) | minor | `v1.50.1` -> `v1.51.2` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>golangci/golangci-lint</summary>
    
    ### [`v1.51.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1512)
    
    [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.51.1...v1.51.2)
    
    1.  updated linters
        -   `forbidigo`: from 1.3.0 to 1.4.0
        -   `gci`: from 0.9.0 to 0.9.1
        -   `go-critic`: from 0.6.5 to 0.6.7
        -   `go-errorlint`: from 1.0.6 to 1.1.0
        -   `gosec`: from 2.14.0 to 2.15.0
        -   `musttag`: from 0.4.4 to 0.4.5
        -   `staticcheck`: from 0.4.0 to 0.4.2
        -   `tools`: from 0.5.0 to 0.6.0
        -   `usestdlibvars`: from 1.21.1 to 1.23.0
        -   `wsl`: from 3.3.0 to 3.4.0
        -   `govet`: enable `timeformat` by default
    2.  misc.
        -   fix: cache status size calculation
        -   add new source archive
    3.  Documentation
        -   Improve installation section
        -   Replace links to godoc.org with pkg.go.dev
    
    ### [`v1.51.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1511)
    
    [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.51.0...v1.51.1)
    
    1.  updated linters
        -   `ginkgolinter`: from 0.7.1 to 0.8.1
        -   `ineffassign`: bump to HEAD
        -   `musttag`: from 0.4.3 to 0.4.4
        -   `sqlclosecheck`: from 0.3.0 to 0.4.0
        -   `staticcheck`: bump to v0.4.0
        -   `wastedassign`: from 2.0.6 to 2.0.7
        -   `wrapcheck`: from 2.7.0 to 2.8.0
    
    ### [`v1.51.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1510)
    
    [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.50.1...v1.51.0)
    
    1.  new linters
        -   `ginkgolinter`: https://github.com/nunnatsa/ginkgolinter
        -   `musttag`: https://github.com/junk1tm/musttag
        -   `gocheckcompilerdirectives`: https://github.com/leighmcculloch/gocheckcompilerdirectives
    2.  updated linters
        -   `bodyclose`: to HEAD
        -   `dupword`: from 0.0.7 to 0.0.9
        -   `errcheck`: from 1.6.2 to 1.6.3
        -   `exhaustive`: from 0.8.3 to 0.9.5
        -   `exportloopref`: from 0.1.8 to 0.1.11
        -   `gci`: from 0.8.1 to 0.9.0
        -   `ginkgolinter`: from 0.6.0 to 0.7.1
        -   `go-errorlint`: from 1.0.5 to 1.0.6
        -   `go-ruleguard`: from 0.3.21 to 0.3.22
        -   `gocheckcompilerdirectives`: from 1.1.0 to 1.2.1
        -   `gochecknoglobals`: from 0.1.0 to 0.2.1
        -   `gomodguard`: from 1.2.4 to 1.3.0
        -   `gosec`: from 2.13.1 to 2.14.0
        -   `govet`: Add `timeformat` to analysers
        -   `grouper`: from 1.1.0 to 1.1.1
        -   `musttag`: from 0.4.1 to 0.4.3
        -   `revive`: from 1.2.4 to 1.2.5
        -   `tagliatelle`: from 0.3.1 to 0.4.0
        -   `tenv`: from 1.7.0 to 1.7.1
        -   `unparam`: bump to HEAD
        -   `usestdlibvars`: from 1.20.0 to 1.21.1
        -   `wsl`: fix `force-err-cuddling` flag
    3.  misc.
        -   go1.20 support
        -   remove deprecated linters from presets
        -   Build NetBSD binaries
        -   Build loong64 binaries
    4.  Documentation
        -   `goimport`: improve documentation for local-prefixes
        -   `gomnd`: add missing always ignored functions
        -   `nolint`: fix typo
        -   `tagliatelle` usage typo
        -   add note about binary requirement for plugin
        -   cache preserving and colored output on docker runs
        -   improve documentation about debugging.
        -   improve Editor Integration section
        -   More specific default cache directory
        -   update output example to use valid checkstyle example; add json example
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
    cq-bot authored Mar 1, 2023
    2 Configuration menu
    Copy the full SHA
    b2b8de9 View commit details
    Browse the repository at this point in the history
  7. feat: Deterministic _cq_id (#712)

    #### Summary
    
    
    When making cq_id deterministic we cannot use any of the existing resolver types because we cannot guarantee that the value has been fetched by that time so in this PR I call a new function after the resource has been fully resolved in `resolveResource`
    
    
    ---
    bbernays authored Mar 1, 2023
    1 Configuration menu
    Copy the full SHA
    2e7ad2c View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. 1 Configuration menu
    Copy the full SHA
    d0c2e26 View commit details
    Browse the repository at this point in the history
  2. feat(multiplex): Detect duplicated clients (#723)

    
    Related to #713. This PR detects duplicated client IDs, sends a sentry report when that happens and also logs a warning.
    It not this does not skip those clients (yet). I'll do a follow up based on the sentry data as we can have duplicate clients due to:
    1. User errors creating a configuration that generates duplicated clients like in cloudquery/cloudquery#8099
    2. Plugins bug, not implementing the ID method correctly
    
    ---
    erezrokah authored Mar 2, 2023
    2 Configuration menu
    Copy the full SHA
    dfb039d View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    2f6f1d8 View commit details
    Browse the repository at this point in the history
  4. fix(types-timestamp): Ensure timestamp is UTC (#716)

    
    Fixes #700
    
    Tested this on quite a few plugins. Most send `time.Time` in UTC already (`nil` location).
    The only impact I've seen is on this AWS resource:
    https://github.com/cloudquery/cloudquery/blob/380bcddff9406d12b7de343dd4dd002c95b46f0f/plugins/source/aws/resources/services/iam/credential_reports_fetch.go#L66
    which for some reason results in a `time.Time` with a location with an empty name, so that would be converted to UTC.
    
    Another impact is on the Stripe plugin that uses `int64`. Since `time.Unix` returns a `time.Time` with local timezone, now it will be converted to `UTC`.
    
    ---
    erezrokah authored Mar 2, 2023
    1 Configuration menu
    Copy the full SHA
    bb33629 View commit details
    Browse the repository at this point in the history
  5. chore(main): Release v1.41.0 (#711)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [1.41.0](v1.40.0...v1.41.0) (2023-03-02)
    
    
    ### Features
    
    * Deterministic _cq_id ([#712](#712)) ([2e7ad2c](2e7ad2c))
    * **multiplex:** Detect duplicated clients ([#723](#723)) ([dfb039d](dfb039d))
    
    
    ### Bug Fixes
    
    * Cleanup code ([#710](#710)) ([963f03c](963f03c))
    * **deps:** Update golang.org/x/exp digest to c95f2b4 ([#718](#718)) ([de52c10](de52c10))
    * **deps:** Update google.golang.org/genproto digest to 9b19f0b ([#719](#719)) ([ecfddea](ecfddea))
    * **deps:** Update module github.com/rivo/uniseg to v0.4.4 ([#720](#720)) ([0da69b6](0da69b6))
    * **deps:** Update module github.com/stretchr/testify to v1.8.2 ([#721](#721)) ([19c0742](19c0742))
    * **pk:** Skip filter for no PK ([#709](#709)) ([d0c2e26](d0c2e26))
    * **types-json:** Disable HTML escaping during JSON marshalling ([#714](#714)) ([2f6f1d8](2f6f1d8))
    * **types-timestamp:** Ensure timestamp is UTC ([#716](#716)) ([bb33629](bb33629))
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    cq-bot authored Mar 2, 2023
    1 Configuration menu
    Copy the full SHA
    e675cf0 View commit details
    Browse the repository at this point in the history
Loading