Skip to content

Releases: liberapay/postgres.py

2.2.2

12 Sep 06:54
0eef033
Compare
Choose a tag to compare
  • Change license to MIT
  • Update psycopg2 (change to psycopg2-binary)
  • Use README.md for the long_description in setup.py

2.1.1

05 Oct 19:58
Compare
Choose a tag to compare
  • relax Model instantiation so __new__ can return a model subclass

2.1.0

05 Oct 19:14
Compare
Choose a tag to compare
  • add record argument to Model constructor so __new__ is more useful to subclasses
  • add support for registering a model with multiple types (#22)

2.0.0

13 Sep 22:25
Compare
Choose a tag to compare
  • Significantly cleans up the one API (rendering it backwards-incompatible).
  • Adds an ORM.
  • Pushes the simple API way down to the cursor level, so you can use it even with the context managers.

1.1.0

10 Aug 20:50
Compare
Choose a tag to compare
  • Adds one_or_zero method (#19)
  • Deemphasizes one method
  • Fix bug where failures in one could still mutate the database (#17)
  • Fix bug where cursors weren't closed by their context manager (#18)

1.0.1

08 Aug 15:46
Compare
Choose a tag to compare
  • Changes rows to all (#16)—rows is still available as an (undocumented) alias
  • Minor doc tweaks

1.0.0

08 Aug 15:33
Compare
Choose a tag to compare
Tag version 1.0.0; #11