-
Notifications
You must be signed in to change notification settings - Fork 22
Versioning
Daniele Federico edited this page Sep 7, 2018
·
1 revision
Kiko files and operator loaders are versioned. This is to prevent the breaking of old files on later versions of the software.
Please follow these rules when updating Kiko code:
-
when you change the structure returned by the serialiser, please make sure to version up the KIKO_FILE_VERSION constant in the kiko/constants.py file. Then write a new deserialiser, leaving the previous serialisers untouched.
-
when you change the data returned by the run method of an operator, please make sure to create a new operator loader and register it as loader of your operator class. Please also mind the version numbers, your new loader should return a new version number.