diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2b8cbe1..540413102 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ at anytime. ## [Unreleased] ### Added - * + * Add `lbryschema_version` to response from `version` * * diff --git a/lbrynet/core/system_info.py b/lbrynet/core/system_info.py index 87f2d1433..c5430c025 100644 --- a/lbrynet/core/system_info.py +++ b/lbrynet/core/system_info.py @@ -6,6 +6,7 @@ from urllib2 import urlopen from lbrynet import __version__ as lbrynet_version from lbrynet import build_type from lbryum.version import LBRYUM_VERSION as lbryum_version +from lbryschema import __version__ as lbryschema_version def get_platform(get_ip=True): @@ -17,6 +18,7 @@ def get_platform(get_ip=True): "os_system": platform.system(), "lbrynet_version": lbrynet_version, "lbryum_version": lbryum_version, + "lbryschema_version": lbryschema_version, "build": build_type.BUILD, # CI server sets this during build step } diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 111c60ea7..d858c95ba 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1187,6 +1187,7 @@ class Daemon(AuthJSONRPCServer): 'lbrynet_update_available': (bool) whether there's an update available, 'lbrynet_version': (str) lbrynet_version, 'lbryum_version': (str) lbryum_version, + 'lbryschema_version': (str) lbryschema_version, 'os_release': (str) os release string 'os_system': (str) os name 'platform': (str) platform string