This came out of a discussion with @jon-wurtz and @yzcj105
Should we ever be in a situation where we need to change the serialization format, it may cause kernels that were serialized with the old version to longer be compatible. In order to track this we could add a schema version, so even when deserializing a JSON file we know which version of the (de-)serializer should be used. A further addition to this could be that, should we ever be in a situation where we break the serialization format, we can also automatically migrate old kernels.
This is relevant for data reproducibility etc. since everything going through an API will be serialized.
This came out of a discussion with @jon-wurtz and @yzcj105
Should we ever be in a situation where we need to change the serialization format, it may cause kernels that were serialized with the old version to longer be compatible. In order to track this we could add a schema version, so even when deserializing a JSON file we know which version of the (de-)serializer should be used. A further addition to this could be that, should we ever be in a situation where we break the serialization format, we can also automatically migrate old kernels.
This is relevant for data reproducibility etc. since everything going through an API will be serialized.