forked from martijnboland/MvcPaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
87 lines (75 loc) · 3.79 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
2.1.2 (2014-11-17)
- Added option UseItemCountAsPageCount to facilitate backends that return the total
number of pages instead of the total number of items.
2.1.1 (2014-07-29)
- Added new options
- DisplayFirstAndLastPage
- SetFirstPageText
- SetFirstPageTitle
- SetLastPageText
- SetLastPageTitle
- SetPreviousPageText
- SetPreviousPageTitle
- SetNextPageText
- SetNextPageTitle
See also https://github.com/martijnboland/MvcPaging/pull/41
2.1.0 (2014-01-22)
- Made Pager and OptionsBuilder Model-aware. This allows for future strongly typed
extensions with lambda's.
- Added AddRouteValueFor<TModel>(expression) method to fluent options interface:
Pager(...).Options(o => o.AddRouteValueFor(m => m.SearchQuery))
See also: https://github.com/martijnboland/MvcPaging/issues/32
2.0.6 (2013-12-12)
- Added Pager properties (PageSize, CurrentPage, PageCount, TotalItemCount) to
PaginationModel to be used in custom display templates.
See also: https://github.com/martijnboland/MvcPaging/issues/28
- The pages spacer (...) is wrapped in a span.
- Fixed issue that occurred with routedata values when array parameters were
non-strings. See https://github.com/martijnbola
2.0.5 (2013-10-17)
- Added AJAX support in DisplayTemplate for Twitter Bootstrap
(https://github.com/martijnboland/MvcPaging/pull/25)
- Introduced spacer link ( [...] between groups of pages) and set IsActive to false
for these links. (https://github.com/martijnboland/MvcPaging/issues/23)
- Added demo page with Bootstrap 3
(https://github.com/martijnboland/MvcPaging/issues/27)
2.0.4 (2013-05-20)
- Support for covariance in IPagedList by inheriting from IEnumerable<T> instead of
IList<T> (https://github.com/martijnboland/MvcPaging/pull/17).
- Small bugfix in Demo project (https://github.com/martijnboland/MvcPaging/pull/18).
- Support for array parameters (https://github.com/martijnboland/MvcPaging/issues/22).
2.0.3 (2012-06-22)
- Fixed issue where setting the Action option would be overridden when also setting
the RouteValues option.
- Added Defaults to PagerOptions class.
- Added PageRouteValueKey option to set the name of the page parameter.
2.0.2 (2012-04-27)
- Added AjaxOptions property to PaginationModel, so the DisplayTemplate option can be
used in Ajax scenarios. Thanks to Raffaele.
- Added AlwaysAddFirstPageNumber configuration option to force the page number to be
set for page 1.
This is for scenarios where omitting the page parameter not automatically defaults
to page 1.
2.0.0 (2012-04-20)
- Refactored and simplified Html.Pager helper. The number of overloads is
drastically reduced. Optional parameters are added via a Fluent interface.
- Introduced PaginationModel and optional DisplayTemplate for more display
flexibility (https://github.com/martijnboland/MvcPaging/pull/6), thanks Rajeesh C V!
- Added MaxNrOfPages option (https://github.com/martijnboland/MvcPaging/pull/4)
- BREAKING CHANGE: Html.Pager overloads with actionName and routeValues have been
removed. Use the Options method:
Html.Pager(pageSize, pageNumber, totalItemCount).Options(o => o.Action("ActionName"))
- BREAKING CHANGE: the Ajax.Pager helper is removed. For AJAX scenarios use the
Html.Pager(pageSize, pageNumber, totalItemCount, ajaxOptions) overload
1.0.3 (2012-03-22)
- Added non-generic IPagedList interface for convenience.
1.0.2 (2011-12-07)
- Added ItemStart and ItemEnd properties to IPagedList
(Displaying items {ItemStart} - {ItemEnd}).
- Non-canonical url's for page 1 (https://github.com/martijnboland/MvcPaging/issues/2).
1.0.1 (2011-08-15)
- Added fix for incorrect URL generation in some scenario's where controller
and/or action are missing in the route values dictionary.
Thanks to John M. Holliday for the fix.
1.0.0 (2011-05-12)
- Initial release of Pager Helper and IPagedList<T> implementation.