Releases: JoshAshby/pyRethinkORM
Releases · JoshAshby/pyRethinkORM
v0.3.0 - Add limit and offset to collections
v1.0.0-beta2 Pre Release
Changes from v1.0.0-beta1:
- Bug fix for failing doc example
Changes from v1.0.0-alpha3:
- Updated docs
- Rewrote setup.py
- Removed requirements.txt
- Rename rethinkModel.py -> rethink_model.py
- Rename rethinkCollection.py -> rethink_collection.py
- Addition of RethinkORMException which is now thrown instead of just a plain Exception
- Moved tests out of package
That should be most of it.
v1.0.0-alpha3 Pre Release
Changes from alpha 2:
- Fix bug with
RethinkCollection.limit()
where it would callskip()
afterlimit()
on the query
v0.2.11 Bugfix for bugfix
v0.2.1 Update with bug fixes
This update should fix a bug with updating a record, where RethinkDB would raise the exception "Could not insert entry: Primary key id
cannot be changed"
There has also been a small update to popping the connection from the kwargs dict, thanks to pull request #2.
v1.0.0-alpha2 Pre Release
Changes from Alpha 1:
- Fixes ReQL exception when attempting to update or save a key, when the primary key is in the models internal data dict.
V1.0.0-alpha Pre-release
This has the potential to break some backwards compatibility with v0.2.0 and below
- Several names have changed, primarily: protectedItems is now protected_items, primaryKey is now primary_key, orderBy in collections is now order_by. There are probably others that I'm missing however.
- The ability to join tables or models within a collection have been removed for now.
- The find classmethod on models has been removed.
- fromRawEntry is not outdated, and can be replaced by just instantiating a new model with the data.
- The models no longer keep track of if a document is new and just use the RethinkDB drivers upsert ability to insert or update a document.
- Passing a key and data will now no longer raise an exception, but instead return a new model.
- Providing only id as a keyword argument to the model will cause it to assume the document is in the database, and it will attempt to get that document.
- Most documentation has been updated for these changes however there are still several undoc'd or poorly doc'd functions hanging out in the code. See: http://rethinkorm.readthedocs.org/en/dev/ for more information.
- Like the documentation, there are a few functionality items that are missing tests.