What if a dependency policy could catch a risky package already sitting in
mix.lock? Hex 2.6 extends Hexβs supply-chain protections with narrower policy overrides, lockfile audits, and optional enforcement during dependency resolution. The release also adds organization-wide two-factor authentication and replaces stored organization repository keys with short-lived CI tokens. Teams using private packages should review the authentication changes before upgrading, especially with the planned retirement of user API keys that grant repository access.Hex 2.6 also scans published packages for leaked credentials and makes package builds reproducible across operating systems and Elixir/OTP versions. That lets maintainers compare a locally rebuilt package with its published checksum. Performance improves too: on Hexβs 158-entry lockfile, several dependency operations ran roughly twice as fast, while offline
mix deps.update --allfell from 451 ms to 22 ms. The release is a practical security upgrade, but its authentication changes need advance attention.
continue reading onhex.pm
β οΈ This post links to an external website. β οΈ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.