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
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #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.