UNPKG

mongoose-lean-id

Version:

Attach `id` to the results of mongoose queries when using `.lean()`

24 lines (18 loc) 625 B
1.0.0 / 2023-11-30 ================== * feat: support Mongoose 8 #10 0.5.0 / 2023-03-23 ================== * feat: support `findOneAndDelete()`, `findOneAndReplace()` #9 [IslandRhythms](https://github.com/IslandRhythms) 0.4.0 / 2023-03-21 ================== * BREAKING CHANGE: support Mongoose 7, drop support for Mongoose < 7 0.3.0 / 2021-01-08 ================== * feat: support Mongoose 6 #5 0.2.0 / 2019-02-25 ================== * fix: correctly ignore arrays of ObjectIds #3 0.1.1 / 2018-11-10 ================== * fix: support adding id to nested arrays of objects #2 [ceepeeuk](https://github.com/ceepeeuk)