Skip to content

Latest commit

 

History

History
129 lines (78 loc) · 3.72 KB

CHANGELOG.md

File metadata and controls

129 lines (78 loc) · 3.72 KB

Change Log

Version 0.10.10

December 14, 2016

Future Proofing

  • Merge #517 from @christophercr to change the restriction on the mdTableProgress directive from class name to attribute to support newer versions of AngularJS.

Version 0.10.9

April 26, 2016

Bug Fix

  • Removing one time binding from pagination limit options.

Version 0.10.8

April 23, 2016

New Feature

  • You can now map language to limit options using the label and value properties, e.g.

    ctrl.limitOptions = [5, 10, 15, {
      label: 'All',
      value: function () {
        return collection.length;
      }
    }];

Version 0.10.7

April 19, 2016

Bug Fixes

  • Fix bug where pagination page number would disappear.

Version 0.10.6

April 19, 2016

Bug Fixes

  • Fixing bug where changing the orderBy property of a column would add an additional sort icon.

Version 0.10.5

April 9, 2016

Bug Fixes

  • Fixing bug in pagination directive where the number of pages was always equal to the number of rows in the table.

Version 0.10.4

April 5, 2016

Improvements

  • Pagination is now usable on mobile.
  • More safeguards in pagination directive against performing calculations on NaN.

Bug Fixes

  • Fixing issue where errors would be thrown if row selection was not enabled.

Version 0.10.3

April 1, 2016

Bug Fixes

  • The pagination directive will now display 0 - 0 of 0 if the total is zero.

Version 0.10.2

March 30, 2016

Bug Fixes

  • Fixes bug where the select all checkbox would not be added to subsequent tables.

Version 0.10.1

March 27, 2016

New Features

  • Pagination elements may now be disabled with the ng-disabled attribute.

Bug Fixes & Improvements

  • When the total changes, the pagination directive will check if the current page is greater than the total number of pages. If it is greater, the page will be set to the last available page.

Version 0.10.0

March 27, 2016

Breaking Changes

  • Multiple selection must now be enabled with the multiple attribute.

    <table md-table md-row-select multiple ng-model="selected">
  • Unique identifiers must now be a property of the item.

      <!-- use item.id as the unique identifier -->
      <tr md-row md-select="item" md-select-id="id" md-auto-select ng-repeat="item in items">
  • Some folks do not want the pagination limit options to be enabled. To compensate, the pagination limit options must now be enabled with the mdLimitOptions attribute. The mdLimitOptions attribute is a replacement of the mdOptions attribute and the default limit options have been removed.

      <md-table-pagination md-limit-options="[5, 10, 15]">

New Features

  • Single item selection is now possible and enabled by default. Be aware that the ngModel attribute must still be an array; for now.

  • The pagination limit options are now disabled be default.

  • The pagination page selector is now virtualized to improve performance.

Bug Fixes & Improvements

  • Preselected items will now be displayed by the UI. Keep in mind that if preselected items are not strictly equal to items in the table you will need to use the mdSelectId attribute.

  • Changes to the pagination label will now take effect without needing to reload the page.

  • Pagination and reorder callbacks are now deferred until the next digest cycle using Angular Material's $mdUtil.nextTick function to allow 2-way data binding to complete and to avoid confusion. This means your local scope variables will have the same value as the parameters passed to the md-on-reorder and md-on-paginate callbacks.