mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
85 lines
1.8 KiB
Text
85 lines
1.8 KiB
Text
== 0.9.7
|
|
|
|
* moved template themes to another repo
|
|
https://github.com/amatsuda/kaminari_themes
|
|
|
|
== 0.9.6
|
|
|
|
* added paginates_per method for setting default per_page value for each model
|
|
in a declarative way
|
|
Example:
|
|
class Article < ActiveRecord::Base
|
|
paginates_per 10
|
|
end
|
|
|
|
== 0.9.5
|
|
|
|
* works on AR 3.0.0 and 3.0.1 now #4 [danillos]
|
|
|
|
== 0.9.4
|
|
|
|
* introduced module based tags
|
|
As a side effect of this internal change, I have to confess that this
|
|
version brings you a slight backward incompatibility on template API.
|
|
If you're using custom templates, be sure to update your existing templates.
|
|
To catch up the new API, you need to update %w[next_url prev_url page_url]
|
|
local variables to simple 'url' like this.
|
|
https://github.com/amatsuda/kaminari/commit/da88729
|
|
|
|
== 0.9.3
|
|
|
|
* improved template detection logic
|
|
When a template for a tag could not be found in the app/views/kaminari/
|
|
directory, it searches the tag's ancestor template files before falling back
|
|
to engine's default template. This may help keeping your custom templates DRY.
|
|
|
|
* simplified bundled template themes
|
|
|
|
== 0.9.2
|
|
|
|
* stop adding extra LF between templates when joining
|
|
|
|
* githubish template theme [maztomo]
|
|
|
|
== 0.9.1
|
|
|
|
* googlish template theme [maztomo]
|
|
|
|
== 0.9.0
|
|
|
|
* added "per_page" to the template local variables #3 [hsbt]
|
|
|
|
* show no contents when the current page is the only page (in other words,
|
|
num_pages == 1) #2 [hsbt]
|
|
|
|
== 0.8.0
|
|
|
|
* using HTML5 <nav> tag rather than <div> for the container tag
|
|
|
|
== 0.7.0
|
|
|
|
* Ajaxified paginator templates
|
|
|
|
== 0.6.0
|
|
|
|
* Hamlized paginator templates
|
|
|
|
== 0.5.0
|
|
|
|
* reset content_for :kaminari_paginator_tags before rendering #1 [hsbt]
|
|
|
|
== 0.4.0
|
|
|
|
* partialize the outer div
|
|
|
|
== 0.3.0
|
|
|
|
* suppress logging when rendering each partial
|
|
|
|
== 0.2.0
|
|
|
|
* default PER_PAGE to 25 [hsbt]
|
|
|
|
== 0.1.0
|
|
|
|
* First release
|