We are pleased to announce the release of version 1.4.1. 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:

Notable Features

  • New function WriteTo() has been added, it implements io.WriterTo to write the file
  • New function SearchSheet() has been added to get coordinates by given worksheet name, cell value, and regular expression. Relate issue #277
  • New functions ProtectSheet() and UnprotectSheet() has been added to prevent other users from accidentally or deliberately changing, moving, or deleting data in a worksheet, relate issue #273
  • New functions GetMergeCells() has been added, support to get all merged cells from a worksheet currently
  • Add support to flip outline summaries, relate issue #304
  • Support go module
  • Support set and get TopLeftCell properties of sheet view options, relate issue #310
  • The function AddChart() now support to create 2D / 3D area, stacked area, 100% stacked area charts, relate issue #311

Bug Fixes

  • Fix the issue caused by missing tradition to strict conversion for sharedStringsReader(), resolve issue #276
  • Fix unknown option in chart format JSON struct tag
  • Fix nil pointer dereference when getting cell formula in some case, resolve issue #290
  • Make the function GetRows() return value avoid empty rows in the tail of the worksheet, resolve issue #195
  • Fix GetSheetMap() failed in some case, resolve issue #297
  • Fix delete worksheet index error in some case, resolve issue #308

Miscellaneous

  • Tests refactoring, resolve issue #322
  • Add a new logo for excelize, numerous documentation updates

项目简介

Excelize 是 Go 语言编写的一个用来操作 Office Excel 文档类库,基于 ECMA-376 OOXML 技术标准。可以使用它来读取、写入 XLSX 文件,相比较其他的开源类库,Excelize 支持操作带有数据透视表、切片器、图表与图片的 Excel 并支持向 Excel 中插入图片与创建简单图表,目前是 Go 开源项目中唯一支持复杂样式 XLSX 文件的类库,可应用于各类报表平台、云计算和边缘计算系统

发行版本 22

v2.8.1

全部发行版

贡献者 229

全部贡献者

开发语言

  • Go 100.0 %