Skip to content

Releases: fknop/hapi-pagination

2.0.0 Hapi 1.17 update

17 Dec 18:49
Compare
Choose a tag to compare

This release is intended for use with Hapi 1.17 and above, this shouldn't be used with versions below 1.17.

Thanks to the work of @jimutt for this update.

No other change have been introduced except for the internal changes with Hapi 1.17.

v1.6.5

14 Mar 20:56
Compare
Choose a tag to compare

v1.6.5

Small release to remove qs and lodash dependencies.

  • qs has been replaced by node querystring API.
  • lodash has been replaced by newly written functions.

No other change has been made.

v1.6.0

18 Jan 16:03
Compare
Choose a tag to compare

Breaking change

  • Route overriding are not available anymore on the plugin options
  • Overriding options is now done on route level : #7
config: {
    plugins: {
        pagination: {
            // enabled: boolean - force enable or force disable 
            defaults: {
                // page: override page
                // limit: override limit
                // pagination: override if pagination is false or true by
                // default
            }
        }
    }
}

v1.5.5

18 Jan 16:04
Compare
Choose a tag to compare

New features

  • Added regex path support. #6

Changes

  • totalCount and count are now 0 if enabled and no results are returned.