All Versions
27
Latest Version
Avg Release Cycle
49 days
Latest Release
3943 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.6.1 Changes
September 10, 2011- ๐ This is a minor release which brings an improved documentation,
better support for the :class:
stdnet.odm.JSONField
and some minor bug fixes. - โ
Test suite parsing is done using the new python
argparse
module since theoptparse
is now deprecated. Check :ref:running tests <runningtests>
for more information. - โ
Started work on
lua extensions
and added a development test tagscript
. - โ Added
google analytics
to the documentation web site. - The instance validation algorithm catches :class:
stdnet.FieldValueError
exceptions and stores them into the errors dictionary. - ๐ Fixed bug in :class:
stdnet.odm.Field
when using default values. Default values are regenerated if missing during the saving algorithm. - ๐จ Refactored redisinfo for a better redis monitor.
- โ 297 regression tests with 78% coverage.
- ๐ This is a minor release which brings an improved documentation,
better support for the :class:
-
v0.6.0 Changes
August 09, 2011- ๐ New database schema incompatible with previous versions.
- ๐ This is a major release which brings into production a vast array of important new features including an improved database schema.
- :class:
stdnet.odm.StdModel
instances are mapped into separate redis hash tables with fields given by the model field names and values given by the instance field values. - Implemented two types of sorting:
Implicit by the :class:
stdnet.odm.Metaclass
attributeordering
. When using this route, items are stored in the database in a sorted fashion, therefore no overhead is required for the sorting step. Explicit by using thesort_by
method in a :class:stdnet.odm.query.QuerySet
object. Check the :ref:sorting <sorting>
documentation for more information. - Unique fields (fields with :attr:
stdnet.odm.Field.unique
set toTrue
) are now indexed via redis_ hash tables which maps the field value to the object id. Previously they were stored in keys. This solution reduces the memory footprint and the number of keys used. - โ Added :ref:
transaction support <model-transactions>
. This way model instances are always consistent even when redis shuts down during an update. Transactions are also useful when updating several instances at once. - โ Added :ref:
serialization utilities <serialize-models>
for saving model data in JSON or CSV format. Custom serialization algorithms can be added to the library. - ๐ Data encoders have been moved to the :mod:
stdnet.utils.encoders
module. There are four available, a dummy one (no encoding),Default
to and fromunicode
andbytes
,Bytes
to and from bytes,PythonPickle
to and from object and their pickle (bytes) representation andJson
to and from structures and bytes. - โ Added
as_string
parameter to :class:stdnet.odm.JSONField
for specifying the storage method. - ๐ Moved testing functions into the :mod:
stdnet.test
module. - โ Added
hidden
attribute to :class:stdnet.odm.Field
. Used in the search algorithm. - ๐ Reorganized and expanded documentation.
- ๐ Bug fix in :class:
stdnet.odm.PickleObjectField
field. - โ 289 regression tests with 78% coverage.
.. _vers05:
-
v0.5.5 Changes
June 06, 2011- โ Several new features, some important bug fixes and more tests.
- โ Added :func:
stdnet.odm.from_uuid
function which can be used to retrieve a model instance from its universally unique identifier. - Added pickle support to models. The
__getstate__
method return a tuple containgid
and a dictionary representation of scalar fields (obtained from thetodict
method). - ๐ Bug Fix in :class:
stdnet.odm.JSONField
. - โ Added tests for timeseries with date as keys (rather than datetimes).
- ๐ Bug fix in Backend and test suite, Redis port was not read.
- ๐ Bug fix in :class:
stdnet.contrib.timeseries
. The models were overridding the :meth:__str__
rather than :meth:__unicode__
. - โ Added :func:
stdnet.odm.flush_models
, a utility functions for flushing model data. - โ Added a new :class:
stdnet.odm.ByteField
which saves bytes rather than strings. - Renamed
start
andend
in TimeSeres todata_start
anddata_end
. - โ 245 regression tests with 76% coverage.
-
v0.5.4 Changes
May 18, 2011- ๐ Another bug fixing release with a couple of new functionalities and a new
contrib
application. - ๐ Fixed a filtering problem when performing exclude on unique fields.
- ๐จ Refactored registration utilities.
- โ Added :func:
stdnet.odm.test_unique
for testing uniqueness. - โ Removed
tagging
from :mod:contrib
and included in the :mod:contrib.searchengine
. The search engine application has been refactored so that it can perform a fast, fuzzy, full text index using Redis. - ๐พ Added
pre_save
andpost_save
signals. - โ Added
pre_delete
andpost_delete
signals. - ๐ Bug fix on
disptach
module which was failing when using python 3. - โ Several more tests.
- โ 218 regression tests with 73% coverage.
- ๐ Another bug fixing release with a couple of new functionalities and a new
-
v0.5.3 Changes
April 30, 2011- ๐ Fixed problem in setup.py.
- โ Added
remove
method to :class:stdnet.odm.ManyToManyField
and fixed a bug on the same field. - โ 203 regression tests with 71% coverage.
-
v0.5.2 Changes
March 31, 2011- โ This version brings some important bug fixes with tests.
- ๐ Bug fix in :meth:
stdnet.odm.IntegerField.to_python
. - โ Added registration utilities in :mod:
stdnet.odm
. - Bug fix in :class:
stdnet.odm.StdModel
class caused by the lack of a__ne__
operator. - Added
__hash__
operator, unique across different models, not just instances. - โ Added experimental :mod:
stdnet.contrib.searchengine
application. Very much alpha. - โ Added
scorefun
callable in structures to be used in OrderedSet. - โ Added a
spelling
example. - โ 198 regression tests (including timeseries) with 71% coverage.
-
v0.5.1 Changes
February 27, 2011- ๐ Mainly bug fixes, documentations and more tests (improved coverage).
- ๐ Modified the
parse_info
method in :mod:stdnet.lib.redis
. Its now compatible with redis 2.2. - โ Added documentation for :ref:
Redis timeseries <redis-timeseries>
. - โ Added a command to :mod:
stdnet.contrib.monitor
, a stdnet application for djpcms_. - ๐ Critical Bug fix in redis backend
save_object
attribute. This bug was causing the deletion of related objects when updating the value of existing objects. - โ Added licences to the :mod:
stdnet.dispatch
and :mod:stdnet.lib.redis
module. - โ 177 regression tests, 189 with timeseries with 67% coverage.
-
v0.5.0 Changes
February 24, 2011- ๐ Ported to python 3 and dropped support for python 2.5.
- โ Removed dependency from
redis-py
for python 3 compatibility. - ๐จ Refactored the object data mapper, including several bug fixes.
โ Added benchmark and profile to tests. To run benchmarks or profile::
python runtests.py -t bench python runtests.py -t bench tag1 tag2 python runtests.py -t profile
๐ Included support for redis
timeseries
which requires redis fork at https://github.com/lsbardel/redis.โ Added :mod:
stdnet.contrib.sessions
module for handling web sessions. Experimental and pre-alpha.โ Added :class:
stdnet.odm.JSONField
with tests.โ 167 regression tests with 61% coverage.
.. _vers04:
-
v0.4.2 Changes
November 17, 2010โ Added
tags
in tests. You can now run specific tags::python runtests.py hash
will run tests specific to hashtables.
- โ Removed
ts
tests since the timeseries structure is not in redis yet. You can run them by setting tagts
. - 54 tests.
-
v0.4.1 Changes
November 14, 2010- โ Added
CONTRIBUTING
to distribution. - ๐ป Corrected spelling error in Exception
ObjectNotFound
exception class. - โ Added initial support for
Map
structures. Ordered Associative Containers. - โ 63 tests
- โ Added