Expand description
Changes and fixes in the polars_excel_writer library.
§Changelog
This is the changelog/release notes for the polars_excel_writer crate.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
§[0.21.0] - 2025-09-27
§Added
-
Added
polars_comparisondocumentation section comparing the key similarities and differences betweenPolarsExcelWriterand the Polarswrite_excel()function. -
Added
enable_column_urls()option to convert a string column as a list of URLs and export as Excel hyperlinks.
-
Added
enable_column_formulas()option to convert a string column as a list of Excel functions.
§[0.20.0] - 2025-09-17
§Added
- Update dependencies to
rust_xlsxwriter0.90.1 andpolars0.51.
§[0.19.0] - 2025-08-28
§Added
-
Added the
save_to_buffer()method to allow writing a dataframe as an Excel file to a byte vector buffer. -
Added the
save_to_writer()method to allow writing a dataframe as an Excel file to a type that implements theWritetrait.
§[0.18.0] - 2025-08-13
§Added
- Update dependencies to
rust_xlsxwriter0.90 andpolars0.50.
§[0.17.0] - 2025-07-27
§Added
-
Reduced Polars dependencies for smaller/faster builds.
§[0.16.0] - 2025-06-29
§Added
- Update dependencies to
rust_xlsxwriter0.89 andpolars0.49.
§[0.15.1] - 2025-06-28
§Fixed
- Fixed
zlibfeature dependency. Due to changes inpolarsand/orzipthe C version ofzlibwasn’t being included when thezlibfeature flag was added.
§[0.15.0] - 2025-06-15
§Added
-
Update dependencies to
rust_xlsxwriter0.88 andpolars0.48. -
This version emphasizes the
PolarsExcelWriterinterface and compatibility with the Polarswrite_excelinterface. See thepolars_excel_writerRoadmap.
§Deprecated
-
This version of crate drops support for the Polars
SerWriterinterface in order to maximize compatibility with the Polarswrite_excelinterface. TheSerWriterinterface will eventually move to another crate. -
Rename
PolarsXlsxWriterstruct toPolarsExcelWriter.This rename is for consistency with Polars. The deprecated
PolarsXlsxWriterstruct name is still supported via a type alias.
§[0.14.0] - 2025-05-03
§Added
-
Added support for setting dataframe formatting based on data types or columns. It also adds header formatting. See:
§Deprecated
-
The following functions are deprecated in favour of
PolarsExcelWriter::set_dtype_format()and variants:PolarsExcelWriter::set_float_format()PolarsExcelWriter::set_time_format()PolarsExcelWriter::set_date_format()PolarsExcelWriter::set_datetime_format()
§[0.13.0] - 2025-03-15
§Added
- Update dependencies to
rust_xlsxwriter0.84.
§[0.12.0] - 2025-01-29
§Added
-
Update dependencies to
rust_xlsxwriter0.82.0 andpolars0.46. -
Added support for overriding the default handling of NaN and Infinity numbers. These aren’t supported by Excel so they are replaced with default or custom string values. See:
§[0.11.0] - 2025-01-18
§Added
- Update dependencies to
rust_xlsxwriter0.81.0 andpolars0.45.
§[0.10.0] - 2025-01-05
§Added
-
Update dependencies to
rust_xlsxwriter0.80.0 andpolars0.44. -
Changed documentation to highlight
write_xlsxas the primary interface, since that will be the main interface in future releases.
§[0.9.0] - 2024-09-18
§Added
- Update dependencies to
rust_xlsxwriter0.77.0 andpolars0.43.
§[0.8.0] - 2024-08-24
§Added
- Update dependencies to
rust_xlsxwriter0.74.0 andpolars0.42.0.
§[0.7.0] - 2024-03-25
§Added
- Update dependencies to
rust_xlsxwriter0.63.0 andpolars0.37.0.
§[0.6.0] - 2024-01-24
§Added
- Update dependencies to
rust_xlsxwriter0.62.0 andpolars0.36.2.
§[0.5.0] - 2024-01-15
§Added
- Added support for writing
u64andi64number within Excel’s limitations. This implies a loss of precision outside Excel’s integer range of +/- 999,999,999,999,999 (15 digits).
§[0.4.0] - 2023-11-22
§Added
- Update to the latest
rust_xlsxwriterto fix issues withPolarsErrortype/location.
§[0.3.0] - 2023-09-05
§Added
More worksheet utility methods.
-
Added support for renaming worksheets via the
set_worksheet_name()method. -
Added support for adding worksheets via the
add_worksheet()method. This allows you to add dataframes to several different worksheets in a workbook. -
Added support for accessing the current worksheets via the
worksheet()method.
§[0.2.0] - 2023-09-04
§Added
- Added support for setting worksheet table properties via the
PolarsExcelWriterset_table()method.
§[0.1.0] - 2023-08-20
§Added
- First functional version.