Hex 2.4 replaces password-based authentication with an OAuth 2.0 device authorization flow and adds two-factor authentication support to the CLI, making 2FA mandatory for publishing. The release also ships a redesigned hex.pm website with improved package pages and search.