From 7365e5dfb997e21b5cee6043d969b5fdf700051a Mon Sep 17 00:00:00 2001 From: Konstantin Klepikov Date: Fri, 20 Jan 2023 20:09:53 +0200 Subject: [PATCH] release 0.1.0 --- CHANGELOG.rst | 34 ++++++++++++++++++++++++++++++++ bgameb/_version.py | 2 +- bgameb/newsfragments/270.feature | 12 ----------- bgameb/newsfragments/270.removal | 9 --------- 4 files changed, 35 insertions(+), 22 deletions(-) delete mode 100644 bgameb/newsfragments/270.feature delete mode 100644 bgameb/newsfragments/270.removal diff --git a/CHANGELOG.rst b/CHANGELOG.rst index efb0afe..8c08f9b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,40 @@ BoardGameBuilder changelog ========================== .. release notes +Release v0.1.0 (2023-01-20) +=========================== + +Features +-------- + +- #270: + - Added pydantic + - Added PropertyBaseModel - is expanding subclass of pydantic BaseModel. It used for get properties as pydantic fields + - Component is a pydantic generic and mapping class with dict interface + - now we not check unique name of object in Component + - all classes are pydantic classes. dataclasses-json dependencies removed + - for relocate attrs is used pydantic aliaces of fields + - for fill shcemas by calable inside classes is used properties + - method by_id of tools return list of objects + - tests refactoring and tested all + - docs and readme changes + - -> (https://github.com/KonstantinKlepikov/BoardGameBuilder/issues/270) + + +Deprecations and Removals +------------------------- + +- # 270: + - dataclasses-json dependecie is removed + - attr c is removed from all classes except tools + - some methods, that get stuff from Component in stuff classes are removed (like get_items()) + - from Bag class removed current and last attributes. Bag cant be dealt + - Component now isnt set-like dict - we can add copies with identical keys, it replace old objects. Ids not check now. + - other attribute (for not defined in shcema data) is removed + - are removed relocate() and relocate_all() methods + - -> (https://github.com/KonstantinKlepikov/BoardGameBuilder/issues/270) + + Release v0.0.39 (2023-01-14) ============================ diff --git a/bgameb/_version.py b/bgameb/_version.py index 0b0a759..c6fbb05 100644 --- a/bgameb/_version.py +++ b/bgameb/_version.py @@ -7,5 +7,5 @@ from incremental import Version -__version__ = Version("bgameb", 0, 0, 39) +__version__ = Version("bgameb", 0, 1, 0) __all__ = ["__version__"] diff --git a/bgameb/newsfragments/270.feature b/bgameb/newsfragments/270.feature deleted file mode 100644 index e893ba0..0000000 --- a/bgameb/newsfragments/270.feature +++ /dev/null @@ -1,12 +0,0 @@ -#270: - - Added pydantic - - Added PropertyBaseModel - is expanding subclass of pydantic BaseModel. It used for get properties as pydantic fields - - Component is a pydantic generic and mapping class with dict interface - - now we not check unique name of object in Component - - all classes are pydantic classes. dataclasses-json dependencies removed - - for relocate attrs is used pydantic aliaces of fields - - for fill shcemas by calable inside classes is used properties - - method by_id of tools return list of objects - - tests refactoring and tested all - - docs and readme changes - - -> \ No newline at end of file diff --git a/bgameb/newsfragments/270.removal b/bgameb/newsfragments/270.removal deleted file mode 100644 index 459836e..0000000 --- a/bgameb/newsfragments/270.removal +++ /dev/null @@ -1,9 +0,0 @@ -# 270: - - dataclasses-json dependecie is removed - - attr c is removed from all classes except tools - - some methods, that get stuff from Component in stuff classes are removed (like get_items()) - - from Bag class removed current and last attributes. Bag cant be dealt - - Component now isnt set-like dict - we can add copies with identical keys, it replace old objects. Ids not check now. - - other attribute (for not defined in shcema data) is removed - - are removed relocate() and relocate_all() methods - - -> \ No newline at end of file