- Support for Mongoose v8
- Set dynamic type for docs items
- Fix - set limit when limit is 0
- Fix #194
- Added support for custom find method.
[2022-07-04]
- Added support for sub-document pagination.
[2022-02-28]
- Added support for Mongoose 6
[2022-02-28]
- Added support for Mongoose 6
[2022-02-11]
- Removed 2D test cases to support Mongoose 6.
[2022-02-05]
- Fix: update paginate options typings #154, #156
[2022-02-03]
- Added Typescript version.
[2022-01-09]
- Added feature: PaginationParameters helper class
[2022-01-06]
- Fix hasPrevPage behaviour with limit > offset > 0
[2021-08-15]
- Removed 'cursor' text across the project.
[2021-07-08]
- Removed test case for allowDiskUse, which cause build to fail on lower MongoDB versions.
[2021-07-08]
- Added allowDiskUse option as a workaround for QueryExceededMemoryLimitNoDiskUseAllowed error with large data sets.
[2021-05-17]
- Fixed issue #85
[2021-03-26]
- Fix for page value is less than 1
[2021-02-24]
- Collation fix for MongoDB v3.4 and less.
[2021-02-21]
- Fixed issues where no results or incorrect count are returned when using collations.
[2021-01-27]
- Fixed issue hasPrevPage and prevPage returned values are not correct at page=1 (#119)
[2020-12-22]
- Sorting issue after population.
[2020-12-04]
- New option for custom count function.
[2020-11-06]
- estimateDocumentCount implementation.
- Package version updates to support Node v12.
[2020-11-01]
- support for estimatedCountDocuments for larger datasets. Set useEstimatedCount=true
[2020-04-02]
- Get all docs if pagination is not enabled.
- Support to determines the MongoDB nodes from which to read.
- New option forceCountFn to support $near and $nearSphere (Ref: https://github.com/aravindnc/mongoose-paginate-v2#note)