mirror of
https://github.com/planetmint/planetmint.git
synced 2025-07-09 05:52:30 +00:00
Hot fix 2.3.1 (#340)
* fixed issues after 2.3.0, one that has been caused by refactoring, the other existed already * version bump and changlog Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
83dfbed8b2
commit
59f25687da
@ -25,12 +25,16 @@ For reference, the possible headings are:
|
|||||||
* **Known Issues**
|
* **Known Issues**
|
||||||
* **Notes**
|
* **Notes**
|
||||||
|
|
||||||
|
|
||||||
|
## [2.3.1] - 2023-02-03
|
||||||
|
* **Fixed** backend.models.assets class content type issue (verification if objects are of type dict)
|
||||||
|
* **Fixed** Type defintions of Exceptions in the backend.query exception catching decorat
|
||||||
|
|
||||||
## [2.3.0] - 2023-01-03
|
## [2.3.0] - 2023-01-03
|
||||||
* **Fixed** double usage of the tarantool driver in one instance that lead to crashes
|
* **Fixed** double usage of the tarantool driver in one instance that lead to crashes
|
||||||
* **Changed** refactored a lot of classes and the structure
|
* **Changed** refactored a lot of classes and the structure
|
||||||
* **Changed** upgraded to tarantool driver 0.12.1
|
* **Changed** upgraded to tarantool driver 0.12.1
|
||||||
|
|
||||||
|
|
||||||
## [2.2.4] - 2023-15-02
|
## [2.2.4] - 2023-15-02
|
||||||
* **Fixed** subcondition instantiation now works recursively
|
* **Fixed** subcondition instantiation now works recursively
|
||||||
* **Changed** migrated dependency management to poetry
|
* **Changed** migrated dependency management to poetry
|
||||||
|
@ -23,7 +23,7 @@ class Asset:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def from_list_dict(asset_dict_list: list[dict]) -> list[Asset]:
|
def from_list_dict(asset_dict_list: list[dict]) -> list[Asset]:
|
||||||
return [Asset.from_dict(asset_dict) for asset_dict in asset_dict_list]
|
return [Asset.from_dict(asset_dict) for asset_dict in asset_dict_list if isinstance(asset_dict, dict)]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def list_to_dict(asset_list: list[Asset]) -> list[dict]:
|
def list_to_dict(asset_list: list[Asset]) -> list[dict]:
|
||||||
|
@ -54,10 +54,10 @@ def catch_db_exception(function_to_decorate):
|
|||||||
raise schema_error
|
raise schema_error
|
||||||
except NetworkError as net_error:
|
except NetworkError as net_error:
|
||||||
raise net_error
|
raise net_error
|
||||||
except ValueError:
|
except ValueError as e:
|
||||||
logger.info(f"ValueError in Query/DB instruction: {e}: raising DBConcurrencyError")
|
logger.info(f"ValueError in Query/DB instruction: {e}: raising DBConcurrencyError")
|
||||||
raise DBConcurrencyError
|
raise DBConcurrencyError
|
||||||
except AttributeError:
|
except AttributeError as e:
|
||||||
logger.info(f"Attribute in Query/DB instruction: {e}: raising DBConcurrencyError")
|
logger.info(f"Attribute in Query/DB instruction: {e}: raising DBConcurrencyError")
|
||||||
raise DBConcurrencyError
|
raise DBConcurrencyError
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||||
# Code is Apache-2.0 and docs are CC-BY-4.0
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
||||||
|
|
||||||
__version__ = "2.3.0"
|
__version__ = "2.3.1"
|
||||||
__short_version__ = "2.3"
|
__short_version__ = "2.3"
|
||||||
|
|
||||||
# Supported Tendermint versions
|
# Supported Tendermint versions
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "planetmint"
|
name = "planetmint"
|
||||||
version = "2.3.0"
|
version = "2.3.1"
|
||||||
description = "Planetmint: The Blockchain Database"
|
description = "Planetmint: The Blockchain Database"
|
||||||
authors = ["Planetmint contributors"]
|
authors = ["Planetmint contributors"]
|
||||||
license = "AGPLv3"
|
license = "AGPLv3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user