jola
Hey everyone! It’s my enormous pleasure to present Hex Diff, an official hex.pm service for generating web-based diffs between package versions on Hex. You can find it at https://diff.hex.pm.
Read more about it and why it’s a great tool for the community on the announcement blog post!
Trending in News
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #ai
- #graphql
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
hudson2010
Thanks, for the great work done , I have tested on cowboy lib and it highlighted the major difference between version thanks great work !!!
sergio
The amount of just cool stuff the Elixir community builds is astounding. Thanks for yet another very productive feature! This will make upgrading our older dependencies a little less scary.
axelson
Wow, that’s great! Thanks so much for spearheading this @jola! This is a great service to have officially running
sb8244
This is such a convenient and useful tool. Great work!
pmangalakader
Wonderful work!!! Congratulations to all people who had worked on this tool!
zimt28
Very useful tool, thanks! Would it be possible to add some information like a total
X files changed, Y lines added, Z lines removedand then+X lines, -Y linesper file?And what about a link on
hex.pm/packageto the latest diff?jola
That’s something we can look into, don’t hesitate to make an issue on the diff repo with your ideas and examples of what it would look like!
There are links to the diffs, but they might be a bit tricky to see
If you have ideas for how to improve the UI and make the diffs easier to see, please make an issue on the hexpm repo
hauleth
I have checked it out, and for now one thing brought my attention - why fire
git diffto compare two projects? Now I am thinking about writing diff algorithm in Elixir or to bring it via NIF toxdiff.wojtekmach
Using
git diffwas a pragmatic choice with libraries support (we use git_diff | Hex to parse hunks to provide better user experience).I think a pure Elixir solution would be interesting and in fact that could be a great default for another tool:
mix hex.package diff(we couldn’t use a NIF there)hauleth
xdiffis library used by Git, so there should be no difference. By the way, do you use regular algorithm or patience? Patience one should give slightly better results while being slightly more computationally expensive (but caching should made it neglible difference).I will try to write something like that in some spare time.