rascal 13.1.1 → 14.0.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.
Files changed (66) hide show
  1. package/.husky/pre-commit +1 -1
  2. package/.prettierrc.json +4 -0
  3. package/CHANGELOG.md +213 -1
  4. package/README.md +597 -381
  5. package/examples/advanced/cluster.js +8 -8
  6. package/examples/advanced/config.js +121 -123
  7. package/examples/advanced/handlers/deleteUser.js +16 -17
  8. package/examples/advanced/handlers/saveUser.js +32 -33
  9. package/examples/advanced/index.js +85 -80
  10. package/examples/busy-publisher/config.js +19 -22
  11. package/examples/busy-publisher/index.js +11 -12
  12. package/examples/default-exchange/config.js +13 -13
  13. package/examples/default-exchange/index.js +22 -18
  14. package/examples/mocha/config.js +13 -15
  15. package/examples/mocha/test.js +34 -35
  16. package/examples/promises/config.js +15 -17
  17. package/examples/promises/index.js +14 -12
  18. package/examples/simple/config.js +21 -23
  19. package/examples/simple/index.js +20 -22
  20. package/index.js +1 -1
  21. package/lib/amqp/Broker.js +105 -82
  22. package/lib/amqp/BrokerAsPromised.js +40 -28
  23. package/lib/amqp/Publication.js +15 -14
  24. package/lib/amqp/PublicationSession.js +6 -7
  25. package/lib/amqp/SubscriberError.js +159 -124
  26. package/lib/amqp/SubscriberSession.js +87 -68
  27. package/lib/amqp/SubscriberSessionAsPromised.js +1 -3
  28. package/lib/amqp/Subscription.js +25 -24
  29. package/lib/amqp/Vhost.js +93 -67
  30. package/lib/amqp/tasks/applyBindings.js +9 -6
  31. package/lib/amqp/tasks/assertExchanges.js +9 -5
  32. package/lib/amqp/tasks/assertQueues.js +9 -5
  33. package/lib/amqp/tasks/assertVhost.js +17 -13
  34. package/lib/amqp/tasks/bounceVhost.js +1 -1
  35. package/lib/amqp/tasks/checkExchanges.js +9 -5
  36. package/lib/amqp/tasks/checkQueues.js +9 -5
  37. package/lib/amqp/tasks/checkVhost.js +17 -13
  38. package/lib/amqp/tasks/closeChannel.js +0 -1
  39. package/lib/amqp/tasks/createChannel.js +0 -1
  40. package/lib/amqp/tasks/createConnection.js +18 -15
  41. package/lib/amqp/tasks/deleteExchanges.js +9 -5
  42. package/lib/amqp/tasks/deleteQueues.js +9 -5
  43. package/lib/amqp/tasks/deleteVhost.js +17 -13
  44. package/lib/amqp/tasks/forewarnVhost.js +1 -1
  45. package/lib/amqp/tasks/initCounters.js +12 -8
  46. package/lib/amqp/tasks/initPublications.js +13 -9
  47. package/lib/amqp/tasks/initShovels.js +9 -5
  48. package/lib/amqp/tasks/initSubscriptions.js +12 -8
  49. package/lib/amqp/tasks/initVhosts.js +16 -12
  50. package/lib/amqp/tasks/nukeVhost.js +1 -1
  51. package/lib/amqp/tasks/purgeQueues.js +9 -5
  52. package/lib/amqp/tasks/purgeVhost.js +1 -1
  53. package/lib/amqp/tasks/shutdownVhost.js +1 -1
  54. package/lib/backoff/exponential.js +1 -2
  55. package/lib/backoff/index.js +1 -1
  56. package/lib/backoff/linear.js +2 -4
  57. package/lib/config/baseline.js +12 -23
  58. package/lib/config/configure.js +89 -41
  59. package/lib/config/tests.js +30 -27
  60. package/lib/config/validate.js +22 -3
  61. package/lib/counters/inMemoryCluster.js +33 -22
  62. package/lib/counters/index.js +1 -1
  63. package/lib/counters/stub.js +2 -3
  64. package/lib/management/client.js +3 -9
  65. package/lib/utils/setTimeoutUnref.js +1 -1
  66. package/package.json +12 -4
package/.husky/pre-commit CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- npm run lint && npm run test
4
+ npm run lint-staged && npm run test
@@ -0,0 +1,4 @@
1
+ {
2
+ "singleQuote": true,
3
+ "printWidth": 300
4
+ }
package/CHANGELOG.md CHANGED
@@ -1,451 +1,663 @@
1
1
  # Change Log
2
2
 
3
+ ## 14.0.1
4
+
5
+ - Fixes https://github.com/guidesmiths/rascal/issues/178
6
+
7
+ ## 14.0.0
8
+
9
+ - Rather than waiting an arbitrary time for channels to close when cancelling a subscription, Rascal now waits until any outstanding messages have been acknowledged. By default, Rascal will wait indefinitely, but this behaviour can be overriden by specifying a subscription.closeTimeout. If the timeout is exceeded following a direct call to `broker.unsubscribeAll` or `subscription.cancel` then an error will be yielded. If the timeout is exceeded following an indirect call to `subscription.cancel` (e.g. by `broker.shutdown`) then an error will be emitted but the operation will be allowed to continue.
10
+ - Messages which cannot be recovered by the republish or forward strategies are nacked resulting in message loss unless a dead letter is configured.
11
+
12
+ ## 13.1.4
13
+
14
+ - Fixed potential for returned messages cause the forward error strategy to yield twice
15
+ - Report returned messages from republish error strategy
16
+ - Tweak prettier rules
17
+
18
+ ## 13.1.3
19
+
20
+ - Fixed minor memory leak in recovery strategy loop
21
+ - Move to prettier
22
+ - Remove unnecessary eslint install from github
23
+
24
+ ## 13.1.2
25
+
26
+ - Fixed various issues when queue names contained period characters. Reported in https://github.com/guidesmiths/rascal/issues/166
27
+
3
28
  ## 13.1.1
29
+
4
30
  - Moved setMaxListeners to createConnection task to suppress misleading 'Possible EventEmitter memory leak detected' warning. See https://github.com/guidesmiths/rascal/issues/164 for more details.
5
31
 
6
32
  ## 13.1.0
33
+
7
34
  - Fixed bug where Rascal could wait indefinitely for channels to be destroyed if shutdown was called following a heartbeat timeout. See https://github.com/guidesmiths/rascal/issues/158 for more details.
8
35
 
9
36
  ## 13.0.6
37
+
10
38
  - Fixed bug where Rascal attempted to remove a listener from a nulled connection and crashed.
11
39
 
12
40
  ## 13.0.5
41
+
13
42
  - Set channel pool acquireTimeoutMillis in default configuration - thanks @matej-prokop
14
43
  - Add snyk package health badge
15
44
 
16
45
  ## 13.0.4
46
+
17
47
  - Fixed https://github.com/guidesmiths/rascal/issues/156
18
48
 
19
49
  ## 13.0.3
50
+
20
51
  - Bump dev deps
21
52
 
22
53
  ## 13.0.2
54
+
23
55
  - Fixed https://github.com/guidesmiths/rascal/issues/150
24
56
 
25
57
  ## 13.0.1
58
+
26
59
  - Improved readme
27
60
  - Update zUnit
28
61
 
29
62
  ## 13.0.0
63
+
30
64
  - Switched to eslint-config-esnext and updated style
31
65
  - Update production dependencies
32
66
  - Fix vhost management cluster support
33
67
 
34
68
  ## 12.0.4
69
+
35
70
  - Bump dev dependencies
36
71
  - Upgraded to husky 5
37
72
 
38
73
  ## 12.0.3
74
+
39
75
  - Fix https://github.com/guidesmiths/rascal/issues/141
40
76
  - Fix error message typos
41
77
  - Bump lodash
42
78
 
43
79
  ## 12.0.2
80
+
44
81
  - Exclude various files (including the 12M cc-test-reporter binary) from the npm package.
45
82
 
46
83
  ## 12.0.1
84
+
47
85
  - Moved from travis to github actions
48
86
  - Fix broker waiting indefinitely when shutdown is called after losing a connection. See [#126](https://github.com/guidesmiths/rascal/issues/126)
49
87
 
50
88
  ## 12.0.0
89
+
51
90
  - Removed node 8 support
52
91
 
53
92
  ## 11.0.1
93
+
54
94
  - Replaced mocha with zunit
55
95
 
56
96
  ## 11.0.0
97
+
57
98
  - Reworked tests to remove mocha --exit flag
58
99
  - Exposed partially initialied brokerAsPromised on the rejected error via a symbol
59
100
  - clear keep active interval on broker nuke
60
101
  - Updated engine >= 8.0.0
61
102
 
62
103
  ## 10.2.6
104
+
63
105
  ### Updated
106
+
64
107
  - Dependencies
65
108
  - Removing Synk
66
109
 
67
110
  ## 10.2.5
111
+
68
112
  ### Updated
113
+
69
114
  - Improved readme as per issue [#111](https://github.com/guidesmiths/rascal/issues/111)
70
115
 
71
116
  ### Fixed
117
+
72
118
  - Fixed issue [#123](https://github.com/guidesmiths/rascal/issues/123), where a race condition was causing channels to be closed twice. Thanks @cinnq346.
73
119
 
74
120
  ## 10.2.4
121
+
75
122
  ### Fixed
123
+
76
124
  - Fixed issue [#122](https://github.com/guidesmiths/rascal/issues/122), where error listeners were registered once, so repeated errors could bubble up and crash node
77
125
 
78
126
  ## 10.2.3
127
+
79
128
  ### Fixed
129
+
80
130
  - Fixed second part of issue [#121](https://github.com/guidesmiths/rascal/issues/121), where the generic-pool could cause tight loops and memory leaks
81
131
 
82
132
  ## 10.2.2
133
+
83
134
  ### Fixed
135
+
84
136
  - Fixed issue [#121](https://github.com/guidesmiths/rascal/issues/121), which caused rascals connection index to permanently increment rather than cycling back to 0. Consequently if all nodes in a cluster failed, Rascal could crash the application.
85
137
 
86
138
  ## 10.2.1
139
+
87
140
  ### Updated
141
+
88
142
  - Support amqplib 0.6.0
89
143
 
90
144
  ## 10.2.0
145
+
91
146
  ### Added
147
+
92
148
  - Added broker.getConnections()
93
149
 
94
150
  ### Updated
151
+
95
152
  - Updated dependencies
96
153
 
97
154
  ## 10.1.0
155
+
98
156
  ### Added
157
+
99
158
  - Added publication statistics
100
159
  - Support for node 14
101
160
 
102
161
  ## 10.0.1
162
+
103
163
  ### Updated
164
+
104
165
  - Set vhost max event listeners to inifinity (see https://github.com/guidesmiths/rascal/issues/99)
105
166
 
106
167
  ## 10.0.0
168
+
107
169
  ### Updated
170
+
108
171
  - Using rascal to consume messages published with broker.forward no longer restores original routing headers by default, unless used in the context of a recovery strategy. See the broker.forward section of the readme for more information.
109
172
 
110
173
  ## 9.4.0
174
+
111
175
  ### Added
176
+
112
177
  - vhost_initialised event
113
178
  - publication paused notifications
114
179
  - publication.abort
115
180
 
116
181
  ### Updated
182
+
117
183
  - broker error events now include vhost connection details
118
184
 
119
185
  ## 9.3.0
186
+
120
187
  ### Updated
188
+
121
189
  - [Fixed #78](https://github.com/guidesmiths/rascal/issues/78) by using a baseline config, and only laying connection options via withDefaultConfig
122
190
 
123
191
  ## 9.2.0
192
+
124
193
  ### Added
194
+
125
195
  - [Fixed #93](https://github.com/guidesmiths/rascal/issues/93) through use of setInterval to keep node process active in the event of broker restart.
126
196
 
127
197
  ### Updated
198
+
128
199
  - Dependencies
129
200
  - Patched lodash
130
201
  - Added snyk
131
202
 
132
203
  ## 9.1.3
204
+
133
205
  ### Updated
206
+
134
207
  - Fixed bug where channels were destroyed instead of returned to the pool
135
208
 
136
209
  ## 9.1.2
210
+
137
211
  ### Updated
212
+
138
213
  - Test to see whether setTimeout.unref is available before calling it
139
214
 
140
215
  ## 9.1.1
216
+
141
217
  ### Added
218
+
142
219
  - Expose cloned subscription config on session
143
220
 
144
221
  ## 9.1.0
222
+
145
223
  ### Added
224
+
146
225
  - Optionally promisify ackOrNack
147
226
 
148
227
  ## 9.0.0
228
+
149
229
  ### Updated
230
+
150
231
  - Broker functions (publish, forward, nuke, etc) no longer return the broker.
151
232
 
152
233
  ### Added
234
+
153
235
  - Added broker.subscribeAll
154
236
 
155
237
  ## 8.2.0
238
+
156
239
  ### Added
240
+
157
241
  - Publication timeouts (default value is 10 seconds).
158
242
 
159
243
  ## 8.1.0
244
+
160
245
  ### Updated
246
+
161
247
  - Fixed [#86](https://github.com/guidesmiths/rascal/issues/85)
162
248
  - Fixed [#84](https://github.com/guidesmiths/rascal/issues/84). Thanks @huikaihoo
163
249
 
164
250
  ### Added
251
+
165
252
  - Added a new subscription `subscribed` event
166
253
 
167
254
  ## 8.0.1
255
+
168
256
  ### Updated
257
+
169
258
  - emit error when publishFn err Channel closed as oer https://github.com/guidesmiths/rascal/pull/81. Thanks @zijin-m
170
259
 
171
260
  ## 8.0.0
261
+
172
262
  ### Updated
263
+
173
264
  - Drop support for Node 6
174
265
  - Updated dependencies as per https://github.com/guidesmiths/rascal/pull/75. Thanks @ravihara
175
266
 
176
267
  ## 7.0.0
268
+
177
269
  ### Updated
270
+
178
271
  - Rascal attempts to resubscribe following a consumer cancel. See the README for more details
179
272
  - Undocumented SubscriberSession.close function has been removed (Use .cancel instead)
180
273
 
181
274
  ## 6.0.3
275
+
182
276
  ### Fixed
277
+
183
278
  - Fixed [#72](https://github.com/guidesmiths/rascal/issues/72) which meant published messages waiting for a channel would be lost on connection error
184
279
 
185
280
  ## 6.0.2
281
+
186
282
  ### Fixed
283
+
187
284
  - Fixed bug that caused management credentials to be ignored. Thanks @juliendangers
188
285
 
189
286
  ## 6.0.1
287
+
190
288
  ### Updated
191
289
 
192
290
  ## 6.0.0
291
+
193
292
  - Improved channel pool management (includes a breaking config change - see https://github.com/guidesmiths/rascal#channel-pooling).
194
293
 
195
294
  ## 5.1.0
295
+
196
296
  ### Added
297
+
197
298
  - Added potential for flow control / throttling via broker 'busy' and 'ready' events.
198
299
 
199
300
  ## 5.0.0
301
+
200
302
  ### Updated
303
+
201
304
  - Wait for subscriber channels to be closed before shutting down the broker
202
305
  - Reduced default close channel deferral from 1 minute to 10 seconds in default config and from 1 minute to 100ms in test config
203
306
 
204
307
  ## 4.7.0
308
+
205
309
  ### Updated
310
+
206
311
  - Dependencies
207
312
 
208
313
  ### Added
314
+
209
315
  - Support for active/passive connection management
210
316
 
211
317
  ## 4.6.2
318
+
212
319
  ### Fixed
320
+
213
321
  - Fixed a bug where you could not re-initialise a vhost
214
322
 
215
323
  ## 4.6.1
324
+
216
325
  ### Added
326
+
217
327
  - Automated codeclimate reporting
218
328
 
219
329
  ### Fixed
330
+
220
331
  - Fixed a bug where the connection index could be undefined
221
332
 
222
333
  ## 4.6.0
334
+
223
335
  ### Updated
336
+
224
337
  - Fixes for #60 and #61. Thanks @rossj.
225
338
  - Depend on amqplib ^0.5.5
226
339
 
227
340
  ## 4.5.2
341
+
228
342
  ### Updated
343
+
229
344
  - Depend on version 0.5.3 of amqplib (peer) until https://github.com/squaremo/amqp.node/issues/534 is fixed
230
345
 
231
346
  ## 4.5.1
347
+
232
348
  ### Updated
349
+
233
350
  - Depend on version 0.5.3 of amqplib until https://github.com/squaremo/amqp.node/issues/534 is fixed
234
351
  - Update dependencies
235
352
 
236
353
  ## 4.5.0
354
+
237
355
  ### Updated
356
+
238
357
  - Replaced request with superagent. Thanks @ksnll
239
358
  - Updated dependencies
240
359
  - Added node 12 to travis config
241
360
 
242
361
  ## 4.4.0
362
+
243
363
  ### Updated
364
+
244
365
  - Throw error when using cluster based redeliveries counter outside of a cluster
245
366
 
246
367
  ## 4.3.1
368
+
247
369
  ### Updated
370
+
248
371
  - Dependencies
249
372
  - Moved amqplib to peer dependency
250
373
 
251
374
  ## Added
375
+
252
376
  - broker.connect(vhost)
253
377
 
254
378
  ## 4.2.1
379
+
255
380
  ### Updated
381
+
256
382
  - Dependencies
257
383
  - Fixed vararg related bug in Broker.create
258
384
 
259
385
  ## 4.2.2
386
+
260
387
  ### Updated
388
+
261
389
  - Updated various dev dependencies
262
390
  - Readme
263
391
  - Switched from istanbul to nyc
264
392
  - Fix flakey travis tests
265
393
 
266
394
  ## 4.2.1
395
+
267
396
  ### Updated
397
+
268
398
  - Updated lodash
269
399
 
270
400
  ## 4.2.0
401
+
271
402
  ### Added
403
+
272
404
  - Support for RabbitMQs default exchange
273
405
 
274
406
  ## 4.1.0
407
+
275
408
  ### Added
409
+
276
410
  - Publisher error events are passed the messageId where possible
277
411
 
278
412
  ## 4.0.0
413
+
279
414
  ### Updated
415
+
280
416
  - Improved connection failure error message
281
417
  - It is possible to go async between broker.subscribe and subscription.on('message'). This unlocks the possibility of promise support.
282
418
  - Support promises
283
419
  - Discourage use of broker.init
284
420
 
285
421
  ## 3.2.3
422
+
286
423
  ### Updated
424
+
287
425
  - Fix connection handler leak caused by re-subscription
288
426
  - Fix channel leak when channel.consume fails
289
427
  - amqplib version to 0.5.3
290
428
  - test on Node 11
291
429
 
292
430
  ## 3.2.2
431
+
293
432
  ### Added
433
+
294
434
  - Some additional debug
295
435
 
296
436
  ## 3.2.1
437
+
297
438
  ### Fixed
439
+
298
440
  - Catch and return encryption errors via publish callback
441
+
299
442
  ### Added
443
+
300
444
  - Assert vhosts into exhistence using the RabbitMQ management API
301
445
 
302
446
  ### Updated
447
+
303
448
  - Changed new Buffer() to Buffer.from to silence Node 10 deprecation warning
304
449
 
305
450
  ## 3.2.0
451
+
306
452
  ### Added
453
+
307
454
  - Transparent encryption / decryption
308
455
 
309
456
  ## 3.1.3
457
+
310
458
  ### Updated
459
+
311
460
  - Modernise code style
312
461
 
313
462
  ## 3.1.2
463
+
314
464
  ### Updated
465
+
315
466
  - Fix redelivery counter defaults
316
467
 
317
468
  ## 3.1.1
469
+
318
470
  ### Updated
471
+
319
472
  - Fix channelMax default
320
473
 
321
474
  ## 3.1.0
322
- ### Added
475
+
476
+ ### Added
477
+
323
478
  - Handling of redelivery counter errors and timeouts
324
479
 
325
480
  ## 3.0.0
481
+
326
482
  ### Updated
483
+
327
484
  - Using lodash defaultsDeep instead of merge-defaults (fixes hoek vulnerability). The behaviour seems consistent but releasing as a breaking change as a precaution.
328
485
  - Unqualified default publications and subscriptions are no longer supported. See https://github.com/guidesmiths/rascal/issues/20
329
486
  - Testing on node 10
330
487
 
331
488
  ## 2.12.2
489
+
332
490
  ### Updated
491
+
333
492
  - Update dependencies (fixes hoek vulnerability)
334
493
 
335
494
  ## 2.12.1
495
+
336
496
  ### Updated
497
+
337
498
  - Fixed bug that prevented publication from emitting channel errors
338
499
 
339
500
  ## 2.12.0
501
+
340
502
  ### Updated
503
+
341
504
  - Update dependencies
342
505
  - Update dev dependencies
343
506
 
344
507
  ## 2.11.3
508
+
345
509
  ### Updated
510
+
346
511
  - npm issue
347
512
 
348
513
  ## 2.11.2
514
+
349
515
  ### Updated
516
+
350
517
  - npm issue
351
518
 
352
519
  ## 2.11.1
520
+
353
521
  ### Fixed
522
+
354
523
  - Fixed undefined error in Vhost.bounce
355
524
 
356
525
  ## 2.11.0
526
+
357
527
  ### Fixed
528
+
358
529
  - Support for queue and exchange names containeing period and hyphens
359
530
 
360
531
  ## 2.10.0
532
+
361
533
  ### Fixed
534
+
362
535
  - Workaround for non deterministic amqplib channel handling, see https://github.com/squaremo/amqp.node/issues/388
363
536
 
364
537
  ## 2.9.0
538
+
365
539
  ### Fixed
540
+
366
541
  - Randomising vhost connections on startup rather than on each connection request
367
542
 
368
543
  ## 2.8.0
544
+
369
545
  ### Fixed
546
+
370
547
  - Workaround for non deterministic amqplib connection handling, see https://github.com/squaremo/amqp.node/issues/388
371
548
 
372
549
  ## 2.7.0
550
+
373
551
  ### Added
552
+
374
553
  - AckOrNack emits/returns an error if an attempt was made to ack/nack a message using a closed channel
375
554
  - Adjusting default connection_timeout and channel_max url parameters
376
555
 
377
556
  ## 2.6.0
557
+
378
558
  ### Added
559
+
379
560
  - Exponential backoff for re-connections and channel re-subscriptions
380
561
  - Fixed typo in deprecation warning
381
562
 
382
563
  ## 2.5.0
564
+
383
565
  ### Fixed
566
+
384
567
  - Subscriber session could attempt to ack/nack messages using a closed channel. Leaving the channel open for 1 minute after cancelling subscription.
385
568
 
386
569
  ## 2.4.0
570
+
387
571
  ### Added
572
+
388
573
  - Socket options can be specified in the vhost connection configuration. Connection timeout defaults to 1 minute.
389
574
 
390
575
  ## 2.3.2
576
+
391
577
  ### Updated
578
+
392
579
  - Use self instead of this for code which called broker.nuke without binding context
393
580
 
394
581
  ## 2.3.1
582
+
395
583
  ### Updated
584
+
396
585
  - Updated dependences
397
586
 
398
587
  ## 2.3.0
588
+
399
589
  ### Added
590
+
400
591
  - Broker.unsubscribeAll to remove subscriptons. Mostly useful for automated tests
401
592
 
402
593
  ## 2.2.0
594
+
403
595
  ### Added
596
+
404
597
  - Decorate inbound messages with originalVhost header
405
598
 
406
599
  ## 2.1.0
600
+
407
601
  ### Added
602
+
408
603
  - Default publications and subscriptions are marked with an autoCreated flag
409
604
 
410
605
  ### Changed
606
+
411
607
  - Default publications and subscriptions are are qualified with the vhost
412
608
 
413
609
  ### Deprecated
610
+
414
611
  - Unqualified publications and subscriptions have been deprecated. A console.warn is logged once per subscription and publication but can be disabled by setting RASCAL_DISABLE_ALL_DEPRECATION_WARNINGS=true or RASCAL_DISABLE_UNQUALIFIED_NAME_DEPRECATION_WARNING=true
415
612
 
416
613
  ## 2.0.0
614
+
417
615
  ### Fixed
616
+
418
617
  - Connection pool was leaking connections following a connection error. With a pool size of 1, this locked up all publishers
419
618
  - Listening to close and error events caused multiple channels to be created which appears to result in an unknown delivery tag error. See https://github.com/squaremo/amqp.node/issues/271
420
619
  - Incorrect documenation said to listen for invalid_content, but in reality the event was invalid_message. Now emitting invalid_message only if invalid_content is not handled.
421
620
  - Fixed examples
422
621
 
423
622
  ## 1.4.1
623
+
424
624
  ### Fixed
625
+
425
626
  - confirmPoolSize option as per https://github.com/guidesmiths/rascal/pull/19
426
627
 
427
628
  ## 1.4.0
629
+
428
630
  ### Added
631
+
429
632
  - Listing to connection close events as per #18
430
633
  - Fixed bug with configuration which caused vhost config errors to be masked
431
634
 
432
635
  ## 1.3.1
636
+
433
637
  ### Added
638
+
434
639
  - Channel pooling (makes publishing much faster)
435
640
 
436
641
  ### Updated
642
+
437
643
  - Dependencies
438
644
 
439
645
  ## 1.2.1
646
+
440
647
  ### Updated
648
+
441
649
  - Used wrong argument in callback
442
650
 
443
651
  ## 1.2.0
652
+
444
653
  ### Added
654
+
445
655
  - Workaround for https://github.com/guidesmiths/rascal/issues/17
446
656
 
447
657
  ## 1.1.0
658
+
448
659
  ### Added
660
+
449
661
  - This changelog
450
662
  - License
451
663
  - Badges