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/nodejs-spanner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.10.0
Choose a base ref
...
head repository: googleapis/nodejs-spanner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.11.0
Choose a head ref
  • 4 commits
  • 13 files changed
  • 5 contributors

Commits on Jul 21, 2024

  1. Configuration menu
    Copy the full SHA
    217d256 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. feat(spanner): add samples for instance partitions (#2083)

    Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
    - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/nodejs-spanner/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
    - [x] Ensure the tests and linter pass
    - [ ] Code coverage does not decrease (if any source code was changed)
    - [ ] Appropriate docs were updated (if necessary)
    
    Fixes #<issue_number_goes_here> 🦕
    varuncnaik authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    b91e284 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. feat: add support for blind writes (#2065)

    * sample: blind write
    
    * sample: blind write
    
    * refactor
    
    * add class mutation
    
    * add class mutation
    
    * feat: blind-writes
    
    * refactor
    
    * fix: lint errors
    
    * refactor
    
    * fix: lint errors
    
    * fix: header checks
    
    * refactor the blind write
    
    * feat: add support for blind writes
    
    chore(main): release 7.9.0 (#2053)
    
    :robot: I have created a release *beep* *boop*
    ---
    
    * **spanner:** Add support for batchWrite ([#2054](https://togithub.com/googleapis/nodejs-spanner/issues/2054)) ([06aab6e](https://togithub.com/googleapis/nodejs-spanner/commit/06aab6e39bbce9e3786f1ac631c80e8909197e92))
    
    * **deps:** Update dependency google-gax to v4.3.4 ([#2051](https://togithub.com/googleapis/nodejs-spanner/issues/2051)) ([80abf06](https://togithub.com/googleapis/nodejs-spanner/commit/80abf06ba8ef9497318ffc597b83fb63e4408f9c))
    * **deps:** Update dependency google-gax to v4.3.5 ([#2055](https://togithub.com/googleapis/nodejs-spanner/issues/2055)) ([702c9b0](https://togithub.com/googleapis/nodejs-spanner/commit/702c9b0f34e6cc34233c5aa52b97601b19f70980))
    * **deps:** Update dependency google-gax to v4.3.6 ([#2057](https://togithub.com/googleapis/nodejs-spanner/issues/2057)) ([74ebf1e](https://togithub.com/googleapis/nodejs-spanner/commit/74ebf1e45cddf614c180295f3a761a8f84c5cb32))
    * **deps:** Update dependency google-gax to v4.3.7 ([#2068](https://togithub.com/googleapis/nodejs-spanner/issues/2068)) ([28fec6c](https://togithub.com/googleapis/nodejs-spanner/commit/28fec6ca505d78d725efc123950be978e0c84ab7))
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    
    refactor: blind write method
    
    fix: lint errors
    
    fix: Retry with timeout (#2071)
    
    Use `gaxOptions.timeout` during retry in streaming calls. Earlier the timeout value was only used for a single RPC not for the whole operation including retries. Now if RPC returns `Unavailable` error and the timeout value has been reached, library will throw an Deadline exceeded error.
    
    ```
    const query = {
            sql: 'Select 1',
            gaxOptions: {timeout: 500}
        }
    const [rows] = await database.run(query);
    ```
    
    chore(main): release 7.9.1 (#2072)
    
    :robot: I have created a release *beep* *boop*
    ---
    
    * Retry with timeout ([#2071](https://togithub.com/googleapis/nodejs-spanner/issues/2071)) ([a943257](https://togithub.com/googleapis/nodejs-spanner/commit/a943257a0402b26fd80196057a9724fd28fc5c1b))
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    
    refactor: blind write method
    
    test: unit test for blind write
    
    test: unit test for blind write
    
    refactor
    
    fix: lint errors
    
    feat: add support for change streams transaction exclusion option for Batch Write (#2070)
    
    * feat: change stream transaction exclusion option for Batch Write
    
    * refactor
    
    docs: add doc to blindWrite method
    
    docs: add doc to the setQueuedMutations
    
    refactor: doc setQueuedMutations
    
    fix: presubmit error
    
    fix(deps): update dependency google-gax to v4.3.8 (#2077)
    
    [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-gax](https://togithub.com/googleapis/gax-nodejs) ([source](https://togithub.com/googleapis/gax-nodejs/tree/HEAD/gax)) | [`4.3.7` -> `4.3.8`](https://renovatebot.com/diffs/npm/google-gax/4.3.7/4.3.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/google-gax/4.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/google-gax/4.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/google-gax/4.3.7/4.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/google-gax/4.3.7/4.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    <details>
    <summary>googleapis/gax-nodejs (google-gax)</summary>
    
    [Compare Source](https://togithub.com/googleapis/gax-nodejs/compare/google-gax-v4.3.7...google-gax-v4.3.8)
    
    -   **deps:** remove rimraf in favor of native node rm function ([#&#8203;1626](https://togithub.com/googleapis/gax-nodejs/issues/1626)) ([dd87646](https://togithub.com/googleapis/gax-nodejs/commit/dd87646618d5026549920e224df7f85cbb5ff6a8))
    
    </details>
    
    ---
    
    📅 **Schedule**: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR is behind base branch, 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/nodejs-spanner).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    
    updated
    
    updated
    
    lint
    
    refactor
    
    * fix: presubmit error
    
    * refactor: docs of the method writeAtLeastOnce
    
    * test: unit test using mockspanner
    
    * fix: lint errors
    
    * docs refactor
    
    * refactor
    
    * refactor
    
    ---------
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: surbhigarg92 <[email protected]>
    3 people authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    62fc0a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f34f464 View commit details
    Browse the repository at this point in the history
Loading