amqplib
still works with NodeJS v0.6 through v16, but future versions will not be tested for compatibility with NodeJS < v10.
This is to unlock other improvements that can now be made, like
- using the built-in
Promise
object - updating or switching libraries that previously couldn't be updated, because they had dropped support for older NodeJS
- removing code that is now covered in the standard library, e.g., checking whether a number is an integer
This release also includes an improvement to TLS connections for people using an AMQP server behind a load balancer. amqplib will now copy the hostname of the connection URL or object to the server name indication field.