Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support elixir 1.15.7-otp-26 #1

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Conversation

yolo-vikram
Copy link
Collaborator

@yolo-vikram yolo-vikram commented Apr 1, 2024

Why Forked Repo?

Statix Compatibility: Statix, does not yet support OTP-26. It is using Port.command instead of :gen_udp.send, as the former was considered more performant for OTP 25 and older versions. However, due to OTP updates occurring at the networking layer, this approach no longer works. Now, gen_udp.send has been optimized, rendering the previous workaround obsolete.

References

  • Open PR: There is an open pull request in the Statix repository addressing this issue: Pull Request #72. This PR aims to update the codebase to support OTP-26 and utilize the optimized gen_udp.send function.

  • Erlang Discussion: For further insights, you can refer to the Erlang discussion about the breaking change in Port.command for OTP-26: Issue #7130.

By utilizing the forked repository of Statix, we can maintain compatibility with OTP-26. As Statix evolves and potentially adds support for our current version, we aim to transition back to the main Statix repository. Alternatively, we'll explore alternatives should the need arise in the future.

@snurges
Copy link

snurges commented Apr 1, 2024

Maybe you could also update the README that the reason for forking this library is because of the Elixir upgrade?

Copy link

@snurges snurges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@yolo-vikram yolo-vikram merged commit 7f5dd82 into master Apr 3, 2024
@yolo-vikram yolo-vikram deleted the update-to-elixir-1.15.7 branch April 3, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants