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: coleifer/peewee
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.17.1
Choose a base ref
...
head repository: coleifer/peewee
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.17.2
Choose a head ref
  • 17 commits
  • 22 files changed
  • 2 contributors

Commits on Feb 17, 2024

  1. Clarifications in boolean comparisons.

    Replaces #2839 and refs #2838
    coleifer committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    4d177b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Add docs clarifying compatibility with MariaDB

    Peewee is compatible with MariaDB Server. Add clarifying notes in the
    documentation, including logo, etc.
    
    Testing
    ```
    docker run -d -p 3306:3306 --name mariadb_container -e MYSQL_ROOT_PASSWORD=password mariadb
    ```
    
    ```
    >>> from peewee import MySQLDatabase
    >>> database = MySQLDatabase('information_schema', user='root', password='password', host='127.0.0.1', port=3306)
    >>> database.connect()
    True
    >>> version_query = database.execute_sql('SELECT VERSION()')
    >>> print(version_query.fetchone()[0])
    11.3.2-MariaDB-1:11.3.2+maria~ubu2204
    >>> database.close()
    True
    ```
    robinnewhouse committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    0b978aa View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Merge pull request #2858 from robinnewhouse/mariadb-compatibility-docs

    Add docs clarifying compatibility with MariaDB
    coleifer authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    f8b225c View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Initial support for sqlite jsonb (requires 3.45.0 or newer).

    Warning: this set of functions requires a good deal of care to use correctly.
    coleifer committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    adad27b View commit details
    Browse the repository at this point in the history
  2. Add doc note for initial jsonb support.

    [skip ci]
    coleifer committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    65fd91f View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

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

Commits on Apr 9, 2024

  1. Pull in postgres-specific helpers for psycopg3.

    Also run postgres-specific tests against the psycopg3 driver.
    coleifer committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    827b69b View commit details
    Browse the repository at this point in the history
  2. Exclude psycopg3 tests when not installed.

    Also ensure present for CI.
    coleifer committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    d618cfd View commit details
    Browse the repository at this point in the history
  3. Improvements to allow full testing w/psycopg3.

    Also fixes some instances where parameterization of values is not
    supported. A surprising one was IS/IS NOT NULL where "NULL" is not
    allowed to be parameterized (None converts to NULL with psycopg2).
    We'll just explicitly specify the sql literal NULL for these
    comparisons. This change affects the other implementations as well.
    coleifer committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    652917c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c1a9c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c81533 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e25328 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e896704 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    717e2fb View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Fix pg3 errors name error.

    coleifer committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    4451b97 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Avoid unnecessary queries when coercing query to list.

    Python's list() function may trigger len() multiple times, in addition to
    iter(). Adding a bool override avoids these extraneous len calls.
    
    Fixes #2871
    coleifer committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    148f1b7 View commit details
    Browse the repository at this point in the history
  2. 3.17.2

    coleifer committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b0404ee View commit details
    Browse the repository at this point in the history
Loading