-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathUPGRADING
92 lines (68 loc) · 3.01 KB
/
UPGRADING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
-------------------------------------------------------------------------------
2.0.6
1. Backward Incompatible Changes
2. New Features
3. Deprecated Functionality
4. Performance Improvements
========================================
1. Backward Incompatible Changes
========================================
- Publisher:
- All the `Publisher`'s are now `abstract` classes
- `__construct` no longer accepts adapter, define `setupAdapter` instead
- `setupAdapter` is new method that set-up's the adapter instead of constructor
- `__wakeup` and `__sleep` are now defined on `AbstractPublisher` for serialization
========================================
2. New Features
========================================
Will now keep track of changes in UPGRADING document.
New `Serialized` idea is a worker/queue/publisher that wrap messages from other publishers, currently
this is used to reliably delay long tasts (i.e. something to be scheduled in two weeks), and is used together
with new `DynamoSQS` adapter that saves jobs to AWS DynamoDB and once jobs are ready (TTL triggers) they end up
in SQS queue (DynamoDB->DynamoDB Stream->Lambda->SQS) where they are picked up by worker.
`DynamoSQS` uses DynamoDB for saving and SQS for picking jobs.
- Publisher:
- New `Serialized` publisher
- Workers:
- New `Serialized` worker
- New `Closure` worker
- Message
- New `Serialized` message
- Adapter
- New `DynamoSQS` adapter
========================================
3. Deprecated Functionality
========================================
`Nsq` adapter is no longer maintaned as it's performance is too low. The benefit it has is built-in dashboard
and status of queues. You can continue using it as is.
`toggleDebug()` is removed on workers, they now use standard PSR logger, by default with NORMAL verbose level and
output to console
`debug()` is removed on workers, replaced with `logDebug()`
========================================
4. Performance Improvements
========================================
Refactored internal worker generator loop for handling of empty loops, this affects the APNS worker directly
and possibly others.
Recommended PHP version 7.2 or 7.3.
-------------------------------------------------------------------------------
1.9.13
1. New Features
2. Deprecated Functionality
3. Performance Improvements
========================================
1. New Features
========================================
Summarizing all changes between 1.3 and 1.9.
1.9.13 is last stable and recommended release in version 1.
- Adapter
- New `NSQ` adapter for nsq.io server (distributed, scalable, has built-in ui)
- New `Redis` adapter based on illuminate/redis and illuminate/queue
========================================
2. Deprecated Functionality
========================================
`GCM` worker, adapter and message are removed in favor of `Fcm`.
========================================
3. Performance Improvements
========================================
Many bugfixes and improvements, please use latest 1.9 release.
New logger api.