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