Skip to content

Commit 05c0979

Browse files
author
Sergio García Prado
committed
v0.6.0
1 parent 74f6016 commit 05c0979

File tree

42 files changed

+3157
-2884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3157
-2884
lines changed

packages/core/minos-microservice-aggregate/HISTORY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@
9393
* Add `RefResolver.build_topic_name` static method.
9494
* Remove `SnapshotService.__get_one__` method.
9595
* Minor changes.
96+
97+
0.6.0 (2022-03-28)
98+
------------------
99+
100+
* Replace `dependency-injector`'s injection classes by the ones provided by the `minos.common.injections` module.
101+
* Be compatible with latest `minos.common.Config` API.

packages/core/minos-microservice-aggregate/minos/aggregate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__ = "Minos Framework Devs"
22
__email__ = "[email protected]"
3-
__version__ = "0.5.4"
3+
__version__ = "0.6.0"
44

55
from .actions import (
66
Action,

packages/core/minos-microservice-aggregate/poetry.lock

Lines changed: 148 additions & 452 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/minos-microservice-aggregate/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "minos-microservice-aggregate"
3-
version = "0.5.4"
3+
version = "0.6.0"
44
description = "The Aggregate pattern of the Minos Framework"
55
readme = "README.md"
66
repository = "https://github.com/minos-framework/minos-python"
@@ -31,8 +31,8 @@ include = [
3131

3232
[tool.poetry.dependencies]
3333
python = "^3.9"
34-
minos-microservice-common = "^0.5.0"
35-
minos-microservice-networks = "^0.5.0"
34+
minos-microservice-common = "^0.6.0"
35+
minos-microservice-networks = "^0.6.0"
3636
cached-property = "^1.5.2"
3737
psycopg2-binary = "^2.9.3"
3838

packages/core/minos-microservice-aggregate/tests/test_aggregate/test_snapshots/test_pg/test_api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ def setUp(self) -> None:
4343

4444
self.classname = "path.to.Product"
4545

46+
async def asyncSetUp(self):
47+
await super().asyncSetUp()
48+
await self.snapshot_repository.setup()
49+
50+
async def asyncTearDown(self):
51+
await self.snapshot_repository.destroy()
52+
await super().asyncTearDown()
53+
4654
def test_from_config(self):
4755
self.assertIsInstance(self.snapshot_repository.reader, PostgreSqlSnapshotReader)
4856
self.assertIsInstance(self.snapshot_repository.writer, PostgreSqlSnapshotWriter)

packages/core/minos-microservice-common/HISTORY.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,21 @@ History
291291

292292
* Big performance improvement related with a caching layer over type hint comparisons at `TypeHintComparator`.
293293
* Improve attribute and item accessors of `Model`.
294-
* Fix bug related with casting from `dict` to `Model` instances on field setters.
294+
* Fix bug related with casting from `dict` to `Model` instances on field setters.
295+
296+
0.6.0 (2022-03-28)
297+
------------------
298+
299+
* Add `Config` with support for config versioning.
300+
* Add `ConfigV1` as the class that supports the V1 config file.
301+
* Add `ConfigV2` as the class that supports the V1 config file.
302+
* Deprecate `MinosConfig` in favor of `Config`.
303+
* Add `get_internal_modules` function.
304+
* Add `Injectable` decorator to provide a way to set a class as injectable.
305+
* Add `InjectableMixin` class that provides the necessary methods to be injectable.
306+
* Add `Inject` decorator to provide a way to inject variables on functions based on types.
307+
* Add `LockPool` base class as the base class for lock pools.
308+
* Add `Object` base class with the purpose to avoid issues related with multi-inheritance and mixins.
309+
* Add `Port` base class as the base class for ports.
310+
* Add `CircuitBreakerMixin` class to provide circuit breaker functionalities.
311+
* Add `SetupMixin` class as a replacement of the `MinosSetup` class.

packages/core/minos-microservice-common/minos/common/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__author__ = "Minos Framework Devs"
22
__email__ = "[email protected]"
3-
__version__ = "0.5.3"
3+
__version__ = "0.6.0"
44

55
from .builders import (
66
BuildableMixin,

packages/core/minos-microservice-common/poetry.lock

Lines changed: 104 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/minos-microservice-common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "minos-microservice-common"
3-
version = "0.5.3"
3+
version = "0.6.0"
44
description = "The common core of the Minos Framework"
55
readme = "README.md"
66
repository = "https://github.com/minos-framework/minos-python"

packages/core/minos-microservice-cqrs/HISTORY.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969

7070
* Fix bug related with dependency specification.
7171

72-
# 0.5.3 (2022-03-04)
72+
## 0.5.3 (2022-03-04)
7373

7474
* Update the `resolve_references: bool` default value to `False` defined at `PreEventHandler.handle`.
75-
* Improve error messages of `PreEventHandler`.
75+
* Improve error messages of `PreEventHandler`.
76+
77+
## 0.6.0 (2022-03-28)
78+
79+
* Replace `dependency-injector`'s injection classes by the ones provided by the `minos.common.injections` module.
80+
* Be compatible with latest `minos.common.Config` API.

0 commit comments

Comments
 (0)