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: googleapis/java-shared-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.15.0
Choose a base ref
...
head repository: googleapis/java-shared-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.15.1
Choose a head ref
  • 4 commits
  • 11 files changed
  • 3 contributors

Commits on Mar 24, 2025

  1. chore: update google-java-format to the latest (#1003)

    * chore: update google-java-format to the latest
    
    b/395190324
    
    * chore: do downstream lint test using java 17 and 21
    
    * chore: adapt to new showcase folder in sdk-platform-java
    
    * chore: remove lint from Java 7 and 11 downstream jobs
    
    * deps: update fmt-maven-plugin to 2.13
    
    * use the latest spotify fmt plugin
    
    * deps: use proper group ID for latest fmt plugin
    
    * add debug command to test fmt version
    
    * use spotify fmt plugin in lint job
    
    * fix string replacement
    
    * correct indentation, explain further removal of sed
    
    * chore: adapt sync repo settings to new lint jobs
    diegomarquezp authored Mar 24, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    ljharb Jordan Harband
    Copy the full SHA
    aa78b13 View commit details
  2. chore: Update downstream-build.sh with new showcase module name (#1002)

    blakeli0 authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    38ee250 View commit details

Commits on Mar 25, 2025

  1. chore(main): release 1.15.1-SNAPSHOT (#1001)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    release-please[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    52741c5 View commit details

Commits on Mar 26, 2025

  1. chore(main): release 1.15.1 (#1006)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [1.15.1](https://togithub.com/googleapis/java-shared-config/compare/v1.15.0...v1.15.1) (2025-03-26)
    
    
    ### Dependencies
    
    * Update google-java-format to the latest ([aa78b13](https://togithub.com/googleapis/java-shared-config/commit/aa78b13e765259d70c20e8a50bde92b3ab33a8a1))
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    release-please[bot] authored Mar 26, 2025
    Copy the full SHA
    bc8f22d View commit details
2 changes: 1 addition & 1 deletion .cloudbuild/cloudbuild-test-a.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

timeout: 7200s # 2 hours
substitutions:
_JAVA_SHARED_CONFIG_VERSION: '1.15.0' # {x-version-update:google-cloud-shared-config:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1' # {x-version-update:google-cloud-shared-config:current}

steps:
# GraalVM A build
2 changes: 1 addition & 1 deletion .cloudbuild/cloudbuild-test-b.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

timeout: 7200s # 2 hours
substitutions:
_JAVA_SHARED_CONFIG_VERSION: '1.15.0' # {x-version-update:google-cloud-shared-config:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1' # {x-version-update:google-cloud-shared-config:current}

steps:
# GraalVM B build
2 changes: 1 addition & 1 deletion .cloudbuild/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

timeout: 7200s # 2 hours
substitutions:
_JAVA_SHARED_CONFIG_VERSION: '1.15.0' # {x-version-update:google-cloud-shared-config:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1' # {x-version-update:google-cloud-shared-config:current}
steps:
# GraalVM A build
- name: gcr.io/cloud-builders/docker
4 changes: 2 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -40,13 +40,13 @@ branchProtectionRules:
- "dependencies (11, java-pubsub)"
- "flatten-plugin-check"
- "build (8, java-bigquery, test)"
- "build (8, java-bigquery, lint)"
- "build (8, java-bigquery, clirr)"
- "build (8, java-bigtable, javadoc)"
- "build (11, java-bigquery, test)"
- "build (11, java-bigquery, lint)"
- "build (11, java-bigquery, clirr)"
- "build (11, java-bigtable, javadoc)"
- "lint (17, java-bigquery, lint)"
- "lint (21, java-bigquery, lint)"
- "javadoc-with-doclet (java-bigtable)"
- "cla/google"
- "graalvm-presubmit-shared-config-a (java-graalvm-ci-prod)"
22 changes: 21 additions & 1 deletion .github/workflows/downstream-maven-plugins.yaml
Original file line number Diff line number Diff line change
@@ -20,7 +20,6 @@ jobs:
- java-bigtable
job-type:
- test # maven-surefire-plugin
- lint # fmt-maven-plugin and google-java-format
- clirr # clirr-maven-plugin
- javadoc # maven-javadoc-plugin
- javadoc-with-doclet # test javadoc generation with doclet
@@ -34,6 +33,27 @@ jobs:
- run: sudo apt-get update -y
- run: sudo apt-get install libxml2-utils
- run: .kokoro/client-library-check.sh ${{matrix.repo}} ${{matrix.job-type}}
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [17, 21]
repo:
- java-bigquery
- java-bigtable
job-type:
- lint # fmt-maven-plugin and google-java-format
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{matrix.java}}
- run: java -version
- run: sudo apt-get update -y
- run: sudo apt-get install libxml2-utils
- run: .kokoro/client-library-check.sh ${{matrix.repo}} ${{matrix.job-type}}
javadoc-with-doclet:
runs-on: ubuntu-latest
strategy:
4 changes: 4 additions & 0 deletions .kokoro/client-library-check.sh
Original file line number Diff line number Diff line change
@@ -155,6 +155,10 @@ flatten-plugin)
popd
;;
*)
# Here we replace the com.coveo fmt plugin with the spotify version.
# This `sed` won't be needed once downstream repositories update
# `.kokoro/build.sh` to use the `com.spotify.fmt` group ID.
sed -i 's/com.coveo:fmt-maven-plugin/com.spotify.fmt:fmt-maven-plugin/' .kokoro/build.sh
# This reads the JOB_TYPE environmental variable
.kokoro/build.sh
RETURN_CODE=$?
10 changes: 5 additions & 5 deletions .kokoro/presubmit/downstream-build.sh
Original file line number Diff line number Diff line change
@@ -42,14 +42,14 @@ cp settings.xml "${HOME}/.m2"
git clone "https://github.com/googleapis/sdk-platform-java" --depth=1

# Update the shared-config version in showcase
pushd sdk-platform-java/showcase
pushd sdk-platform-java/java-showcase
modify_shared_config
popd

pushd sdk-platform-java
mvn -B -ntp install --projects '!gapic-generator-java' -Dcheckstyle.skip -Dfmt.skip -DskipTests
popd
pushd sdk-platform-java/showcase/gapic-showcase
pushd sdk-platform-java/java-showcase/gapic-showcase
SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)
popd

@@ -62,8 +62,8 @@ tar -xf showcase-*
popd

# Run showcase tests with `native` profile
pushd sdk-platform-java/showcase
mvn test -Pnative,-showcase -Denforcer.skip=true -ntp -B
pushd sdk-platform-java/java-showcase
mvn test -Pnative,showcase -Denforcer.skip=true -ntp -B
popd

exit $RETURN_CODE
exit $RETURN_CODE
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.15.1](https://github.com/googleapis/java-shared-config/compare/v1.15.0...v1.15.1) (2025-03-26)


### Dependencies

* Update google-java-format to the latest ([aa78b13](https://github.com/googleapis/java-shared-config/commit/aa78b13e765259d70c20e8a50bde92b3ab33a8a1))

## [1.15.0](https://github.com/googleapis/java-shared-config/compare/v1.14.4...v1.15.0) (2025-03-04)


10 changes: 5 additions & 5 deletions java-shared-config/pom.xml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<packaging>pom</packaging>
<version>1.15.0</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<version>1.15.1</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<name>Google Cloud Shared Config</name>
<url>https://github.com/googleapis/java-shared-config</url>
<description>
@@ -16,7 +16,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-shared-config</artifactId>
<version>1.15.0</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<version>1.15.1</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<relativePath>../native-image-shared-config</relativePath>
</parent>

@@ -28,7 +28,7 @@
<skipITs>true</skipITs>
<auto-value.version>1.11.0</auto-value.version>
<docRoot>/java/docs/reference/</docRoot>
<google-java-format.version>1.7</google-java-format.version>
<google-java-format.version>1.25.2</google-java-format.version>
</properties>

<build>
@@ -169,9 +169,9 @@
<version>2.8</version>
</plugin>
<plugin>
<groupId>com.coveo</groupId>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<version>2.25</version>
<configuration>
<style>google</style>
<verbose>true</verbose>
2 changes: 1 addition & 1 deletion native-image-shared-config/pom.xml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<groupId>com.google.cloud</groupId>
<artifactId>native-image-shared-config</artifactId>
<packaging>pom</packaging>
<version>1.15.0</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<version>1.15.1</version><!-- {x-version-update:google-cloud-shared-config:current} -->
<name>Native Image Shared Config</name>
<url>https://github.com/googleapis/java-shared-config</url>
<description>
2 changes: 1 addition & 1 deletion versions.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Format:
# module:released-version:current-version

google-cloud-shared-config:1.15.0:1.15.0
google-cloud-shared-config:1.15.1:1.15.1