yesod-paginator v1.1.0.0 Release Notes

    • Major rewrite

    Interfaces for paginate and selectPaginated now return a Pages a type, free of any visuals-related concerns. This value provides the paginated items and can be passed to functions from the Widgets model for rendering navigation HTML.

    The ellipsed widget is most like previous behavior with simple being a new, simpler alternative. These are (for the most part) not configurable, we should instead strive to create separate widgets if we need different behavior.

    Everything is now very type-safe: we use Natural everywhere, with newtypes to differentiate things like PerPage, PageNumbers, etc.

    • 👍 Officially drop support for GHC < 7.10