diff --git a/Cargo.lock b/Cargo.lock index 1f3e23b3..fdc01f43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1321,7 +1321,7 @@ checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a" [[package]] name = "marrow" -version = "0.2.7" +version = "0.3.0-rc.1" dependencies = [ "arrow-array 53.4.0", "arrow-array 54.3.1", @@ -1822,7 +1822,7 @@ dependencies = [ [[package]] name = "serde_arrow" -version = "0.14.2" +version = "0.15.0-rc.1" dependencies = [ "anyhow", "arrow-array 53.4.0", diff --git a/Changes.md b/Changes.md index cfb04f27..94da8b24 100644 --- a/Changes.md +++ b/Changes.md @@ -1,13 +1,24 @@ # Change log -## Development +## 0.15.0-rc.1 -- Breaking. Stricter f32 / f64 to decimal conversions. Only finite floats that - are in the range that can be presented are converted. -- Breaking. Updated error messages. -- Breaking. Bumped the MSRV to Rust 1.83. -- Breaking. Drop `arrow<53` support -- Breaking. Drop `arrow2` support +Breaking changes: + +- Stricter f32 / f64 to decimal conversions. Only finite floats that are in the + range that can be presented are converted. +- Updated error messages. +- Bumped the MSRV to Rust 1.83. +- Drop `arrow<53` support. +- Drop `arrow2` support. +- Updated the `marrow` dependency to `0.3.0-rc.1`. + +Bug fixes: + +- Fixed variable-shape tensor extension metadata generation when metadata + options are present. +- Improved validation for decimal parsing and formatting and the implementation + of Arrow view arrays to avoid Rust APIs that may panic in favor of error + producing APIs. ## 0.14.2 @@ -496,8 +507,8 @@ serde_arrow = { version = "0.6", features = ["arrow-36"] } ### Deserialization support (arrow2 only) `serde_arrow` now supports deserializing Rust objects from arrays. At the -moment, this operation is supported only for `arrow2`. Adding support for `arrow` is -[planned](https://github.com/chmp/serde_arrow/issues/38). +moment, this operation is supported only for `arrow2`. Adding support for +`arrow` is [planned](https://github.com/chmp/serde_arrow/issues/38). ### More flexible support for Rust / Arrow features diff --git a/marrow/Cargo.toml b/marrow/Cargo.toml index 9c9f6368..7eac6eaf 100644 --- a/marrow/Cargo.toml +++ b/marrow/Cargo.toml @@ -2,7 +2,7 @@ edition = "2021" name = "marrow" -version = "0.2.7" +version = "0.3.0-rc.1" authors = ["Christopher Prohm "] description = "Minimalist Arrow interop" readme = "Readme.md" diff --git a/marrow/Changes.md b/marrow/Changes.md index 142272f8..4080d91c 100644 --- a/marrow/Changes.md +++ b/marrow/Changes.md @@ -1,10 +1,16 @@ # Change log -## Development +## 0.3.0-rc.1 -- Breaking. Drop MSRV to `1.83` -- Breaking. Drop `arrow2` support -- Breaking. Drop `arrow<53` support +Breaking changes: + +- Bumped the MSRV to Rust 1.83. +- Drop `arrow2` support. +- Drop `arrow<53` support. + +Other: + +- Moved `marrow` into the `serde_arrow` workspace. ## 0.2.7 @@ -18,7 +24,8 @@ - Add `arrow=57` support -Thanks [@lonless9](https://github.com/lonless9) for the [contribution](https://github.com/chmp/marrow/pull/33) +Thanks [@lonless9](https://github.com/lonless9) for the +[contribution](https://github.com/chmp/marrow/pull/33) ## 0.2.4 @@ -44,14 +51,15 @@ Thanks [@jpopesculian](https://github.com/jpopesculian) for the Breaking changes: -- Rework map arrays to use explicit keys and values array to simplify interaction the underlying - arrays -- Rename `DenseUnion` to `Union` and change offsets to be `Option>`, implement sparse - unions +- Rework map arrays to use explicit keys and values array to simplify + interaction the underlying arrays +- Rename `DenseUnion` to `Union` and change offsets to be `Option>`, + implement sparse unions - Rename `Dictionary::indices` to `Dictionary::keys` -- Remove the sorted flag from the dictionary `DataType` it is not supported by `arrow` -- Rework `StructArray` and `UnionArray`: place metadata in front of arrays in `StructArray::fields`, - `UnionArray::fields` +- Remove the sorted flag from the dictionary `DataType` it is not supported by + `arrow` +- Rework `StructArray` and `UnionArray`: place metadata in front of arrays in + `StructArray::fields`, `UnionArray::fields` New features diff --git a/serde_arrow/Cargo.toml b/serde_arrow/Cargo.toml index ce48c53f..b3e306c1 100644 --- a/serde_arrow/Cargo.toml +++ b/serde_arrow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde_arrow" -version = "0.14.2" +version = "0.15.0-rc.1" authors = ["Christopher Prohm "] edition = "2021" description = "Convert sequences of Rust objects to Arrow arrays and back again" @@ -29,7 +29,7 @@ arrow-54 = ["dep:arrow-array-54", "dep:arrow-schema-54", "marrow/arrow-54"] arrow-53 = ["dep:arrow-array-53", "dep:arrow-schema-53", "marrow/arrow-53"] [dependencies] -marrow = { path = "../marrow", version = "0.2.7", default-features = false, features = ["serde"] } +marrow = { path = "../marrow", version = "0.3.0-rc.1", default-features = false, features = ["serde"] } bytemuck = { version = "1", default-features = false } # TODO: make optional, only required for str -> date conversions