Skip to content

Releases: coleifer/peewee

2.1.5

19 Oct 14:56
Compare
Choose a tag to compare

View the commit history for this release.

Summary of new features

  • Rewrote the playhouse.postgres_ext.ServerSideCursor helper to work with a single query. Docs.
  • Added error handler hook to the database class, allowing your code to choose how to handle errors executing SQL. Docs.
  • Allow arbitrary attributes to be stored in Model.Meta a5e13bb.
  • Support for composite primary keys (!!). How-to and API docs.
  • Added helper for generating CASE expressions. Docs.
  • Allow the table alias to be specified as a model Meta option.
  • Added ability to specify NOWAIT when issuing SELECT FOR UPDATE queries.

Bug fixes

  • #147, SQLite auto-increment behavior.
  • #222
  • #223, missing call to execute() in docs.
  • #224, python 3 compatibility fix.
  • #227, was using wrong column type for boolean with MySQL.

2.1.4

06 Aug 02:30
Compare
Choose a tag to compare

Browse Commits: 2.1.3...2.1.4

  • Small refactor of some components used to represent expressions (mostly better names).
  • Support for Array fields in postgresql.
  • Added notes on Proxy
  • Support for Server side cursors with postgresql.
  • Code cleanups for more consistency.

Version 2.1.3, including big improvements in performance of

03 Jul 18:37
Compare
Choose a tag to compare

Commits: 2.1.2...2.1.3

  • Added the sqlite_ext module, including support for virtual tables, full-text search, user-defined functions, collations and aggregates, as well as more granular locking.
  • Manually convert data-types when doing simple aggregations - fixes issue #208
  • Profiled code and dramatically increased performance of benchmarks.
  • Added a proxy object for lazy database initialization - fixes issue #210