github coleifer/peewee 2.8.4

latest releases: 3.14.10, 3.14.9, 3.14.8...
7 years ago

This release contains bugfixes as well as a new playhouse extension module for
working with SQLite in multi-threaded / concurrent environments.
The new module is called playhouse.sqliteq and it works by serializing
queries using a dedicated worker thread (or greenlet). The performance is quite
good, hopefully this proves useful to someone besides myself! You can learn
more by reading the sqliteq documentation.

As a miscellaneous note, I did some major refactoring and cleanup in
ExtQueryResultsWrapper and it's corollary in the speedups module. The code
is much easier to read than before.

View commits

Bugs fixed

  • #1061 - @akrs patched a bug in TimestampField which affected the accuracy
    of sub-second timestamps (for resolution > 1).
  • #1071, small python 3 fix.
  • #1072, allow DeferredRelation to be used multiple times if there are
    multiple references to a given deferred model.
  • #1073, fixed regression in the speedups module that caused SQL functions to
    always coerce return values, regardless of the coerce flag.
  • #1083, another Python 3 issue - this time regarding the use of exc.message.

View commits

Don't miss a new peewee release

NewReleases is sending notifications on new releases.