Skip to content

Releases: JoshAshby/pyRethinkORM

v0.3.0 - Add limit and offset to collections

06 May 16:18
Compare
Choose a tag to compare

Merges pull request #6 from justinrsmith in which adds limit and offset as commands for collections.

v1.0.0-beta2 Pre Release

07 Apr 23:52
Compare
Choose a tag to compare
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

03 Oct 14:19
Compare
Choose a tag to compare
Pre-release

Changes from alpha 2:

  • Fix bug with RethinkCollection.limit() where it would call skip() after limit() on the query

v0.2.11 Bugfix for bugfix

01 Oct 23:03
Compare
Choose a tag to compare

Fixes a small bug of not using the dictionary which the primary key was removed from, when updating a record, which was introduced by me during the v0.2.1 patch. Many thanks to @scragg0x for catching this with pull request #3.

v0.2.1 Update with bug fixes

01 Oct 19:34
Compare
Choose a tag to compare

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

01 Oct 04:48
Compare
Choose a tag to compare
Pre-release

Changes from Alpha 1:

  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

28 Sep 04:12
Compare
Choose a tag to compare
Pre-release

This has the potential to break some backwards compatibility with v0.2.0 and below

  1. 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.
  2. The ability to join tables or models within a collection have been removed for now.
  3. The find classmethod on models has been removed.
  4. fromRawEntry is not outdated, and can be replaced by just instantiating a new model with the data.
  5. 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.
  6. Passing a key and data will now no longer raise an exception, but instead return a new model.
  7. 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.
  8. 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.
  9. Like the documentation, there are a few functionality items that are missing tests.