Skip to content

Releases: RockSolt/next_page

Release 1.1.0: Validate Query Parameters

01 Apr 01:00
608ebbd

Choose a tag to compare

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

23 Apr 18:10
c8ad414

Choose a tag to compare

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

21 Jan 21:28

Choose a tag to compare

Update the minimum required Rails to 6.1.7.

Version 0.1.8

04 Feb 00:46

Choose a tag to compare

  • change Rails specification to enable new releases
  • add previous_page to pagination attributes
  • cap next_page at page count, return nil if no next page

Version 0.1.3

05 May 16:49

Choose a tag to compare

Include total_count in response.

Version 0.1.2

05 May 14:58

Choose a tag to compare

Adds attribute total_count. Fixes rounding on total_pages.

Version 0.1.1

04 May 04:29

Choose a tag to compare

Includes fix to total pages.

Next Page

03 May 22:19

Choose a tag to compare

Initial release of gem.