Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 95 lines (70 sloc) 3.893 kb
057b665 @mislav release 2.3.3
authored
1 == 2.3.3, released 2008-08-29
853609c @mislav CHANGELOG and bump up the tiny version number to 2.3.3
authored
2
057b665 @mislav release 2.3.3
authored
3 * Ensure that paginate_by_sql doesn't change the original SQL query.
4 * RDoc love (now live at http://mislav.caboo.se/static/will_paginate/doc/)
5 * Rename :prev_label to :previous_label for consistency. old name still functions but is deprecated
6 * ActiveRecord 2.1: Remove :include option from count_all query when it's possible.
853609c @mislav CHANGELOG and bump up the tiny version number to 2.3.3
authored
7
ef38bc8 @mislav release 2.3.2 bugfix version
authored
8 == 2.3.2, released 2008-05-16
c88fdb8 @mislav don't recommend adding gems.github.com to gem sources anymore
authored
9
ef38bc8 @mislav release 2.3.2 bugfix version
authored
10 * Fixed LinkRenderer#stringified_merge by removing "return" from iterator block
c88fdb8 @mislav don't recommend adding gems.github.com to gem sources anymore
authored
11 * Ensure that 'href' values in pagination links are escaped URLs
12
2fa688b @mislav v2.3.1, bugfix release
authored
13 == 2.3.1, released 2008-05-04
14
15 * Fixed page numbers not showing with custom routes and implicit first page
16 * Try to use Hanna for documentation (falls back to default RDoc template if not)
17
87d3d8d @mislav release 2.3.0
authored
18 == 2.3.0, released 2008-04-29
19
20 * Changed LinkRenderer to receive collection, options and reference to view template NOT in
21 constructor, but with the #prepare method. This is a step towards supporting passing of
22 LinkRenderer (or subclass) instances that may be preconfigured in some way
23 * LinkRenderer now has #page_link and #page_span methods for easier customization of output in
24 subclasses
25 * Changed page_entries_info() method to adjust its output according to humanized class name of
26 collection items. Override this with :entry_name parameter (singular).
27
28 page_entries_info(@posts)
29 #-> "Displaying all 12 posts"
30 page_entries_info(@posts, :entry_name => 'item')
31 #-> "Displaying all 12 items"
32
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
33 == 2.2.3, released 2008-04-26
34
35 * will_paginate gem is no longer published on RubyForge, but on
36 gems.github.com:
37
38 gem sources -a http://gems.github.com/ (you only need to do this once)
39 gem install mislav-will_paginate
40
41 * extract reusable pagination testing stuff into WillPaginate::View
42 * rethink the page URL construction mechanizm to be more bulletproof when
43 combined with custom routing for page parameter
44 * test that anchor parameter can be used in pagination links
45
4d2da56 @mislav Add support for page parameter in custom routes like "/foo/page/2"
authored
46 == 2.2.2, released 2008-04-21
47
48 * Add support for page parameter in custom routes like "/foo/page/2"
49 * Change output of "page_entries_info" on single-page collection and erraneous
50 output with empty collection as reported by Tim Chater
51
5b0e0b8 @mislav bump to 2.2.1 and release
authored
52 == 2.2.1, released 2008-04-08
53
54 * take less risky path when monkeypatching named_scope; fix that it no longer
55 requires ActiveRecord::VERSION
56 * use strings in "respond_to?" calls to work around a bug in acts_as_ferret
57 stable (ugh)
58 * add rake release task
59
60
4ca58bb @mislav add CHANGELOG covering the 2.2.0 release
authored
61 == 2.2.0, released 2008-04-07
62
63 === API changes
64 * Rename WillPaginate::Collection#page_count to "total_pages" for consistency.
65 If you implemented this interface, change your implementation accordingly.
66 * Remove old, deprecated style of calling Array#paginate as "paginate(page,
67 per_page)". If you want to specify :page, :per_page or :total_entries, use a
68 parameter hash.
69 * Rename LinkRenderer#url_options to "url_for" and drastically optimize it
70
71 === View changes
72 * Added "prev_page" and "next_page" CSS classes on previous/next page buttons
73 * Add examples of pagination links styling in "examples/index.html"
74 * Change gap in pagination links from "..." to
75 "<span class="gap">&hellip;</span>".
76 * Add "paginated_section", a block helper that renders pagination both above and
77 below content in the block
78 * Add rel="prev|next|start" to page links
79
80 === Other
81
82 * Add ability to opt-in for Rails 2.1 feature "named_scope" by calling
83 WillPaginate.enable_named_scope (tested in Rails 1.2.6 and 2.0.2)
84 * Support complex page parameters like "developers[page]"
85 * Move Array#paginate definition to will_paginate/array.rb. You can now easily
86 use pagination on arrays outside of Rails:
87
88 gem 'will_paginate'
89 require 'will_paginate/array'
90
91 * Add "paginated_each" method for iterating through every record by loading only
92 one page of records at the time
5b0e0b8 @mislav bump to 2.2.1 and release
authored
93 * Rails 2: Rescue from WillPaginate::InvalidPage error with 404 Not Found by
94 default
Something went wrong with that request. Please try again.