diff --git a/CHANGELOG.md b/CHANGELOG.md index e741e7c4..6f145e22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,23 @@ All notable changes to rust_xlsxwriter will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.59.0] - 2023-12-15 + +### Added + +- Added [`serialize_chrono_option_naive_to_excel()`] to help serialization of + `Option` Chrono types. [Feature Request #62]. + +[Feature Request #62]: https://github.com/jmcnamara/rust_xlsxwriter/pull/62 + +[`serialize_chrono_option_naive_to_excel()`]: https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/utility/fn.serialize_chrono_option_naive_to_excel.html + + ## [0.58.0] - 2023-12-11 +### Added + - Added serialization support for [`ExcelDateTime`] and [`Chrono`] date/time types. See [Working with Serde - Serializing dates and times]. diff --git a/Cargo.toml b/Cargo.toml index 460cfc88..611a6335 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/jmcnamara/rust_xlsxwriter" keywords = ["excel", "xlsx"] readme = "README.md" license = "MIT OR Apache-2.0" -version = "0.58.0" +version = "0.59.0" edition = "2021" [dependencies] diff --git a/examples/Readme.md b/examples/Readme.md index c06f7145..b5a0bc80 100644 --- a/examples/Readme.md +++ b/examples/Readme.md @@ -1044,6 +1044,16 @@ documentation and generally show how an individual function works. instances of a Serde derived data structure, including chrono datetimes, to a worksheet. +* `doc_worksheet_serialize_datetime3.rs` - Example of a serializable struct + with a Chrono Naive value with a helper function. + +* `doc_worksheet_serialize_datetime4.rs` - Demonstrates serializing + instances of a Serde derived data structure, including `Option` chrono + datetimes, to a worksheet. + +* `doc_worksheet_serialize_datetime5.rs` - Example of a serializable struct + with an Option Chrono Naive value with a helper function. + * `doc_worksheet_serialize_headers1.rs` - Demonstrates serializing instances of a Serde derived data structure to a worksheet.