Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Update react-bootstrap-table to ^4.0.0 - autoclosed #17

Closed
wants to merge 6 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 21, 2018

This Pull Request updates dependency react-bootstrap-table from ^2.11.2 to ^4.0.0

Release Notes

v3.0.0

Bug fixes

  • Fix componentWillMount of expand content not called with pagination(fafc080)
  • Fix Cell edit on key Tab press problems if enable expand row(7320dd4)

Features

  • Support the expand indicator(1c31aab)
  • Support to hide page list if only one page(2da1b85)
    • Use options.hidePageListOnlyOnePage and set true to hide.

Enhancement

  • Fixed no buttons will be displayed on top left when only customized buttons are provided(ad7b80c)
  • Support csvFormatExtraData for csvForamt(4fe30ed)
    • Check this for example
  • Support default tooltip on pagination button and able to customize them(c530474)
    • Check example to learn how to custom tooltip for page list button

v3.1.0

Bug fixes

  • Fix selectRow.hideSelectColumn not working in table header(fcc7c81)
  • Fix an exception if table source data is immutable type(70de237)

Features

  • Able to hide/show toolbar when printing via options.printToolBar(fdb04f8)

v3.1.1

Bug fixes

  • Fix toastr error does not display when editing cell(8407634)
  • Fix noDataText set colSpan more than columns if some column hidden(52206d9)

v3.1.2

Bug fixes

  • Fix bug about != and = are not work well for date filter(14bcfba)
  • Fix an error happen if change sizePerPage then fill date(28561d5)
  • Fix FileSaver.js causes requireJS errors in console(850cdea)

v3.1.3

Bug fixes

  • Fix tab broke if encounter non editable or hidden cell(2f9ed93)
  • Fix unalign issue if table become scrollable then non scrollable(af8b3c3)

Enhancement

  • selectRow.bgColor now support a callback function for more flexible bgColor setting(136dec9)
     bgColor: function(row, isSelect) {
      if (isSelect) {
        const { id } = row;
        if (id < 2) return 'blue';
        else if (id < 4) return 'red';
        else return 'yellow';
      }
      return null;
    }

v3.1.4

Bug fixes

  • Fix tab broke if encounter non editable or hidden cell(ca7a9dd)
  • Avoid the horizontal scrollbar appear when resize the window

v3.1.5

Bug fixes

  • Fixed wrong z-index for insert modal and mask(91b4dca)
  • Fixed keyboard navigation does not work if selectRow.hideSelectColumn is true(e8c25fd)

Enhancement

  • Support editable.readOnly for TableHeaderColumn, which is helpful if you want this field can be edited on insert but not on cell editing(8729faf)

v3.1.6

Bug fixes

  • Fixed headerText is not display well(14fc9b7)
  • Fixed bug if update options.expanding is not work(6f0b5fb)

Enhancement

  • Improve the performance of select all functionality(3b67e19)
  • Support keyValidator on TableHeader to tell react-bootstrap-table to push the error message in validateState if rowkey not valid(892c504)
    • It's only work for rowKey column
    • Default is false, react-bootstrap-table only show a toastr to nofity user that rowkey is not valid.

v3.1.7

Bug fixes

  • Fix wrong page jumping after search, filter etc.(b686d1a)

Enhancement

  • Add class name react-bs-table-sizePerPage-dropdown for sizePerPage dropdown(da82469)

v3.1.8

Enhancement

  • Now, we are able to custom the field in insert modal(8b66a74)

Features

  • Support conjunction search(246a7fa)
  • Allow to expand only one row at a time(c4c1b7f)
    • configure via options.onlyOneExpanding and assign true

v3.2.0

Bug fixes

  • Fixed search and pagination not working together(5a533cf)
    • It's a very critical bug since from v3.1.8

v3.2.1

Bug fixes

  • Fix validation is ignored when tab out of a cell to the next cell(1a6ca0a)

Enhancement

  • Able to remove the empty option on select and number filter(61a2d8c)
    • Use filter.withoutEmptyOption on TableHeaderColumn for select filter.
    • Use filter.withoutEmptyNumberOption on TableHeaderColumn for number filter.
    • Use filter.withoutEmptyComparatorOption on TableHeaderColumn for number filter.

Features

  • Support defaultASC on TableHeaderColumn for specifing ASC order when sorting on column first time(fec241d)

v3.2.2

Bug fixes

  • Fix default sort does not work for remote mode(a15c492)
  • Fix false is transfer to be empty string on cell editing(e840849)

Enhancement

  • Avoid to rerender select filter everytime(5b14252)
  • restrict border & border-radius to bordered tables(8e446f3)
  • Better margin for table, pagination, toolbar(a5be737)

v3.3.0

Features

  • Allow to unselect all only for visible rows(filter, search)b15475a
    • #1276
    • Enable selectRow.onlyUnselectVisible to have this feature

Enhancement

  • cellEdit.beforeSaveCell pass fourth argument done, call it and return a bool value for performing validation in asyncf620b19
    • check description
    • If your validation is async or there's a delay for user operation, use this feature.
  • Suppoer options.keepSizePerPageState, enable it will make size per page dropdown keep open if table rerender automatically without any user action5234375

v3.3.1

Bug fixes

  • Fixed bug about options.keepSizePerPageState(e226764)
  • Fixed a delete row bug when options.pageStartIndex is 0(161eb0c)

v3.3.2

Bug fixes

  • Avoid to throw error when onfocus function is not implement on custom cell editor(7104c6b)
  • Fixed press ESC to leave the cell editing broken since from v3.3.1(283508)

v3.3.3

Bug fiexs

  • Fix afterSearch and afterColumnFilter doesn't be called when table rerender(24e5b66)

Enhancement

  • Able to clean sorted table(261c6ea)

    • Please check this example
  • Able to configure the text and value of select option in cell editing or insert modal(face547)

    • Please check this example
    • It's only for the case of editable.type is select
    • Releated issues: #1031 and #243

v3.3.4

Bug fixes

  • Fix editable.type will be ignore if is not textarea, select, checkbox, and datetime(e3f87e0)

Enhancement

  • Able to set the default value for field in insert model easily(5bd62b4)
    • Use editable.defaultValue
  • Support options.onExpand and accept a function which will be called when expand/collapse happen(f54ebc3)
  • Allow selectRow.className to accept a function for a easy customization reason(440d376)
  • Able to apply custom style on filter(1e8f1f9)

v3.3.5

Bug fixes

  • Fixed ExpandComponent.js:47 Uncaught TypeError: Cannot read property 'className' of undefined(5618342)

v3.3.6

Enhancement

  • Allow conditionally specify columns(9b748df)
  • #1319(338424f)
  • Allow date filter to filter string value, react-bootstrap-table will convert string to Date(63a022a)

v3.3.7

Bug fixes

  • currSizePerPage should be string(6c6185d)

Enhancement

  • allow options.prePage, options.nextPage, options.firstPage and options.lastPage to accept any type(a2ab8fb)

v3.3.8

Bug fixes

  • Fixed TypeError: this.props.children.filter is not a function(80fb5a6)

v3.3.9

Bug fixes

  • Fixed column width does not work when header grouping(4b1e11e)
  • Fixed wrong column to expand when selectRow.hideSelectColumn as ture and expand={false} on TableHeaderColumn(74e37d3)

Enhancement

  • Support to configure the class for expand row and body(2115389)

Feature

  • Support to press ENTER to expand/collapse row when keyboard navigation is enable(115495d)
    • Enable keyBoardNav.enterToExpand
    • Check example

v3.4.0

Bug fixes

  • If a key is 0, it's regarded as invalid in TableStore.js(e00a515)

Enhancement

  • options.onRowClick have the second arguments: columnIndex(cf6571f)
  • options.onAddRow now support to sync/async way to tell react-bootstrap-table if a error in options.onAddRow(a2a5555)
  • Use setState as functional instead of object(b9b5b26)

Feature

  • Able to custom the separate for exporting CSV file(1c9e2c5)
    • Using options.exportCSVSeparator

v3.4.1

Bug fixes

  • Cannot read property 'sortFunc' of undefined when conditionally rendering different tables(1418)
    • From this version, we support replace props on BootstrapTable, you can configure as true if your need to rerender a totally different table so that
      react-bootstrap-table will not update table state according to previous and next props.
  • Header Group broken when Row Expand Indicator is enabled(2cf11ec)

Enhancement

  • options.onDeleteRow and options.afterDeleteRow allow to accept second argument which is the all delete rows instances(29064ff)
  • options.expandBodyClass allow to accept third argument which is a flag for is expanding or not(85eeeb5)

v3.4.2

Bug fixes

  • Fixed wrong colspan when table was empty and enable expandColumnOptions.expandColumnVisible(624764c)
  • Fix 'undefined is not an object' when running in a headless browser(a06cd6a)

Enhancement

  • Able to disable BOM header for CSV via options.noAutoBOM(340dc8d)
  • Able to exclude header for CSV via options.excludeCSVHeader(16ba815)

v3.4.3

Bug fixes

  • Pass row object as second argument for editable.validator when calling by insert row(5ede872)
  • Fix text filter is not updated when rerender(298e971)
  • Fix wrong colspan on a empty table when hide seleciton column(62ceb31)

Enhancement


v3.4.4

Bug fixes

Enhancement

  • Pass rowIndex as third argument for options.onRowClick(4b5ba03)

Features

  • Able to disable the tabIndex via withoutTabIndex on BootstrapTable(ce6f744)

v3.4.5

Bug fixes

  • Fix wrong cell edit if have multiple table but share same cellEdit props8954de6

Enhancement

  • Allow to configure td style via trStyle on BootstrapTable(5999c48)

v3.4.6

Bug fixes

Enhancement


v3.5.0

Bug fixes


v3.5.1

Bug fixes

  • Fix validation called twice when press tab to leave the cell editor(5532b98)

Enhancement

  • Fixed hard coded warning when insert fails(28b3ea3)
    • Use options.insertFailIndicator to custom the error indicator.
  • Fixed 'Show All/Show selected only' �is display in contrast(db1f8e7)
  • Use prop-types
  • Use editTdAttr on TableHeaderColumn to custom the attributes on the column(TD) of cell editor(42e84b7)
  • Support dynamic options list for dropdown in cell editor(62b928a)
    • editable.options.values on TableHeaderColumn can accept an array or function now.

Features

  • Support bootstrap@4 and bootstrap@3, if you use 4, please add version='4' on <BootstrapTable>.

v4.0.0

Bug fixes

  • Fix wrong data population when drop rows in a table which enable pagination(87484cc)

v4.0.1

Bug fixes

  • Fix the expandable broken on custom column when expandBy is column(1be402e)

Enhancement

  • Able to configure the position of ToolBar(29bbecc)
    • Configure the position viaoptions.toolbarPosition, available value is top, bottom and both.
  • Custom the column title(cd93a3f)
    • Configure columnTitle on TableHeaderColumn, which accept a function and take cell and row as arguments
    • Check this example
  • Add quotation marks to header cells on CSV file(55de1d6)

v4.0.2

Bug fixes

  • placeholder-selected in filters/Select.js is not handled correctly(1bba1aa)

Enhancement

  • Setting environment to production(a7ff05c)
  • Pass rowIndex and columnIndex as third and fourth arguments for columnTitle callback function(99f56a0)

v4.0.3

Bug fixes

  • Fix BootstrapTable.reset method doesn't clean the cell editing state(f3466be)
  • Fix search result is reset when a rerender with only enable remote.cellEdit(8ba60d8)
  • columnClassName get render on colgroup even if it is function(031a99d)

Enhancement

  • Able to styling the header column when sorting(7960b3f)
  • Trying to fixing encoding issue when opening CSV file with Excel(c05679c)

v4.0.5

Bug fixes

  • Fixed TypeError: Cannot read property 'emitter' of undefined(55a7e09)

Enhancement

  • Treat undefined same as null when sorting(5b58195)

Features

  • Support cellEdit.bulrToEscape, default is false(88571ac)

v4.0.6

Bug fixes

  • Fixed options.afterDeleteRow be called without checking existing(9f64cdf)
  • Fixed table-condensed should be table-sm on bootstrap@4(137a6b2)
  • Update React Peer Dependency(9032174)
  • Upgrade react-modal to 3.0.3 due to react@16.0.0 issue(f2c0ee8)
  • Fixed Cannot read property 'type' of undefined(9049073)
  • Fixed Failed prop type: Invalid prop columnName of type array supplied to TextFilter, expected string(c272b97)

Enhancement

  • The tdStyle prop now allow to accept a callback function(6acf5c1)

v4.1.0

Bug fixes

  • Fixed edit cell that has no data IE 11 fails with error code 800a025e(17be157)
  • Fixed sizePerPage drop down requires double click(9c0332a)
  • Fixed remote is enable and a sorted table is reset when state update(5a70141)

v4.1.1

Bug fixes

  • Fixed data get sorted locally even with remote sorting(509e31a,0d57d95)

v4.1.3

Bug fixes

  • Fixed the sort status doesn't updated internally when remote sort enable(06b3560)

Enhancements

  • beforeSaveCell and afterSaveCell will pass additional information on last one argument(db634db)

Features

  • Support press ENTER to select row when enable keyboard navigation(b52e065)
    • Check this example

v4.1.5

Bug fixes

  • Fix bug about text filter for null value(a9eb1d0)
  • Fix expandParentClass option concat classNames(64915a0)

Enhancements

  • No String ref(7c18851)
  • Support renderAlert to specified if render the react-s-alert(ed57ab4)
  • The event object will be pass at least argument for options.onExpand, options.onRowClick and options.onRowDoubleClick(64915a0)

v4.2.0

Bug fixes

  • Fixed passing wrong key for custom prePage, nextPage, firstPage and lastPage(02363a9)

Enhancements

  • Upgrade react-modal to 3.1.7

Features


v4.3.0

Bug fixes

  • Fixed sizePerPage dropdown broken on bootstrap@4.0.0-beta.2(8b28c4b)
  • Fixed Cannot read property 'type' of null Error in TableHeaderColumns when having dynamic columns(1741487)

Enhancement

  • if options.hideSizePerPage is true, will not render dropdown anymore instead of hidden(ea89bf8)

v4.3.1

Bug fixes

  • Fixed sizePerPage dropdown broken on bootstrap@4.0.0-beta.2(8b28c4b)
  • Fixed Cannot read property 'type' of null Error in TableHeaderColumns when having dynamic columns(1741487)

Enhancement

  • if options.hideSizePerPage is true, will not render dropdown anymore instead of hidden(ea89bf8)

Commits

v4.1.0

v4.1.1

v4.1.2

v4.1.3

v4.1.4

v4.1.5

v4.2.0

v4.3.0

v4.3.1


This PR has been generated by Renovate Bot.

@renovate
Copy link
Author

renovate bot commented Mar 21, 2018

PR has been edited

As this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it.

@renovate renovate bot changed the title Update dependency react-bootstrap-table to ^4.0.0 Update react-bootstrap-table to ^4.0.0 Apr 17, 2018
@renovate renovate bot changed the title Update react-bootstrap-table to ^4.0.0 Update react-bootstrap-table to ^4.0.0 - autoclosed May 10, 2018
@renovate renovate bot closed this May 10, 2018
@renovate renovate bot deleted the renovate/react-bootstrap-table-4.x branch May 10, 2018 04:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants