- update deps
- remove
co-mocha
- compatible with
mongodb+srv://
- add
useUnifiedTopology
- update deps
- use
createIndex
instead ofensureIndex
- fix eslint warning
- add
dbName
option tomongolass.connect
- update deps
- update eslint
- upgrade deps
- upgrade deps
- update deps
- use
{ useNewUrlParser: true }
- assert.deepEqual -> assert.deepStrictEqual
- fix tests
- update [email protected]
- fix #34
- fix
_formatQuery
error
- fix $set & $setOnInsert no schema error
- fix:
_formatSetOrSetOnInsert
- update deps
- use AJS Types
- add some Types
- update
another-json-schema
- fix: test
- fix: test
- fix: beforeDeleteOne & beforeDeleteMany
- upgrade [email protected]
- update operators will not check
default
&required
- [feat] use eslint@standard
- [feat] upgrade another-json-schema@3
- support
default
- support
required
- support
- [breaking change] use async/await, deprecated generatorFunction(plugin)
- [breaking change] upgrade mongodb@3
- [update] tweak codes
- [update] update tests
- [update] update README.md
- fix #27
- fix test coverage
- tweak error
- add error type
- update [email protected]
- tweak error stack
- tweak error stack
- update README
- breaking: remove
bluebird
,exec
only return promise now - update deps
- remove GreenKeeper
- remove yarn.lock
- use yield -> yield*
- add greenkeeper
- update readme
- fix: no schema name insert
_id
only
- update deps
- add
collName
opt
- tweak error stack
- update readme
- update error stack
- fix tests
- update readme
- update readme
- update deps:
debug 2.2.0 → 2.3.3
lodash 4.16.6 → 4.17.2
mongodb 2.2.11 → 2.2.14
validator 6.1.0 → 6.2.0
- update deps:
lodash 4.15.0 → 4.16.6
mongodb 2.2.9 → 2.2.11
validator 5.6.0 → 6.1.0
mocha ^3.0.2 → ^3.1.2
- print error when connect mongodb failed
- model function cannot be modified now
- add model function name
- upgrade error stack
- add default
_id
schema when register a new schema
.model()
support raw object as schema now, inner schema named${model._name}Schema
- change model function
connect
->_connect
- change built-in schema plugin's name
schema
->MongolassSchema
- repeatedly callling
mongolass.connect
will throw error
- update to
[email protected]
- now format
query
&update
filter if schema exist - more detailed error information
Mongolass.Types
breaking change, nowthrow
error &&return
formatted value
- split
mongolass-plugin-populate
& update deps
- add
Mongolass.Types
- update
.populate
can pass model instead of modelName
- use dot-prop for deep populate
- add
.match
to populate & fix populate path bug
- update readme & test, bump
It just work!