will_paginate 3.2.0
-
Performance: avoid extending Numeric with PageNumber logic
BREAKING:
Integer === page_number
is no longer true. -
Make pagination markup more accessible:
- container div now has
role="navigation"
; - container div now has
aria-label="Pagination"
, translatable viawill_paginate.container_aria_label
i18n key; - individual page links now have
aria-label="Page {N}"
, translatable viawill_paginate.page_aria_label
i18n key; - current page now has
aria-current="page"
.
- container div now has
-
Add support for
will_paginate
view helpers in Hanami View -
Add
total_entries
support for Mongoid -
Rails: avoid circular require warning
-
Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions