Update dependency tabulator-tables to v5 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
tabulator-tables (source) | dependencies | major | ^4.8.4 -> ^5.0.0 |
Release Notes
olifolkerd/tabulator
v5.1.7
- Ensure horizontal virtual DOM renderer visible row cache is cleared on data refresh
v5.1.6
- Improved menu positioning when overflowing on statically positioned body element
- Fixed issue with horizontal virtual renderer headers breaking alignment when table scrolled fast right then slowly left
- Efficiency improvements to the horizontal virtual renderer
v5.1.5
- The horizontal virtual dom renderer now correctly handles 'fitDataFill' and 'fitDataStretch' layout modes
- The horizontal virtual dom renderer now has an adaptive buffer window to allow columns of any size to render correctly, this prevents columns with a width wider than the table from corrupting the table view
- Pagination counters now receive the number of actual data rows on display, it now excludes group and column calculation rows.
v5.1.4
- Fixed layout issue with external footer elements since last update
- Fixed issue with pagination page buttons not displaying in footer when bottom column calculations are in use
- The
rows
page counter now correctly handles empty tables - added an
aria-label
to the checkbox in therowSelection
formatter - Fixed console error when using
groupContextMenu
option - When exporting a table to HTML, the cell styles will now be cloned from the matching column and include text alignment
- The
data
option only has its references cleared if it is a type of array - The
rowSelectionChanged
event is no longer triggered if table selection is cleared when no rows are selected - Row internal initialization state is now set before the horizontal renderer is triggered
- Horizontal virtual dom now correctly calculates column widths when in
fitData
layout mode - Focusing in a header filter when scroled to the far right of the table will no longer break alter the horizontal scroll position of the table
- Improve efficency of frozen column calculations
v5.1.3
- Fix issue with column group headers triggering a console error when redrawn in classic render mode
- Fixed issue with double initialization of
FooterManager
- Fixed regression in last release, prevening use of the
footerElement
option while pagination is enabled - Replaced use of deprecated
substr
functionality withslice
- Improved webpack tree shaking config to prevent removal of stylesheets
- Added new
layout-refreshing
internal event to allow tracking of layout process - Fixed multiple calls of frozen columns module
layout
function when redrawing table - Using a combination of
fitDataFill
layout mode and a frozen right column, no longer displayes an unneeded horizontal scroll bar - The
rowSelection
formater will now correctly handle uses of thectrl
andshift
keys when theselectableRangeMode
option is set toclick
- Fixed column calculation issue when
groupBy
,dataTree
,dataTreeStartExpanded
anddataTreeChildColumnCalcs
options used togeather. - The
columnResized
event is now only fired if the width of a column actually changes, simply clicking on the resize handle without moving will not fire the event. - When a column is resized to fit its data by double clicking on the resize handle, the
columnResized
event is now triggered after the recalculation of the columns width
v5.1.2
- Fixed issue with placeholder text not clearing after ajax load afte table has been resized
- The
paginationAddRow
option now works correctly when set to a value oftable
- Added module initialization order prop to allow modules to initialize in the correct order
- Restoed functionality to the
sort
,filter
andpage
persistence modes - Column headers with no title are now correctly rendered as empty in the print output
- The
rownum
formatter will only display a value in rows in the table, not in calc rows etc - When using
responsiveCollapse
column header titles are now displayed as HTML rather than plain text
v5.1.1
- Removed unnecessary console logging.
- Fixed issue with
GroupComponent
function bindings - Fixed issue with progressive scroll attempting to load data beyond final page when initializeing if all data has been loaded and the table viewport is still not full.
- Fixed double firing of internal
row-added
event. - Adding rows to the table when using column calculations and data trees no longer throws an exception
- The
getRows
function no longer returns calc rows when passed thevisible
argument - The value of a the currently editied cell is now saved before creation of a new row when using
tabEndNewRow
- Fix error with
getParentColumn
function always returning false - Collapsed data is now correctly shown when
responsiveLayout
is set tocollapse
and theresponsiveLayout
formatter is in use - Interaction events in nested tables no longer trigger console errors
- Fixed footer layout issues when using pagination and bottom calculations
- Sorting of data should no longer alter table vertical scroll position
- Fixed typo in
data-refreshing
internal event name - The placeholder text now remains horizontally centered in the table viewport at all times, and the text wraps if it does not fit in the available space
v5.1.0
There are a large number of updates to Tabulator in this release, Checkout the Release Notes for full details
v5.0.10
- Fixed browser freeze when
responsiveLayout
is set tocollapse
- Cell edit validation error borders are now correctly removed when cell a edit is cancelled
- Fixed regression in horizontal virtual DOM renderer that was causing columns to build up and corrupt the display
- The table can now handle large number of rows (>700,000) without throwing a "Maximum call stack size exceeded" error
- Frozen columns in calculation rows are now correctly aligned when row grouping is enabled
- The interaction monitor has been optimized
v5.0.9
- Column header tooltip no longer defaults to
tooltip
option ifheaderTooltip
not set - Fixed issue with params specified in the
setData
function not being passed to a request ifajaxParams
option not set - Fixed margin issues with data tree elements on redraw
- Data tree module now waits for columns to be loaded into the table before calculating the first column
- Data tree elements are now correctly regenerated when a cell value is changed
- The interaction monitor now correctly clears event listeners when the table is destroyed
- The interaction monitor now correctly handles
mouseenter
andmouseleave
events - The interaction monitor now correctly handles events generated on calculation rows
- The
scrollToRowPosition
function now resolves if the row is already visible - Pagination console warning about missing response params, now pull their contents from the correct table options
- The header sorter arrow is now correctly aligned in RTL mode
- The
VerticalVirtualDOM
renderer no longer clears the minWidth of the table element on redraw - Bulk select/deselect of rows now triggers the
rowSelected
orrowDeselected
events for each affected row, then triggers therowSelectionChanged
once when all selections have been changed -
XLSX
downloads now only contain merged cell data if the table contains merged cells -
PDF
downloader now correctly handles grouped column headers - Optimised the
getElement
function on theGroup
component, to prevent unnecessary regeneration of the component on every call.
v5.0.8
- Table now correctly maintains horizontal scroll position when header sort is triggered
- Table now correctly maintains horizontal scroll position when header filter is triggered
- Rows are now dethatched from groups when table is wiped, preventing console error messaging
- The
movableColumns
table option now correctly respects its default value - Luxon based formatters now cast values to strings to allow correct format processing without errors
- Luxon based sorters now cast values to strings to allow correct format processing without errors
- Selectable Row persistence on sort/filter is now correctly enabled by default
- The interaction monitor now correctly handles mouse events on the table when the table is created from an HTML
table
element - The GroupRow module now reinitializes when the
setGroupBy
function is called - Column header
hr
tags are now correctly parsed fortabulator-
prefixed attributes when loading table from HTMLtable
element - Exception no longer thrown when calling
updateRow
function - Option chaining has been removed from the code base to improve ESM importing for older environments
- 'CalcCompononet' is now correctly bound to row component so functions like
getData
can now be successfully called on it - Ajax progressive loading in
scroll
mode no longer throws a console error when the table has been scrolled to the last page - An unneeded initialisation warning has been removed from the
getRows
function
v5.0.7
- Added console warnings on functions that are unsafe to call on an uninitialized table
- Moving columns while a row is frozen now works correctly
- History module now handles row deletion correctly
- Fix issue with duplicated row groups when the
setGroupBy
function is called - The
addColumn
function now correctly adds all new columns as top level columns when column grouping is in use - Initial filters no longer try to refresh the table when it is uninitialized
- The select module now correctly handles
row-retrieve
internal events
v5.0.6
- Fix ESM import bug in HTML Import module when processed for minified UMD dist file
- Improve formatting of negative values in money formatter
v5.0.5
- Fixed missing reference to helper function in edit module
- Fixed context regression in ajax module
- Moved table element parsing into core table initialization logic, to allow HTML import module to initialize in the correct order
- Prevented
progress
formatter from throwing an error when used as a header filter - Ensure that header filters that return no matches clear down the table
- Ensure column header height is always recalculated on redraw
- Fixed stripped row styling issues in
bootstrap3
,semanticui
andbulma
themes - The
addRow
function, when used in conjunction with the group rows module now correctly adds rows to their matching group - The
onRendered
function is now correctly called in acolumnTitleFormatter
when the row is inserted after initialization - Accessibility attributes for table headers have been improved to make them more intelligible to screen readers
- The
onRendered
function is now correctly triggered when cell values are updated by theundo
orredo
actions - Mock
onRendered
function is passed into responsive collapse formatters to prevent exception when collapsing heavily formatted columns - Widths and margins of group calculation rows are now correctly recalculated on table initialization
- The data tree module will now only reinitialize a row if the element cell is edited, rather than reinitializing the whole row
- The edit module now correctly calls navigation functions on the cell component instead of the cell itself
v5.0.3
- Fixed scope issue in the Accessor Module
- Ensured that the
this
context of event callbacks is set to the table that called them - The row data array is now correctly passed to the
dataLoaded
callback when triggered by an ajax request - A warning console message is now displayed when
setColumns
is called before the table is initialized - A scoping issue has been fixed in the Reactive Data module
- The bootstrap 4 theme has been updated to prevent graphical collision of even rows when frozen columns are enabled
- Header filters are now correctly applied when grouped rows are in use
- Added the mock
deinitializeHeight
function to the Group class to prevent rendering errors - Updated the
deepClone
helper function to prevent an infinite loop when recursive data structures are used
v5.0.2
- Fixed issue with
tableBuilt
event being fired before the initial table data had been loaded - Fixed issue with
footerElement
option not accepting HTML string inputs correctly - Fixed issue with page size selector being created before the initial page size is set
- Fixed issue with persistence module not initializing correctly when the
autoColumns
option was set - Restored functionality to the
extendModule
function - Row height on variable height columns is now correctly recalculated on table size change
- Updated build tools dependencies
v5.0.1
- Fix issue preventing ESM imports of individual modules
- Prevent unnecessary console warnings and errors when other frameworks try to access component objects with invalid properties
- Warn user if they try and set data with the
setData
function before the table has been initialized - Updated build tools dependencies
v5.0.0
With the release of version 5.0 Tabulator has undergone a complete rebuild of the codebase.
As Tabulator has grown in complexity and size, so has its codebase, making it harder to maintain and test and very big to download. In this release all of these issues have been addressed.
This release also aims to make Tabulator more accessible to developers, opening up the code and making it easier for you to built your own modules for the table.
Checkout the Release Notes for full details
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.