@imqueue/core 3.4.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +9 -0
- package/CHANGELOG.md +48 -1
- package/README.md +6 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
Notable changes to `@imqueue/core`. Entries start with the first release whose
|
|
4
4
|
behavior changes needed a written record; earlier history is in the git log.
|
|
5
5
|
|
|
6
|
+
A released version absent from this file changed no behavior — it was a
|
|
7
|
+
documentation, CI or packaging-only release. Every release that changed what the
|
|
8
|
+
queue does has an entry.
|
|
9
|
+
|
|
6
10
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
11
|
|
|
8
|
-
## [
|
|
12
|
+
## [3.4.0] - 2026-08-20
|
|
9
13
|
|
|
10
14
|
### Added
|
|
11
15
|
|
|
@@ -77,6 +81,49 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
77
81
|
the configuration is left untouched — enable `notify-keyspace-events` out of
|
|
78
82
|
band there, as before.
|
|
79
83
|
|
|
84
|
+
## [3.3.0] - 2026-07-28
|
|
85
|
+
|
|
86
|
+
### Fixed
|
|
87
|
+
|
|
88
|
+
- **One transient sweep failure permanently disabled safe-delivery lease
|
|
89
|
+
recovery and the cleanup sweep.** `processWatch()` cleared `safeCheckInterval`
|
|
90
|
+
in its catch block, while `watch()` re-arms that interval only once per
|
|
91
|
+
watcher connection, guarded by a `__ready__` flag the teardown did not reset.
|
|
92
|
+
A single network blip, `CLUSTERDOWN` or slow failover therefore disabled both
|
|
93
|
+
for that connection's whole lifetime.
|
|
94
|
+
|
|
95
|
+
Nothing looked broken when it happened: the queue kept accepting and
|
|
96
|
+
delivering messages, and only messages abandoned by dead workers quietly
|
|
97
|
+
stopped coming back. Recovery needed the watcher connection replaced, or
|
|
98
|
+
another instance winning the lock.
|
|
99
|
+
|
|
100
|
+
A failed sweep now abandons only that sweep, and the next tick retries. The
|
|
101
|
+
legitimate teardowns are unchanged — `runSafeCheck()` still clears the
|
|
102
|
+
interval when the writer is gone, and `destroy()` clears it on shutdown.
|
|
103
|
+
|
|
104
|
+
- **The `./debug` export subpath could never resolve.** It pointed at
|
|
105
|
+
`./debug.d.ts` and `./debug.js`, neither of which exists in the repository or
|
|
106
|
+
in any published tarball, and nothing in core, rpc or the website imports it.
|
|
107
|
+
Removed. Not a breaking change: resolving it failed before with
|
|
108
|
+
`MODULE_NOT_FOUND` and fails now with `ERR_PACKAGE_PATH_NOT_EXPORTED`, so
|
|
109
|
+
nothing that worked stops working — only the error code differs.
|
|
110
|
+
|
|
111
|
+
### Deprecated
|
|
112
|
+
|
|
113
|
+
- **`IMessage.delay` and `IMQOptions.verboseExtended` are inert, and now say
|
|
114
|
+
so.** `send()` builds the wire packet as `{ id, message, from }` and
|
|
115
|
+
`process()` reads back the same three, so `IMessage.delay` is never written
|
|
116
|
+
and never read — a delay lives in the delayed sorted set, not in the envelope.
|
|
117
|
+
Nothing anywhere reads `IMQOptions.verboseExtended`, so setting it produces no
|
|
118
|
+
extra output at all, though the published reference claimed it enabled
|
|
119
|
+
extended verbose logging.
|
|
120
|
+
|
|
121
|
+
Deprecated rather than removed because removal is type-level breaking, and
|
|
122
|
+
inconsistently so: an inline object literal at the call site would stop
|
|
123
|
+
compiling while the same option in an inferred config variable would not, so
|
|
124
|
+
two users with identical intent would get different outcomes from one update.
|
|
125
|
+
Both go in the next major.
|
|
126
|
+
|
|
80
127
|
## [3.2.4] - 2026-07-26
|
|
81
128
|
|
|
82
129
|
### Fixed
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# I Message Queue (@imqueue/core)
|
|
2
2
|
|
|
3
|
-
[](https://github.com/imqueue/core/actions/workflows/build.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@imqueue/core)
|
|
5
|
+
[](https://github.com/imqueue/core/blob/master/LICENSE)
|
|
4
6
|
|
|
5
7
|
Simple JSON-based messaging queue for inter-service communication in Node.js &
|
|
6
8
|
TypeScript back-ends — the Redis-backed transport that powers the @imqueue
|
|
@@ -11,7 +13,9 @@ framework. Fast, poll-free delivery with optional guaranteed mode.
|
|
|
11
13
|
closed-source products at [imqueue.com](https://imqueue.com/).
|
|
12
14
|
|
|
13
15
|
**Using an AI assistant?** Point it at [imqueue.org/llms.txt](https://imqueue.org/llms.txt)
|
|
14
|
-
for a machine-readable index of the docs, or see [AGENTS.md](./AGENTS.md).
|
|
16
|
+
for a machine-readable index of the docs, or see [AGENTS.md](./AGENTS.md). Current
|
|
17
|
+
version, licence and Node floor for every package:
|
|
18
|
+
[imqueue.org/status.json](https://imqueue.org/status.json).
|
|
15
19
|
|
|
16
20
|
**Related packages:**
|
|
17
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imqueue/core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "Fast JSON message queue over Redis for inter-service communication in Node.js & TypeScript microservices — the transport layer of the @imqueue framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"message-queue",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "git://github.com/imqueue/core.git"
|
|
42
|
+
"url": "git+https://github.com/imqueue/core.git"
|
|
43
43
|
},
|
|
44
44
|
"bugs": {
|
|
45
45
|
"url": "https://github.com/imqueue/core/issues"
|