4.1.4
4.1.4 - Sat Apr 15 2017
- Update READMEs a bit
4.1.3 - Wed Apr 12 2017
** IMPORTANT -- UPGRADE TO THIS, ADJUST YOUR CODE IN DEV TO PREPARE FOR 5.0.0
**
-
Add IRBytesField to work the same as BINARY_FIELDS on both python2 and 3.
BINARY_FIELDS is going away in python 5.0.0 -
Add the new Pickle field implementation from 5.0.0 (which supports pickling
ALL types, but is not compatible). This is named IRNewPickleField and can be
found in
from IndexedRedis.fields.new_pickle import IRNewPickleField
You can change your models to use this field, then on each model call
myModel.compat_convertPickleFields()
to convert the data form the old form to the new form.
Please see the 5.0.0 preview release also released today.
At 4.1.3 you can
make all your code forwards-compatible (with the exception of pickle fields,
which need to be converted post-update)
Several things are changing backwards-incompatible, but if you start making
changes now, you can run on 4.1.3 and then upgrade to 5.0.0 without issue.
4.1.2 - Wed Apr 12 2017
- Fix some potential encoding issues on python2
- Fixup some potential issues with IRBase64Field on python2 ( keep in mind,
BASE64_FIELDS is going away in IndexedRedis 5.0.0! ) - Some minor performance updates in encoding/decoding paths
4.1.1 - Wed Apr 12 2017
- Ensure that the "origData" structure gets updated after a save which
performs an insert. It was previously only updated after an "update", but not
an insert. This prevents those fields as being seen as changed and updated
again if you save the inserted object. - Update "runTests.py" to be version 1.2.3 from GoodTests.py
4.1.0 - Mon Jan 9 2017
- Fix issue where fields that implemented toStorage (complex IRFields) would sometimes have problems
doing updates - Fix issue where field values that work as-reference (like lists) would be seen to not update. We now make
a copy in the "_origData" dict, if possible. If doesn't support copy.copy, we fallback to value assignment. - Add tests, specifically for IRPickleField with lists where these issues came up