commit c08a055f587807901235714af1447fcb64d27e10
parent 5715bf8d996e3ab36f9290d7f0f48e4b78c852ef
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 30 Jul 2026 10:15:20 +0200
expose build_version in /config for donau and exchange
Diffstat:
4 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/core/api-donau.rst b/core/api-donau.rst
@@ -63,6 +63,7 @@ The current protocol version is **v0**.
**Version history:**
* ``v0``: This is the first implementation.
+* ``v1``: Adds ``build_version`` to GET ``/config``
**Upcoming versions:**
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -49,6 +49,7 @@ The currently implemented protocol version is **v37**.
* ``v35``: adds ``default_p2p_push_expiration`` to :http:get:`/keys </keys>`
* ``v36``: adds ``kyc_swap_tos_acceptance`` to :http:get:`/keys </keys>`
* ``v37``: adds :http:get:`/aml/$OFFICER_PUB/wallet-credit </aml/$OFFICER_PUB/wallet-credit>` endpoint
+* ``v38``: adds ``build_version`` to :http:get:`/config </config>`
**Upcoming versions:**
diff --git a/core/donau/get-config.rst b/core/donau/get-config.rst
@@ -16,6 +16,12 @@
// The format is "current:revision:age".
version: string;
+ // Release version of the source code.
+ // The format is MAJOR.MINOR.MICOR[-GITDATA]
+ // and generally follows the "-v" option of the codebase.
+ // Since **v1**.
+ build_version: string;
+
// Name of the protocol.
name: "donau";
diff --git a/core/exchange/get-config.rst b/core/exchange/get-config.rst
@@ -18,6 +18,12 @@
// The format is "current:revision:age".
version: string;
+ // Release version of the source code.
+ // The format is MAJOR.MINOR.MICOR[-GITDATA]
+ // and generally follows the "-v" option of the codebase.
+ // Since **v38**.
+ build_version: string;
+
// Name of the protocol.
name: "taler-exchange";