Releases: liberapay/postgres.py
Releases · liberapay/postgres.py
2.2.2
- Change license to MIT
- Update
psycopg2
(change to psycopg2-binary
)
- Use
README.md
for the long_description
in setup.py
2.1.1
- relax Model instantiation so
__new__
can return a model subclass
2.1.0
- 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
- 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
- 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
- Changes
rows
to all
(#16)—rows
is still available as an (undocumented) alias
- Minor doc tweaks