All Versions
27
Latest Version
Avg Release Cycle
49 days
Latest Release
3921 days ago
Changelog History
Page 1
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.
- ๐ Critical bug fix in the :ref:
-
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.
- ๐ C++ :ref:
-
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 thethrough
attribute has been removed as it was equivalent to themodel
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 theprimary 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 attributerequired
set toFalse
. 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
acceptforce_update
parameter which can be used to force anupdate
rather than anoverride
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 renamedodm
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 athrough
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
andle
. - ๐ 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
anddelete
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 fieldattrname
rather thanname
. - โ 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 modeldelete
method to crash. - โ 297 regression tests with 78% coverage.
- ๐ Critical bug fix in