diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b0e49b2..f1ed7de7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.10.5] - 2026-01-23 +### Added +[BaseTreeNode] add description and metadata + ## [1.10.4] - 2026-01-21 ### Added - "markets" to InitializationEventExchangeTopics diff --git a/README.md b/README.md index 07c3f928..35afa2d0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Commons [1.10.4](https://github.com/Drakkar-Software/OctoBot-Commons/blob/master/CHANGELOG.md) +# OctoBot-Commons [1.10.5](https://github.com/Drakkar-Software/OctoBot-Commons/blob/master/CHANGELOG.md) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b31f3ab3511744a5a5ca6b9bb48e77bb)](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Commons?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Commons&utm_campaign=Badge_Grade_Dashboard) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Commons.svg)](https://pypi.python.org/pypi/OctoBot-Commons/) [![Coverage Status](https://coveralls.io/repos/github/Drakkar-Software/OctoBot-Commons/badge.svg?branch=master)](https://coveralls.io/github/Drakkar-Software/OctoBot-Commons?branch=master) diff --git a/octobot_commons/__init__.py b/octobot_commons/__init__.py index aae8dfcf..ccd2b1f7 100644 --- a/octobot_commons/__init__.py +++ b/octobot_commons/__init__.py @@ -16,7 +16,7 @@ # License along with this library. PROJECT_NAME = "OctoBot-Commons" -VERSION = "1.10.4" # major.minor.revision +VERSION = "1.10.5" # major.minor.revision MARKET_SEPARATOR = "/" SETTLEMENT_ASSET_SEPARATOR = ":" diff --git a/octobot_commons/tree/base_tree.py b/octobot_commons/tree/base_tree.py index 6ea9ba9c..b40ed4fe 100644 --- a/octobot_commons/tree/base_tree.py +++ b/octobot_commons/tree/base_tree.py @@ -24,6 +24,8 @@ class BaseTreeNode: "node_value", "node_value_time", "node_type", + "node_description", + "node_metadata", "children", ] @@ -31,6 +33,8 @@ def __init__(self, node_value, node_type, **_): self.node_value = node_value self.node_value_time = None self.node_type = node_type + self.node_description = None + self.node_metadata = {} self.children = {} def set_child(self, key, child):