- Fixed problem in
setup.py
. - Added
remove
method to :class:`stdnet.orm.ManyToManyField` and fixed a bug on the same field. - 203 regression tests with 71% coverage.
- This version brings some important bug fixes with tests and preliminary work on C extensions
based on
hiredis
. - Bug fix in :meth:`stdnet.orm.IntegerField.to_python`.
- Added registration utilities in :mod:`stdnet.orm`. Check :ref:`the documentation <utility-registration>` for more information.
- Bug fix in :class:`stdnet.orm.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.
- 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.
Ported to
Python 3
and dropped support forpython 2.5
. Way to go.Removed dependency from
redis-py
for python 3 compatibility.Refactored the object relational 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.orm.JSONField` with tests.
167 regression tests with 61% coverage.
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.
- Added
CONTRIBUTING
to distribution. - Corrected spelling error in Exception
ObjectNotFound
exception class. - Added initial support for
Map
structures. Ordered Associative Containers. - 63 tests
Development status set to
beta
.This version is incompatible with previous versions.
Documentation hosted at github.
Added new
contrib
moduledjstdnet
which uses djpcms content management system to display an admin interface for a :class:`stdnet.orm.StdModel`. Experimental for now.Added :class:`stdnet.CacheClass` which can be used as django cache backend. For example, using redis database 11 as cache is obtained by:
CACHE_BACKEND = 'stdnet://127.0.0.1:6379/?type=redis&db=11&timeout=300'
Overall refactoring of :mod:`stdnet.orm` and :mod:`stdnet.backends` modules.
Lazy loading of models via the :mod:`stdnet.dispatch` module.
Added :mod:`stdnet.dispatch` module from django.
Added :class:`stdnet.orm.AtomField` subclasses.
Before adding elements to a :class:`stdnet.orm.MultiField` the object needs to be saved, i.e. it needs to have a valid id.
Made clear that :class:`stdnet.orm.StdModel` classes are mapped to :class:`stdnet.HashTable` structures in a :class:`stdnet.BackendDataServer`.
Moved
structures
module intobackends
directory. Internal reorganisation of several modules.Added
app_label
attribute to :class:`stdnet.orm.DataMetaClass`.47 tests
- If a model is not registered and the manager method is accessed, it raises
ModelNotRegistered
- Changed the way tests are run. See documentation
redis
set as requirements- 29 tests
- Bug fixes
- Fixed a bug on
orm.DateField
whenrequired
is set toFalse
Changelog
included in documentation- 27 tests
- Bug fixes
- 27 tests
- Overall code refactoring
- Added ListField and OrderedSetField with Redis implementation
StdModel
raiseAttributError
when method/attribute not available. Previously it returnedNone
StdModel
raiseModelNotRegistered
when trying to save an instance of a non-registered model- 24 tests
RelatedManager
is derived byManager
and therefore implements both all and filter methods- 10 tests
- First official release in pre-alpha
Redis
backend- Initial
ORM
withAtomField
,DateField
andForeignKey
- 8 tests