GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comparing v3.51.0...v3.52.0 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.
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

Uh oh!

There was an error while loading. Please reload this page.

base: v3.51.0
Loading
Loading
...
head repository: googleapis/python-spanner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: v3.52.0
Loading
Loading
  • 19 commits
  • 64 files changed
  • 11 contributors

Commits on Dec 6, 2024

  1. fix(tracing): only set span.status=OK if UNSET (#1248)

    In modernized OpenTelemetry-Python, if the SpanStatus
    was not already set to OK, it can be changed and
    the code for trace_call was accidentally unconditionally
    setting the status to OK if there was no exception.
    This change fixes that and adds tests to lock this behavior in.
    
    Fixes #1246
    
    Co-authored-by: Sri Harsha CH <[email protected]>
    @odeke-em @harshachinta
    odeke-em and harshachinta authored Dec 6, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 1d393fe
    • Browse repository at this point
    Copy the full SHA
    1d393fe View commit details
    Browse the repository at this point in the history
  2. observability: annotate Session+SessionPool events (#1207)

    This change adds annotations for session and session pool
    events to aid customers in debugging latency issues with
    session pool malevolence and also for maintainers to
    figure out which session pool type is the most appropriate.
    
    Updates #1170
    @odeke-em
    odeke-em authored Dec 6, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for a6811af
    • Browse repository at this point
    Copy the full SHA
    a6811af View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2024

  1. test: add test to verify that transactions are retried (#1267)

    @olavloite
    olavloite authored Dec 16, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 259a78b
    • Browse repository at this point
    Copy the full SHA
    259a78b View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2024

  1. feat: add updated span events + trace more methods (#1259)

    * observability: add updated span events + traace more methods
    
    This change carves out parts of PR #1241 in smaller pieces to
    ease with smaller reviews.
    This change adds more span events, updates important spans
    to make them more distinct like changing:
    
    "CloudSpanner.ReadWriteTransaction" to more direct and more
    pointed spans like:
    * CloudSpanner.Transaction.execute_streaming_sql
    
    Also added important spans:
    * CloudSpanner.Database.run_in_transaction
    * CloudSpanner.Session.run_in_transaction
    
    * all: update review comments + show type for BeginTransaction + remove prints
    
    * Remove requested span event "Using Transaction"
    
    * Move attempts into try block
    
    * Transform Session.run_in_transaction retry exceptions into events
    
    * More comprehensive test for events and attributes for pool.get
    
    * Add test guards against Python3.7 for which OpenTelemetry is unavailable + address test feedback
    
    * Remove span event per mutation in favour of future TODO
    
    Referencing issue #1269, this update removes adding
    a span event per mutation, in favour of a future TODO.
    
    * Sort system-test.test_transaction_abort_then_retry_spans spans by create time
    
    * Delint tests
    @odeke-em
    odeke-em authored Dec 17, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for ad69c48
    • Browse repository at this point
    Copy the full SHA
    ad69c48 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2024

  1. feat(x-goog-spanner-request-id): introduce AtomicCounter (#1275)

    * feat(x-goog-spanner-request-id): introduce AtomicCounter
    
    This change introduces AtomicCounter, a concurrency/thread-safe
    counter do deal with the multi-threaded nature of variables.
    It permits operations:
    * atomic_counter += 1
    * value = atomic_counter + 1
    * atomic_counter.value
    
    that'll be paramount to bringing in the logic for
    x-goog-spanner-request-id in much reduced changelists.
    
    Updates #1261
    Carved out from PR #1264
    
    * Tests for with_request_id
    
    * chore: remove sleep
    
    * chore: remove unused import
    
    ---------
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    @odeke-em @olavloite
    odeke-em and olavloite authored Dec 19, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for f2483e1
    • Browse repository at this point
    Copy the full SHA
    f2483e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2024

  1. test: support inline-begin in mock server (#1271)

    @olavloite
    olavloite authored Dec 20, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 6352dd2
    • Browse repository at this point
    Copy the full SHA
    6352dd2 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2025

  1. fix: retry UNAVAILABLE errors for streaming RPCs (#1278)

    UNAVAILABLE errors that occurred during the initial attempt of a
    streaming RPC (StreamingRead / ExecuteStreamingSql) would not be
    retried.
    
    Fixes #1150
    @olavloite
    olavloite authored Jan 1, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for ab31078
    • Browse repository at this point
    Copy the full SHA
    ab31078 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2025

  1. chore(python): Update the python version in docs presubmit to use 3.10 (

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

Commits on Jan 7, 2025

  1. feat: support GRAPH and pipe syntax in dbapi (#1285)

    Recognize GRAPH and pipe syntax queries as valid queries
    in dbapi.
    @olavloite
    olavloite authored Jan 7, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 959bb9c
    • Browse repository at this point
    Copy the full SHA
    959bb9c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2025

  1. chore: Add Custom OpenTelemetry Exporter in for Service Metrics (#1273)

    * chore: Add Custom OpenTelemetry Exporter in for Service Metrics
    
    * Updated copyright dates to 2025
    
    ---------
    
    Co-authored-by: rahul2393 <[email protected]>
    @lszinv @rahul2393
    lszinv and rahul2393 authored Jan 8, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 04a11a6
    • Browse repository at this point
    Copy the full SHA
    04a11a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. fix: update retry strategy for mutation calls to handle aborted trans…

    …actions (#1279)
    
    * fix: update retry strategy for mutation calls to handle aborted transactions
    
    * test: add mock server test for aborted batch
    
    * chore(python): Update the python version in docs presubmit to use 3.10 (#1281)
    
    Source-Link: googleapis/synthtool@de3def6
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a1c5112b81d645f5bbc4d4bbc99d7dcb5089a52216c0e3fb1203a0eeabadd7d5
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    
    * fix:Refactoring existing retry logic for aborted transactions and clean up redundant code
    
    * fix: fixed linting errors
    
    * feat: support GRAPH and pipe syntax in dbapi (#1285)
    
    Recognize GRAPH and pipe syntax queries as valid queries
    in dbapi.
    
    * chore: Add Custom OpenTelemetry Exporter in for Service Metrics (#1273)
    
    * chore: Add Custom OpenTelemetry Exporter in for Service Metrics
    
    * Updated copyright dates to 2025
    
    ---------
    
    Co-authored-by: rahul2393 <[email protected]>
    
    * fix: removing retry logic for RST_STREAM errors from _retry_on_aborted_exception handler
    
    ---------
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Lester Szeto <[email protected]>
    Co-authored-by: rahul2393 <[email protected]>
    @aakashanandg @olavloite
    @gcf-owl-bot @lszinv @rahul2393
    6 people authored Jan 9, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 0887eb4
    • Browse repository at this point
    Copy the full SHA
    0887eb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2025

  1. observability: PDML + some batch write spans (#1274)

    * observability: PDML + some batch write spans
    
    This change adds spans for Partitioned DML and making
    updates for Batch.
    
    Carved out from PR #1241.
    
    * Add more system tests
    
    * Account for lack of OpenTelemetry on Python-3.7
    
    * Update tests
    
    * Fix more test assertions
    
    * Updates from code review
    
    * Update tests with code review suggestions
    
    * Remove return per code review nit
    @odeke-em
    odeke-em authored Jan 10, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 592047f
    • Browse repository at this point
    Copy the full SHA
    592047f View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2025

  1. fix(tracing): ensure nesting of Transaction.begin under commit + fix …

    …suggestions from feature review (#1287)
    
    * fix(tracing): ensure nesting of Transaction.begin under commit + fix suggestions from feature review
    
    This change ensures that:
    * If a transaction was not yet begin, that if .commit() is invoked
    the resulting span hierarchy has .begin nested under .commit
    * We use "CloudSpanner.Transaction.execute_sql" instead of
      "CloudSpanner.Transaction.execute_streaming_sql"
    * If we have a tracer_provider that produces non-recordings spans,
    that it won't crash due to lacking `span._status`
    
    Fixes #1286
    
    * Address code review requests
    
    * Fix by lint
    @odeke-em
    odeke-em authored Jan 13, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for d9ee75a
    • Browse repository at this point
    Copy the full SHA
    d9ee75a View commit details
    Browse the repository at this point in the history
  2. feat: support transaction and request tags in dbapi (#1262)

    * feat: support transaction and request tags in dbapi
    
    Adds support for setting transaction tags and request tags in dbapi.
    This makes these options available to frameworks that depend on
    dbapi, like SQLAlchemy and Django.
    
    Towards googleapis/python-spanner-sqlalchemy#525
    
    * test: add test for transaction_tag with read-only tx
    
    * 🦉 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 @gcf-owl-bot
    olavloite and gcf-owl-bot[bot] authored Jan 13, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for ee9662f
    • Browse repository at this point
    Copy the full SHA
    ee9662f View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2025

  1. chore(python): exclude .github/workflows/unittest.yml in renovate con…

    …fig (#1288)
    
    Source-Link: googleapis/synthtool@106d292
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8ff1efe878e18bd82a0fb7b70bb86f77e7ab6901fed394440b6135db0ba8d84a
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    @gcf-owl-bot
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 14, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 32e761b
    • Browse repository at this point
    Copy the full SHA
    32e761b View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2025

  1. Feat: MetricsTracer implementation (#1291)

    @lszinv
    lszinv authored Jan 24, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 8fbde6b
    • Browse repository at this point
    Copy the full SHA
    8fbde6b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. chore(spanner): Update CODEOWNERS (#1304)

    * chore(spanner): Update CODEOWNERS
    
    * 🦉 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>
    @sakthivelmanii @gcf-owl-bot
    sakthivelmanii and gcf-owl-bot[bot] authored Jan 29, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for c9d5307
    • Browse repository at this point
    Copy the full SHA
    c9d5307 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2025

  1. feat: add GCP standard otel attributes for python client (#1308)

    * chore: add standard otel attributes for GCP python client lib
    
    * chore: test fixes
    
    * chore: fix tests
    
    * chore: test fix
    
    * chore: test fixes
    @harshachinta
    harshachinta authored Feb 19, 2025
    Configuration menu
    • View commit details
    • Copy full SHA for 0839f98
    • Browse repository at this point
    Copy the full SHA
    0839f98 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. chore(main): release 3.52.0 (#1258)

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

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v3.51.0...v3.52.0

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.