Skip to content

Releases: chmp/serde_arrow

v0.12.0

30 Sep 16:20
Compare
Choose a tag to compare

Refactor the underlying implementation to prepare for further development

New features

  • Add Binary, LargeBinary, FixedSizeBinary(n), FixedSizeList(n) support for arrow2
  • Add support to serialize / deserialize bool from integer arrays
  • Add a helper to construct Bool8 arrays
  • Include the path of the field that caused an error in the error message
  • Include backtrace information only for the debug representations of errors

API changes

  • Use impl serde::Serialize instead of &(impl serde::Serialize + ?Sized)
  • Use &[FieldRef] instead of &[Field] in arrow APIs

Removed deprecated API

  • Remove serde_arrow::schema::Schema
  • Remove serde_arrow::ArrowBuilder and serde_arrow::Arrow2Builder
  • Remove from_arrow_fields / to_arrow_fields for SerdeArrowSchema, use the TryFrom conversions to convert between fields and SerdeArrowSchema
  • Remove SerdeArrowSchema::new(), Overwrites::new()

v0.12.0-rc.1: Merge pull request #237 from chmp/release/0.12.0-rc.1

22 Sep 19:47
85c040d
Compare
Choose a tag to compare

Refactor the underlying implementation to prepare for further development

New features

  • Add Binary, LargeBinary, FixedSizeBinary(n), FixedSizeList(n) support for arrow2
  • Add support to serialize / deserialize bool from integer arrays
  • Add a helper to construct Bool8 arrays
  • Include the path of the field that caused an error in the error message
  • Include backtrace information only for the debug representations of errors

API changes

  • Use impl serde::Serialize instead of &(impl serde::Serialize + ?Sized)
  • Use &[FieldRef] instead of &[Field] in arrow APIs

Removed deprecated API

  • Remove serde_arrow::schema::Schema
  • Remove serde_arrow::ArrowBuilder and serde_arrow::Arrow2Builder
  • Remove from_arrow_fields / to_arrow_fields for SerdeArrowSchema, use the TryFrom conversions to convert between fields and SerdeArrowSchema
  • Remove SerdeArrowSchema::new(), Overwrites::new()

v0.11.8

22 Sep 19:02
d77d5e4
Compare
Choose a tag to compare
  • Add arrow=53 support

Thanks

The following people contributed to this release:

v0.11.7

31 Aug 15:10
4df3f9c
Compare
Choose a tag to compare
  • Fix tracing of JSON mixing nulls with non-null data

v0.11.6

13 Jun 20:30
eb8d37a
Compare
Choose a tag to compare
  • Add arrow=52 support
  • Add support for Binary, LargeBinary (only arrow)
  • Add support for FixedSizeBinary(n) (only arrow>=47)
  • Add support for FixedSizeList(n) (only arrow)
  • Add support to overwrite field definitions with TracingOptions::overwrite
  • Add support to serialize enums without data (e.g., enum E { A, B, C}) as strings by setting the corresponding field to a string value (Utf, LargeUtf, Dictionary(_, Utf8), Dictionary(_, LargeUtf8)
  • Allow to trace enums without data as dictionary encoded strings by setting enums_without_data_as_strings to true in TracingOptions

v0.11.5

02 Jun 11:00
c436f51
Compare
Choose a tag to compare
  • Add serde_arrow::Serializer
  • Add support for new type wrappers, tuples and tuple structs to serde_arrow::Deserializer
  • Add a generic serde_arrow::ArrayBuilder with support for both arrow and arrow2
  • Implement TryFrom<&[Field]> (arrow and arrow2) and TryFrom<&[FieldRef]> (arrow only) for SerdeArrowSchema
  • Implement TryFrom<&SerdeArrowSchema> for Vec<Field> and Vec<FieldRef> for arrow

v0.11.4

27 May 19:17
3b085fd
Compare
Choose a tag to compare
  • Add serde_arrow::Deserializer

v0.11.3

08 May 19:12
b61e1a8
Compare
Choose a tag to compare
  • Support for serializing/deserializing timestamps with second, microsecond, and nanosecond encoding.
  • Fixed (de)serialization of fractional seconds.

Thanks

The following people contributed to this release:

  • @ryzhyk added string support for timestamps with non-millisecond units, fixed the handling of fractional seconds (PR)

v0.11.2

14 Apr 16:06
77e81e3
Compare
Choose a tag to compare
  • Support Duration(unit)
  • Rewrite data type parsing with stricter parsing

v0.11.1

13 Apr 12:35
7a76570
Compare
Choose a tag to compare
  • Support Timestamp(Second, tz), Timestamp(Millisecond, tz), Timestamp(Nanosecond, tz). At the moment only (de)serialization from / to integers is supported for non-microsecond units
  • Support Time32(unit)