Skip to content

Releases: linkyndy/remodel

remodel v1.0.0

11 Jun 22:28
Compare
Choose a tag to compare

remodel got to v1.0.0! 🎉This release adds a few stability fixes, plus support for newer Python and RethinkDB versions, custom table names and model filtering by lambda.

New features:

  • custom table names for models, using Model.table_name (#48, #63, thank you, @arwema!)
  • filter models by lambda, using Model.filter(lambda x: x) (#66)
  • support RethinkDB's new user/password authentication (#65, thank you, @caj-larsson!)
  • support for Python 3.6 and 3.7 (#61)

Improvements:

  • support for rethinkdb>=2.4 package (#60)
  • fix invalid references when deleting an object (#55, thank you @jspalink!)

Removed

  • deprecated functions from remodel.utils (#62)
  • deprecated Model._table (#63)

remodel v0.4.4

21 Nov 21:40
Compare
Choose a tag to compare
remodel v0.4.4 Pre-release
Pre-release

Fixed an annoying issue with circular imports and added Python 3.5 to the mix.

New features:

  • Python 3.5 support.

Improvements:

  • Fixed circular import issue (#38).

remodel v0.4.3

31 Aug 20:28
Compare
Choose a tag to compare
remodel v0.4.3 Pre-release
Pre-release

Put everything in place so that the latest version of RethinkDB is supported.

New features:

  • RethinkDB 2.1.2 support.

remodel v0.4.2

23 May 17:23
Compare
Choose a tag to compare
remodel v0.4.2 Pre-release
Pre-release

Contains a small fix that reverts changes made by remodel v0.4.1, introduced by RethinkDB 2.0.

New features:

  • RethinkDB 2.0.2 support.

remodel v0.4.1

12 May 19:00
Compare
Choose a tag to compare
remodel v0.4.1 Pre-release
Pre-release

The latest RethinkDB is now supported. Keep hacking on your remodel_ish_ projects!

New features:

  • RethinkDB 2.0 support.

remodel v0.4.0

14 Mar 12:49
Compare
Choose a tag to compare
remodel v0.4.0 Pre-release
Pre-release

Callbacks are here! Now you can easily hook into various actions of your objects' lifespan and execute custom logic. For instance, mark a document object as draft before saving it; or set a new flag on a user object after initializing it.

Also, you can now get an object's key or update it with several fields at once, both in the spirit of remodel's dict interface of objects!

New features:

  • introduced callbacks (#19);
  • added get and update for objects (#3, #14);
  • drop_tables as an extra helper (#16).

Improvements:

  • moved helpers such as create_tables to dedicated module (#16);
  • squashed various bugs (#10, #13, #17).

remodel v0.3.1

13 Feb 18:45
Compare
Choose a tag to compare
remodel v0.3.1 Pre-release
Pre-release

Thanks to @Gesias, you can now benefit from all the new features RethinkDB have released with their latest 1.16.0 version!

New features:

  • RethinkDB 1.16.0 support.

remodel v0.3.0

23 Jan 22:03
Compare
Choose a tag to compare
remodel v0.3.0 Pre-release
Pre-release

Your beloved ODM has now Python 3 support! Thanks to @Smewp, you can use remodel in all your crafted-with-love Python projects.

New features:

  • Python 3 support.

remodel v0.2.0

15 Dec 17:52
Compare
Choose a tag to compare
remodel v0.2.0 Pre-release
Pre-release

This release features the introduction of ObjectHandler which, from now on, is responsible for table-level operations made on the model (such as create, get or filter). Therefore, a Model will solely handle row-level operations (like save or delete). Even more, ObjectHandler represents the base for operations made on a model's one-to-many and many-to-many relations -- this means it is possible to do things like user['posts'].filter(accepted=True) or recipe['ingredients'].count()!

New features:

  • introduction of ObjectHandler;
  • several table-level operations: get, create, get_or_create now available for related models, and count for both models and related models.

Improvements:

  • revamp of ObjectSet: len, __getitem__ are now available, plus lazy evaluation;
  • switched to inflection module for handling table names;
  • moved testing to tox;
  • squashed various bugs.

remodel v0.1.0

28 Feb 21:43
Compare
Choose a tag to compare
remodel v0.1.0 Pre-release
Pre-release

First version of remodel! Stay tuned for more goodies...