Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Releases: ml-archive/paginator

Version 3.3.6

16 Oct 11:52
1e3394e
Compare
Choose a tag to compare

Added

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

0.0.0

17 Sep 11:03
Compare
Choose a tag to compare
Migrate to the new GitHub Actions yml syntax

Version 3.3.5

04 Sep 10:52
e3c8a74
Compare
Choose a tag to compare

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.

Version 3.3.4

02 Sep 18:04
2e938c3
Compare
Choose a tag to compare

Fixed

Version 3.3.3

17 Jun 06:18
34fc03d
Compare
Choose a tag to compare

Fixed

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

Version 3.3.2

13 Jun 14:00
965c23e
Compare
Choose a tag to compare

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

Version 3.3.1

07 May 11:17
aa01552
Compare
Choose a tag to compare

Fixed

  • Fixed Swift 5 compiler warnings related to redundant access modifiers

Version 3.3.0

15 Apr 06:57
e09e2af
Compare
Choose a tag to compare

Added

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

Version 3.2.0

06 Mar 14:13
0c1ce19
Compare
Choose a tag to compare

Changed

  • removed Sugar as a dependency

Version 3.1.0

10 Feb 12:52
4703564
Compare
Choose a tag to compare

Changed

  • depends on Sugar 4.0.0-beta