Magento Open Source 2.4.0 was released on 28 July 2020.
Magento 2.4.0 made Elasticsearch compulsory, introduced PHP 7.4 and MySQL 8 support, and strengthened administration security.
What changed
- Elasticsearch became compulsory for catalogue search; MySQL search was removed.
- PHP 7.4, MySQL 8 and Elasticsearch 7.6 entered the supported platform stack.
- Two-factor authentication was enabled for Admin access, with further Content Security Policy work.
- The release also introduced the new Media Gallery and in-store pickup capabilities.
Why it mattered
This was not a routine point upgrade. Stores without a healthy Elasticsearch service first needed an infrastructure change, while older extensions had to be checked against PHP 7.4, the Laminas migration and the changed search stack.
Planning notes
Treat a 2.4.0 move as a platform migration: inventory every extension, rehearse search indexing, test checkout and cron, and verify that Admin users can complete 2FA before cutover.