excelize v2.0.0 Release Notes

Release Date: 2019-05-02 // almost 5 years ago
  • ๐Ÿš€ We are pleased to announce the release of version 2.0.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 change log.

    ๐Ÿš€ Release Notes

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

    API Changed

    The following table lists the changes to the API for v2.0.0 compared to the v1.4.1:

    Function Add error return Row Number Change* Delete New Addition
    ToALphaString ร— ร— โˆš ร—
    TitleToNumber ร— ร— โˆš ร—
    SplitCellName ร— ร— ร— โˆš
    JoinCellName ร— ร— ร— โˆš
    ColumnNameToNumber ร— ร— ร— โˆš
    ColumnNumberToName ร— ร— ร— โˆš
    CellNameToCoordinates ร— ร— ร— โˆš
    โœ… CoordinatesToCellName ร— ร— ร—
    SetCellFloat ร— ร— ร— โˆš
    ๐Ÿ’… SetCellStyle โˆš ร— ร—
    InsertCol โˆš ร— ร— ร—
    ๐Ÿšš RemoveCol โˆš ร— ร—
    ๐Ÿšš RemoveRow โˆš โˆš ร—
    InsertRow โˆš โˆš ร— ร—
    DuplicateRow โˆš ร— ร— ร—
    DuplicateRowTo โˆš ร— ร— ร—
    SetRowHeight โˆš ร— ร— ร—
    GetRowHeight โˆš ร— ร— ร—
    GetCellValue โˆš ร— ร— ร—
    GetCellFormula โˆš ร— ร— ร—
    GetCellHyperLink โˆš ร— ร— ร—
    SetCellHyperLink โˆš ร— ร— ร—
    ๐Ÿ‘• SetCellInt โˆš ร— ร—
    SetCellBool โˆš ร— ร— ร—
    SetCellStr โˆš ร— ร— ร—
    0๏ธโƒฃ SetCellDefault โˆš ร— ร—
    ๐Ÿ’… GetCellStyle โˆš ร— ร—
    SetCellValue โˆš ร— ร— ร—
    ๐Ÿ”€ MergeCell โˆš ร— ร—
    SetSheetRow โˆš ร— ร— ร—
    SetRowVisible โˆš โˆš ร— ร—
    GetRowVisible โˆš โˆš ร— ร—
    SetRowOutlineLevel โˆš โˆš ร— ร—
    GetRowOutlineLevel โˆš โˆš ร— ร—
    GetRows โˆš ร— ร— ร—
    Columns โˆš ร— ร— ร—
    SearchSheet โˆš ร— ร— ร—
    GetPicture โˆš ร— ร— ร—
    GetColVisible โˆš ร— ร— ร—
    SetColVisible โˆš ร— ร— ร—
    GetColOutlineLevel โˆš ร— ร— ร—
    SetColOutlineLevel โˆš ร— ร— ร—
    SetColWidth โˆš ร— ร— ร—
    GetColWidth โˆš ร— ร— ร—
    GetMergeCells โˆš ร— ร— ร—
    ProtectSheet โˆš ร— ร— ร—
    UnprotectSheet โˆš ร— ร— ร—
    โšก๏ธ UpdateLinkedValue โˆš ร— ร—
    SetSheetVisible โˆš ร— ร— ร—
    adjustHelper โˆš ร— ร— ร—
    adjustMergeCells โˆš ร— ร— ร—
    adjustAutoFilter โˆš ร— ร— ร—
    prepareCell โˆš ร— ร— ร—
    ๐Ÿ’… setDefaultTimeStyle โˆš ร— ร—
    timeToExcelTime โˆš ร— ร— ร—
    addDrawingChart โˆš ร— ร— ร—
    addDrawingVML โˆš ร— ร— ร—
    addDrawingPicture โˆš ร— ร— ร—
    getTotalRowsCols โˆš ร— ร— ร—
    checkRow โˆš ร— ร— ร—
    addDrawingShape โˆš ร— ร— ร—
    addTable โˆš ร— ร— ร—
    workSheetReader โˆš ร— ร— ร—
    copySheet โˆš ร— ร— ร—

    * From version 2.0.0 all row manipulation methods uses Excel row numbering starting with 1 instead of zero-based numbering which take place in some methods in earlier versions, related issue #349.

    ๐Ÿ”‹ Feature

    • ๐Ÿ†• New function DuplicateRowTo() has been added for duplicate row to specified row position
    • ๐Ÿ‘ The function SetPageLayout() now support to set page orientation, related issue #318
    • ๐Ÿ‘ The function SetPageLayout() now support to set page size

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix the issue that create a blank fill if no fill is specified in the style format
    • ๐Ÿ›  Fix the issue that data validation list in the excel sheet disappears formula characters greater than 255, related issue #339
    • ๐Ÿ›  Fix the issue corrupted xlsx after deleting formula of cell, related issue #346
    • ๐Ÿ›  Fix the issue that GetComment() returns incorrect mapping between worksheets and comments in some case, related issue #345
    • ๐Ÿ›  Fix the issue #346, resolve the issue corrupted xlsx after deleting formula of cell
    • ๐Ÿ›  Fix the issue #377, avoid empty column in GetRows result

    ๐ŸŽ Performance

    • ๐ŸŽ Performance optimization, faster for add comments, related issue #347, faster add images, charts and shapes, related issue #274
    • โž• Adding the same image should create a drawing referencing the
      already stored copy of the image, related issue #359

    Excelize v1.4.1 VS v2.0.0

    Miscellaneous

    • โšก๏ธ Typo fixed and godoc updated
    • โœ… Tests made stronger again, go1.12 added to tests matrix