Releases: FleekHQ/apollo-cursor-pagination
Release 0.8.0
Release 0.7.4
Change log
- Added .npmignore to reduce the size of the bundled package.
Release 0.7.1
- Export
orderNodesBy
in knex custom pagination.
Release 0.7.0
Change log
- Added
modifyEdgeFn
util.
Release 0.6.1
Change log
- Fixed a bug where
formatColumnIfAvailable
was ignored forid
columns.
Release 0.6.0
Change log
-
Added support for
formatColumnFn
in conjunction with orderBy. -
Updated readme to include docs for
formatColumnFn
. -
Updated some dependencies versions in the test app
Release 0.5.0
Change log
Knex pagination
-
Added support for paginating when items are ordered by a key that might contain null values.
-
Fixed a bug when using
after
that in some scenarios could bring wrong results.
Release 0.4.1
Change log
-
Reduced the amount of database roundtrips required to build up the complete graphql response (now 2 queries are required if fetching totalCount and 1 otherwise). This was done by skipping calls to getNodesLength and calculating node operations with less info.
-
Added an option to skip fetching totalCount for large databases.
-
Added startCursor and endCursor to the response payload.
-
Security patches in deps.
Release 0.3.4
Change log
- Small bug fix. Now all returned fields from
paginate
will be returned (and not return a pending promise).
Release 0.3.1
Change log
-
A bunch of bugfixes
-
Added support for pagination sorting over aggregate columns (sum, count, etc.).