Features
- Updated to lodash v3.0.0 (changelog)
- Better performance
Breaking changes
Because of the way chaining works now in lodash, chain()
must be explicitly called. In other cases, simply calling the method returns the value.
Before
var songs = db('songs').push({ title: 'some song' }).value()
db('songs')
.find({ title: 'low!' })
.assign({ title: 'hi!'})
.value()
After
var songs = db('songs').push({ title: 'some song' })
db('songs')
.chain()
.find({ title: 'low!' })
.assign({ title: 'hi!'})
.value()