From eac54981b8061f54d3d7d059929d33b4640c403b Mon Sep 17 00:00:00 2001 From: Yevgeny Pats Date: Mon, 16 Oct 2023 20:51:14 +0300 Subject: [PATCH 01/10] Create config.yml --- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..733537c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: CloudQuery Central Issues Tracker + url: https://github.com/cloudquery/cloudquery/issues + about: Please file any issue with regards to any of CloudQuery repo in the main repository with the right labels. + - name: CloudQuery Discord Support + url: https://cloudquery.io/discord + about: Join our discord to get live support from us and the community. From 4df01d6af6be75d2659a6024afc937f8ff3e643e Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 02:32:51 +0200 Subject: [PATCH 02/10] chore(deps): Update gradle/gradle-build-action digest to 0bfe00a (#132) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | gradle/gradle-build-action | action | digest | `62cce3c` -> `0bfe00a` | --- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c48ce3a..bc20d6c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@342dbebe7272035434f9baccc29a816ec6dd2c7b - name: Publish package - uses: gradle/gradle-build-action@62cce3c597efd445cd71ee868887b8b1117703a7 + uses: gradle/gradle-build-action@0bfe00a136db5e61ba3416b372542a65863a9fee with: arguments: publish env: From 627b49de71ab9e3fa90a3b930970a2b9f1d97a4f Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 02:39:16 +0200 Subject: [PATCH 03/10] fix(deps): Update dependency com.fasterxml.jackson.core:jackson-annotations to v2.15.3 (#133) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.fasterxml.jackson.core:jackson-annotations](https://togithub.com/FasterXML/jackson) ([source](https://togithub.com/FasterXML/jackson-annotations)) | dependencies | patch | `2.15.2` -> `2.15.3` | --- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index 9c61485..b25fe3c 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -43,7 +43,7 @@ dependencies { implementation "org.apache.arrow:arrow-vector:12.0.1" implementation "com.fasterxml.jackson.core:jackson-core:2.15.2" - implementation "com.fasterxml.jackson.core:jackson-annotations:2.15.2" + implementation "com.fasterxml.jackson.core:jackson-annotations:2.15.3" implementation 'org.apache.logging.log4j:log4j-api:2.20.0' implementation 'org.apache.logging.log4j:log4j-core:2.20.0' From 235781df38e59ff9ae0257a0827561c9bfc26341 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 03:52:52 +0200 Subject: [PATCH 04/10] fix(deps): Update dependency com.fasterxml.jackson.core:jackson-core to v2.15.3 (#135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.fasterxml.jackson.core:jackson-core](https://togithub.com/FasterXML/jackson-core) | dependencies | patch | `2.15.2` -> `2.15.3` | --- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index b25fe3c..dce52eb 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -42,7 +42,7 @@ dependencies { implementation "org.apache.arrow:arrow-memory-core:12.0.1" implementation "org.apache.arrow:arrow-vector:12.0.1" - implementation "com.fasterxml.jackson.core:jackson-core:2.15.2" + implementation "com.fasterxml.jackson.core:jackson-core:2.15.3" implementation "com.fasterxml.jackson.core:jackson-annotations:2.15.3" implementation 'org.apache.logging.log4j:log4j-api:2.20.0' From eb7b853ee48ca2dacb6f03b4b6f4d6cb1898a92f Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 03:57:14 +0200 Subject: [PATCH 05/10] fix(deps): Update dependency com.google.guava:guava to v32.1.3-jre (#136) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.google.guava:guava](https://togithub.com/google/guava) | dependencies | patch | `32.1.2-jre` -> `32.1.3-jre` | --- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- lib/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/build.gradle b/lib/build.gradle index dce52eb..be4dabe 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -31,9 +31,9 @@ dependencies { // This dependency is used internally, and not exposed to consumers on their own compile classpath. implementation 'org.jooq:joou:0.9.4' - implementation 'com.google.guava:guava:32.1.2-jre' + implementation 'com.google.guava:guava:32.1.3-jre' implementation 'info.picocli:picocli:4.7.5' - implementation 'com.google.guava:guava:32.1.2-jre' + implementation 'com.google.guava:guava:32.1.3-jre' implementation "io.grpc:grpc-protobuf:1.58.0" implementation "io.grpc:grpc-stub:1.57.2" implementation "io.grpc:grpc-services:1.57.2" From 8675852d77cf6676c1a6d214c4b53ad3ef3112e8 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 04:35:13 +0200 Subject: [PATCH 06/10] fix(deps): Update dependency gradle to v8.4 (#137) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gradle](https://gradle.org) ([source](https://togithub.com/gradle/gradle)) | minor | `8.3` -> `8.4` | --- ### Release Notes
gradle/gradle (gradle) ### [`v8.4`](https://togithub.com/gradle/gradle/releases/tag/v8.4.0): 8.4 [Compare Source](https://togithub.com/gradle/gradle/compare/v8.3.0...v8.4.0) The Gradle team is excited to announce Gradle 8.4. Amongst other improvements, this release addresses two security vulnerabilities: - [Incorrect permission assignment for symlinked files used in copy or archiving operations](https://togithub.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9) - [Possible local text file exfiltration by XML External entity injection](https://togithub.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8) [Read the Release Notes](https://docs.gradle.org/8.4/release-notes.html) We would like to thank the following community members for their contributions to this release of Gradle: [Ahmed Ehab](https://togithub.com/ahmedehabb), [Andrei Rybak](https://togithub.com/rybak), [Baptiste Decroix](https://togithub.com/bdecroix-spiria), [BjΓΆrn Kautler](https://togithub.com/Vampire), [Cesar de la Vega](https://togithub.com/vegaro), [Ganavi Jayaram](https://togithub.com/ganavijayaram), [Gaurav Padam](https://togithub.com/Gauravpadam), [hwanseok](https://togithub.com/hwanseok-dev), [J.T. McQuigg](https://togithub.com/JT122406), [Jakub Chrzanowski](https://togithub.com/hsz), [Jendrik Johannes](https://togithub.com/jjohannes), [kackey0-1](https://togithub.com/kackey0-1), [Konstantin Gribov](https://togithub.com/grossws), [Pratik Haldankar](https://togithub.com/pratik2315), [Qinglin](https://togithub.com/nodmp), [Sebastian Schuberth](https://togithub.com/sschuberth), [Thad House](https://togithub.com/ThadHouse), [valery1707](https://togithub.com/valery1707), [Vladimir Sitnikov](https://togithub.com/vlsi), [wuyangnju](https://togithub.com/wuyangnju), [Yanming Zhou](https://togithub.com/quaff), [Yanshun Li](https://togithub.com/Chaoba), [Yusuke Uehara](https://togithub.com/uskey512), [zeners](https://togithub.com/zeners) #### Upgrade instructions Switch your build to use Gradle 8.4 by updating your wrapper: ./gradlew wrapper --gradle-version=8.4 #### Reporting problems If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://togithub.com/gradle).
--- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ac72c34..3fa8f86 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 0adc8e1..1aa94a4 100755 --- a/gradlew +++ b/gradlew @@ -145,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 + # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac @@ -153,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 + # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -202,11 +202,11 @@ fi # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ From 88d3e713338339dc9fd0dd1c23f55f7c0e508ac5 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 04:40:38 +0200 Subject: [PATCH 07/10] fix(deps): Update dependency io.grpc:grpc-protobuf to v1.59.0 (#138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.58.0` -> `1.59.0` | --- ### Release Notes
grpc/grpc-java (io.grpc:grpc-protobuf) ### [`v1.59.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.59.0) ##### gRPC Java 1.59.0 Release Notes **PLANNED ABI BREAKAGE!** This breaks the ABI of the `@ExperimentalApi` classes listed below. This does not impact source code (API); it only impacts code compiled with a different version of gRPC than it runs with (ABI). Users that recompiled their code using grpc-java [`v1.36.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.36.0) (released on Feb 23, 2021) and later, **ARE NOT AFFECTED**. Users that compiled their source using grpc-java earlier than `v1.36.0` may need to recompile when upgrading to grpc-java `v1.59.0`. See details in [#​10406](https://togithub.com/grpc/grpc-java/issues/10406). **Affected classes** Class `io.grpc.internal.AbstractManagedChannelImplBuilder` is deleted, and no longer in the class hierarchy of the channel builders: - `io.grpc.netty.NettyChannelBuilder` - `io.grpc.okhttp.OkhttpChannelBuilder` - `io.grpc.cronet.CronetChannelBuilder` Class `io.grpc.internal.AbstractServerImplBuilder` is deleted, and no longer in the class hierarchy of the server builders: - `io.grpc.netty.NettyServerBuilder` - `io.grpc.inprocess.InProcessServerBuilder` *** ##### API Changes - core: `AbstractManagedChannelImplBuilder` and `AbstractServerImplBuilder` are removed ([#​10530](https://togithub.com/grpc/grpc-java/issues/10530)). This is ABI-breaking, see the warning above. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - core: Removed .class file hack previously introduced in [`v1.36.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.36.0) to ease removal of internal ABIs. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - api: Add `ForwardingChannelBuilder2`, an ABI-safe version of `ForwardingChannelBuilder`, which will be deprecated in the following release. ([#​10585](https://togithub.com/grpc/grpc-java/issues/10585), [#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - api: Add `LoadBalancer.FixedResultPicker` convenience class for load balancer implementations. It is a replacement for `ErrorPicker` and `EMPTY_PICKER` added in 1.58.0 - testing: Stabilize TestMethodDescriptors ([#​10530](https://togithub.com/grpc/grpc-java/issues/10530)) ##### Behavior Changes - core: de-expermentalize pick first config parsing ([#​10531](https://togithub.com/grpc/grpc-java/issues/10531)) - netty: Respect -Dio.netty.allocator.type=unpooled when getting Netty Allocator instead of ignoring it ([#​10543](https://togithub.com/grpc/grpc-java/issues/10543)) - netty: Use UNAVAILABLE for connections closed while writing. Previously this would result in UNKNOWN - binder: Enable indirect addressing using s. ([#​10550](https://togithub.com/grpc/grpc-java/issues/10550)) ##### Improvements - core: only use reflection to resolve InternalCensusStatsAccessor once instead of once per channel - core: enhance error message in the case of DEADLINE_EXCEEDED to indicate name resolution delay. - netty: When creating a connection, use java.util.logging formatting instead of String.format to avoid work when not logged - netty: Touch ByteBuf when message framing has been decoded. If the buffer is leaked, this helps narrow down the source of reference counting bug - java_grpc_library.bzl: Disable Automatic Exec Groups inside grpc libraries ([#​10514](https://togithub.com/grpc/grpc-java/issues/10514)). This improves compatibility with future Bazel versions while retaining Bazel 5.x compatibility ##### Bug Fixes - netty: Avoid NettyAdaptiveCumulator incorrectly releasing its input ByteBuf twice when reading messages under certain error conditions ([#​10537](https://togithub.com/grpc/grpc-java/issues/10537)) - xds: Add fix for xdstp replacement for percent-encoded authorities ([#​10571](https://togithub.com/grpc/grpc-java/issues/10571)) ##### Documentation - API documentation (Javadoc) for Server and Channel builders now correctly displays inherited methods and the class hierarchy. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - examples: add an example for OAuth ([#​10560](https://togithub.com/grpc/grpc-java/issues/10560)) ##### Dependencies - Upgrade Netty to 4.1.97.Final ##### Acknowledgements John Cormie ([@​jdcormie](https://togithub.com/jdcormie)) Stephane Landelle ([@​slandelle](https://togithub.com/slandelle)) [@​kotlaja](https://togithub.com/kotlaja)
--- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index be4dabe..46aa0bf 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -34,7 +34,7 @@ dependencies { implementation 'com.google.guava:guava:32.1.3-jre' implementation 'info.picocli:picocli:4.7.5' implementation 'com.google.guava:guava:32.1.3-jre' - implementation "io.grpc:grpc-protobuf:1.58.0" + implementation "io.grpc:grpc-protobuf:1.59.0" implementation "io.grpc:grpc-stub:1.57.2" implementation "io.grpc:grpc-services:1.57.2" implementation "io.grpc:grpc-testing:1.57.2" From 556b91bf28fc21df9b1e1e7e6b42fe1396f505a8 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 1 Nov 2023 05:27:27 +0200 Subject: [PATCH 08/10] fix(deps): Update dependency io.grpc:grpc-stub to v1.59.0 (#140) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | dependencies | minor | `1.57.2` -> `1.59.0` | --- ### Release Notes
grpc/grpc-java (io.grpc:grpc-stub) ### [`v1.59.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.59.0) #### gRPC Java 1.59.0 Release Notes **PLANNED ABI BREAKAGE!** This breaks the ABI of the `@ExperimentalApi` classes listed below. This does not impact source code (API); it only impacts code compiled with a different version of gRPC than it runs with (ABI). Users that recompiled their code using grpc-java [`v1.36.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.36.0) (released on Feb 23, 2021) and later, **ARE NOT AFFECTED**. Users that compiled their source using grpc-java earlier than `v1.36.0` may need to recompile when upgrading to grpc-java `v1.59.0`. See details in [#​10406](https://togithub.com/grpc/grpc-java/issues/10406). **Affected classes** Class `io.grpc.internal.AbstractManagedChannelImplBuilder` is deleted, and no longer in the class hierarchy of the channel builders: - `io.grpc.netty.NettyChannelBuilder` - `io.grpc.okhttp.OkhttpChannelBuilder` - `io.grpc.cronet.CronetChannelBuilder` Class `io.grpc.internal.AbstractServerImplBuilder` is deleted, and no longer in the class hierarchy of the server builders: - `io.grpc.netty.NettyServerBuilder` - `io.grpc.inprocess.InProcessServerBuilder` *** ##### API Changes - core: `AbstractManagedChannelImplBuilder` and `AbstractServerImplBuilder` are removed ([#​10530](https://togithub.com/grpc/grpc-java/issues/10530)). This is ABI-breaking, see the warning above. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - core: Removed .class file hack previously introduced in [`v1.36.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.36.0) to ease removal of internal ABIs. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - api: Add `ForwardingChannelBuilder2`, an ABI-safe version of `ForwardingChannelBuilder`, which will be deprecated in the following release. ([#​10585](https://togithub.com/grpc/grpc-java/issues/10585), [#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - api: Add `LoadBalancer.FixedResultPicker` convenience class for load balancer implementations. It is a replacement for `ErrorPicker` and `EMPTY_PICKER` added in 1.58.0 - testing: Stabilize TestMethodDescriptors ([#​10530](https://togithub.com/grpc/grpc-java/issues/10530)) ##### Behavior Changes - core: de-expermentalize pick first config parsing ([#​10531](https://togithub.com/grpc/grpc-java/issues/10531)) - netty: Respect -Dio.netty.allocator.type=unpooled when getting Netty Allocator instead of ignoring it ([#​10543](https://togithub.com/grpc/grpc-java/issues/10543)) - netty: Use UNAVAILABLE for connections closed while writing. Previously this would result in UNKNOWN - binder: Enable indirect addressing using s. ([#​10550](https://togithub.com/grpc/grpc-java/issues/10550)) ##### Improvements - core: only use reflection to resolve InternalCensusStatsAccessor once instead of once per channel - core: enhance error message in the case of DEADLINE_EXCEEDED to indicate name resolution delay. - netty: When creating a connection, use java.util.logging formatting instead of String.format to avoid work when not logged - netty: Touch ByteBuf when message framing has been decoded. If the buffer is leaked, this helps narrow down the source of reference counting bug - java_grpc_library.bzl: Disable Automatic Exec Groups inside grpc libraries ([#​10514](https://togithub.com/grpc/grpc-java/issues/10514)). This improves compatibility with future Bazel versions while retaining Bazel 5.x compatibility ##### Bug Fixes - netty: Avoid NettyAdaptiveCumulator incorrectly releasing its input ByteBuf twice when reading messages under certain error conditions ([#​10537](https://togithub.com/grpc/grpc-java/issues/10537)) - xds: Add fix for xdstp replacement for percent-encoded authorities ([#​10571](https://togithub.com/grpc/grpc-java/issues/10571)) ##### Documentation - API documentation (Javadoc) for Server and Channel builders now correctly displays inherited methods and the class hierarchy. ([#​10406](https://togithub.com/grpc/grpc-java/issues/10406)) - examples: add an example for OAuth ([#​10560](https://togithub.com/grpc/grpc-java/issues/10560)) ##### Dependencies - Upgrade Netty to 4.1.97.Final ##### Acknowledgements John Cormie ([@​jdcormie](https://togithub.com/jdcormie)) Stephane Landelle ([@​slandelle](https://togithub.com/slandelle)) [@​kotlaja](https://togithub.com/kotlaja) ### [`v1.58.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.58.0) ##### API Changes - xds: Add missing ExperimentalApi to OrcaServiceImpl - stub: Removed deprecated methods attachHeaders and captureMetadata from MetadataUtils ([#​10443](https://togithub.com/grpc/grpc-java/issues/10443)) - api: Stabilized ServerCall.getAuthority() by removing experimental annotation ([#​10498](https://togithub.com/grpc/grpc-java/issues/10498)) - api: Stabilized `ServerCall#setMessageCompression()` and `PartialForwardingServerCall#setMessageCompression()` ([#​10393](https://togithub.com/grpc/grpc-java/issues/10393)) - protobuf: Stabilize `ProtoUtils.setExtensionRegistry()` and `ProtoLiteUtils.setExtensionRegistry()` ([#​10392](https://togithub.com/grpc/grpc-java/issues/10392)) - testing: Stabilize `GrpcCleanupRule`, `GrpcServerRule` ([#​10494](https://togithub.com/grpc/grpc-java/issues/10494)) - api: Stabilized ServerBuilder.handshakeTimeout ([#​10499](https://togithub.com/grpc/grpc-java/issues/10499)) - api: Removed Context.Storage deprecated method attach(), made doAttach() abstract ([#​10379](https://togithub.com/grpc/grpc-java/issues/10379)) - api : Stabilized methodDescriptor getRequestMarshaller, getResponseMarshaller ([#​10495](https://togithub.com/grpc/grpc-java/issues/10495)) ##### Behavior Changes - rls: Have RLS's LRU Cache rely on cleanup process to remove expired entries ([#​10400](https://togithub.com/grpc/grpc-java/issues/10400)) - core, inprocess, util: 2 new artifacts grpc-inprocess and grpc-util have been created by moving code from grpc-core to facilitate Java module support ([#​10362](https://togithub.com/grpc/grpc-java/issues/10362), [#​10390](https://togithub.com/grpc/grpc-java/issues/10390)) - all: Automatic module name support added to all artifacts ([#​10413](https://togithub.com/grpc/grpc-java/issues/10413)) - xds: Encode the service authority in XdsNameResolver ([#​10207](https://togithub.com/grpc/grpc-java/issues/10207)) ##### Improvements - api: In Javadoc, link to gRFCs A8/A9 for keepalive and related settings - okhttp: Enable support for being returned by `Grpc.newServerBuilderForPort()`. At present, Netty always has higher priority than OkHttp, if they are both available, because `ServerBuilder.forPort()` is not supported in the OkHttp transport but is supported in the Netty transport - bazel: Enhance java_grpc_library.bzl to allow toolchain to use annotation processors - examples: Add pre-serialized-message example ([#​10112](https://togithub.com/grpc/grpc-java/issues/10112)) - examples: Android examples to use AGP 7.4.0 ([#​10497](https://togithub.com/grpc/grpc-java/issues/10497)) ##### Bug Fixes - Fix compatibility with Java 8. This fixes the `NoSuchMethodError` for `ByteBuffer` methods present in 1.57.0 ([#​10441](https://togithub.com/grpc/grpc-java/issues/10441)) - xds: Remove debug assert in WeightedRoundRobinLoadBalancer. The assert was to detect breakages in the static stride algorithm causing too much looping. However, with multithreading it is possible to trigger even in legitimate scenarios ([#​10437](https://togithub.com/grpc/grpc-java/issues/10437)) - util: Outlier detection tracer delegation ([#​10459](https://togithub.com/grpc/grpc-java/issues/10459)) - Handle header with errors and endStream = true. Was filling logs with NPEs. ([#​10384](https://togithub.com/grpc/grpc-java/issues/10384)) - core: Fix a retriablestream bug that may cause deadlock with OkHttp ([#​10386](https://togithub.com/grpc/grpc-java/issues/10386)) - stub: Remove ThreadlessExecutor from BlockingServerStream to eliminate the problem where sometimes the iterator’s next() method would get stuck. ([#​10496](https://togithub.com/grpc/grpc-java/issues/10496)) - compiler: Fix aarch\_64 macs not being able to build the compiler module. ([#​10516](https://togithub.com/grpc/grpc-java/issues/10516)) - okhttp: Use padded length for flow control in both client and server transport ([#​10422](https://togithub.com/grpc/grpc-java/issues/10422)) - xds: Fix locality logging information in bootstrap ([#​10423](https://togithub.com/grpc/grpc-java/issues/10423)) ##### Dependencies - Upgraded protobuf to 3.24.0 - android: Min SDK level to 21 ([#​10505](https://togithub.com/grpc/grpc-java/issues/10505)) - Various dependency upgrades ([#​10359](https://togithub.com/grpc/grpc-java/issues/10359)): androidx.core:core 1.10.0 -> 1.10.1 com.google.api.grpc:proto-google-common-protos 2.17.0 -> 2.22.0 com.google.cloud:google-cloud-logging 3.14.5 -> 3.15.5 com.google.errorprone:error_prone_annotations 2.18.0 -> 2.20.0 com.squareup.okio:okio 1.17.5 -> 2.10.0 ##### Acknowledgements Halvard Skogsrud
--- ### Configuration πŸ“… **Schedule**: Branch creation - "before 4am 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index 46aa0bf..2e02346 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -35,7 +35,7 @@ dependencies { implementation 'info.picocli:picocli:4.7.5' implementation 'com.google.guava:guava:32.1.3-jre' implementation "io.grpc:grpc-protobuf:1.59.0" - implementation "io.grpc:grpc-stub:1.57.2" + implementation "io.grpc:grpc-stub:1.59.0" implementation "io.grpc:grpc-services:1.57.2" implementation "io.grpc:grpc-testing:1.57.2" implementation "io.cloudquery:plugin-pb-java:0.0.7" From 21e49818c8a3e55f6b0316750cc8026151ea40d1 Mon Sep 17 00:00:00 2001 From: spieden Date: Sat, 25 Nov 2023 22:26:45 -0800 Subject: [PATCH 09/10] fix: add date types to ArrowHelper (#141) https://github.com/cloudquery/cloudquery/issues/15431 --- .../java/io/cloudquery/helper/ArrowHelper.java | 5 +++++ .../io/cloudquery/helper/ArrowHelperTest.java | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/src/main/java/io/cloudquery/helper/ArrowHelper.java b/lib/src/main/java/io/cloudquery/helper/ArrowHelper.java index e3a3a9e..7c99307 100644 --- a/lib/src/main/java/io/cloudquery/helper/ArrowHelper.java +++ b/lib/src/main/java/io/cloudquery/helper/ArrowHelper.java @@ -22,6 +22,7 @@ import org.apache.arrow.memory.RootAllocator; import org.apache.arrow.vector.BigIntVector; import org.apache.arrow.vector.BitVector; +import org.apache.arrow.vector.DateDayVector; import org.apache.arrow.vector.FieldVector; import org.apache.arrow.vector.FixedSizeBinaryVector; import org.apache.arrow.vector.Float4Vector; @@ -139,6 +140,10 @@ private static void setVectorData(FieldVector vector, Object data) { jsonVector.setSafe(0, (byte[]) data); return; } + if (vector instanceof DateDayVector dayDateVector) { + dayDateVector.set(0, (int) data); + return; + } throw new IllegalArgumentException("Unsupported vector type: " + vector.getClass()); } diff --git a/lib/src/test/java/io/cloudquery/helper/ArrowHelperTest.java b/lib/src/test/java/io/cloudquery/helper/ArrowHelperTest.java index ff52029..4a63eb3 100644 --- a/lib/src/test/java/io/cloudquery/helper/ArrowHelperTest.java +++ b/lib/src/test/java/io/cloudquery/helper/ArrowHelperTest.java @@ -15,8 +15,10 @@ import io.cloudquery.schema.Resource; import io.cloudquery.schema.Table; import java.io.IOException; +import java.time.LocalDate; import java.util.List; import java.util.Map; +import org.apache.arrow.vector.types.DateUnit; import org.apache.arrow.vector.types.pojo.ArrowType; import org.apache.arrow.vector.types.pojo.Field; import org.apache.arrow.vector.types.pojo.Schema; @@ -41,7 +43,11 @@ public class ArrowHelperTest { .primaryKey(true) .build(), Column.builder().name("string_column2").type(ArrowType.Utf8.INSTANCE).build(), - Column.builder().name("boolean_column").type(ArrowType.Bool.INSTANCE).build())) + Column.builder().name("boolean_column").type(ArrowType.Bool.INSTANCE).build(), + Column.builder() + .name("date_days_column") + .type(new ArrowType.Date(DateUnit.DAY)) + .build())) .build(); @Test @@ -69,6 +75,9 @@ public void testToArrowSchema() { CQ_EXTENSION_PRIMARY_KEY, "false")); + assertEquals(arrowSchema.getFields().get(2).getName(), "boolean_column"); + assertEquals(arrowSchema.getFields().get(3).getName(), "date_days_column"); + assertEquals( arrowSchema.getCustomMetadata(), Map.of( @@ -84,7 +93,8 @@ public void testFromArrowSchema() { List fields = List.of( Field.nullable("string_column1", ArrowType.Utf8.INSTANCE), - Field.nullable("string_column2", ArrowType.Utf8.INSTANCE)); + Field.nullable("string_column2", ArrowType.Utf8.INSTANCE), + Field.nullable("date_days_column", new ArrowType.Date(DateUnit.DAY))); Schema schema = new Schema(fields, Map.of(CQ_TABLE_NAME, "table1")); @@ -120,6 +130,7 @@ public void testRoundTripResourceEncoding() throws Exception { Resource resource = Resource.builder().table(TEST_TABLE).build(); resource.set("string_column1", "test_data"); resource.set("string_column2", "test_data2"); + resource.set("date_days_column", (int) LocalDate.parse("2023-11-24").toEpochDay()); resource.set("boolean_column", true); Assertions.assertDoesNotThrow( From 8c09cbb7a1b66efc3c9ca3e83bcc1370325c02ff Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:10:01 +0200 Subject: [PATCH 10/10] chore(main): Release v0.0.13 (#134) :robot: I have created a release *beep* *boop* --- ## [0.0.13](https://github.com/cloudquery/plugin-sdk-java/compare/v0.0.12...v0.0.13) (2023-11-26) ### Bug Fixes * add date types to ArrowHelper ([#141](https://github.com/cloudquery/plugin-sdk-java/issues/141)) ([21e4981](https://github.com/cloudquery/plugin-sdk-java/commit/21e49818c8a3e55f6b0316750cc8026151ea40d1)) * **deps:** Update dependency com.fasterxml.jackson.core:jackson-annotations to v2.15.3 ([#133](https://github.com/cloudquery/plugin-sdk-java/issues/133)) ([627b49d](https://github.com/cloudquery/plugin-sdk-java/commit/627b49de71ab9e3fa90a3b930970a2b9f1d97a4f)) * **deps:** Update dependency com.fasterxml.jackson.core:jackson-core to v2.15.3 ([#135](https://github.com/cloudquery/plugin-sdk-java/issues/135)) ([235781d](https://github.com/cloudquery/plugin-sdk-java/commit/235781df38e59ff9ae0257a0827561c9bfc26341)) * **deps:** Update dependency com.google.guava:guava to v32.1.3-jre ([#136](https://github.com/cloudquery/plugin-sdk-java/issues/136)) ([eb7b853](https://github.com/cloudquery/plugin-sdk-java/commit/eb7b853ee48ca2dacb6f03b4b6f4d6cb1898a92f)) * **deps:** Update dependency gradle to v8.4 ([#137](https://github.com/cloudquery/plugin-sdk-java/issues/137)) ([8675852](https://github.com/cloudquery/plugin-sdk-java/commit/8675852d77cf6676c1a6d214c4b53ad3ef3112e8)) * **deps:** Update dependency io.grpc:grpc-protobuf to v1.59.0 ([#138](https://github.com/cloudquery/plugin-sdk-java/issues/138)) ([88d3e71](https://github.com/cloudquery/plugin-sdk-java/commit/88d3e713338339dc9fd0dd1c23f55f7c0e508ac5)) * **deps:** Update dependency io.grpc:grpc-stub to v1.59.0 ([#140](https://github.com/cloudquery/plugin-sdk-java/issues/140)) ([556b91b](https://github.com/cloudquery/plugin-sdk-java/commit/556b91bf28fc21df9b1e1e7e6b42fe1396f505a8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 13 +++++++++++++ lib/build.gradle | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 204b139..c349431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.0.13](https://github.com/cloudquery/plugin-sdk-java/compare/v0.0.12...v0.0.13) (2023-11-26) + + +### Bug Fixes + +* add date types to ArrowHelper ([#141](https://github.com/cloudquery/plugin-sdk-java/issues/141)) ([21e4981](https://github.com/cloudquery/plugin-sdk-java/commit/21e49818c8a3e55f6b0316750cc8026151ea40d1)) +* **deps:** Update dependency com.fasterxml.jackson.core:jackson-annotations to v2.15.3 ([#133](https://github.com/cloudquery/plugin-sdk-java/issues/133)) ([627b49d](https://github.com/cloudquery/plugin-sdk-java/commit/627b49de71ab9e3fa90a3b930970a2b9f1d97a4f)) +* **deps:** Update dependency com.fasterxml.jackson.core:jackson-core to v2.15.3 ([#135](https://github.com/cloudquery/plugin-sdk-java/issues/135)) ([235781d](https://github.com/cloudquery/plugin-sdk-java/commit/235781df38e59ff9ae0257a0827561c9bfc26341)) +* **deps:** Update dependency com.google.guava:guava to v32.1.3-jre ([#136](https://github.com/cloudquery/plugin-sdk-java/issues/136)) ([eb7b853](https://github.com/cloudquery/plugin-sdk-java/commit/eb7b853ee48ca2dacb6f03b4b6f4d6cb1898a92f)) +* **deps:** Update dependency gradle to v8.4 ([#137](https://github.com/cloudquery/plugin-sdk-java/issues/137)) ([8675852](https://github.com/cloudquery/plugin-sdk-java/commit/8675852d77cf6676c1a6d214c4b53ad3ef3112e8)) +* **deps:** Update dependency io.grpc:grpc-protobuf to v1.59.0 ([#138](https://github.com/cloudquery/plugin-sdk-java/issues/138)) ([88d3e71](https://github.com/cloudquery/plugin-sdk-java/commit/88d3e713338339dc9fd0dd1c23f55f7c0e508ac5)) +* **deps:** Update dependency io.grpc:grpc-stub to v1.59.0 ([#140](https://github.com/cloudquery/plugin-sdk-java/issues/140)) ([556b91b](https://github.com/cloudquery/plugin-sdk-java/commit/556b91bf28fc21df9b1e1e7e6b42fe1396f505a8)) + ## [0.0.12](https://github.com/cloudquery/plugin-sdk-java/compare/v0.0.11...v0.0.12) (2023-10-01) diff --git a/lib/build.gradle b/lib/build.gradle index 2e02346..664c563 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -11,7 +11,7 @@ ext { group 'io.cloudquery.plugin.sdk' // x-release-please-start-version -version = '0.0.12' +version = '0.0.13' // x-release-please-end repositories {