Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Releases: clarketm/TableExport

v5.0.0-rc.10

12 Jul 04:24
Compare
Choose a tag to compare
v5.0.0-rc.10 Pre-release
Pre-release

fix: reset hashCode seed for cloned nodes and dynamic tables.

Start using today!

npm install [email protected]

v5.0.0-rc.9

24 Jun 23:15
Compare
Choose a tag to compare
v5.0.0-rc.9 Pre-release
Pre-release

fix: Excel (xlsx, xlsm, xlsb, xls) cell merge support #69

Start using today!

npm install [email protected]

v4.0.11

13 Jun 17:13
Compare
Choose a tag to compare

fix #70:

Trailing new line is causing a new row in excel (xls) to be created, when not using SheetJS/js-xlsx.

v5.0.0-rc.8

09 Jun 19:04
Compare
Choose a tag to compare
v5.0.0-rc.8 Pre-release
Pre-release

fix: rowspan/colspan bug specific to XLSX format (introduced by the previous code cleanup commit).

Start using today!

npm install tableexport@next
OR
npm install [email protected]

v5.0.0-rc.7

08 Jun 02:39
Compare
Choose a tag to compare
v5.0.0-rc.7 Pre-release
Pre-release

v5.0.0-rc.7 new features:

  • ignoreCSS and emptyCSS values can now be configured with a custom CSS selector or an array of custom CSS selectors.
// example
TableExport.prototype.ignoreCSS = '.tableexport-ignore'  // default
TableExport.prototype.ignoreCSS = '.myIgnoredCells'  // custom selector
TableExport.prototype.ignoreCSS = [ '.tableexport-ignore', '[data-hide]' ]  // custom selector[]

the default selector values (.tableexport-ignore and .tableexport-empty) remain unchanged.

  • General code cleanup: replace "magic strings" with configurable TableExport.prototype properties.

Start using today!

npm install [email protected]

v5.0.0-rc.6

07 Jun 05:10
Compare
Choose a tag to compare
v5.0.0-rc.6 Pre-release
Pre-release

fixes Rowspan and Colspan #27 with the exception of a few edge cases.

Updates to the rowspan/colspan algorithm:

  • Handle rowspan and colspan parsing once in the initial RowColMap build rather than at runtime for each DOM node with a rowspan or colspan attribute.
  • Reengineer the handleRowSpan function to track a pointer reference to the current rowspan accumulator value.
  • Reengineer the handleColSpan function to track a pointer reference to the current colspan accumulator value.
  • Create isRowSpan and isColSpan helper methods on the RowColMap class.

Start using today!

npm install [email protected]

v5.0.0-rc.4

02 Jun 07:08
Compare
Choose a tag to compare
v5.0.0-rc.4 Pre-release
Pre-release

v5.0.0-rc.4 new features:

  • Added Excel Macro-Enabled Workbook (xlsm) and Excel Binary Workbook (xlsb) file format support.
  • Improved error handling and logging.
  • Added formatConfig -> enforceStrictRFC4180 boolean prototype property to the xls, csv, and txt formats to dictate the use of js-xlsx for parsing. (disabled by default for csv and txt due to Excel's discord with RFC4180).
  • Significant exporters procedure cleanup/overhaul (200+ lines of redundant code removed).

Start using today!

npm install [email protected]

v5.0.0-rc.3

02 Jun 00:05
Compare
Choose a tag to compare
v5.0.0-rc.3 Pre-release
Pre-release

Updates to the rowspan/colspan algorithm:

  • Execution logic reordering inside thehandleColSpan and handleRowSpan functions when handling DOM elements with both a rowpan and colspan value.
  • Terminating condition optimization to eliminate redundant iteration.
  • Single instantiation of theRowColMap builder from the TableExport context.

Start using today!

npm install [email protected]

v5.0.0-rc.2

30 May 00:31
Compare
Choose a tag to compare
v5.0.0-rc.2 Pre-release
Pre-release

v5.0.0-rc.2 new features:

  • Change Excel default format from xls to xlsx

v5.0.0-rc.1

29 May 23:21
Compare
Choose a tag to compare
v5.0.0-rc.1 Pre-release
Pre-release

v5.0.0-rc.1 new features:

  • Add new RowColMap helper class: a table preprocessing stage to collect metadata and prevent repetitive iterations for every filetype.
  • Restructure the LocalStorage helper class (removed from TableExport.prototype).
  • Add CONSTANTS to TableExport.prototype for convenient, centralized access to internal property values (as well as to prune out magic strings).
  • Rewrite the rowspan/colspan algorithm to be more precise when handling complex assortments of rowspan and colspan (fixes Rowspan and Colspan #27).
  • Added getFileSize utility method to quickly calculate the filesize of a file export.
  • Rename getBinaryData to the more semantically correct getRawData
  • Rename types to typeConfig
  • Move xlsx, xls, csv, and txt TableExport.prototype properties to be nested under the formatConfig namespace.
  • Added more examples.

npm install [email protected]