diff --git a/Cargo.toml b/Cargo.toml index c12e06a..2eafe81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "calamine" -version = "0.23.1" +version = "0.24.0" authors = ["Johann Tuffe "] repository = "https://github.com/tafia/calamine" documentation = "https://docs.rs/calamine" diff --git a/Changelog.md b/Changelog.md index 2205c79..e96f7de 100644 --- a/Changelog.md +++ b/Changelog.md @@ -10,10 +10,16 @@ ## Unreleased -- refactor: rename `DataType` enum to `Data` and `DataTypeRef` to `DataRef` +## 0.24.0 + +- refactor (breaking): rename `DataType` enum to `Data` and `DataTypeRef` to `DataRef` - feat: introduce a `DataType` trait implemented by both `Data` and `DataRef`. - feat: `Data` and `DataType` now return `Some(0{.0})` and `Some(1{.0})` rather than `None` when `.as_i64` or `.as_f64` is used on a Bool value +- fix: getting tables names on xlsx workbook without _rels files +- refactor: DateTime(f64) to DateTime(ExcelDateTime) +- feat: detect xlsb/ods password protected files +- feat: introduce is_x methods for date and time variants ## 0.23.1 diff --git a/src/xlsx/mod.rs b/src/xlsx/mod.rs index 68c4aca..b746522 100644 --- a/src/xlsx/mod.rs +++ b/src/xlsx/mod.rs @@ -658,6 +658,7 @@ impl Xlsx { .map(|(name, ..)| name) .collect() } + /// Get the names of all the tables in a sheet pub fn table_names_in_sheet(&self, sheet_name: &str) -> Vec<&String> { self.tables