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/python-spanner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.5.0
Choose a base ref
...
head repository: googleapis/python-spanner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.6.0
Choose a head ref
  • 12 commits
  • 31 files changed
  • 9 contributors

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    89c126c View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency google-cloud-spanner to v3.5.0 (#367)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-cloud-spanner](https://togithub.com/googleapis/python-spanner) | `==3.4.0` -> `==3.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.5.0/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.5.0/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-spanner</summary>
    
    ### [`v3.5.0`](https://togithub.com/googleapis/python-spanner/blob/master/CHANGELOG.md#&#8203;350-httpswwwgithubcomgoogleapispython-spannercomparev340v350-2021-06-11)
    
    [Compare Source](https://togithub.com/googleapis/python-spanner/compare/v3.4.0...v3.5.0)
    
    ##### Features
    
    -   add decimal validation for numeric precision and scale supported by Spanner ([#&#8203;340](https://www.github.com/googleapis/python-spanner/issues/340)) ([aa36c5e](https://www.github.com/googleapis/python-spanner/commit/aa36c5ecf5b0decc6c5c3316cc5bc6b6981d9bf9))
    -   add progress field to UpdateDatabaseDdlMetadata ([#&#8203;361](https://www.github.com/googleapis/python-spanner/issues/361)) ([1c03dcc](https://www.github.com/googleapis/python-spanner/commit/1c03dcc182fc96a2ca85b23da99cbcaebfb3fe09))
    -   add query statistics package support ([#&#8203;129](https://www.github.com/googleapis/python-spanner/issues/129)) ([6598dea](https://www.github.com/googleapis/python-spanner/commit/6598deade66c8887514a1a6571fffb1bd7b16fd0))
    
    ##### Bug Fixes
    
    -   an Aborted exception isn't properly retried ([#&#8203;345](https://www.github.com/googleapis/python-spanner/issues/345)) ([e69e6ab](https://www.github.com/googleapis/python-spanner/commit/e69e6ab5cffd02bc9af6c08dbe9b5f229847d86d))
    -   correctly classify select statements that begin with brackets ([#&#8203;351](https://www.github.com/googleapis/python-spanner/issues/351)) ([d526acc](https://www.github.com/googleapis/python-spanner/commit/d526acca4795ebf34867ab4a256413a728fccd93))
    -   update to support the open-telemetry status code spec change ([#&#8203;358](https://www.github.com/googleapis/python-spanner/issues/358)) ([0f894f1](https://www.github.com/googleapis/python-spanner/commit/0f894f12622cfa6e38b838eb91e49f256d8d857d))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: 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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-spanner).
    renovate-bot authored Jun 16, 2021
    Configuration menu
    Copy the full SHA
    11853a5 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. feat(spanner): add processing_units to Instance resource (#364)

    * feat(spanner): add processing_units to Instance resource
    
    PiperOrigin-RevId: 378758342
    
    Source-Link: googleapis/googleapis@d869871
    
    Source-Link: googleapis/googleapis-gen@54cfa76
    
    * 🦉 Updates from OwlBot
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    113505c View commit details
    Browse the repository at this point in the history
  2. chore: new owl bot post processor docker image (#371)

    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:58c7342b0bccf85028100adaa3d856cb4a871c22ca9c01960d996e66c40548ce
    gcf-owl-bot[bot] authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    cb6196f View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. docs: omit mention of Python 2.7 in 'CONTRIBUTING.rst' (#1127) (#374)

    Closes #1126
    Source-Link: googleapis/synthtool@b91f129
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:b6169fc6a5207b11800a7c002d0c5c2bc6d82697185ca12e666f44031468cfcd
    gcf-owl-bot[bot] authored Jun 19, 2021
    Configuration menu
    Copy the full SHA
    b7b3c38 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. fix(db_api): use sqlparse to split DDL statements (#372)

    Instead of simple `str.split(";")` method use more smart `sqlparse` package to split DDL statements executed in a form:
    ```python
    cursor.execute("""
        ddl_statement1;
        ddl_statement2;
        ddl_statement3;
    """)
    ```
    Ilya Gurov authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    ed9e124 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1ee8c2 View commit details
    Browse the repository at this point in the history
  3. feat: add RPC priority support (#324)

    * feat: add RPC priority support
    
    * Review changes
    
    * Review changes
    
    * Update google/cloud/spanner_v1/database.py
    
    Co-authored-by: larkee <[email protected]>
    
    * Update google/cloud/spanner_v1/database.py
    
    Co-authored-by: larkee <[email protected]>
    
    * Update session.py
    
    * update import
    
    Co-authored-by: larkee <[email protected]>
    zoercai and larkee authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    51533b8 View commit details
    Browse the repository at this point in the history
  4. chore: update precommit hook pre-commit/pre-commit-hooks to v4 (#1083) (

    #375)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks) | repository | major | `v3.4.0` -> `v4.0.1` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>pre-commit/pre-commit-hooks</summary>
    
    ### [`v4.0.1`](https://togithub.com/pre-commit/pre-commit-hooks/releases/v4.0.1)
    
    [Compare Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.0.0...v4.0.1)
    
    ##### Fixes
    
    -   `check-shebang-scripts-are-executable` fix entry point.
        -   [#&#8203;602](https://togithub.com/pre-commit/pre-commit-hooks/issues/602) issue by [@&#8203;Person-93](https://togithub.com/Person-93).
        -   [#&#8203;603](https://togithub.com/pre-commit/pre-commit-hooks/issues/603) PR by [@&#8203;scop](https://togithub.com/scop).
    
    ### [`v4.0.0`](https://togithub.com/pre-commit/pre-commit-hooks/releases/v4.0.0)
    
    [Compare Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.0)
    
    ##### Features
    
    -   `check-json`: report duplicate keys.
        -   [#&#8203;558](https://togithub.com/pre-commit/pre-commit-hooks/issues/558) PR by [@&#8203;AdityaKhursale](https://togithub.com/AdityaKhursale).
        -   [#&#8203;554](https://togithub.com/pre-commit/pre-commit-hooks/issues/554) issue by [@&#8203;adamchainz](https://togithub.com/adamchainz).
    -   `no-commit-to-branch`: add `main` to default blocked branches.
        -   [#&#8203;565](https://togithub.com/pre-commit/pre-commit-hooks/issues/565) PR by [@&#8203;ndevenish](https://togithub.com/ndevenish).
    -   `check-case-conflict`: check conflicts in directory names as well.
        -   [#&#8203;575](https://togithub.com/pre-commit/pre-commit-hooks/issues/575) PR by [@&#8203;slsyy](https://togithub.com/slsyy).
        -   [#&#8203;70](https://togithub.com/pre-commit/pre-commit-hooks/issues/70) issue by [@&#8203;andyjack](https://togithub.com/andyjack).
    -   `check-vcs-permalinks`: forbid other branch names.
        -   [#&#8203;582](https://togithub.com/pre-commit/pre-commit-hooks/issues/582) PR by [@&#8203;jack1142](https://togithub.com/jack1142).
        -   [#&#8203;581](https://togithub.com/pre-commit/pre-commit-hooks/issues/581) issue by [@&#8203;jack1142](https://togithub.com/jack1142).
    -   `check-shebang-scripts-are-executable`: new hook which ensures shebang'd scripts are executable.
        -   [#&#8203;545](https://togithub.com/pre-commit/pre-commit-hooks/issues/545) PR by [@&#8203;scop](https://togithub.com/scop).
    
    ##### Fixes
    
    -   `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
        -   [#&#8203;544](https://togithub.com/pre-commit/pre-commit-hooks/issues/544) PR by [@&#8203;scop](https://togithub.com/scop).
    -   `requirements-txt-fixer`: Fix comments which have indentation
        -   [#&#8203;549](https://togithub.com/pre-commit/pre-commit-hooks/issues/549) PR by [@&#8203;greshilov](https://togithub.com/greshilov).
        -   [#&#8203;548](https://togithub.com/pre-commit/pre-commit-hooks/issues/548) issue by [@&#8203;greshilov](https://togithub.com/greshilov).
    -   `pretty-format-json`: write to stdout using UTF-8 encoding.
        -   [#&#8203;571](https://togithub.com/pre-commit/pre-commit-hooks/issues/571) PR by [@&#8203;jack1142](https://togithub.com/jack1142).
        -   [#&#8203;570](https://togithub.com/pre-commit/pre-commit-hooks/issues/570) issue by [@&#8203;jack1142](https://togithub.com/jack1142).
    -   Use more inclusive language.
        -   [#&#8203;599](https://togithub.com/pre-commit/pre-commit-hooks/issues/599) PR by [@&#8203;asottile](https://togithub.com/asottile).
    
    ##### Breaking changes
    
    -   Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
        -   [#&#8203;597](https://togithub.com/pre-commit/pre-commit-hooks/issues/597) PR by [@&#8203;asottile](https://togithub.com/asottile).
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻️ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
    
    🔕 **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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/synthtool).
    Source-Link: googleapis/synthtool@333fd90
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:b8c131c558606d3cea6e18f8e87befbd448c1482319b0db3c5d5388fa6ea72e3
    gcf-owl-bot[bot] authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    c58cab4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. fix: classify batched DDL statements (#360)

    * fix: classify batched DDL statements
    
    * docs: add comment
    
    * style: fix lint
    
    Co-authored-by: larkee <[email protected]>
    larkee and larkee authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    b8b24e1 View commit details
    Browse the repository at this point in the history
  2. feat: add support for low-cost instances (#313)

    * Add LCI implementation
    
    * Update google/cloud/spanner_v1/instance.py
    
    Co-authored-by: larkee <[email protected]>
    
    * Fix docstring format
    
    * Update google/cloud/spanner_v1/instance.py
    
    Co-authored-by: larkee <[email protected]>
    
    Co-authored-by: larkee <[email protected]>
    zoercai and larkee authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    44aa7cc View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. chore: release 3.6.0 (#370)

    * chore: release 3.6.0
    
    * fix: add missing PR to CHANGELOG
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: larkee <[email protected]>
    release-please[bot] and larkee authored Jun 24, 2021
    Configuration menu
    Copy the full SHA
    32a5576 View commit details
    Browse the repository at this point in the history
Loading