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-sqlalchemy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.13.1
Choose a base ref
...
head repository: googleapis/python-spanner-sqlalchemy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.14.0
Choose a head ref
  • 7 commits
  • 10 files changed
  • 4 contributors

Commits on Jun 27, 2025

  1. Configuration menu
    Copy the full SHA
    a50e4fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af79305 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcb8144 View commit details
    Browse the repository at this point in the history
  4. feat: Support Server-Side Checks for Enums (#694)

    Spanner uses protos for enums. Creating a column like
    Column("an_enum", Enum("A", "B", "C")) will result in a String
    column. Setting supports_native_enum to False allows SQLAlchemy
    to generate check constraints to enforce the enum values if the
    create_constraint=True flag is passed to the Enum constructor.
    
    Fixes: #686
    waltaskew authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    17e3aba View commit details
    Browse the repository at this point in the history
  5. feat: support commit timestamp option (#697)

    * feat: support commit timestamp option
    
    Add support for columns with commit timestamps:
    https://cloud.google.com/spanner/docs/commit-timestamp
    
    Fixes: #695
    
    * chore: use Singer in sample
    
    ---------
    
    Co-authored-by: Knut Olav Løite <[email protected]>
    waltaskew and olavloite authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    82bb8ed View commit details
    Browse the repository at this point in the history
  6. bug: don't rollback non-spanner connections on reset (#709)

    This is the simplest way to address bug #706 and address the
    `AttributeError: 'Connection' object has no attribute 'rollback'`
    I'm seeing when connections from BigQuery engines get caught by this
    event handler.
    
    I think we should be able to rely on SQLAlchemy's [reset on
    return](https://docs.sqlalchemy.org/en/20/core/pooling.html#reset-on-return)
    behaviour to rollback transactions when they're reset rather than call
    rollback ourselves. That behaviour is also something end users can
    configure, so it'd be good to respect their settings if they disable
    the behaviour.
    
    Fixes: #706
    waltaskew authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    4f86eb3 View commit details
    Browse the repository at this point in the history
  7. chore(main): release 1.14.0 (#710)

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