Skip to content

build(deps): bump peewee from 3.19.0 to 4.0.1#271

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/peewee-4.0.1
Open

build(deps): bump peewee from 3.19.0 to 4.0.1#271
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/peewee-4.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps peewee from 3.19.0 to 4.0.1.

Release notes

Sourced from peewee's releases.

4.0.0

  • Adds preliminary support for asyncio via a new playhouse extension. See the documentation for details.
  • PostgresqlDatabase can use psycopg (psycopg3) if it is installed. If both psycopg2 and psycopg3 are installed, Peewee will prefer psycopg2, but this can be controlled by specifying prefer_psycopg3=True in the constructor. Same applies to PostgresqlExtDatabase.
  • Psycopg3Database class has been moved to playhouse.postgres_ext and is now just a thin wrapper around PostgresqlExtDatabase.
  • Postgres JSON operations no longer dump and try to do minimal casts, instead relying on the driver-provided Json() wrapper(s).
  • Adds new ISODateTimeField for Sqlite that encodes datetimes in ISO format (more friendly when db is shared with other tools), and also properly reads back UTC offset info.
  • Remove playhouse.sqlite_ext.ClosureTable implementation.
  • Add a Model.dirty_field_names attribute that is safe for membership testing, since testing x in dirty_fields returns True if one or more field exists due to operator overloads returning a truthy Expression object. Refs #3028.
  • Removal of Cython _sqlite_ext extension. The C implementations of the FTS rank functions are moved to sqlite_udf. Most of the remaining functionality is moved to playhouse.cysqlite_ext which supports it natively.

Migrating CSqliteExtDatabase usage:

You can either use sqlite_ext.SqliteExtDatabase or try the new cysqlite_ext.CySqliteDatabase if you want all the old functionality and are willing to try a new driver.

View commits

Changelog

Sourced from peewee's changelog.

4.0.1

  • Ensure gr_context is set on greenlet in greenlet_spawn so that contextvars will be operable in sync handlers.
  • Removed SqliteExtDatabase (it basically served no purpose in 4.0). Use SqliteDatabase instead.
  • Moved driver and extension-specific pooled implementations into the corresponding extension module rather than putting all into playhouse.pool.
  • Restore custom dumps option for postgres JSON fields.
  • Major docs rewrite / reorganization.

View commits

4.0.0

  • Adds preliminary support for asyncio via a new playhouse extension. See the documentation for details.
  • PostgresqlDatabase can use psycopg (psycopg3) if it is installed. If both psycopg2 and psycopg3 are installed, Peewee will prefer psycopg2, but this can be controlled by specifying prefer_psycopg3=True in the constructor. Same applies to PostgresqlExtDatabase.
  • Psycopg3Database class has been moved to playhouse.postgres_ext and is now just a thin wrapper around PostgresqlExtDatabase.
  • Postgres JSON operations no longer dump and try to do minimal casts, instead relying on the driver-provided Json() wrapper(s).
  • Adds new ISODateTimeField for Sqlite that encodes datetimes in ISO format (more friendly when db is shared with other tools), and also properly reads back UTC offset info.
  • Remove playhouse.sqlite_ext.ClosureTable implementation.
  • Add a Model.dirty_field_names attribute that is safe for membership testing, since testing x in dirty_fields returns True if one or more field exists due to operator overloads returning a truthy Expression object. Refs #3028.
  • Removal of Cython _sqlite_ext extension. The C implementations of the FTS rank functions are moved to sqlite_udf. Most of the remaining functionality is moved to playhouse.cysqlite_ext which supports it natively.

Migrating CSqliteExtDatabase usage:

You can either use sqlite_ext.SqliteExtDatabase or try the new cysqlite_ext.CySqliteDatabase if you want all the old functionality and are willing to try a new driver.

View commits

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [peewee](https://github.com/coleifer/peewee) from 3.19.0 to 4.0.1.
- [Release notes](https://github.com/coleifer/peewee/releases)
- [Changelog](https://github.com/coleifer/peewee/blob/master/CHANGELOG.md)
- [Commits](coleifer/peewee@3.19.0...4.0.1)

---
updated-dependencies:
- dependency-name: peewee
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants