Skip to content

Releases: Mattchewone/feathers-shallow-populate

🐜 Fix single relations when `keyHere` is `null`

30 Apr 19:03
Compare
Choose a tag to compare

🎁 Customize the params object

30 Sep 23:04
Compare
Choose a tag to compare

Thanks to work by @fratzinger, you can now more easily utilize the params object to customize queries.

#16

🎁 Support numeric keys

26 Jun 13:13
Compare
Choose a tag to compare

Thanks to some work by @Bomberus and @fratzinger, support for databases using numeric keys (most common for SQL databases) has been added.

#12
#13

Support nested keys, drop node 6

15 Jul 11:22
Compare
Choose a tag to compare

Nested keys support

Now supporting nested keys

const { shallowPopulate } = require('feathers-shallow-populate')

const populateTasks = shallowPopulate({
  include: [{
    service: 'tasks',
    nameAs: 'tasks',
    keyHere: '_id',
    keyThere: 'taskSet.taskSetId', // Yeah, baby!
    asArray: true
  }]
})

Support node 8+

The breaking change in this release is that node 6 is no longer supported.