Releases: chmp/serde_arrow
Releases · chmp/serde_arrow
0.12.3
0.12.2
0.12.1
New features
- Add support for various
jiff
types (jiff::Date
,jiff::Time
,jiff::DateTime
,jiff::Timestamp
,jiff::Span
,jiff::SignedDuration
) - Add support for tracing lists as
List
instead ofLargeList
by settingsequence_as_large_list
tofalse
inTracingOptions
- Add support for tracing strings and strings in dictionaries as
Utf8
instead ofLargeUtf8
by settingstrings_as_large_utf8
tofalse
inTracingOptions
- Add support to auto-detect dates (
2024-09-30
, mapped toDate32
) and times (12:00:00
, mapped toTime64(Nanosecond))
) infrom_samples
- Improved error messages for non self describing types (
chrono::*
,uuid::Uuid
,std::net::IpAddr
)
Thanks
The following people contributed to this release:
- @jkylling added support for tracing lists as
List
and strings asUtf8
v0.12.0
Refactor the underlying implementation to prepare for further development
New features
- Add
Binary
,LargeBinary
,FixedSizeBinary(n)
,FixedSizeList(n)
support forarrow2
- 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
andserde_arrow::Arrow2Builder
- Remove
from_arrow_fields
/to_arrow_fields
forSerdeArrowSchema
, use theTryFrom
conversions to convert between fields andSerdeArrowSchema
- Remove
SerdeArrowSchema::new()
,Overwrites::new()
v0.12.0-rc.1: Merge pull request #237 from chmp/release/0.12.0-rc.1
Refactor the underlying implementation to prepare for further development
New features
- Add
Binary
,LargeBinary
,FixedSizeBinary(n)
,FixedSizeList(n)
support forarrow2
- 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
andserde_arrow::Arrow2Builder
- Remove
from_arrow_fields
/to_arrow_fields
forSerdeArrowSchema
, use theTryFrom
conversions to convert between fields andSerdeArrowSchema
- Remove
SerdeArrowSchema::new()
,Overwrites::new()
v0.11.8
v0.11.7
v0.11.6
- Add
arrow=52
support - Add support for
Binary
,LargeBinary
(onlyarrow
) - Add support for
FixedSizeBinary(n)
(onlyarrow>=47
) - Add support for
FixedSizeList(n)
(onlyarrow
) - 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
totrue
inTracingOptions
v0.11.5
- 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 botharrow
andarrow2
- Implement
TryFrom<&[Field]>
(arrow
andarrow2
) andTryFrom<&[FieldRef]>
(arrow
only) forSerdeArrowSchema
- Implement
TryFrom<&SerdeArrowSchema>
forVec<Field>
andVec<FieldRef>
forarrow