Releases: coleifer/peewee
Releases · coleifer/peewee
2.1.5
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 issuingSELECT FOR UPDATE
queries.
Bug fixes
2.1.4
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
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