Releases: roadrunner-php/jobs
Releases · roadrunner-php/jobs
v2.3.1
What's Changed
- RR jobs plugin requires string map by @rauanmayemir in #20
New Contributors
- @rauanmayemir made their first contribution in #20
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- Allow to define durable queue info property by @kafkiansky in #17
New Contributors
- @kafkiansky made their first contribution in #17
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
- Adds support for NATS create info by @butschster in #16
Full Changelog: v2.1.1...v2.2.0
v2.1.1
Merge pull request #15 from spiral/fix/job-auto-ack Fixes problem with setting auto_ack for Job class
v2.1.0
What's Changed
- Added
auto_ack
option to the Job class by @butschster in #14
use Spiral\RoadRunner\Jobs\Queue\MemoryCreateInfo;
use Spiral\RoadRunner\Jobs\Options;
use Spiral\RoadRunner\Jobs\Jobs;
// Create with default values
$options = new Options();
// Jobs service
$jobs = new Jobs(RPC::create('tcp://127.0.0.1:6001'));
// Select "test" queue from jobs
$queue = $jobs->connect('test');
// or create a new queue
$queue = $jobs->create(new MemoryCreateInfo('local'));
// Set default auto ack for all tasks
$queue = $queue->withDefaultOptions(
$options->withAutoAck(true)
);
// Create a new task with custom auto ack
$task = $queue->push(
'task_name',
['foo' => 'bar'],
(new Options())->withAutoAck(false)
);
// or change auto ack for created task
$task = $queue->create(
'task_name',
['foo' => 'bar']
)->withAutoAck(false);
$queue->dispatch($task);
Full Changelog: v2.0.5...v2.1.0
v2.0.5
What's Changed
- Fixes problem with queue "is paused" state checking by @butschster in #12
New Contributors
- @butschster made their first contribution in #12
Full Changelog: v2.0.4...v2.0.5
v2.0.4
What's Changed
- dont send the empty headers to RR by @sergey-telpuk in #11
- chore: change ramsey/uuid dependency version by @sinhix in #10
New Contributors
Full Changelog: v2.0.2...v2.0.4
v2.0.2
What's Changed
- Replace
queue
key withname
by @roxblnfk in #7 - deleted $this->complete(); from __destruct by @sergey-telpuk in #9
New Contributors
- @roxblnfk made their first contribution in #7
- @sergey-telpuk made their first contribution in #9
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Merge pull request #1 from spiral/feature/memory-driver-renaming Rename ephemeral to memory driver
v2.0.0-rc1
- Rename "ephemeral" to "memory" driver and constants.
- Fix SQS and Beanstalk drivers create DTOs.