kaminari--kaminari/CHANGELOG

139 lines
3.4 KiB
Plaintext
Raw Normal View History

2011-02-20 23:24:45 +00:00
== 0.10.1
* Fixed a bug that the whole <nav> section was not rendered in some cases
[GarthSnyder]
2011-02-20 20:38:05 +00:00
== 0.10.0
* Railtie initializer name is "kaminari" from now
* Changed bundler settings to work both on 1.9.2 and 1.8.7 #12 [l15n]
* Fixed bugs encountered when running specs on Ruby 1.9.2 #12 [l15n]
* Clean up documentation (formatting and editing) #12 [l15n]
* Use Proc.new instead of lambda for scoped_options #13 [l15n]
* Use AS hooks for loading AR #14 [hasimo]
* Refactor scope definition with Concerns #15 [l15n]
* Ensure output_buffer is always initialized #11 [kichiro]
2011-02-18 06:36:05 +00:00
== 0.9.13
* Added Mongoid support #5 [juno, hibariya]
This means, Kaminari is now *ORM agnostic* ☇3☇3☇3
2011-02-17 02:53:24 +00:00
== 0.9.12
* Moved the whole pagination logic to the paginator partial so that users can
touch it
Note: You need to update your _paginator.html.* if you've already customized
it. If you haven't overridden _paginator.html.* files, then probably
there're nothing you have to do.
See this commit for the example:
https://github.com/amatsuda/kaminari_themes/commit/2dfb41c
2011-02-16 17:43:05 +00:00
== 0.9.10
* the per() method accepts String, zero and minus value now #7 [koic]
This enables you to do something like this:
Model.page(params[:page]).per(params[:per])
* Added support for Gem Testers (http://gem-testers.org/) #8 [joealba]
2011-02-13 09:46:55 +00:00
== 0.9.9
* :params option for the helper [yomukaku_memo]
You can override each link's url_for option by this option
Example:
= paginate @users, :params => {:controller => 'users', :action => 'index2'}
* refactor tags
2011-02-12 21:27:42 +00:00
== 0.9.8
* I18n for the partials
[:previous, :next, :truncate] are externalized to the I18n resource.
2011-02-12 19:30:47 +00:00
== 0.9.7
* moved template themes to another repo
https://github.com/amatsuda/kaminari_themes
2011-02-11 16:20:48 +00:00
== 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
2011-02-11 11:48:09 +00:00
== 0.9.5
* works on AR 3.0.0 and 3.0.1 now #4 [danillos]
2011-02-11 09:29:38 +00:00
== 0.9.4
* introduced module based tags
As a side effect of this internal change, I have to confess that this
2011-02-11 10:13:02 +00:00
version brings you a slight backward incompatibility on template API.
If you're using custom templates, be sure to update your existing templates.
2011-02-11 09:29:38 +00:00
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
2011-02-10 23:35:21 +00:00
== 0.9.3
* improved template detection logic
When a template for a tag could not be found in the app/views/kaminari/
2011-02-11 09:29:38 +00:00
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.
2011-02-10 23:35:21 +00:00
* simplified bundled template themes
2011-02-09 20:35:56 +00:00
== 0.9.2
* stop adding extra LF between templates when joining
* githubish template theme [maztomo]
2011-02-09 13:06:41 +00:00
== 0.9.1
2011-02-09 15:29:48 +00:00
* googlish template theme [maztomo]
2011-02-09 13:06:41 +00:00
2011-02-08 22:53:45 +00:00
== 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]
2011-02-08 02:58:41 +00:00
== 0.8.0
* using HTML5 <nav> tag rather than <div> for the container tag
2011-02-07 12:18:21 +00:00
== 0.7.0
* Ajaxified paginator templates
2011-02-07 02:34:07 +00:00
== 0.6.0
* Hamlized paginator templates
2011-02-07 02:08:50 +00:00
== 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