Skip to content

will_paginate 3.2.0

Compare
Choose a tag to compare
@mislav mislav released this 09 Oct 00:42
· 75 commits to master since this release
  • 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 via will_paginate.container_aria_label i18n key;
    • individual page links now have aria-label="Page {N}", translatable via will_paginate.page_aria_label i18n key;
    • current page now has aria-current="page".
  • 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