Skip to content

Commit

Permalink
Release 1.204.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgafka authored and github-actions[bot] committed Nov 9, 2023
1 parent 7f62707 commit b72f2f4
Show file tree
Hide file tree
Showing 19 changed files with 29 additions and 35 deletions.
4 changes: 2 additions & 2 deletions packages/Amqp/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"require": {
"ext-amqp": "*",
"ecotone/enqueue": "~1.203.8",
"ecotone/enqueue": "~1.204.0",
"enqueue/amqp-ext": "^0.10.18",
"enqueue/dsn": "^0.10.4",
"enqueue/enqueue": "^0.10.0"
Expand All @@ -63,7 +63,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "amqp"
Expand Down
4 changes: 2 additions & 2 deletions packages/Dbal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"require": {
"ecotone/enqueue": "~1.203.8",
"ecotone/enqueue": "~1.204.0",
"enqueue/dbal": "^0.10.17",
"doctrine/dbal": "^2.12.0|^3.0"
},
Expand All @@ -54,7 +54,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "dbal"
Expand Down
2 changes: 0 additions & 2 deletions packages/Dbal/src/DbalReconnectableConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
namespace Ecotone\Dbal;

use Doctrine\DBAL\Connection;
use Doctrine\Persistence\ManagerRegistry;
use Ecotone\Enqueue\ReconnectableConnectionFactory;
use Ecotone\Messaging\Support\InvalidArgumentException;
use Enqueue\Dbal\DbalConnectionFactory;
use Enqueue\Dbal\DbalContext;
use Enqueue\Dbal\ManagerRegistryConnectionFactory;
use Interop\Queue\Context;
use ReflectionClass;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public function getRegistry(): ManagerRegistry
{
return $this->registry;
}
}
}
5 changes: 2 additions & 3 deletions packages/Dbal/src/ManagerRegistryEmulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ public function __construct(
private Connection $connection,
private array $pathsToMapping = [],
private ?EntityManager $entityManager = null
)
{
) {
}

public static function fromConnectionFactory(DbalConnectionFactory $dbalConnectionFactory): EcotoneManagerRegistryConnectionFactory
Expand Down Expand Up @@ -163,4 +162,4 @@ private function setupEntityManager(): void

$this->entityManager = EntityManager::create($this->getConnection(), $config);
}
}
}
3 changes: 1 addition & 2 deletions packages/Dbal/src/ObjectManager/ObjectManagerInterceptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Doctrine\ORM\EntityManagerInterface;
use Doctrine\Persistence\ManagerRegistry;
use Ecotone\Dbal\DbalReconnectableConnectionFactory;
use Ecotone\Dbal\EcotoneManagerRegistryConnectionFactory;
use Ecotone\Messaging\Attribute\Parameter\Reference;
use Ecotone\Messaging\Handler\Logger\LoggingGateway;
Expand Down Expand Up @@ -40,7 +39,7 @@ public function transactional(MethodInvocation $methodInvocation, Message $messa
foreach ($managerRegistries as $managerRegistry) {
/** @var EntityManagerInterface $objectManager */
foreach ($managerRegistry->getManagers() as $name => $objectManager) {
if (!$objectManager->isOpen()) {
if (! $objectManager->isOpen()) {
$managerRegistry->resetManager($name);
}
if ($this->depthCount === 1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Test\Ecotone\Dbal\Fixture\ORM\PersonRepository;

use Doctrine\ORM\EntityManagerInterface;
use Doctrine\Persistence\ManagerRegistry;
use Ecotone\Messaging\Support\Assert;
use Test\Ecotone\Dbal\Fixture\ORM\Person\Person;
Expand Down
1 change: 0 additions & 1 deletion packages/Dbal/tests/Integration/ORMTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Ecotone\Messaging\Config\ServiceConfiguration;
use Ecotone\Messaging\Support\InvalidArgumentException;
use Enqueue\Dbal\DbalConnectionFactory;
use Symfony\Bridge\Doctrine\ManagerRegistry;
use Test\Ecotone\Dbal\DbalMessagingTestCase;
use Test\Ecotone\Dbal\Fixture\ORM\Person\Person;
use Test\Ecotone\Dbal\Fixture\ORM\Person\RegisterPerson;
Expand Down
2 changes: 1 addition & 1 deletion packages/Ecotone/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "ecotone"
Expand Down
4 changes: 2 additions & 2 deletions packages/Enqueue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"queue-interop/queue-interop": "^0.8",
"enqueue/dsn": "^0.10.4"
},
Expand All @@ -53,7 +53,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "enqueue"
Expand Down
4 changes: 2 additions & 2 deletions packages/JmsConverter/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"jms/serializer": "^3.17",
"symfony/cache": "^5.4|^6.1"
},
Expand All @@ -57,7 +57,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "jms-converter"
Expand Down
4 changes: 2 additions & 2 deletions packages/Laravel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"laravel/framework": "^9.0|^10.0"
},
"require-dev": {
Expand All @@ -52,7 +52,7 @@
]
},
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "laravel"
Expand Down
6 changes: 3 additions & 3 deletions packages/LiteApplication/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
}
},
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/jms-converter": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"ecotone/jms-converter": "~1.204.0",
"php-di/php-di": "^7.0.1"
},
"require-dev": {
Expand All @@ -47,7 +47,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "lite-application"
Expand Down
4 changes: 2 additions & 2 deletions packages/OpenTelemetry/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"open-telemetry/sdk": "^1.0.0|^1.0.0beta17"
},
"require-dev": {
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "open-telemetry"
Expand Down
4 changes: 2 additions & 2 deletions packages/PdoEventSourcing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"require": {
"ecotone/dbal": "~1.203.8",
"ecotone/dbal": "~1.204.0",
"prooph/pdo-event-store": "^1.15.1"
},
"require-dev": {
Expand All @@ -49,7 +49,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "pdo-event-sourcing"
Expand Down
4 changes: 2 additions & 2 deletions packages/Redis/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"require": {
"ecotone/enqueue": "~1.203.8",
"ecotone/enqueue": "~1.204.0",
"enqueue/redis": "^0.10.9"
},
"require-dev": {
Expand All @@ -57,7 +57,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "redis"
Expand Down
4 changes: 2 additions & 2 deletions packages/Sqs/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"require": {
"ecotone/enqueue": "~1.203.8",
"ecotone/enqueue": "~1.204.0",
"enqueue/sqs": "^0.10.15",
"aws/aws-sdk-php": "<=3.269.5"
},
Expand All @@ -52,7 +52,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "sqs"
Expand Down
4 changes: 2 additions & 2 deletions packages/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"description": "Extends Ecotone with Symfony integration",
"require": {
"ecotone/ecotone": "~1.203.8",
"ecotone/ecotone": "~1.204.0",
"laminas/laminas-zendframework-bridge": "^1.0.0",
"symfony/console": "^5.4|^6.0",
"symfony/dependency-injection": ">=v5.4.19 <6.0.0 || >=v6.0.19 <6.1.0 || >=v6.1.11 <6.2.0 || >=v6.2.5 <7.0.0",
Expand Down Expand Up @@ -80,7 +80,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "symfony"
Expand Down
2 changes: 1 addition & 1 deletion quickstart-examples/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.203.8-dev"
"dev-main": "1.204.0-dev"
},
"ecotone": {
"repository": "quickstart-examples"
Expand Down

0 comments on commit b72f2f4

Please sign in to comment.