0.12.0 - 2025-11-03¶
Added¶
Added a new serialization versioning system, the Samplex Serialization Version (SSV), that decouples the serialization version from the package version. The current version is stored in
samplomatic.ssv.SSV. See thesamplomatic.serializationmodule for details. (#216)Added a
Serializablemetaclass to record which classes should be serializable. (#216)Added
DataSerializer,TypeSerializer, andTypeSerializerMetato provide serialization for objects inheriting fromSerializable. (#216)
Changed¶
The samplex serialization functions
samplex_to_jsonandsamplex_from_jsonwere moved to thesamplomatic.serializationmodule. (#216)Classes that are serializable now inherit from
Serializablerather than implementingto_json/from_jsonmethods. ATypeSerializerwith the corresponding type will then contain methods to serialize and deserialize the object. (#216)