Skip to content

v0.7.0

Choose a tag to compare

@typicode typicode released this 03 Feb 11:32
· 455 commits to main since this release

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()