Skip to content

Commit bc0d198

Browse files
Merge branch 'main' into renovate/com.google.cloud.samples-shared-configuration-1.x
2 parents fe8ecc1 + 73557c3 commit bc0d198

File tree

393 files changed

+4556
-2373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+4556
-2373
lines changed

.github/scripts/hermetic_library_generation.sh

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/sync-repo-settings.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ branchProtectionRules:
1919
- 'Kokoro - Test: Java 17 GraalVM Native Image'
2020
- javadoc
2121
- conformance
22+
- library_generation
23+
- unmanaged_dependency_check
2224
- pattern: 1.22.0-sp
2325
isAdminEnforced: true
2426
requiredApprovingReviewCount: 1

.github/workflows/hermetic_library_generation.yaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,28 @@ on:
1818
pull_request:
1919

2020
env:
21-
HEAD_REF: ${{ github.head_ref }}
2221
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
2322
GITHUB_REPOSITORY: ${{ github.repository }}
24-
2523
jobs:
2624
library_generation:
2725
runs-on: ubuntu-latest
2826
steps:
27+
- name: Determine whether the pull request comes from a fork
28+
run: |
29+
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
30+
echo "This PR comes from a fork. Skip library generation."
31+
echo "SHOULD_RUN=false" >> $GITHUB_ENV
32+
else
33+
echo "SHOULD_RUN=true" >> $GITHUB_ENV
34+
fi
2935
- uses: actions/checkout@v4
36+
if: env.SHOULD_RUN == 'true'
3037
with:
3138
fetch-depth: 0
3239
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
33-
- name: Generate changed libraries
34-
shell: bash
35-
run: |
36-
set -ex
37-
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
38-
echo "This PR comes from a fork. Generation will be skipped"
39-
exit 0
40-
fi
41-
[ -z "$(git config user.email)" ] && git config --global user.email "[email protected]"
42-
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
43-
bash .github/scripts/hermetic_library_generation.sh \
44-
--target_branch ${{ github.base_ref }} \
45-
--current_branch $HEAD_REF
46-
env:
47-
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40+
- uses: googleapis/sdk-platform-java/.github/[email protected]
41+
if: env.SHOULD_RUN == 'true'
42+
with:
43+
base_ref: ${{ github.base_ref }}
44+
head_ref: ${{ github.head_ref }}
45+
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
shell: bash
1515
run: .kokoro/build.sh
1616
- name: Unmanaged dependency check
17-
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.35.0
17+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.40.0
1818
with:
1919
bom-path: google-cloud-bigtable-bom/pom.xml

.kokoro/presubmit/graalvm-native-17.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.35.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.40.0"
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.35.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.40.0"
77
}
88

99
env_vars: {

CHANGELOG.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,101 @@
11
# Changelog
22

3+
## [2.48.0](https://github.com/googleapis/java-bigtable/compare/v2.47.0...v2.48.0) (2024-11-19)
4+
5+
6+
### Features
7+
8+
* Enable trailer optimization by default ([#2421](https://github.com/googleapis/java-bigtable/issues/2421)) ([7b2c4e4](https://github.com/googleapis/java-bigtable/commit/7b2c4e45dce828f506dac16ffc2b71995564a477))
9+
10+
11+
### Bug Fixes
12+
13+
* **deps:** Update the Java code generator (gapic-generator-java) to 2.50.0 ([6b35b47](https://github.com/googleapis/java-bigtable/commit/6b35b478e10efce77d95bffcd7a64e84e1bcc5b0))
14+
* Make client side metrics tag in sync with server ([#2401](https://github.com/googleapis/java-bigtable/issues/2401)) ([bba4183](https://github.com/googleapis/java-bigtable/commit/bba41837febc10e9507afc7117e2e4ec2d15fb11))
15+
16+
17+
### Dependencies
18+
19+
* Revert downgrade grpc to 1.67.1 [#2366](https://github.com/googleapis/java-bigtable/issues/2366) ([#2414](https://github.com/googleapis/java-bigtable/issues/2414)) ([710fa52](https://github.com/googleapis/java-bigtable/commit/710fa52a05ce4fc81ee8e980d87e0ca86676219f))
20+
* Update dependency com.google.cloud:gapic-libraries-bom to v1.48.0 ([#2422](https://github.com/googleapis/java-bigtable/issues/2422)) ([2088a39](https://github.com/googleapis/java-bigtable/commit/2088a399bd8b71e98035cc475637f41d5873082d))
21+
* Update sdk-platform-java dependencies ([#2418](https://github.com/googleapis/java-bigtable/issues/2418)) ([c12bb01](https://github.com/googleapis/java-bigtable/commit/c12bb01a6c5be0a72285db0505407f3e1c2534fb))
22+
23+
## [2.47.0](https://github.com/googleapis/java-bigtable/compare/v2.46.0...v2.47.0) (2024-11-13)
24+
25+
26+
### Features
27+
28+
* Add an experimental feature to skip waiting for trailers for unary ops ([#2404](https://github.com/googleapis/java-bigtable/issues/2404)) ([cf58f26](https://github.com/googleapis/java-bigtable/commit/cf58f260fd7d3cb0dee4fee8e2d43367db6eadb1))
29+
* Add internal "deadline remaining" client side metric [#2341](https://github.com/googleapis/java-bigtable/issues/2341) ([#2370](https://github.com/googleapis/java-bigtable/issues/2370)) ([75d4105](https://github.com/googleapis/java-bigtable/commit/75d4105e0376dbe5810d6b96d71daa74b85e68ce))
30+
31+
32+
### Bug Fixes
33+
34+
* Simplify remaining deadline metric impl ([#2410](https://github.com/googleapis/java-bigtable/issues/2410)) ([9796d57](https://github.com/googleapis/java-bigtable/commit/9796d57b60d928d3390e4ad311d5704dcbe808ec))
35+
36+
## [2.46.0](https://github.com/googleapis/java-bigtable/compare/v2.45.1...v2.46.0) (2024-10-29)
37+
38+
39+
### Features
40+
41+
* Test proxy support SSL backend ([#2381](https://github.com/googleapis/java-bigtable/issues/2381)) ([3cbf4ab](https://github.com/googleapis/java-bigtable/commit/3cbf4abe79d61daba0704abfccfb5558b026e6b7))
42+
43+
44+
### Bug Fixes
45+
46+
* Fix client blocking latency ([#2346](https://github.com/googleapis/java-bigtable/issues/2346)) ([3801961](https://github.com/googleapis/java-bigtable/commit/380196174fb9b8cd97beb79d4faf49b30561be7f))
47+
* Fix first response latencies ([#2382](https://github.com/googleapis/java-bigtable/issues/2382)) ([8b2953e](https://github.com/googleapis/java-bigtable/commit/8b2953ed9c69c23b3e0c5c35d0538dc83f9dad80))
48+
49+
50+
### Dependencies
51+
52+
* Update sdk-platform-java dependencies ([#2384](https://github.com/googleapis/java-bigtable/issues/2384)) ([81d7215](https://github.com/googleapis/java-bigtable/commit/81d72150b60d29e4e2ac17c6cb1fbdc89be0e16e))
53+
54+
## [2.45.1](https://github.com/googleapis/java-bigtable/compare/v2.45.0...v2.45.1) (2024-10-14)
55+
56+
57+
### Bug Fixes
58+
59+
* **deps:** Update the Java code generator (gapic-generator-java) to 2.47.0 ([cdc2cc7](https://github.com/googleapis/java-bigtable/commit/cdc2cc7e085af42a2078373098b5f8ef8c752ea7))
60+
61+
62+
### Dependencies
63+
64+
* Update sdk-platform-java dependencies ([#2378](https://github.com/googleapis/java-bigtable/issues/2378)) ([2499a3c](https://github.com/googleapis/java-bigtable/commit/2499a3cd5e0d0404666c7f9cf0c74f9edb90d894))
65+
66+
## [2.45.0](https://github.com/googleapis/java-bigtable/compare/v2.44.1...v2.45.0) (2024-10-03)
67+
68+
69+
### Features
70+
71+
* Add support for Cloud Bigtable Node Scaling Factor for CBT Clusters ([caf879c](https://github.com/googleapis/java-bigtable/commit/caf879cb4086d74bd4571662510014b27e6113a7))
72+
73+
74+
### Bug Fixes
75+
76+
* **deps:** Update the Java code generator (gapic-generator-java) to 2.46.1 ([caf879c](https://github.com/googleapis/java-bigtable/commit/caf879cb4086d74bd4571662510014b27e6113a7))
77+
* Support override monitoring endpoint ([#2364](https://github.com/googleapis/java-bigtable/issues/2364)) ([a341eb8](https://github.com/googleapis/java-bigtable/commit/a341eb8530d959edabac0282c52c3e928abf733d))
78+
79+
80+
### Dependencies
81+
82+
* Downgrade grpc to 1.67.1 ([#2366](https://github.com/googleapis/java-bigtable/issues/2366)) ([1baecb3](https://github.com/googleapis/java-bigtable/commit/1baecb3f6cd34a1daab632c322a1fb415efb9895))
83+
* Update dependency com.google.cloud:gapic-libraries-bom to v1.45.0 ([#2363](https://github.com/googleapis/java-bigtable/issues/2363)) ([9d24c45](https://github.com/googleapis/java-bigtable/commit/9d24c45b389f2edef0b02f6a8c3badbca2fd3946))
84+
85+
## [2.44.1](https://github.com/googleapis/java-bigtable/compare/v2.44.0...v2.44.1) (2024-09-26)
86+
87+
88+
### Bug Fixes
89+
90+
* Add RetryCallable to the callable chain ([#2348](https://github.com/googleapis/java-bigtable/issues/2348)) ([0330d77](https://github.com/googleapis/java-bigtable/commit/0330d77ac29d47e8610ddd23c324a55d1f9912cb))
91+
* Pass deadline through ExecuteQuery RetrySettings ([#2355](https://github.com/googleapis/java-bigtable/issues/2355)) ([6bc9820](https://github.com/googleapis/java-bigtable/commit/6bc98202897cebe09be8a4a78316cf5463106866))
92+
* Time based flakiness in execute query deadline test ([#2358](https://github.com/googleapis/java-bigtable/issues/2358)) ([b474173](https://github.com/googleapis/java-bigtable/commit/b474173a778cba273d2713e667000c5633de75bd))
93+
94+
95+
### Dependencies
96+
97+
* Update dependency com.google.cloud:sdk-platform-java-config to v3.36.1 ([#2351](https://github.com/googleapis/java-bigtable/issues/2351)) ([40c428e](https://github.com/googleapis/java-bigtable/commit/40c428ec8e8cccb4dc3bb10d6674c94e9527e797))
98+
399
## [2.44.0](https://github.com/googleapis/java-bigtable/compare/v2.43.0...v2.44.0) (2024-09-16)
4100

5101

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.37.0</version>
22+
<version>26.50.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -36,7 +36,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3636

3737
If you are using Maven without the BOM, add this to your dependencies:
3838

39-
<!-- {x-version-update-start:google-cloud-bigtable:released} -->
4039

4140
```xml
4241
<dependency>
@@ -50,22 +49,21 @@ If you are using Maven without the BOM, add this to your dependencies:
5049
If you are using Gradle 5.x or later, add this to your dependencies:
5150

5251
```Groovy
53-
implementation platform('com.google.cloud:libraries-bom:26.45.0')
52+
implementation platform('com.google.cloud:libraries-bom:26.50.0')
5453
5554
implementation 'com.google.cloud:google-cloud-bigtable'
5655
```
5756
If you are using Gradle without BOM, add this to your dependencies:
5857

5958
```Groovy
60-
implementation 'com.google.cloud:google-cloud-bigtable:2.43.0'
59+
implementation 'com.google.cloud:google-cloud-bigtable:2.48.0'
6160
```
6261

6362
If you are using SBT, add this to your dependencies:
6463

6564
```Scala
66-
libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.43.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.48.0"
6766
```
68-
<!-- {x-version-update-end} -->
6967

7068
## Authentication
7169

@@ -545,7 +543,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
545543
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigtable/java11.html
546544
[stability-image]: https://img.shields.io/badge/stability-stable-green
547545
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigtable.svg
548-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.43.0
546+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigtable/2.48.0
549547
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
550548
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
551549
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gapic_generator_version: 2.45.0
2-
googleapis_commitish: 65306b92f03408d6de03589bdf970b78f2e4055c
3-
libraries_bom_version: 26.45.0
1+
gapic_generator_version: 2.50.0
2+
googleapis_commitish: 349841abac6c3e580ccce6e3d6fcc182ed2512c2
3+
libraries_bom_version: 26.50.0
44
template_excludes:
55
- .gitignore
66
- .kokoro/presubmit/integration.cfg

0 commit comments

Comments
 (0)