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.52.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.53.0
Choose a head ref
  • 12 commits
  • 115 files changed
  • 9 contributors

Commits on Feb 21, 2025

  1. feat(spanner): A new enum IsolationLevel is added (#1224)

    * feat(spanner): Add instance partitions field in backup proto
    
    PiperOrigin-RevId: 726160420
    
    Source-Link: googleapis/googleapis@1185fe5
    
    Source-Link: googleapis/googleapis-gen@d1ab008
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDFhYjAwODgyODI5N2JhMWJjNWUwZDc5Njc4ZjcyNWY5NTU4MzNkNyJ9
    
    chore: Update gapic-generator-python to v1.22.1
    fix(deps): Require grpc-google-iam-v1>=0.14.0
    
    PiperOrigin-RevId: 726142856
    
    Source-Link: googleapis/googleapis@25989cb
    
    Source-Link: googleapis/googleapis-gen@677041b
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjc3MDQxYjkxY2VmMTU5OGNjNTU3MjdkNTlhMjgwNGIxOThhNWJiZiJ9
    
    feat: Add REST Interceptors which support reading metadata
    feat: Add support for reading selective GAPIC generation methods from service YAML
    chore: Update gapic-generator-python to v1.22.0
    
    PiperOrigin-RevId: 724026024
    
    Source-Link: googleapis/googleapis@ad99638
    
    Source-Link: googleapis/googleapis-gen@e291c4d
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTI5MWM0ZGQxZDY3MGVkYTE5OTk4ZGU3NmY5NjdlMTYwM2E0ODk5MyJ9
    
    feat: add AddSplitPoints API
    
    PiperOrigin-RevId: 721248606
    
    Source-Link: googleapis/googleapis@d57f2c1
    
    Source-Link: googleapis/googleapis-gen@c2418f3
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzI0MThmMzA1ZjUwMDIwMTAyNjRkMjUzM2ZiY2I3YTkwMDM1MzQ5OSJ9
    
    docs: fix typo timzeone -> timezone
    
    PiperOrigin-RevId: 717555125
    
    Source-Link: googleapis/googleapis@318818b
    
    Source-Link: googleapis/googleapis-gen@bee9a65
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmVlOWE2NThmYzIyOGRjZDg4ZThhOTJiODBlZmM0Y2NjMjc0ZmU1NSJ9
    
    feat: Exposing InstanceType in Instance configuration (to define PROVISIONED or FREE spanner instance)
    feat: Exposing FreeInstanceMetadata in Instance configuration (to define the metadata related to FREE instance type)
    feat: Exposing storage_limit_per_processing_unit in InstanceConfig
    feat: Exposing QuorumType in InstanceConfig
    feat: Exposing FreeInstanceAvailability in InstanceConfig
    docs: A comment for method `ListInstanceConfigs` in service `InstanceAdmin` is changed
    docs: A comment for method `CreateInstanceConfig` in service `InstanceAdmin` is changed
    docs: A comment for method `UpdateInstanceConfig` in service `InstanceAdmin` is changed
    docs: A comment for method `ListInstanceConfigOperations` in service `InstanceAdmin` is changed
    docs: A comment for method `CreateInstance` in service `InstanceAdmin` is changed
    docs: A comment for method `UpdateInstance` in service `InstanceAdmin` is changed
    docs: A comment for method `CreateInstancePartition` in service `InstanceAdmin` is changed
    docs: A comment for method `UpdateInstancePartition` in service `InstanceAdmin` is changed
    docs: A comment for method `ListInstancePartitionOperations` in service `InstanceAdmin` is changed
    docs: A comment for method `MoveInstance` in service `InstanceAdmin` is changed
    docs: A comment for field `location` in message `.google.spanner.admin.instance.v1.ReplicaInfo` is changed
    docs: A comment for enum value `GOOGLE_MANAGED` in enum `Type` is changed
    docs: A comment for enum value `USER_MANAGED` in enum `Type` is changed
    docs: A comment for field `replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
    docs: A comment for field `optional_replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
    docs: A comment for field `base_config` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed
    docs: A comment for field `storage_utilization_percent` in message `.google.spanner.admin.instance.v1.AutoscalingConfig` is changed
    docs: A comment for enum `DefaultBackupScheduleType` is changed
    docs: A comment for enum value `NONE` in enum `DefaultBackupScheduleType` is changed
    docs: A comment for enum value `AUTOMATIC` in enum `DefaultBackupScheduleType` is changed
    docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.Instance` is changed
    docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.Instance` is changed
    docs: A comment for field `default_backup_schedule_type` in message `.google.spanner.admin.instance.v1.Instance` is changed
    docs: A comment for message `CreateInstanceConfigRequest` is changed
    docs: A comment for field `instance_config` in message `.google.spanner.admin.instance.v1.CreateInstanceConfigRequest` is changed
    docs: A comment for message `UpdateInstanceConfigRequest` is changed
    docs: A comment for message `DeleteInstanceConfigRequest` is changed
    docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest` is changed
    docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse` is changed
    docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
    docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
    docs: A comment for field `referencing_backups` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed
    docs: A comment for field `parent` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsRequest` is changed
    docs: A comment for field `unreachable` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsResponse` is changed
    docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed
    docs: A comment for field `instance_partition_deadline` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed
    docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse` is changed
    
    PiperOrigin-RevId: 706945550
    
    Source-Link: googleapis/googleapis@3db0452
    
    Source-Link: googleapis/googleapis-gen@6c42be3
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmM0MmJlM2JmNTQ2ZjEwZjA5Y2FkOThiM2Y1NmY3N2MyNzFmYzhlMiJ9
    
    feat: Add support for opt-in debug logging
    fix: Fix typing issue with gRPC metadata when key ends in -bin
    chore: Update gapic-generator-python to v1.21.0
    
    PiperOrigin-RevId: 705285820
    
    Source-Link: googleapis/googleapis@f9b8b91
    
    Source-Link: googleapis/googleapis-gen@ca1e0a1
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9
    
    feat: add UUID in Spanner TypeCode enum
    
    PiperOrigin-RevId: 704948401
    
    Source-Link: googleapis/googleapis@d46c6c9
    
    Source-Link: googleapis/googleapis-gen@0057c0d
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA1N2MwZDRjYzc4Yzg2OGFkOGRlMjNhM2ZlYjUyYjM1Mzc0ZDcwNSJ9
    
    feat: Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest
    
    PiperOrigin-RevId: 699218836
    
    Source-Link: googleapis/googleapis@97da65f
    
    Source-Link: googleapis/googleapis-gen@d134e8d
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDEzNGU4ZGE4MDQ4MzkzYjAxOWRhMzk4NjY5NzZkMmM0MTNhYzVlMSJ9
    
    chore: remove body selector from http rule
    
    PiperOrigin-RevId: 693215877
    
    Source-Link: googleapis/googleapis@bb6b53e
    
    Source-Link: googleapis/googleapis-gen@db8b5a9
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGI4YjVhOTM0ODRhZDQ0MDU1YjJiYWNjNGM3Y2Y4N2U5NzBmZTBlZCJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat(spanner): A new enum `IsolationLevel` is added
    feat(spanner): A new field `isolation_level` is added to message `.google.spanner.v1.TransactionOptions`
    docs(spanner): A comment for enum value `READ_LOCK_MODE_UNSPECIFIED` in enum `ReadLockMode` is changed
    docs(spanner): A comment for enum value `PESSIMISTIC` in enum `ReadLockMode` is changed
    docs(spanner): A comment for enum value `OPTIMISTIC` in enum `ReadLockMode` is changed
    
    PiperOrigin-RevId: 729265828
    
    Source-Link: googleapis/googleapis@516ab0a
    
    Source-Link: googleapis/googleapis-gen@ccd0959
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2NkMDk1OTI2Yzg5M2Y0MDE0OGVkOWE5YmEyMjc2YThkMTVjZjhkOSJ9
    
    * 🦉 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] authored Feb 21, 2025
    Configuration menu
    Copy the full SHA
    7a5afba View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. perf: add option for last_statement (#1313)

    * perf: add option for last_statement
    
    Adds an option to indicate that a statement is the last statement in a read/write
    transaction. Setting this option allows Spanner to optimize the execution of the
    statement, and defer some validations until the Commit RPC that should follow
    directly after this statement.
    
    The last_statement option is automatically used by the dbapi driver when a
    statement is executed in autocommit mode.
    
    * 🦉 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] authored Feb 27, 2025
    Configuration menu
    Copy the full SHA
    19ab6ef View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. chore(python): conditionally load credentials in .kokoro/build.sh (#1312

    )
    
    Source-Link: googleapis/synthtool@aa69fb7
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f016446d6e520e5fb552c45b110cba3f217bffdd3d06bdddd076e9e6d13266cf
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    7cba2df View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2025

  1. build: update system tests to test protobuf implementation (#1321)

    * build: update system tests to test protobuf implementation
    
    * cater for cpp
    
    * update assert
    parthea authored Mar 5, 2025
    Configuration menu
    Copy the full SHA
    d2c447f View commit details
    Browse the repository at this point in the history
  2. chore: Remove unused files (#1319)

    * chore: remove unused files
    
    * update comment
    parthea authored Mar 5, 2025
    Configuration menu
    Copy the full SHA
    d025867 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2025

  1. feat: Add Attempt, Operation and GFE Metrics (#1302)

    * Feat: Added Metric Interceptor integration with Attempt metrics
    
    * Feat: Added Operation and GFE Metrics
    
    * Removed warning from GCP Resource Detector
    
    * Added Attempt failure test
    
    * Moved MetricCapture out of Tracer logic
    
    * Adjustments to handle-disabled behaviour of MetricsCapture
    
    * Added higher-level short circuiting of metric logic when disabled
    
    ---------
    
    Co-authored-by: rahul2393 <[email protected]>
    lszinv and rahul2393 authored Mar 6, 2025
    Configuration menu
    Copy the full SHA
    fb21d9a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2025

  1. fix: allow Protobuf 6.x (#1320)

    * fix: allow Protobuf 6.x
    
    * 3.0->3.0.0
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * update replacement in owlbot.py
    
    * update replacement in owlbot.py
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * add replacement in owlbot.py
    
    * 🦉 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>
    Co-authored-by: Sri Harsha CH <[email protected]>
    3 people authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    1faab91 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2025

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

Commits on Mar 12, 2025

  1. feat: snapshot isolation (#1318)

    * feat: snapshot isolation
    
    * test and refactoring
    
    * tests
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * review comments
    
    * review comments and tests
    
    * lint
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * dataclass for default transaction options
    
    * 🦉 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
    
    * proto merge for transaction options
    
    * failed test cases
    
    * review comments
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    surbhigarg92 and gcf-owl-bot[bot] authored Mar 12, 2025
    Configuration menu
    Copy the full SHA
    992fcae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0098495 View commit details
    Browse the repository at this point in the history
  3. Fix: Cleanup after metric integration test (#1322)

    Co-authored-by: rahul2393 <[email protected]>
    lszinv and rahul2393 authored Mar 12, 2025
    Configuration menu
    Copy the full SHA
    d7cf8b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2025

  1. chore(main): release 3.53.0 (#1311)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Mar 13, 2025
    Configuration menu
    Copy the full SHA
    33f3750 View commit details
    Browse the repository at this point in the history
Loading