From 503ce0091db93fac9609151d893c4bd3d418f925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Garc=C3=ADa=20Prado?= Date: Tue, 30 Nov 2021 09:19:34 +0100 Subject: [PATCH] v0.3.1 --- HISTORY.md | 9 +++++++++ minos/networks/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index f971672e..70d94e7b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -151,3 +151,12 @@ History * Rename `Consumer` and `ConsumerService` as `BrokerConsumer` and `BrokerConsumerService` respectively. * Rename `Producer` and `ProducerService` as `BrokerProducer` and `BrokerProducerService` respectively. * Rename `HandlerRequest`, `HandlerResponse` and `HandlerResponseException` as `BrokerRequest`, `BrokerResponse` and `BrokerResponseException` respectively. + +0.3.1 (2021-11-30) +------------------ + +* Add `identifier: UUID` and `headers: dict[str, str]` attributes to `BrokerMessage`. +* Remove `saga: Optional[UUID]` and `service_name: str` attributes from `BrokerMessage`. +* Now `BrokerPublisher.send` returns the `BrokerMessage` identifier instead of the entry identifier on the `Producer`'s queue. +* Add `REQUEST_HEADERS_CONTEXT_VAR`. +* Rename `USER_CONTEXT_VAR` and `REPLY_TOPIC_CONTEXT_VAR` as `REQUEST_USER_CONTEXT_VAR` and `REQUEST_REPLY_TOPIC_CONTEXT_VAR` respectively. diff --git a/minos/networks/__init__.py b/minos/networks/__init__.py index 660b1040..01b65a85 100644 --- a/minos/networks/__init__.py +++ b/minos/networks/__init__.py @@ -1,6 +1,6 @@ __author__ = """Clariteia Devs""" __email__ = "devs@clariteia.com" -__version__ = "0.3.0" +__version__ = "0.3.1" from .brokers import ( REQUEST_HEADERS_CONTEXT_VAR, diff --git a/pyproject.toml b/pyproject.toml index 281b3a30..061d8ccf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "minos_microservice_networks" -version = "0.3.0" +version = "0.3.1" description = "Python Package with the common network classes and utilities used in Minos Microservice." readme = "README.md" repository = "https://github.com/clariteia/minos_microservice_network"