Excelize v1.4.0
- Released this on: August 14, 2018
- GitHub Release: https://github.com/xuri/excelize/releases/tag/v1.4.0
Release Notes
The most notable changes in this release are:
Breaking Change
- Add error return value for functions:
AddChart,AddComment,AddPicture,AddShape,AddTableandSetConditionalFormat
Notable Features
- New function
GetCommentshas been added for support retrieves all comments and returns a map of worksheet name to the worksheet comments - New functions
RGBToHSLandHSLToRGBhas been added for support convert RGBA, HSL color - New function
NewDataValidationand series functionsDataValidation.SetDropList,DataValidation.SetError,DataValidation.SetInput,DataValidation.SetRange,DataValidation.SetSqrefandDataValidation.SetSqrefDropListhas been added for support data validation - New function
AddPictureFromByteshas been added, related issue #259 - Function
GetCellFormulanow supports shared formula types, related issue #227 - Support to parse dates further in future
- Use min/mid/max value for 2 and 3 color scale conditional formatting
Bug Fixes
- Improved commenting formatting, fix expands all comment boxes stacked all in one place
- Fix create worksheet by
NewSheetcause file issue, related issue #249
Performance
- Performance optimization 20% faster, 14% memory savings on set cell values. See Performance Figures
- Use
github.com/mohae/deepcopyto deep copy worksheets instead of the internaldeepcopyfunction that was using encoding/gob serialization and deserialization
Thank you
Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:
- @dolmen (Olivier Mengué)
- @liepumartins (Mārtiņš)
- @nad2000 (Radomirs Cirskis)
- @alex-whitney (Alex Whitney)
- @rentiansheng (Reage)
- @farmerx (Farmerx)