xlsxwriter 0.4.3
xlsxwriter: ^0.4.3 copied to clipboard
Native, fast, low-memory Excel .xlsx writer for Dart. An FFI binding to libxlsxwriter with a constant-memory mode for large sheets.
0.4.3 #
- Widen the native-toolchain constraints so the package can be installed in a
Flutter app at all.
hooks2.1.0 andnative_toolchain_c0.19.3 raised theirmetafloor to ^1.19.0, and Flutter's SDK pinsmetato 1.17.0, soflutter pub addfailed at version solving with "flutter from sdk is incompatible". Allowinghooks >=2.0.2andnative_toolchain_c >=0.19.2lets the solver pick a version that works with the pinnedmeta, while a pure-Dart project still resolves to the newest. No API or behaviour change.
0.4.2 #
- Shorten the screenshot description. pub.dev accepts up to 200 characters but scores only those under 160, so the previous release published cleanly and quietly gave up the documentation points it was meant to earn.
0.4.1 #
- Declare the benchmark chart in
pubspec.yamlso pub.dev renders it on the package page. The chart was already in the repository and the README, but pub.dev shows only what thescreenshots:field points at, so the page a reader lands on from search opened with text where the measurement should have been.
0.4.0 #
- Add charts.
Workbook.addChart(ChartType)creates a column, bar, line, area, pie, doughnut, scatter, or radar chart;Chart.addSeriesplots cell ranges, withsetTitleandsetAxisNamesfor labels;Worksheet.insertChartplaces it on a sheet with optional scaling. The pure-Dartexcelandspreadsheet_decoderpackages can't write charts, so this is the reason to use a native writer when a report needs one. Charts are wired through the C shim, which is compiled from vendored source, so there is no new binary to install.
0.3.0 #
- Add
Workbook.toBytes: build a workbook and get its.xlsxbytes back with no file left on disk, for serving a generated spreadsheet straight from a request handler. It stages a temporary file, reads it back, and removes it. Supports constant-memory mode viaconstantMemory: true.
0.2.0 #
- Add
Worksheet.addTable, which wraps a cell range in an Excel table with banded rows, per-column autofilter, and a name usable in formulas. Pass the column names throughcolumns; they are written into the header row. Theautofilter,bandedRows,bandedColumnsandtotalRowoptions toggle the matching table features.
Changelog #
0.1.1 #
- Move the vendored third-party attributions out of
LICENSEintoTHIRD_PARTY_NOTICES.md, soLICENSEis the plain MIT text that automated license detection recognises. The attributions themselves are unchanged and still ship with the package.
0.1.0 #
First release. A native .xlsx writer for Dart, binding libxlsxwriter 1.2.2
over FFI, with libxlsxwriter and zlib 1.3.1 vendored and compiled from source at
build time (no system dependencies on macOS, Linux, or Windows).
WorkbookandWorkbook.constantMemoryfor in-memory and constant-memory writing, with aNativeFinalizerso a forgotten workbook is freed.Worksheetwrites:writeString,writeNumber,writeBool,writeFormula,writeDateTime,writeUrl,writeBlank.- Layout:
setColumn,setColumnWidth,setRow,mergeRange,freezePanes. Formatwithbold,italic,underline,fontName,fontSize,fontColor,backgroundColor,numberFormat,align,verticalAlign,textWrap,border, andborderColor.- libxlsxwriter error codes surfaced as
XlsxWriterExceptionwith the human-readable message.