Changelog
0.5.5 (2015-07-15)
Bugfixes:
Changelog
0.5.4 (2015-07-09)
Bugfixes:
Date
s were saved in different formats (integers, Date
objects, etc). Added way to canonicalize them so all dates look the same in the DB and are also loaded as Date objects.Changelog
0.5.0 (2015-06-26)
Features:
getClient()
method for retrieving the active Camo client.options
parameter to connect()
so options can be passed to backend DB client.Document.fromData()
is now a private helper method. Static method .create()
should be used instead.Bugfixes:
Document._fromData()
, added check to see if ID exists before assigningBaseDocument._fromData()
so it returns data in same form as it was passed.
.create()
lost the references._.extend()
alias. Now using _.assign()
instead. (#1).get
and set
issue with Proxy (#3).Changelog
0.4.0 (2015-06-22)
Features:
.isModel()
to .isDocument()
.EmbeddedDocument
class and tests.
EmbeddedDocument
s:
= Schema options: default, min, max, type, choices
= All types supported in Document
also work in EmbeddedDocument
= Array of EmbeddedDocument
s
= Pre/post validate, save, and delete hooksChangelog
0.3.2 (2015-06-19)
Bugfix:
harmony-reflect
. Only difference is it uses a global to ensure it runs only once.Changelog
0.3.1 (2015-06-19)
Bugfix:
Changelog
0.3.0 (2015-06-18)
Features:
.toCanonicalId()
and .isNativeId()
to DatabaseClient
and its child classes.