Releases: MG-RAST/Shock
v0.8.15
Merge pull request #202 from wgerlach/master token , url
v0.8.14
Merge pull request #195 from jaredbischof/master Replacing index Range and Part functions to no longer expect indexes to be read completely into memory.
v0.8.13
Merge pull request #191 from jaredbischof/master Update to version
v0.8.12
Merge pull request #186 from teharrison/master fix parameter name
v0.8.11
Note that the dates stored for Shock nodes have recently been changed from being stored as strings to golang Time objects, documented here:
http://golang.org/pkg/time/#Time
If you have created nodes in your Shock server using an older version of Shock, the application will still function properly but the last_modified and created_on fields will not display properly for your previously created nodes. To resolve this issue, you can update these node fields in your mongo database using the following code:
mongo
use ShockDB
var cursor = db.Nodes.find()
while (cursor.hasNext()) { var doc = cursor.next(); db.Nodes.update({_id: doc._id}, {$set: {last_modified : new Date(doc.last_modified)}}) }
var cursor = db.Nodes.find()
while (cursor.hasNext()) { var doc = cursor.next(); db.Nodes.update({_id: doc._id}, {$set: {created_on : new Date(doc.created_on)}}) }
var cursor = db.Nodes.find({"last_modified": {"$lte": new ISODate("0000-00-00T00:00:00Z")}})
while (cursor.hasNext()) { var doc = cursor.next(); db.Nodes.update({_id: doc._id}, {$set: {last_modified : new ISODate("0000-00-00T00:00:00Z")}}) }
After performing these operations the last_modified and created_on fields should display properly for your old nodes when you query your Shock server. Note, these operations are not required for nodes generated after updating your version of Shock.
v0.8.10
Merge pull request #174 from jaredbischof/master Updated version to 0.8.10
v0.8.9
Merge pull request #170 from jaredbischof/master Version 0.8.9
v0.8.8
v0.8.8
v0.8.6
Merge pull request #165 from jaredbischof/master v0.8.6
v0.8.5
Merge pull request #164 from jaredbischof/master Fixed path for virtual_parts index in mongo.