mislav / will_paginate
- Source
- Commits
- Network (174)
- Issues (13)
- Downloads (17)
- Wiki (8)
- Graphs
-
Branch:
master
will_paginate / CHANGELOG.rdoc
| 32f5e93a » | mislav | 2008-10-26 | 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 | |||||
| f161d99c » | mislav | 2008-10-07 | 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 | |||||
| dd5cba24 » | mislav | 2008-09-16 | 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 | |||||
| 057b6651 » | mislav | 2008-08-28 | 17 | == 2.3.3, released 2008-08-29 | |
| 853609ce » | mislav | 2008-05-16 | 18 | ||
| 057b6651 » | mislav | 2008-08-28 | 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. | ||||
| 853609ce » | mislav | 2008-05-16 | 23 | ||
| ef38bc83 » | mislav | 2008-05-15 | 24 | == 2.3.2, released 2008-05-16 | |
| c88fdb89 » | mislav | 2008-05-15 | 25 | ||
| ef38bc83 » | mislav | 2008-05-15 | 26 | * Fixed LinkRenderer#stringified_merge by removing "return" from iterator block | |
| c88fdb89 » | mislav | 2008-05-15 | 27 | * Ensure that 'href' values in pagination links are escaped URLs | |
| 28 | |||||
| 2fa688b9 » | mislav | 2008-05-04 | 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 | |||||
| 87d3d8df » | mislav | 2008-04-29 | 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 | |||||
| 3334327b » | mislav | 2008-04-25 | 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 | |||||
| 4d2da569 » | mislav | 2008-04-21 | 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 | |||||
| 5b0e0b8d » | mislav | 2008-04-07 | 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 | |||||
| 4ca58bb6 » | mislav | 2008-04-06 | 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">…</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 | ||||
| 5b0e0b8d » | mislav | 2008-04-07 | 109 | * Rails 2: Rescue from WillPaginate::InvalidPage error with 404 Not Found by | |
| 110 | default | ||||


