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: SectorLabs/django-postgres-extra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.9rc8
Choose a base ref
...
head repository: SectorLabs/django-postgres-extra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 13 commits
  • 18 files changed
  • 6 contributors

Commits on Aug 25, 2023

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

Commits on Nov 19, 2023

  1. Stop updating on conflict if update_condition is False but not None

    Some users of this library set `update_condition=0` on `upsert` for not updating anything on conflict.
    
    The `upsert` documentation says:
    > update_condition:
    >   Only update if this SQL expression evaluates to true.
    
    A value evaluating to Python `False` is ignored while the documentation says no update will be done.
    
    [#186513018]
    sewi-cpan committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    65b4688 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Stop updating on conflict if update_condition is False but not None

    Some users of this library set `update_condition=0` on `upsert` for not updating anything on conflict.
    
    The `upsert` documentation says:
    > update_condition:
    >   Only update if this SQL expression evaluates to true.
    
    A value evaluating to Python `False` is ignored while the documentation says no update will be done.
    
    [#186513018]
    sewi-cpan authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e254a68 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    c4aab40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43a6f22 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Fix automatic hstore extension creation not working on Django 4.2 or …

    …newer
    
    The following change broke the auto setup:
    django/django@d3e746a
    
    This breaks because the call to `pscygop2.extras.register_hstore` is now
    conditional. Before, it would be called multiple times with
    empty OIDS, when eventually our auto registration would kick
    in and psycopg2 would fetch the OIDs itself.
    Photonios committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    13b5672 View commit details
    Browse the repository at this point in the history
  2. Fix StopIteration in deduplication rows code when `conflict_action …

    …== ConflictAction.NOTHING` and rows parameter is iterator or generator
    seroy authored and Photonios committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    200f2b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    422e91f View commit details
    Browse the repository at this point in the history
  4. Allow tuples as a valid type for meta.key

    Most modern linters (like `ruff`) will complain about `meta.key` being a list, as it's a mutable class variable. Allowing a tuple here appears to work fine and removes the need to override linter rules for `meta.key`.
    TkTech authored and Photonios committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    6cb8b4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7aa6923 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1fecd9b View commit details
    Browse the repository at this point in the history
  7. Fix renamed annotations relying on group by clauses not working

    Co-authored-by: Hannes Engelhardt <[email protected]>
    Photonios and he100energie committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    cf87e7a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d582d9 View commit details
    Browse the repository at this point in the history
Loading