All Versions
27
Latest Version
Avg Release Cycle
49 days
Latest Release
3921 days ago

Changelog History
Page 1

  • v0.8.2 Changes

    July 04, 2013
    • ๐Ÿš‘ Critical bug fix in the :ref:asynchronous redis publish/subscribe <redis_pubsub> handler. Added some documentation.
    • โœ… 591 regression tests with 93% coverage.
  • v0.8.1 Changes

    July 02, 2013
    • ๐Ÿ“œ C++ :ref:redis parser <redis-parser>. Requires cython_ during installation.
    • Primary key can have any name (previously only id was allowed).
    • Better implementation for :meth:stdnet.odm.Session.update_or_create.
    • ๐Ÿ‘Œ Improved setup.py so that it does not log a python 2 module syntax error when installing for python 3.
    • ๐Ÿ“š :ref:Custom manager <custom-manager> documentation.
    • โœ… 590 regression tests with 93% coverage.
  • v0.8.0 Changes

    May 24, 2013
    • ๐Ÿ›  This version brings several new functionalities, bug fixes, asynchronous connections and a departure from the global registration of models.
    • The API for querying, committing and deleting instances has changed, and it it is now based on the :class:stdnet.odm.Router class.
    • A :class:stdnet.odm.Router is a placeholder of registered models for one's application. Check the :ref:registration tutorial <tutorial-registration> for more details.
    • โž• Added preliminary support for :ref:mongoDB backend <mongo-server>. Pre-alpha at this stage.
    • โž• Added preliminary support for :ref:Sql backend <sql-server>. Pre-alpha at this stage.
    • ๐Ÿ”ง Can handle master/slave server configuration by registering models to a back-end server and read-only server for read operations (queries).
    • โž• Added :ref:where <query_where> selector for ad-hoc queries. The argument is a valid expression (lua_ for redis_ and javascript for mongodb_).
    • AutoField has been renamed :class:stdnet.odm.AutoIdField and it does not inherit from :class:stdnet.odm.IntegerField so that it can work for different backends.
    • ๐Ÿ”จ Moved test module into the :mod:stdnet.utils.test module and refactored the main test class for handling tests on multiple back-ends at once.
    • :class:stdnet.odm.ManyToManyField field can perform queries on the whole data-set of the model which maintains the :ref:many-to-many relationship <many-to-many>. To do so, the manager must be accessed via the class rather than an instance. Also the through attribute has been removed as it was equivalent to the model attribute.
    • ๐ŸŽ The :ref:load_only <performance-loadonly> query method can be applied to field of related models.
    • ๐ŸŽ The :ref:load_related <performance-loadrelated> query method can now load only the primary key of the related element.
    • ๐Ÿ”„ Changed the default value of :attr:stdnet.odm.ForeignKey.related_name attribute to accommodate for multiple foreign keys with same related model in the same model.
    • ๐Ÿ›  Fixed critical bug in :attr:stdnet.odm.ForeignKey with attribute required set to False. Previously the deletion of instances of the related model caused the deletion of the instances pointing to those deleted objects.
    • Minor bug fix in lua odm script when sorting with respect related model fields which are missing.
    • Added the new :meth:stdnet.odm.StdModel.get_attr_value method for retrieving nested attribute values using the (optional) :ref:double underscore notation <tutorial-underscore>.
    • 0๏ธโƒฃ :attr:stdnet.odm.Field.default attribute made read-only.
    • โšก๏ธ :meth:stdnet.odm.Session.add accept force_update parameter which can be used to force an update rather than an override when an instance is persistent and fully loaded.
    • A new asynchronous redis connection for fully asynchronous usage of the api. Check the :ref:asynchronous tutorial <tutorial-asynchronous> for information.
    • ๐Ÿ”จ Refactored test suite to handle asynchronous and synchronous connections.
    • Redis odm script is able to fix unique-keys/ids conflicts.
    • โœ… 578 regression tests with 93% coverage.

    .. _vers07:

  • v0.7.0 Changes

    October 25, 2012
    • It requires redis 2.6 or higher.
    • ๐Ÿ‘Œ Supported python versions: 2.6, 2.7, 3.2, 3.3.
    • Some backward incompatible changes in the API and database schema.
    • ๐ŸŽ Tons of new features including a richer query API, improved performance via custom query options, more flexible transactions and lua_ scripting for redis_.
    • The orm module has been renamed odm for object data mapper. This was a painful change with the vast majority of files affected. But it is better to get terminology right at this stage rather than later.
    • Redesign of :class:stdnet.odm.ManyToManyField which now uses a through model for building many to many relationships. This is the only backward incompatible change both in terms of API and database scema.
    • Implemented :ref:field lookups <range-lookups> gt, ge, lt and le.
    • ๐Ÿ›  Added a prefixed redis client in :class:stdnet.lib.redis.PrefixedRedis.
    • โž• Added :class:stdnet.odm.CompositeIdField to handle situations where each combination of given set of :class:stdnet.odm.Field must be unique.
    • โž• Added ability to filter and search on :class:stdnet.odm.ForeignKey fields.
    • โž• Added :class:stdnet.odm.Session for managing transactions in the object data mapper.
    • ๐Ÿšš Moved structures from :mod:stdnet.backends to the :mod:stdnet.odm module.
    • Added :meth:stdnet.odm.Query.load_only and :meth:stdnet.odm.Query.dont_load methods for loading a subset of a model fields. This can improve performance by reducing the amount of data transferred from the server to the client. Check the :ref:performance tips <performance-loadonly> regarding the new feature.
    • โž• Added :meth:stdnet.odm.Query.load_related for loading related fields of a queryset with a single database query. This can have huge :ref:performance benefits <performance-loadrelated> when you know you are going to access the related field in your model.
    • ๐Ÿ›  Fixed bug in related managers. The exclude method was not implemented.
    • :class:stdnet.odm.PickleObjectField uses the pickle protocol 2 for compatibility between python 2 and python 3.
    • ๐Ÿ”จ Refactored the save and delete method of model instances.
    • โž• Added :meth:stdnet.odm.StdModel.tojson method for obtaining JSON representation of model instances.
    • Indexes for :class:stdnet.odm.ForeignKey fields are stored at sets with keys obtained from the field attrname rather than name.
    • โž• Added :meth:stdnet.odm.StdModel.clone method for cloning model instances.
    • ๐Ÿ”จ Refactored :ref:transactions <model-transactions> to be used with :ref:remote data structures <model-structures> and :ref:structured fields <model-field-structure>.
    • pulsar_ or nose_ are required to run the test suite and unittest2_ is required if using python 2.6.
    • ๐Ÿšš Moved the contrib module to :mod:stdnet.apps.
    • โž• Added :mod:stdnet.utils.dates.
    • โž• Added :mod:stdnet.utils.path.
    • โž• Added a Lua test suite for testing stand alone scripts. Requires lunatest_.
    • Serialisation works for :attr:stdnet.odm.ManyToMany.through models via the :func:stdnet.odm.all_models_sessions function (issue #48).
    • Lua script for univariate timeseries. This means the standard redis distribution works with the :class:stdnet.odm.TS structure.
    • PEP 386-compliant version number.
    • โœ… 624 regression tests with 92% coverage.

    .. _vers06:

  • v0.7.rc4

    August 15, 2012
  • v0.7.c6

    September 10, 2012
  • v0.7.c3

    May 08, 2012
  • v0.7.c2

    May 03, 2012
  • v0.7.c1

    May 02, 2012
  • v0.6.2 Changes

    November 14, 2011
    • ๐Ÿš‘ Critical bug fix in delete method when a model has no indices.
    • ๐Ÿš‘ Critical bug fix in :class:stdnet.odm.ManyToManyField which was causing the model delete method to crash.
    • โœ… 297 regression tests with 78% coverage.