unstale

npm / mongoose-paginate-v2

mongoose-paginate-v2

What changed in mongoose-paginate-v2 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

1 new APIs and options9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

mongoose-paginate-v2 110 changes

New APIs and options 1

  • Supports the leanWithVirtuals option for use with the mongoose-lean-virtuals plugin.

    1.9.5release notes

Fixes and other changes 9

  • Passes collation as an option instead of chaining it, preserving session context.

    1.9.5release notes

  • Excludes limit and skip from countDocuments options.

    1.9.5release notes

  • Nulled or removed custom labels are no longer set.

    1.9.5release notes

  • Corrects the PaginateDocument type parameters.

    1.9.5release notes

  • Merges the PaginateModel interface.

    1.9.5release notes

  • Makes the offset field optional in the PaginateResult type definition.

    1.9.5release notes

  • Fixes concurrent pagination queries in transactions.

    1.9.5release notes

  • Makes Query interface generics consistent with Mongoose 8.15.

    1.9.5release notes

  • Updates the useCustomCountFn parameter type and implementation.

    1.9.5release notes