-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathchangelog.txt
More file actions
39 lines (34 loc) · 2.03 KB
/
Copy pathchangelog.txt
File metadata and controls
39 lines (34 loc) · 2.03 KB
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
# lib-cmd-queue-redis changelog
REVERTED - 0.5.0, 0.5.1, 0.6.0, 0.7.0 (13 - 18 Jul 2026)
- These releases have been reverted; this module is back at 0.4.0 and to its
lib-data-stream-redis dependency:
- 0.5.0 - async, non-blocking processing with heartbeat lease (PR #84, bdf9374)
- 0.5.1 - retry command on handler exception instead of terminal-failing it (PR #87, 6c7b171)
- 0.6.0 - error tracking on CommandState: errorsCount, error, modifiedAt (PR #89, e54229e)
- 0.7.0 - migrate to lib-data-workqueue(-redis); CommandStatus SUBMITTED -> PENDING and
RUNNING -> PROCESSING (PR #86, f3f4ac4)
- DOWNGRADE WARNING: 0.7.0 persists command state with the renamed PENDING/PROCESSING values
and a 7-day TTL. This 0.4.0 code cannot decode them (PROCESSING fails deserialization;
PENDING was a dead constant here), so if 0.7.0 ever ran against a given Redis, wait out the
TTL or flush the affected command-state keys before rolling back onto it.
- Sources and full changelog of the reverted work - including the unreleased invocation-lease
rework (2ecc744) that was never merged: branch archive/workqueue-pre-revert.
0.4.0 - 13 May 2026
- Add CommandQueue(MessageStream, StreamMetrics) constructor for optional Micrometer instrumentation
- Requires lib-data-stream-redis 1.4.0+
0.3.0 - 22 Feb 2026
- Remove stale compileOnly Groovy dependency (AbstractMessageStream is now pure Java)
0.2.0 - 5 Feb 2026
- Add explicit start()/stop() lifecycle to CommandService
- Replace @PostConstruct auto-start with caller-controlled queue consumption
- Handlers must be registered before calling start()
0.1.0 - 15 Jan 2026
- Initial release
- Asynchronous command queue with persistent state tracking
- Fire-and-forget command submission
- Typed parameters and results with JSON serialization
- Status transitions: SUBMITTED → RUNNING → SUCCEEDED/FAILED/CANCELLED
- Automatic timeout handling for long-running commands
- Periodic status checking via checkStatus() for async commands
- Command cancellation support
- Redis-backed persistent storage with TTL expiration