What's Changed * feat: just notify when rabbitmq configure raises a connection error by franciscorode in https://github.com/alice-biometrics/petisco/pull/431
What's Changed * feat: improve lost connection notifications in rabbitmq consumer by franciscorode in https://github.com/alice-biometrics/petisco/pull/430
What's Changed * feat: prepare petisco to be compatible with meiga v1.9.4 as it's coup… by acostapazo in https://github.com/alice-biometrics/petisco/pull/427 * Feature/sql provider optimize logs by acostapazo in https://github.com/alice-biometrics/petisco/pull/428
- generate SQL models diagram with petisco-dev (424) - **RabbitMqMessageConsumer**: add external configuration of inner buses (sharing same channel) (422) - **Uuid**: research migration and limitations (412) - enrich critical errors with controller parameters (420) - **CriticalError**: add semantics on some critical errors (417) - **Message**: add __hash__ (415) - **notifier**: add compatibility to add meta from controller input (411) - **ensure-async-routers**: check if all routers have been defined as async (409) - **RabbitMqConfigurer**: add parametrization to configure inner buse… (406) - **Uuid**: add input output useful methods (404) - **rabbitmq**: add alias option in get_rabbitmq_message_dependencies (391) - **RabbitMqConfigurer**: create a tool to define and configure rabbitmq on app configuration (389) - **repository**: add SqlRepository and ElasticRepository to simplify construction with session scopes (380) - **petisco-dev**: add sql-model option to modify declarative-base (374) - **sql**: implement before_initial_statements and after_initial_statements in SqlDatabase. Implement custom initialization in databases. And present an example to create a program with several sql databases and model gathering (373) - **value_object**: add field_serializer tool on ValueObject (pydanti… (367)
Fix
- **elastic-testing**: solving some skipped elastic events (419) - **ResponseMocker**: solve tests - **ResponseMocker**: mock also success status_code - **ResponseMocker**: content when success use now self.header_key - **RabbitMqConnector**: remove prefetch_size as it is not implemented in rabbitmq and parametrize prefetch_count (407) - **AggregateRoot**: add support for Annotated params (402) - **mypy**: solve error defining disable_error_code - **mypy**: rename config file - **elastic_is_running_locally**: solve bug on database creation using local alias (395) - **Message**: meta is a dict if empty when load from formatted message (392) - **public_api**: solve error packaging legacy submodule (message) - message type issues (388) - **Middelwares**: protect controllers and subscribers from middleware uncontroller exceptions (385) - **databases**: solve error on clear_database (379) - avoid exception when traceback is None - **petisco-dev**: fix error en -sql-models (371)
Refactor
- **DomainError**: use get_specific_detail instead of get_specify_detail (418)
Perf
- increase attempts wait to reconnect rabbit consumers (426)
Detail * V2 by acostapazo in https://github.com/alice-biometrics/petisco/pull/354 * perf: increase max attempts to reconnect rabbit consumers by franciscorode in https://github.com/alice-biometrics/petisco/pull/361 * perf: increase max attempts to reconnect rabbit consumers by franciscorode in https://github.com/alice-biometrics/petisco/pull/363 * chore(simplification): improve databases interface by acostapazo in https://github.com/alice-biometrics/petisco/pull/364 * chore: update to pydantic v2 by acostapazo in https://github.com/alice-biometrics/petisco/pull/365 * feat(shared_error_map): implement option to upload a shared error map… by acostapazo in https://github.com/alice-biometrics/petisco/pull/366 * feat(value_object): add field_serializer tool on ValueObject (pydanti… by acostapazo in https://github.com/alice-biometrics/petisco/pull/367 * chore(typing): add some missing typehints on sql module. also fixed S… by acostapazo in https://github.com/alice-biometrics/petisco/pull/368 * chore: add ElasticSession and AsyncElasticSessionScope type by acostapazo in https://github.com/alice-biometrics/petisco/pull/369 * Bugfix/example persistence by acostapazo in https://github.com/alice-biometrics/petisco/pull/370 * fix(petisco-dev): fix error en -sql-models by acostapazo in https://github.com/alice-biometrics/petisco/pull/371 * fix: avoid exception when traceback is None by miguel-lorenzo in https://github.com/alice-biometrics/petisco/pull/372 * feat(sql): implement before_initial_statements and after_initial_stat… by acostapazo in https://github.com/alice-biometrics/petisco/pull/373 * feat(petisco-dev): add sql-model option to modify declarative-base by acostapazo in https://github.com/alice-biometrics/petisco/pull/374 * chore: add error logging on event buses by fgsalomon in https://github.com/alice-biometrics/petisco/pull/375 * Feature/pydantic v2 by acostapazo in https://github.com/alice-biometrics/petisco/pull/377 * Feature/improving type hints by acostapazo in https://github.com/alice-biometrics/petisco/pull/378 * fix(databases): solve error on clear_database by acostapazo in https://github.com/alice-biometrics/petisco/pull/379 * feat(repository): add SqlRepository and ElasticRepository to simplify… by acostapazo in https://github.com/alice-biometrics/petisco/pull/380 * chore(SqlDatabase): add pool_pre_ping=True in sqlalchemy create_engine by acostapazo in https://github.com/alice-biometrics/petisco/pull/384 * fix(Middelwares): protect controllers and subscribers from middleware… by acostapazo in https://github.com/alice-biometrics/petisco/pull/385 * chore(requirements): update fastapi by acostapazo in https://github.com/alice-biometrics/petisco/pull/386 * fix: message type issues by fgsalomon in https://github.com/alice-biometrics/petisco/pull/388 * feat(RabbitMqConfigurer): create a tool to define and configure rabbi… by acostapazo in https://github.com/alice-biometrics/petisco/pull/389 * chore(typing): improve Container and Message type hints by acostapazo in https://github.com/alice-biometrics/petisco/pull/390 * Improve Dev Experience on DomainEvents and Commands by acostapazo in https://github.com/alice-biometrics/petisco/pull/383 * feat(rabbitmq): add alias option in get_rabbitmq_message_dependencies by acostapazo in https://github.com/alice-biometrics/petisco/pull/391 * fix(Message): meta is a dict if empty when load from formatted message by acostapazo in https://github.com/alice-biometrics/petisco/pull/392 * Feature/fastapi controller responses classmethod by acostapazo in https://github.com/alice-biometrics/petisco/pull/393 * chore(persistence): update elastic_is_running_locally (use databases … by acostapazo in https://github.com/alice-biometrics/petisco/pull/394 * fix(elastic_is_running_locally): solve bug on database creation using… by acostapazo in https://github.com/alice-biometrics/petisco/pull/395 * Feature/improve type hints and upgrade mypy by acostapazo in https://github.com/alice-biometrics/petisco/pull/396 * Feature/aggregate root serialization by acostapazo in https://github.com/alice-biometrics/petisco/pull/399 * chore(message): update pydantic extra (use literal as expected in pyd… by acostapazo in https://github.com/alice-biometrics/petisco/pull/397 * Feature/message info by acostapazo in https://github.com/alice-biometrics/petisco/pull/400 * Feature/aggregate root serialization with unions by acostapazo in https://github.com/alice-biometrics/petisco/pull/401 * fix(AggregateRoot): add support for Annotated params by acostapazo in https://github.com/alice-biometrics/petisco/pull/402 * chore(FastApiController): improve typing of responses to fit fastapi … by acostapazo in https://github.com/alice-biometrics/petisco/pull/403 * feat(Uuid): add input output useful methods by acostapazo in https://github.com/alice-biometrics/petisco/pull/404 * Fix/UUID inmutable errors by acostapazo in https://github.com/alice-biometrics/petisco/pull/405 * fix(RabbitMqConnector): remove prefetch_size as it is not implemented… by acostapazo in https://github.com/alice-biometrics/petisco/pull/407 * feat(RabbitMqConfigurer): add parametrization to configure inner buse… by acostapazo in https://github.com/alice-biometrics/petisco/pull/406 * feat(ensure-async-routers): check if all routers have been defined as… by acostapazo in https://github.com/alice-biometrics/petisco/pull/409 * Feature/fastapi appication use response mock by acostapazo in https://github.com/alice-biometrics/petisco/pull/410 * feat(notifier): add compatibility to add meta from controller input by acostapazo in https://github.com/alice-biometrics/petisco/pull/411 * chore(datetime): replace utcnow() with now(timezone.utc) by acostapazo in https://github.com/alice-biometrics/petisco/pull/413 * feat(Message): add __hash__ by acostapazo in https://github.com/alice-biometrics/petisco/pull/415 * feat(CriticalError): add semantics on some critical errors by acostapazo in https://github.com/alice-biometrics/petisco/pull/417 * refactor(DomainError): use get_specific_detail instead of get_specify… by acostapazo in https://github.com/alice-biometrics/petisco/pull/418 * fix(elastic-testing): solving some skipped elastic events by acostapazo in https://github.com/alice-biometrics/petisco/pull/419 * feat: enrich critical errors with controller parameters by franciscorode in https://github.com/alice-biometrics/petisco/pull/420 * feat(Uuid): research migration and limitations by acostapazo in https://github.com/alice-biometrics/petisco/pull/412 * feat(RabbitMqMessageConsumer): add external configuration of inner bu… by acostapazo in https://github.com/alice-biometrics/petisco/pull/422 * Feature/configure inner buses in rabbitmq message consumer by acostapazo in https://github.com/alice-biometrics/petisco/pull/423 * feat: generate SQL models diagram with petisco-dev by fgsalomon in https://github.com/alice-biometrics/petisco/pull/424 * perf: increase attempts wait to reconnect rabbit consumers by franciscorode in https://github.com/alice-biometrics/petisco/pull/426 * chore(requirements): update elasticsearch version to 8 by acostapazo in https://github.com/alice-biometrics/petisco/pull/425