Releases: bernardphp/bernard
Releases · bernardphp/bernard
Release: 0.9.0
- Support any callable in ObjectResolver
- Implement Middleware. Middleware is used by the Consumer and Producer when a Message in queued or consumed.
- Removed Spork support until it can be reimplemented as a Middleware.
- Add
LoggerMiddleware
andErrorLogMiddleware
for basic logging when producing and consuming messages.
0.8.0
- Service resolvers now resolve to a callable. This allows for closures to do work.
- Consumer is now responsible for creating Invoker object.
- Spork return a Proxy object that allows calling the right method on service object.
- New schema for
DoctrineDriver
. Queues are now kept in a seperate table. ObjectResolver
now supports object instances and class names. Laravel can then register
facades.- ServiceResolvers now takes an optional array of
array('MessageName' => $service)
.
0.7.1
Fixes bug in DoctrineDriver::peekQueue()
where placeholders within a LIMIT clause would result in syntax error on MySQL and MariaDB.
0.7.0
0.6.1
0.6.0
- Add driver for Amazon SQS @ukautz
- Add driver for Iron MQ @ukautz
- Add driver for Doctrine DBAL which brings support for major SQL backends.
- Implement acknowledge logic for messages and drivers that uses it. @ukautz
- Add prefetching for drivers that use slow endpoints and supports getting more than one message.
- Refactor
Consumer
and cover it with tests. - Drop using mocks where appropiate and instead use
InMemoryQueue
andInMemoryFactory
- Remove
example/in_memory.php
. - Bring consistency by using
Envelope
internally andMessage
externally (end user).