Update for OTP-20 compatibility.
Recently the OTP team had reverted the change to term_to_binary, which
caused the incompatibility.
You can see this commit for more info https://github.com/erlang/otp/commit/48e67f5dd1d20b9a1f78c5a97cc7ed4afb489ba5
The term_to_binary/2 function now has another minor_version option 2,
which will generate the new format, while version 1, generating the old
one, is the default version for term_to_binary/1.
So RabbitMQ 3.6.10 should now support OTP-20. We are still testing versions 3.6.4 to 3.6.9 for compatibility.
In 3.6.11 we will change term_to_binary/1 to term_to_binary/2 with
minor_version = 1 so it will not be affected by changing the default
value for minor_version in future OTP releases.
You can see the change in this PR rabbitmq/rabbitmq-server#1268
There is no change in plans for 3.7, we will try to not use term_to_binary
anywhere we can. See previous posts in this thread.