amqplib 0.5.5 → 0.7.1
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/CHANGELOG.md +43 -3
- package/Makefile +3 -2
- package/README.md +1 -1
- package/bin/generate-defs.js +1 -1
- package/examples/tutorials/package.json +1 -1
- package/lib/defs.js +166 -184
- package/lib/mux.js +6 -21
- package/package-lock.json +942 -30
- package/package.json +6 -6
- package/test/frame.js +1 -1
- package/test/mux.js +37 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,43 @@
|
|
|
1
1
|
# Change log for amqplib
|
|
2
2
|
|
|
3
|
-
## Changes in v0.
|
|
3
|
+
## Changes in v0.7.1
|
|
4
4
|
|
|
5
|
-
git log v0.
|
|
5
|
+
git log v0.7.0..v0.7.1
|
|
6
|
+
|
|
7
|
+
* Update url-parse (and others) ([PR
|
|
8
|
+
607](https://github.com/squaremo/amqp.node/pull/545), thanks
|
|
9
|
+
@ThomasGawlitza)
|
|
10
|
+
|
|
11
|
+
## Changes in v0.7.0
|
|
12
|
+
|
|
13
|
+
git log v0.6.0..v0.7.0
|
|
14
|
+
|
|
15
|
+
* Extend support to Node.js v15
|
|
16
|
+
* Fix use of stream.write in tests
|
|
17
|
+
|
|
18
|
+
## Changes in v0.6.0
|
|
19
|
+
|
|
20
|
+
git log v0.5.6..v0.6.0
|
|
21
|
+
|
|
22
|
+
* Extend support to Node.js v14
|
|
23
|
+
|
|
24
|
+
## Changes in v0.5.6
|
|
25
|
+
|
|
26
|
+
git log v0.5.5..v0.5.6
|
|
27
|
+
|
|
28
|
+
* Increase size of encoding space for message headers, to fit e.g.,
|
|
29
|
+
JWT ([PR 545](https://github.com/squaremo/amqp.node/pull/545));
|
|
30
|
+
thanks @twatson83
|
|
31
|
+
* Switch to a non-deprecated UUID module ([PR
|
|
32
|
+
528](https://github.com/squaremo/amqp.node/pull/528)); thanks to
|
|
33
|
+
@StrayBird-ATSH
|
|
34
|
+
* Fix a bug in multiplexing that caused an assertion to fail ([PR
|
|
35
|
+
503](https://github.com/squaremo/amqp.node/pull/503)); thanks
|
|
36
|
+
@johanneswuerbach
|
|
37
|
+
|
|
38
|
+
## Changes in v0.5.5
|
|
39
|
+
|
|
40
|
+
git log v0.5.3..v0.5.5
|
|
6
41
|
|
|
7
42
|
**NB** this includes a minor but possibly breaking change: after [PR
|
|
8
43
|
498](https://github.com/squaremo/amqp.node/pull/498), all confirmation
|
|
@@ -16,9 +51,14 @@ channel is closed.
|
|
|
16
51
|
498](https://github.com/squaremo/amqp.node/pull/498)); thanks
|
|
17
52
|
@johanneswuerbach
|
|
18
53
|
* Update supported NodeJS versions in package.json ([PR
|
|
19
|
-
525](https://github.com/squaremo/amqp.node/pull/525));
|
|
54
|
+
525](https://github.com/squaremo/amqp.node/pull/525)); thanks
|
|
20
55
|
@tingwai
|
|
21
56
|
|
|
57
|
+
## (Deprecated v0.5.4)
|
|
58
|
+
|
|
59
|
+
This release was mistakenly published without the generated file
|
|
60
|
+
`./defs.js`. It has been deprecated in favour of v0.5.5.
|
|
61
|
+
|
|
22
62
|
## Changes in v0.5.3
|
|
23
63
|
|
|
24
64
|
git log v0.5.2..v0.5.3
|
package/Makefile
CHANGED
|
@@ -3,7 +3,7 @@ JSON=amqp-rabbitmq-0.9.1.json
|
|
|
3
3
|
RABBITMQ_CODEGEN=https://raw.githubusercontent.com/rabbitmq/rabbitmq-codegen
|
|
4
4
|
AMQP_JSON=$(RABBITMQ_CODEGEN)/$(RABBITMQ_SRC_VERSION)/$(JSON)
|
|
5
5
|
|
|
6
|
-
NODEJS_VERSIONS='0.8' '0.9' '0.10' '0.11' '0.12' '1.
|
|
6
|
+
NODEJS_VERSIONS='0.8' '0.9' '0.10' '0.11' '0.12' '1.8.4' '2.5' '3.3' '4.9' '5.12' '6.17' '8.17' '9.11' '10.21' '11.15' '12.18' '13.14' '14.5' '15.8'
|
|
7
7
|
|
|
8
8
|
MOCHA=./node_modules/.bin/mocha
|
|
9
9
|
_MOCHA=./node_modules/.bin/_mocha
|
|
@@ -29,7 +29,8 @@ test: lib/defs.js
|
|
|
29
29
|
|
|
30
30
|
test-all-nodejs: lib/defs.js
|
|
31
31
|
for v in $(NODEJS_VERSIONS); \
|
|
32
|
-
do
|
|
32
|
+
do echo "-- Node version $$v --"; \
|
|
33
|
+
nave use $$v $(MOCHA) -u tdd -R progress test; \
|
|
33
34
|
done
|
|
34
35
|
|
|
35
36
|
coverage: $(ISTANBUL) lib/defs.js
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* [Examples from RabbitMQ tutorials][tutes]
|
|
11
11
|
|
|
12
12
|
A library for making AMQP 0-9-1 clients for Node.JS, and an AMQP 0-9-1
|
|
13
|
-
client for Node.JS v0.8-0.12, v4-
|
|
13
|
+
client for Node.JS v0.8-0.12, v4-v15, and the intervening io.js
|
|
14
14
|
releases.
|
|
15
15
|
|
|
16
16
|
This library does not implement [AMQP
|
package/bin/generate-defs.js
CHANGED
|
@@ -124,7 +124,7 @@ println('var encodeTable = codec.encodeTable;');
|
|
|
124
124
|
println('var decodeFields = codec.decodeFields;');
|
|
125
125
|
nl();
|
|
126
126
|
|
|
127
|
-
println('var SCRATCH = Buffer.alloc(
|
|
127
|
+
println('var SCRATCH = Buffer.alloc(65536);');
|
|
128
128
|
println('var EMPTY_OBJECT = Object.freeze({});');
|
|
129
129
|
|
|
130
130
|
println('module.exports.constants = %s',
|