Skip to content

Commit

Permalink
Merge pull request #403 from tafia/ve0.24
Browse files Browse the repository at this point in the history
bump to 0.24.0
  • Loading branch information
tafia authored Feb 8, 2024
2 parents 66f99eb + b938e54 commit 64beb2d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "calamine"
version = "0.23.1"
version = "0.24.0"
authors = ["Johann Tuffe <[email protected]>"]
repository = "https://github.com/tafia/calamine"
documentation = "https://docs.rs/calamine"
Expand Down
8 changes: 7 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/xlsx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ impl<RS: Read + Seek> Xlsx<RS> {
.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
Expand Down

0 comments on commit 64beb2d

Please sign in to comment.