diff --git a/dace/sdfg/sdfg.py b/dace/sdfg/sdfg.py index 047376d0e1..2dc932eeb4 100644 --- a/dace/sdfg/sdfg.py +++ b/dace/sdfg/sdfg.py @@ -336,6 +336,9 @@ def to_json(self, hash=False): if hash: tmp['attributes']['hash'] = self.hash_sdfg(tmp) + if int(self.sdfg_id) == 0: + tmp['dace_version'] = dace.__version__ + return tmp @classmethod diff --git a/dace/version.py b/dace/version.py index 8e747ccf61..b80444173f 100644 --- a/dace/version.py +++ b/dace/version.py @@ -1 +1 @@ -__version__ = '0.11.4' +__version__ = '0.12'