Skip to content

v1.2.0

Compare
Choose a tag to compare
@yuki24 yuki24 released this 16 May 16:25
· 197 commits to master since this release

Deprecations:

  • Deprecated current_per_page in favor of limit_value

Enhancements:

  • Added #url_to_next_page and #url_to_prev_page helper methods: 38e95a2
  • Extracted url helper methods and packed them in Kaminari::Helpers::UrlHelper: ff38bee
  • Improved performance of total_count for grouped queries by explicitly giving SQL select clause #979 [@MmKolodziej]
  • Added LIMIT to total_count query when max_pages presents #981 [@rymai]

Bug Fixes:

  • Fixed a bug where the kaminari-mongoid gem was not loaded properly: kaminari/kaminari-mongoid#9 [@DenniJensen]
  • Fixed a bug where the #total_count method incorrectly calculates the total count: #932 [@tumayun]
  • Fixed a bug where empty? breaks subsequent last_page? in without_count mode #1009 [@montdidier]
  • Fixed kwargs warnings on Ruby 2.7 #1010 [@connorshea]