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: c05e2ee
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: c196a74
Choose a head ref
  • 5 commits
  • 12 files changed
  • 3 contributors

Commits on Jan 11, 2023

  1. feat(docs): Sort tables (#599)

    
    Our docs show tables based on definition order which can be inconsistent and makes it harder to locate a table, see https://www.cloudquery.io/docs/plugins/sources/azure/tables:
    ![image](https://user-images.githubusercontent.com/26760571/211791729-61956521-05c9-42f4-9785-3daf4f879868.png)
    
    This PR sorts the tables and relations before generating the docs
    
    ---
    erezrokah authored Jan 11, 2023
    1 Configuration menu
    Copy the full SHA
    8a3bfad View commit details
    Browse the repository at this point in the history
  2. feat(transformers): Add WithPrimaryKeys option (#598)

    
    Adds `WithPrimaryKeys` so we don't need to define extra columns just for the sake of primary keys.
    The issue with extra columns is that you need to manually configure the column name resolver and type. It's easy to miss those especially when plugins have custom logic for resolvers and types, for example:
    https://github.com/cloudquery/cloudquery/blob/cb9b4f85ccb82f850e6ded6c19a39d06c4f2c94a/plugins/source/gcp/client/transformers.go#L17
    https://github.com/cloudquery/cloudquery/blob/cb9b4f85ccb82f850e6ded6c19a39d06c4f2c94a/plugins/source/gcp/client/transformers.go#L39
    https://github.com/cloudquery/cloudquery/blob/cb9b4f85ccb82f850e6ded6c19a39d06c4f2c94a/plugins/source/gcp/client/transformers.go#L54
    
    ---
    erezrokah authored Jan 11, 2023
    1 Configuration menu
    Copy the full SHA
    107006c View commit details
    Browse the repository at this point in the history
  3. fix: Send resource validation errors to Sentry (#601)

    Resource validation errors, like a row missing a PK value, are non-recoverable and need to be fixed by the plugin author. As such, we should know about them when they happen, even though they do not cause a panic in the code. I tried to minimize the number of duplicate messages we send in this case by using a `sync.Map`
    hermanschaaf authored Jan 11, 2023
    1 Configuration menu
    Copy the full SHA
    5916516 View commit details
    Browse the repository at this point in the history
  4. feat(transformers): Add support for net.IP (#595)

    
    
    A follow up to cloudquery/cloudquery#6588 where `net.IP` was resolved to `TypeByteArray` by the SDK and we had to manually configure it cloudquery/cloudquery@0ccf23b
    
    ---
    erezrokah authored Jan 11, 2023
    1 Configuration menu
    Copy the full SHA
    a420645 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. chore(main): Release v1.25.0 (#602)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [1.25.0](v1.24.2...v1.25.0) (2023-01-11)
    
    
    ### Features
    
    * **docs:** Sort tables ([#599](#599)) ([8a3bfad](8a3bfad))
    * **transformers:** Add support for `net.IP` ([#595](#595)) ([a420645](a420645))
    * **transformers:** Add WithPrimaryKeys option ([#598](#598)) ([107006c](107006c))
    
    
    ### Bug Fixes
    
    * Send resource validation errors to Sentry ([#601](#601)) ([5916516](5916516))
    
    ---
    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 Jan 12, 2023
    1 Configuration menu
    Copy the full SHA
    c196a74 View commit details
    Browse the repository at this point in the history
Loading