Releases: Geodan/cow
Stable LZW Compress
This release contains a better LZWCompress algorithm that can handle very large strings.
[breaking] Incompatible with clients that run 2.2 or lower
Release candidate for 2.3.0
[Breaking] this does brake with 2.2 and below
New compression
[Breaking] This will not work with clients that have an older version.
tussenrelease
Merge pull request #217 from tomvantilburg/master moved back the dist
Some improvements...
#215 when creating an new empty record (like .item({}) ) a more random id is generated instead of timestamp
#206 when nothing is changed (like overwrite with similar data) a record will not sync
#203 record now have a time to live ( .ttl() ) setting. Default will be the existing max_age, but this can be changed per_record. It should still work with older versions of cow
#158 peers that have been deleted are now purged on and off so the peers array doesn't flood
#188 removed syncRecords function (wasn't used)
datachange events on records
Events have been added to record level so now you can do
item.on('datachange',function(d){
This will give way to far less refresh overhead in the client since before we only had a datachange event on the whole store.
Sync version numbers
Version numbers of Cow weren't in sync.
Bower.json, package.json and _version property in source aren in sync now.
Compressed messaging
- The payload in every cow message is LZW compressed.
- Compressed string is UTF8 encoded
- This doesn't work with versions < 2.2.0
Added UTF8 encoding
Minor change
LZW compression on payload
- The payload in every cow message is LZW compressed.
This doesn't work with older versions!