Nodes Vapor Paginator Versions Save

Offset pagination for Vapor 🗂

3.3.6

4 years ago

Added

  • Support for parameterized queries on RawSQLBuilder (thanks @madsodgaard)

0.0.0

4 years ago

3.3.5

4 years ago

Added

  • Option to specify the paginator type, eg:
try User
    .query(on: req)
    .paginate(for: req, type: OffsetPaginator.self)    
    ...

This is useful in cases where the type cannot be inferred and you would have had to split up a chain to be able to add type information. In case the type can be inferred, you can omit this parameter. This parameter has been added to all paginate functions that return a generic Paginator.

3.3.4

4 years ago

Fixed

  • Avoid a crash when perPage is set to 0. (thanks @maciejtrybilo!)

3.3.3

4 years ago

Fixed

  • Opened up types for dealing with RawSQL (thanks @madsodgaard)

3.3.2

4 years ago

This fixes an error in a view template, so updating the package is not enough. The view file in your project should also be updated with the changes found in this update

Fixed

  • Use correct control element reference in middle section of pagination links

3.3.1

5 years ago

Fixed

  • Fixed Swift 5 compiler warnings related to redundant access modifiers

3.3.0

5 years ago

Added

  • Support for paginating raw SQL queries (thanks @mlequeux)

3.2.0

5 years ago

Changed

  • removed Sugar as a dependency

3.1.0

5 years ago

Changed

  • depends on Sugar 4.0.0-beta