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: sqlalchemy-continuum/sqlalchemy-continuum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.2
Choose a base ref
...
head repository: sqlalchemy-continuum/sqlalchemy-continuum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.6.0
Choose a head ref
  • 6 commits
  • 10 files changed
  • 2 contributors

Commits on Oct 10, 2025

  1. Fix release notes

    marksteward committed Oct 10, 2025
    Configuration menu
    Copy the full SHA
    4551224 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2026

  1. Add efficient version query utilities and composite indexes

    This commit adds several features to optimize version queries:
    
    1. version_at() class method on version objects - efficiently retrieve
       the version that was active at a specific transaction using an
       optimized query pattern for both validity and subquery strategies
    
    2. all_versions() class method with link option - batch fetch all
       versions for an entity in a single query, optionally pre-populating
       the previous/next navigation caches to avoid N+1 queries
    
    3. Automatic composite indexes on version tables - creates
       (pk_columns, transaction_id DESC) index for efficient version lookups
       and (pk_columns, transaction_id, end_transaction_id) for validity
       strategy temporal queries. Controlled by create_composite_index option.
    
    4. Updated documentation with index recommendations and efficient
       query patterns
    josecsotomorales committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    844de8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee4d2ea View commit details
    Browse the repository at this point in the history
  3. Fix composite index building to handle column aliases

    The _build_composite_indexes method was incorrectly using parent table
    primary key column names to access version table columns. When column
    aliases are used (e.g., id = Column('_id', ...)), the column name differs
    from the column key used for table access.
    
    Fixed by getting primary key columns directly from the version table
    itself rather than mapping parent table column names, which properly
    handles column alias cases.
    josecsotomorales committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    8989b36 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2026

  1. Configuration menu
    Copy the full SHA
    eb7eb11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    570c582 View commit details
    Browse the repository at this point in the history
Loading