Skip to content

Releases: MG-RAST/Shock

v0.8.15

25 Jun 14:25
Compare
Choose a tag to compare
Merge pull request #202 from wgerlach/master

token , url

v0.8.14

09 Jun 19:59
Compare
Choose a tag to compare
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

22 May 20:51
Compare
Choose a tag to compare
Merge pull request #191 from jaredbischof/master

Update to version

v0.8.12

16 May 20:55
Compare
Choose a tag to compare
Merge pull request #186 from teharrison/master

fix parameter name

v0.8.11

22 Apr 20:16
Compare
Choose a tag to compare

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

09 Apr 19:11
Compare
Choose a tag to compare
Merge pull request #174 from jaredbischof/master

Updated version to 0.8.10

v0.8.9

04 Apr 21:13
Compare
Choose a tag to compare
Merge pull request #170 from jaredbischof/master

Version 0.8.9

v0.8.8

02 Apr 19:39
Compare
Choose a tag to compare

v0.8.8

v0.8.6

14 Mar 19:33
Compare
Choose a tag to compare
Merge pull request #165 from jaredbischof/master

v0.8.6

v0.8.5

14 Mar 19:31
Compare
Choose a tag to compare
Merge pull request #164 from jaredbischof/master

Fixed path for virtual_parts index in mongo.