amqplib 0.5.3 → 0.6.0
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/.npmignore +8 -0
- package/CHANGELOG.md +39 -1
- package/Makefile +3 -2
- package/README.md +1 -1
- package/bin/generate-defs.js +723 -0
- package/examples/tutorials/package.json +1 -1
- package/lib/channel.js +6 -0
- package/lib/defs.js +1 -1
- package/lib/mux.js +6 -21
- package/package-lock.json +711 -0
- package/package.json +3 -3
- package/test/channel_api.js +13 -0
- package/test/mux.js +34 -0
package/.npmignore
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Change log for amqplib
|
|
2
2
|
|
|
3
|
+
## Changes in v0.5.6
|
|
4
|
+
|
|
5
|
+
git log v0.5.5..v0.5.6
|
|
6
|
+
|
|
7
|
+
* Increase size of encoding space for message headers, to fit e.g.,
|
|
8
|
+
JWT ([PR 545](https://github.com/squaremo/amqp.node/pull/545));
|
|
9
|
+
thanks @twatson83
|
|
10
|
+
* Switch to a non-deprecated UUID module ([PR
|
|
11
|
+
528](https://github.com/squaremo/amqp.node/pull/528)); thanks to
|
|
12
|
+
@StrayBird-ATSH
|
|
13
|
+
* Fix a bug in multiplexing that caused an assertion to fail ([PR
|
|
14
|
+
503](https://github.com/squaremo/amqp.node/pull/503)); thanks
|
|
15
|
+
@johanneswuerbach
|
|
16
|
+
|
|
17
|
+
## Changes in v0.5.5
|
|
18
|
+
|
|
19
|
+
git log v0.5.3..v0.5.5
|
|
20
|
+
|
|
21
|
+
**NB** this includes a minor but possibly breaking change: after [PR
|
|
22
|
+
498](https://github.com/squaremo/amqp.node/pull/498), all confirmation
|
|
23
|
+
promises still unresolved will be rejected when their associated
|
|
24
|
+
channel is closed.
|
|
25
|
+
|
|
26
|
+
* Generate defs in `npm prepare` rather than `npm prepublish` so that
|
|
27
|
+
e.g., amqplib can be installed via git ([part of PR
|
|
28
|
+
498](https://github.com/squaremo/amqp.node/pull/498))
|
|
29
|
+
* Reject all pending confirmations when the channel is closed ([PR
|
|
30
|
+
498](https://github.com/squaremo/amqp.node/pull/498)); thanks
|
|
31
|
+
@johanneswuerbach
|
|
32
|
+
* Update supported NodeJS versions in package.json ([PR
|
|
33
|
+
525](https://github.com/squaremo/amqp.node/pull/525)); thanks
|
|
34
|
+
@tingwai
|
|
35
|
+
|
|
36
|
+
## (Deprecated v0.5.4)
|
|
37
|
+
|
|
38
|
+
This release was mistakenly published without the generated file
|
|
39
|
+
`./defs.js`. It has been deprecated in favour of v0.5.5.
|
|
40
|
+
|
|
3
41
|
## Changes in v0.5.3
|
|
4
42
|
|
|
5
43
|
git log v0.5.2..v0.5.3
|
|
@@ -31,7 +69,7 @@
|
|
|
31
69
|
([PR 439])(https://github.com/squaremo/amqp.node/pull/439)
|
|
32
70
|
* Updated README with more modern Buffer syntax
|
|
33
71
|
([PR 438](https://github.com/squaremo/amqp.node/pull/438); thanks
|
|
34
|
-
@ravshansbox
|
|
72
|
+
@ravshansbox
|
|
35
73
|
* Support overflow option to assert queue
|
|
36
74
|
([PR 436])(https://github.com/squaremo/amqp.node/pull/436); thanks
|
|
37
75
|
to @honestserpent
|
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'
|
|
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-v14, and the intervening io.js
|
|
14
14
|
releases.
|
|
15
15
|
|
|
16
16
|
This library does not implement [AMQP
|