Browse Source

Update to version 1.20.0

zhixin 3 years ago
parent
commit
90f39a5876
8 changed files with 74 additions and 6 deletions
  1. 33 0
      CHANGELOG.md
  2. 1 1
      _config.yml
  3. 1 1
      bootstrap-table.jquery.json
  4. 1 1
      package.json
  5. 35 0
      site/news.md
  6. 1 1
      src/bootstrap-table.js
  7. 1 1
      src/bootstrap-table.scss
  8. 1 1
      src/constants/index.js

+ 33 - 0
CHANGELOG.md

@@ -1,6 +1,39 @@
 ChangeLog
 ---------
 
+### 1.20.0
+
+#### Core
+
+- **New:** Used `bootstrap5` as the default theme.
+- **New:** Added column-switch-all event of toggle all columns.
+- **New:** Added hi-IN and lb-LU locales.
+- **Update:** Fixed the toolbar cannot refresh search bug.
+- **Update:** Fixed the card view align style bug.
+- **Update:** Fixed custom search filter bug if the value is Object.
+- **Update:** Fixed table border displays bug when setting height.
+- **Update:** Fixed error when the column events are undefined.
+- **Update:** Fixed escape column option doesn't override table option bug.
+- **Update:** Fixed toggle all columns error when column switchable is false.
+- **Update:** Fixed check if the column is visible on card view.
+- **Update:** Fixed hide loading bug when canceling the request.
+- **Update:** Fixed default value of `clickToSelect` column option.
+- **Update:** Fixed `onVirtualScroll` not define default method.
+- **Update:** Updated cs-CZ, ko-KR, nl-NL, nl-BE, bg-BG, fr-LU locales.
+
+##### Extensions
+
+- **New(filter-control):** New version of filter-control with new features.
+- **New(reorder-rows):**: Added `onAllowDrop` and `onDragStop` options.
+- **Update(cookie):** Fixed `sortName` and `sortOrder` bug with cookie.
+- **Update(cookie):** Fixed the toggle column bug with the cookie.
+- **Update(export):** Fixed selector error if only one export type is defined.
+- **Update(filter-control):** Fixed new input class `form-select` of bootstrap 5.
+- **Update(multiple-sort):** Fixed the modal cannot close after sorting.
+- **Update(print):** Fixed missing print button for bootstrap 5.
+- **Update(print):** Fixed `printPageBuilder` option cannot define in html attribute.
+- **Update(toolbar):** Fixed toolbar extension modal bug with bootstrap 5.
+
 ### 1.19.1
 
 #### Core

+ 1 - 1
_config.yml

@@ -27,7 +27,7 @@ algolia:
   index_name:     bootstrap-table
 
 # Custom variables
-current_version:  1.19.1
+current_version:  1.20.0
 title:            "Bootstrap Table"
 description:      "An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)"
 authors:          "Zhixin Wen, and Bootstrap Table contributors"

+ 1 - 1
bootstrap-table.jquery.json

@@ -1,6 +1,6 @@
 {
   "name": "bootstrap-table",
-  "version": "1.19.1",
+  "version": "1.20.0",
   "title": "Bootstrap Table",
   "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)",
   "author": {

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-table",
   "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)",
-  "version": "1.19.1",
+  "version": "1.20.0",
   "style": "dist/bootstrap-table.min.css",
   "sass": "src/bootstrap-table.scss",
   "main": "dist/bootstrap-table.min.js",

+ 35 - 0
site/news.md

@@ -4,6 +4,41 @@ title: News
 description: News and announcements for all things Bootstrap Table, including new releases.
 ---
 
+## Bootstrap Table 1.20.0
+
+<span class="post-date">25 Apr 2022</span>
+
+#### Core
+
+- **New:** Used `bootstrap5` as the default theme.
+- **New:** Added column-switch-all event of toggle all columns.
+- **New:** Added hi-IN and lb-LU locales.
+- **Update:** Fixed the toolbar cannot refresh search bug.
+- **Update:** Fixed the card view align style bug.
+- **Update:** Fixed custom search filter bug if the value is Object.
+- **Update:** Fixed table border displays bug when setting height.
+- **Update:** Fixed error when the column events are undefined.
+- **Update:** Fixed escape column option doesn't override table option bug.
+- **Update:** Fixed toggle all columns error when column switchable is false.
+- **Update:** Fixed check if the column is visible on card view.
+- **Update:** Fixed hide loading bug when canceling the request.
+- **Update:** Fixed default value of `clickToSelect` column option.
+- **Update:** Fixed `onVirtualScroll` not define default method.
+- **Update:** Updated cs-CZ, ko-KR, nl-NL, nl-BE, bg-BG, fr-LU locales.
+
+##### Extensions
+
+- **New(filter-control):** New version of filter-control with new features.
+- **New(reorder-rows):**: Added `onAllowDrop` and `onDragStop` options.
+- **Update(cookie):** Fixed `sortName` and `sortOrder` bug with cookie.
+- **Update(cookie):** Fixed the toggle column bug with the cookie.
+- **Update(export):** Fixed selector error if only one export type is defined.
+- **Update(filter-control):** Fixed new input class `form-select` of bootstrap 5.
+- **Update(multiple-sort):** Fixed the modal cannot close after sorting.
+- **Update(print):** Fixed missing print button for bootstrap 5.
+- **Update(print):** Fixed `printPageBuilder` option cannot define in html attribute.
+- **Update(toolbar):** Fixed toolbar extension modal bug with bootstrap 5.
+
 ## Bootstrap Table 1.19.1
 
 <span class="post-date">12 Nov 2021</span>

+ 1 - 1
src/bootstrap-table.js

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.19.1
+ * version: 1.20.0
  * https://github.com/wenzhixin/bootstrap-table/
  */
 

+ 1 - 1
src/bootstrap-table.scss

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.19.1
+ * version: 1.20.0
  * https://github.com/wenzhixin/bootstrap-table/
  */
 

+ 1 - 1
src/constants/index.js

@@ -1,7 +1,7 @@
 /* eslint-disable no-unused-vars */
 import Utils from '../utils/index.js'
 
-const VERSION = '1.19.1'
+const VERSION = '1.20.0'
 
 const bootstrapVersion = Utils.getBootstrapVersion()