Skip to content

HTTPS clone URL

Subversion checkout URL

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