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-spanner Loading
base: v6.47.0
Choose a base ref
...
head repository: googleapis/java-spanner Loading
compare: v6.48.0
Choose a head ref
  • 15 commits
  • 279 files changed
  • 9 contributors

Commits on Sep 12, 2023

  1. chore(main): release 6.47.1-SNAPSHOT (#2620)

    🤖 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] committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    8f1b1c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ebf067 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    …23.0 (#2625)
    
    * chore(deps): update dependency com.google.cloud:libraries-bom to v26.23.0
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5be03be View commit details
    Browse the repository at this point in the history
  2. build(deps): update dependency org.apache.maven.plugins:maven-javadoc…

    …-plugin to v3.6.0 (#2628)
    
    * build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.6.0
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    dea0b51 View commit details
    Browse the repository at this point in the history
  3. chore: Update the Java code generator (gapic-generator-java) to 2.25.0 (

    #2616)
    
    * chore: Update the Java code generator (gapic-generator-java) to 2.25.0
    
    PiperOrigin-RevId: 563824709
    
    Source-Link: googleapis/googleapis@8fe4127
    
    Source-Link: googleapis/googleapis-gen@c8c0112
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    35bcf04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59f3e70 View commit details
    Browse the repository at this point in the history
  5. chore(deps): update dependency com.google.cloud:google-cloud-spanner …

    …to v6.47.0 (#2571)
    
    [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-spanner](https://togithub.com/googleapis/java-spanner) | `6.44.0` -> `6.47.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner/6.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-spanner/6.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-spanner/6.44.0/6.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-spanner/6.44.0/6.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-spanner (com.google.cloud:google-cloud-spanner)</summary>
    
    ### [`v6.47.0`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6470-2023-09-12)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.46.0...v6.47.0)
    
    ##### Features
    
    -   Add devcontainers for enabling github codespaces usage. ([#&#8203;2605](https://togithub.com/googleapis/java-spanner/issues/2605)) ([a7d60f1](https://togithub.com/googleapis/java-spanner/commit/a7d60f13781f87054a1631ca511492c5c8334751))
    -   Disable dynamic code loading properties by default ([#&#8203;2606](https://togithub.com/googleapis/java-spanner/issues/2606)) ([d855ebb](https://togithub.com/googleapis/java-spanner/commit/d855ebbd2dec11cdd6cdbe326de81115632598cd))
    
    ##### Bug Fixes
    
    -   Add reflection configurations for com.google.rpc classes ([#&#8203;2617](https://togithub.com/googleapis/java-spanner/issues/2617)) ([c42460a](https://togithub.com/googleapis/java-spanner/commit/c42460ae7b6bb5874cc18c7aecff34186dcbff2a))
    -   Avoid unbalanced session pool creation ([#&#8203;2442](https://togithub.com/googleapis/java-spanner/issues/2442)) ([db751ce](https://togithub.com/googleapis/java-spanner/commit/db751ceebc8b6981d00cd07ce4742196cc1dd50d))
    
    ##### Dependencies
    
    -   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 ([#&#8203;2615](https://togithub.com/googleapis/java-spanner/issues/2615)) ([ac762fb](https://togithub.com/googleapis/java-spanner/commit/ac762fbf079db79eab5f2ebee971b850ac89eb11))
    
    ### [`v6.46.0`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6460-2023-09-06)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.45.3...v6.46.0)
    
    ##### Features
    
    -   Adding support for databoost ([#&#8203;2505](https://togithub.com/googleapis/java-spanner/issues/2505)) ([dd3e9a0](https://togithub.com/googleapis/java-spanner/commit/dd3e9a0fe4846edcab9501b71c3d9e0fa24ed75b))
    -   Support PostgreSQL for autoConfigEmulator ([#&#8203;2601](https://togithub.com/googleapis/java-spanner/issues/2601)) ([fbf1df9](https://togithub.com/googleapis/java-spanner/commit/fbf1df9f3fb12faaead8634b88fd4843cbdedf5b))
    
    ##### Bug Fixes
    
    -   Fix kokoro windows java8 ci ([#&#8203;2573](https://togithub.com/googleapis/java-spanner/issues/2573)) ([465df7b](https://togithub.com/googleapis/java-spanner/commit/465df7bad12fbea7dbcf6dbabb1b29d088c42665))
    
    ##### Documentation
    
    -   Add sample for transaction timeouts ([#&#8203;2599](https://togithub.com/googleapis/java-spanner/issues/2599)) ([59cec9b](https://togithub.com/googleapis/java-spanner/commit/59cec9b9cdad169bd8de8ab7b264b04150dda7fb))
    
    ### [`v6.45.3`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6453-2023-08-17)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.45.2...v6.45.3)
    
    ##### Bug Fixes
    
    -   Use streaming read/query settings for stream retry ([#&#8203;2579](https://togithub.com/googleapis/java-spanner/issues/2579)) ([f78b838](https://togithub.com/googleapis/java-spanner/commit/f78b838e294f9c29bfc34a5d964933657b70417f))
    
    ### [`v6.45.2`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6452-2023-08-14)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.45.1...v6.45.2)
    
    ##### Bug Fixes
    
    -   GetColumnCount would fail for empty partititioned result sets ([#&#8203;2588](https://togithub.com/googleapis/java-spanner/issues/2588)) ([9a2f3fc](https://togithub.com/googleapis/java-spanner/commit/9a2f3fc01748224fc8084fbf2b4a0223426b1603))
    
    ### [`v6.45.1`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6451-2023-08-11)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.45.0...v6.45.1)
    
    ##### Bug Fixes
    
    -   Always allow metadata queries ([#&#8203;2580](https://togithub.com/googleapis/java-spanner/issues/2580)) ([ebb17fc](https://togithub.com/googleapis/java-spanner/commit/ebb17fc8aeac5fc75e4f135f33dba970f2480585))
    
    ### [`v6.45.0`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6450-2023-08-04)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.44.0...v6.45.0)
    
    ##### Features
    
    -   Enable leader aware routing by default in Connection API. This enables its use in the JDBC driver and PGAdapter. The update contains performance optimisations that will reduce the latency of read/write transactions that originate from a region other than the default leader region. ([2a85446](https://togithub.com/googleapis/java-spanner/commit/2a85446b162b006ce84a86285af1767c879b27ed))
    -   Enable leader aware routing by default. This update contains performance optimisations that will reduce the latency of read/write transactions that originate from a region other than the default leader region. ([441c1b0](https://togithub.com/googleapis/java-spanner/commit/441c1b03c3e976c6304a99fefd93b5c4291e5364))
    -   Long running transaction clean up background task. Adding configuration options for closing inactive transactions. ([#&#8203;2419](https://togithub.com/googleapis/java-spanner/issues/2419)) ([423e1a4](https://togithub.com/googleapis/java-spanner/commit/423e1a4b483798d9683ff9bd232b53d76e09beb0))
    -   Support partitioned queries + data boost in Connection API ([#&#8203;2540](https://togithub.com/googleapis/java-spanner/issues/2540)) ([4e31d04](https://togithub.com/googleapis/java-spanner/commit/4e31d046f5d80abe8876a729ddba045c70f3261d))
    
    ##### Bug Fixes
    
    -   Apply stream wait timeout ([#&#8203;2544](https://togithub.com/googleapis/java-spanner/issues/2544)) ([5a12cd2](https://togithub.com/googleapis/java-spanner/commit/5a12cd29601253423c5738be5471a036fd0334be))
    
    ##### Dependencies
    
    -   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 ([#&#8203;2562](https://togithub.com/googleapis/java-spanner/issues/2562)) ([dbd5c75](https://togithub.com/googleapis/java-spanner/commit/dbd5c75be39262003092ff4a925ed470cc45f8be))
    -   Update dependency org.openjdk.jmh:jmh-core to v1.37 ([#&#8203;2565](https://togithub.com/googleapis/java-spanner/issues/2565)) ([d5c36bf](https://togithub.com/googleapis/java-spanner/commit/d5c36bfbb67ecb14854944779da6e4dbd93f3559))
    -   Update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.37 ([#&#8203;2566](https://togithub.com/googleapis/java-spanner/issues/2566)) ([73e92d4](https://togithub.com/googleapis/java-spanner/commit/73e92d42fe6d334b6efa6485246dc67858adb0a9))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-spanner).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
    renovate-bot committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    27c0d30 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6fe132a View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. test: add integration tests for large batch dml updates. (#2618)

    * test: add integration tests for large batch dml updates.
    
    * chore: incorporate review comments.
    
    * fix: lint issues.
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    arpan14 and gcf-owl-bot[bot] committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    84cd62f View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. test: fix the queryAndThen method in the mock test server (#2623)

    The mock server that is used for testing contained a queryAndThen(..)
    method that did not do anything with the 'and then' part. This PR fixes
    that, and adds an additional test using that method. That test shows
    what happens with a bit-reversed sequence when a transaction is aborted.
    olavloite committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    9964bd5 View commit details
    Browse the repository at this point in the history
  2. fix: retry aborted errors for writeAtLeastOnce (#2627)

    * fix: retry aborted errors for writeAtLeastOnce
    
    The `writeAtLeastOnce` method could fail with an Aborted error if Cloud
    Spanner would abort the transaction during the single Commit RPC
    invocation that this method executes. This can for example happen if a
    schema change is executed while this method is being called.
    
    Fixes #2626
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    olavloite and gcf-owl-bot[bot] committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    2addb19 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. chore(deps): Update gapic-generator-java to 2.26.0 (#2638)

    * feat: add BatchWrite API
    
    PiperOrigin-RevId: 567412157
    
    Source-Link: googleapis/googleapis@64fd42c
    
    Source-Link: googleapis/googleapis-gen@9e53103
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU1MzEwM2ZmM2MwNmFmOTRlNTgzYWY3YmFhM2M3ZmNhZmU3ODMyMiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * chore(deps): Update gapic-generator-java to 2.26.0
    
    PiperOrigin-RevId: 567624307
    
    Source-Link: googleapis/googleapis@2ecf4de
    
    Source-Link: googleapis/googleapis-gen@a5cfbd9
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTVjZmJkOWEwNWIzYTEzNGU5Mjg4NjExNGRiNzc2ZmIzM2NlYzlmMiJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    4143bb9 View commit details
    Browse the repository at this point in the history
  2. feat: add support for BatchWriteAtLeastOnce (#2520)

    * feat: add support for BatchWriteAtleastOnce
    
    * test: add batchwrite() support to MockSpannerServiceImpl
    
    * test: add commit timestamp to proto
    
    * test: add commit timestamp to proto
    
    * test: add commit timestamp to proto
    
    * consume the stream in tests
    
    * refactor tests
    
    * refactor tests
    
    * test if mutations are correctly applied
    
    * null check
    
    * skip for emulator
    
    * add method documentation
    
    * add method documentation
    
    * add method documentation
    
    * remove autogenerated code
    
    * remove autogenerated tests
    
    * batchWriteAtleastOnce -> batchWriteAtLeastOnce
    
    * batchWriteAtleastOnceWithOptions -> batchWriteAtLeastOnceWithOptions
    
    * changes based on updated batch write API
    
    * add copyright and doc
    
    * address review comments
    
    * address review comments
    
    * add more documentation
    
    ---------
    
    Co-authored-by: Arpan Mishra <[email protected]>
    rajatbhatta and arpan14 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    8ea7bd1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e804a4c View commit details
    Browse the repository at this point in the history
  4. chore(main): release 6.48.0 (#2633)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    4f09493 View commit details
    Browse the repository at this point in the history
Loading