muxinc / mux-elixir

Official Mux API wrapper for Elixir projects, supporting both Mux Data and Mux Video.
https://hexdocs.pm/mux
MIT License
78 stars 12 forks source link

Replace deprecated xor operator #36

Closed chxmbley closed 1 year ago

chxmbley commented 2 years ago

The xor operator (^^^/2) has been deprecated in favor of Bitwise.bxor/2 as of Elixir v1.12. Compiling the library currently emits the following warning:

^^^ is deprecated. It is typically used as xor but it has the wrong precedence, use Bitwise.bxor/2 instead
whatyouhide commented 1 year ago

@jaredsmith would love to get this merged to remove the compilation warning 😉

jaredsmith commented 1 year ago

Thank you!

whatyouhide commented 1 year ago

@jaredsmith thank you!! Any chance this could be a patch release? 🙃

jaredsmith commented 1 year ago

@whatyouhide Yes, I just created a release for version 3.2.1, which includes this change.