Releases: RockSolt/next_page
Releases · RockSolt/next_page
Release 1.1.0: Validate Query Parameters
Query params for the page size and number are now validated to handle invalid, nonesensical, or malicious values that might cause long-running queries.
This release also updates the minimum required versions:
- Ruby: 3.2
- Rails: 7.2
Release 1.0.0: Simple pagination for rails controllers
With this release the library has been boiled down to its simplest, most important parts: reading request parameters, adding offset and limit to the query, and decorated the result with pagination helper attributes.
Version 0.2.0
Update the minimum required Rails to 6.1.7.
Version 0.1.8
- change Rails specification to enable new releases
- add
previous_pageto pagination attributes - cap
next_pageat page count, return nil if no next page
Version 0.1.3
Include total_count in response.
Version 0.1.2
Adds attribute total_count. Fixes rounding on total_pages.
Version 0.1.1
Includes fix to total pages.
Next Page
Initial release of gem.