github jmcnamara/libxlsxwriter v1.2.5
1.2.5 November 24 2026

one hour ago
  • Updated build.zig to support Zig 0.16.0.

  • Fixed an issue where BMP images stored as top-down DIBs, with a negative
    height, weren't handled correctly.

  • Fixed a heap overflow and infinite loop in worksheet_data_validation_cell()
    and worksheet_data_validation_range() when a value_list contained 256 or
    more items.

    Issue #512.

  • Fixed excessive, quadratic, memory allocation for default column headers in
    worksheet_add_table(), particularly for wide tables.

    Issue #513.

  • Fixed conditional format rule priorities when a range is repeated after a
    different range. The priorities now follow the order that the rules were
    added in.

  • Fixed issue where worksheet_set_start_page() had no effect unless another
    page setup function was also called.

    Issue #519.

  • Fixed a use-after-free in workbook_close() when a header or footer with
    images was replaced by a second call to worksheet_set_header_opt() or
    worksheet_set_footer_opt() that used fewer images.

    Issue #532.

  • Table column formats set via lxw_table_column.format are now applied to
    data written to the column before the table is added with
    worksheet_add_table().

    Issue #520.

  • Fixed issue where a worksheet with only embedded, background or
    header/footer images caused images and charts on later worksheets to
    reference a non-existent drawing file.

    Issue #523.

  • Fixed string length checks to use UTF-16 lengths instead of UTF-8 lengths, to
    align with Excel. Characters above U+FFFF, such as emojis, now count as 2.

  • Fixed compiler warnings about discarded const qualifiers with C23
    compilers.

    Issue #526.

  • Fixed an issue where URLs that contained internal:, external: or
    mailto: after the start of the URL, for example in a query string, were
    treated as internal or external links, which gave an incorrect link and
    display string. These URL schemes are now only matched at the start of the
    URL.

  • Fixed issue where an embedded image in a workbook with other images on an
    earlier worksheet had an incorrect cell metadata index and image relationship.

    Issue #524.

  • Fixed an issue where a worksheet with both a background image and a worksheet
    image has the images reversed.

  • Fixed a crash in workbook_close() for a scatter chart series without
    categories, where the series ranges were set with
    chart_series_set_values(). worksheet_insert_chart() and
    chartsheet_set_chart() now return an error for this case.

    Issue #525.

Don't miss a new libxlsxwriter release

NewReleases is sending notifications on new releases.