This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Releases: ml-archive/paginator
Releases · ml-archive/paginator
Version 3.3.6
Added
- Support for parameterized queries on
RawSQLBuilder
(thanks @madsodgaard)
0.0.0
Migrate to the new GitHub Actions yml syntax
Version 3.3.5
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
Fixed
- Avoid a crash when perPage is set to 0. (thanks @maciejtrybilo!)
Version 3.3.3
Fixed
- Opened up types for dealing with
RawSQL
(thanks @madsodgaard)
Version 3.3.2
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
Fixed
- Fixed Swift 5 compiler warnings related to redundant access modifiers
Version 3.3.0
Added
- Support for paginating raw SQL queries (thanks @mlequeux)
Version 3.2.0
Changed
- removed Sugar as a dependency
Version 3.1.0
Changed
- depends on Sugar 4.0.0-beta