Closed Bastes closed 7 months ago
(and I can now confirm it starts fine with Elixir v1.16.2-otp-26 + Erlang/OTP 26.2.3)
Hi @Bastes
Thanks for trying the library and especially for investigating this issue. Indeed, when developing Ecspanse I focused on the latest Elixir and Erlang released.
I'm not sure yet how to make it compatible with older OTP versions. Of course, I could replace :auto
, but I would not want to trade functionality for backwards compatibility.
For now, I will add a Requirements
sections in the docs and clearly state that you need OTP-25 and above to run the library.
If you have any other suggestion, please share it.
Thanks again!
Yes, I think simply publicising the requirements would be enough :) by the way, I'm almost done playing with the tutorial and it's behaving quite nicely :) thank you for your work.
Thanks so much 🙏 !
Hello,
Following the tutorial, I've generated a fresh new phoenix v1.7.11 with Ecspanse v0.8.1 on elixir v1.14.0 and with Erlang/OTP v24, and was surprised to get an error right after plugging the
Ecspanse
app in the application module:This led me to this line:
https://github.com/iacobson/ecspanse/blob/2eb2f0eac9a922b0f574d599c15e9cdd08d2d87d/lib/ecspanse/server.ex#L139
From the
:ets
otp module, I see the:auto
atom forwrite_concurrency
has only been added in Erlang/OTP v26.I'm going to restart using a later Elixir and Erlang/OTP v26, but I thought you might want to know in case you'd like backwards compatibility or something.