excelize v2.1.0 Release Notes

Release Date: 2020-02-09 // about 4 years ago
  • ๐Ÿš€ We are pleased to announce the release of version 2.1.0. Featured are a handful of new areas of functionality and numerous bug fixes.

    ๐Ÿš€ A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.

    ๐Ÿš€ Release Notes

    ๐Ÿš€ The most notable changes in this release are:

    Notable Features

    • ๐Ÿ†• New function DeleteDefinedName, support to delete the defined names of the workbook or worksheet
    • ๐Ÿ†• New functions SetPageMargins and GetPageMargins, support to for getting setting page margins
    • ๐Ÿ†• New functions DeleteChart and DeletePicture, support to delete chart and images from the worksheet
    • โž• Add support for Excel file that uses no UTF-8 encoding
    • ๐Ÿ‘ The function AddChart now support to create the pie of pie chart, the bar of pie chart and combo chart
      ๐Ÿ‘ The function AddChart now support to set minor grid lines for the chart, relate issue #501
      ๐Ÿ‘ The function AddChart now support to set line width of the line chart, relate issue #505
      ๐Ÿ‘ The function AddChart now support to set a major unit and tick label skip for the chart, relate issue #538
    • ๐Ÿ‘ The function SetColVisible now support to set column visible by column range
    • The function AddPivotTable allow empty columns in the pivot table, relate issue #511

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix missing ending space text of the cell
    • ๐Ÿ”€ The MergeCell function support overlapped merge cells, resolve issue #533
    • โž• Added handling of empty inline rich text in some case, resolve issue #529
    • โž• Added handling of empty workbook view in some case, resolve issue #426
    • โž• Added handling of escape character in the formula, resolve issue #546

    ๐ŸŽ Performance

    • ๐Ÿ†• New functions NewStreamWriter and Flush to generate the new worksheet with huge amounts of data. Compared to non-streaming writing, reduced memory usage by 90.2%, time cost by 53%
    • ๐Ÿ‘‰ Make GetRows function read data as streaming. Reduced memory usage by 78.9%, relate issues #146 and #382
    • ๐Ÿ‘ Compatibility improvements, adding 49 internal XML namespaces support

    Miscellaneous

    • โž• Added logging of possible errors when decoding XML, relate issues #539
    • ๐Ÿ‘Œ Improve code coverage unit tests (line Coverage: 97.04%)
    • โž• Add missing checking error in unit tests
    • ๐Ÿ“š Documentation website with multilingual: English, French, Russian, Chinese, Japanese, and Korean, which has been updated