浏览代码

Merge pull request #4856 from wenzhixin/feature/changelog

Feature/changelog
文翼 5 年之前
父节点
当前提交
769de23ec2
共有 3 个文件被更改,包括 66 次插入26 次删除
  1. 61 21
      CHANGELOG.md
  2. 3 3
      site/docs/api/events.md
  3. 2 2
      site/docs/api/table-options.md

+ 61 - 21
CHANGELOG.md

@@ -1,32 +1,72 @@
 ChangeLog
 ---------
 
-### 1.15.6
+### 1.16.0
 
-- **New:** Added `filterControlContainer` option for filter-control extension.
-- **New:** Added `printFormatter` data-attribute supported for print extension.
-- **New:** Added `customSort` option supported for group-by extension.
-- **New:** Added `orderColumns` method for reorder-columns extension.
-- **Remove:** Removed natural-sorting extension.
-- **Update:** Updated event name to lowercase hyphen format for vue component.
+#### Core
+
+- **New:** Added `buttonsOrder` option.
+- **New:** Added `headerStyle` option.
+- **New:** Added `showColumnsSearch` option.
+- **New:** Added `serverSort` option.
+- **New:** Added `unfiltered` parameter for `getData` method.
+- **Update:** Updated `event` name to lowercase hyphen format for vue component.
+- **Update:** Updated `es-AR` locale.
 - **Update:** Improved the `resize` problem with multiple tables.
-- **Update:** Improved `number` type supported for group-by extension.
-- **Update:** Improved to use `undefinedText` option for print extension.
-- **Update:** Fixed `triggerSearch` not work bug.
+- **Update:** Fixed `checkAll` event bug with sortable checkbox field.
+- **Update:** Fixed `checkbox` and not-found td style errors.
+- **Update:** Fixed `customSearch` return empty array bug.
+- **Update:** Fixed column checkboxes not being disabled when using `toggleAll`.
+- **Update:** Fixed `flat` not polyfilled error in vue cli3.
 - **Update:** Fixed `height` and `border` not aligned bug.
-- **Update:** Fixed `sortStable` not work bug.
-- **Update:** Fixed `pageSize` set to all bug with filter.
 - **Update:** Fixed `jqXHR` `undefined` error using custom ajax.
+- **Update:** Fixed `pageSize` set to all bug with filter.
 - **Update:** Fixed `refreshOptions` bug with radio and checkbox.
-- **Update:** Fixed `checkAll` event bug with sortable checkbox field.
-- **Update:** Fixed checkbox and not-found td style errors.
-- **Update:** Fixed `hideUnusedSelectOptions` not work bug for filter-control extension.
-- **Update:** Fixed filter not work bug with `undefined` for filter-control extension.
-- **Update:** Fixed `virtualScroll` option bug with treegrid extension.
-- **Update:** Fixed input keyboard bug for mobile extension.
-- **Update:** Fixed detail view column reorder bug for reorder-columns extension.
-- **Update:** Fixed `flat` not polyfilled error in vue cli3.
-- **Update:** Removed `resetWidth` method and use `resetView` instead.
+- **Update:** Fixed `removeAll` bug in the last page when sidePagination is server.
+- **Update:** Fixed `search` not always trigger in IE11 bug.
+- **Update:** Fixed `search` width `escape` bug.
+- **Update:** Fixed `showFullscreen` bug when setting height.
+- **Update:** Fixed `sort` cannot work after searching.
+- **Update:** Fixed `sortable` style error when using `table-sm`.
+- **Update:** Fixed `sortStable` not work bug.
+- **Update:** Fixed `triggerSearch` not work bug.
+- **Update:** Supported build cross all platforms.
+- **Remove:** Removed `resetWidth` method and use `resetView` instead.
+
+#### Extensions
+
+- **New(cookie):** Added new options to get/set/delete the values by a custom function.
+- **New(cookie):** Added save re-order and resize support.
+- **New(filter-control):** Added `filterControlContainer` option.
+- **New(filter-control):** Added object and function support in `filterData` column option.
+- **New(filter-control):** Added support for using sticky-header extension.
+- **New(group-by):** Added `customSort` option supported.
+- **New(multiple-sort):** Added `multiSortStrictSort` option.
+- **New(multiple-sort):** Added `multiSort` method.
+- **New(print):** Added `printFormatter` data-attribute supported.
+- **New(reorder-columns):** Added `orderColumns` method.
+- **New(reorder-rows):** Added `search` and `cardView` supported.
+- **Update(sticky-header):** Added support for all themes.
+- **Update(cookie):** Fixed cookie localeStorage not work bug with filter-control.
+- **Update(cookie):** Fixed `minimumCountColumns` not working bug.
+- **Update(cookie):** Improved `cookiesEnabled` to support ' in `data-attribute`.
+- **Update(filter-control):** Fixed `hideUnusedSelectOptions` not work bug.
+- **Update(filter-control):** Fixed filter not work bug with `undefined`.
+- **Update(filter-control):** Fixed missing parameter of `resetSearch` and `filterDataType`.
+- **Update(filter-control):** Fixed `search` with filter-control `search` bug.
+- **Update(group-by):** Improved `number` type supported.
+- **Update(group-by):** Fixed new table using modal bug.
+- **Update(mobile):** Fixed input keyboard bug.
+- **Update(multiple-sort):** Fixed not destroy bug.
+- **Update(multiple-sort):** Fixed sort not work with `boolean` bug.
+- **Update(print):** Improved to use `undefinedText` option.
+- **Update(print):** Fixed IE11 not work bug.
+- **Update(reorder-columns):** Fixed detail view column reorder bug.
+- **Update(resizable):** Fixed columns resizing not work bug.
+- **Update(resizable):** Fixed not work via JavaScript.
+- **Update(sticky-header):** Fixed not work bug with fullscreen.
+- **Update(treegrid):** Fixed `virtualScroll` option bug.
+- **Remove:** Removed natural-sorting extension.
 
 ### 1.15.5
 

+ 3 - 3
site/docs/api/events.md

@@ -191,8 +191,8 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
   Fires when remote data is loaded successfully, the parameters contain:
 
   * `data`: the remote data.
-  * `status`: the status code of `jqXHR` (from 1.15.5).
-  * `jqXHR`: jqXHR object, which is a superset of the XMLHTTPRequest object. For more information, see the [jqXHR Type](http://api.jquery.com/Types/#jqXHR) (from 1.15.5).
+  * `status`: the status code of `jqXHR`.
+  * `jqXHR`: jqXHR object, which is a superset of the XMLHTTPRequest object. For more information, see the [jqXHR Type](http://api.jquery.com/Types/#jqXHR).
 
 ## onLoadError
 
@@ -369,7 +369,7 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
 
 - **jQuery Event:** `scroll-body.bs.table`
 
-- **Parameter:**: `$tableBody` (from 1.15.5)
+- **Parameter:**: `$tableBody`
 
 - **Detail:**
 

+ 2 - 2
site/docs/api/table-options.md

@@ -510,7 +510,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
   Before load remote data, handler the response data format, the parameters object contains:
 
   * `res`: the response data.
-  * `jqXHR`: jqXHR object, which is a superset of the XMLHTTPRequest object. For more information, see the [jqXHR Type](http://api.jquery.com/Types/#jqXHR) (from 1.15.5).
+  * `jqXHR`: jqXHR object, which is a superset of the XMLHTTPRequest object. For more information, see the [jqXHR Type](http://api.jquery.com/Types/#jqXHR).
 
 - **Default:** `function(res) { return res }`
 
@@ -1003,7 +1003,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
   * `data`: the table data.
   * `text`: the search text.
-  * `filter`: the filter object from `filterBy` method (from 1.15.4).
+  * `filter`: the filter object from `filterBy` method.
 
   Example usage: