Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Removed code involving the deprecated modernizr-dev.js file. It no longer exists as of v3 so the Drush command had been altered to produce an error with a message about the upstream change. Thanks to Albert Volkman for his report and patch.
Now compatible with Modernizr v3, which had breaking changes affecting this Drupal module. We are back to normal, and current users just have to run the update hook to make new custom builds work again. New users of the module will have to opt-in to including yepnope.js (included with the module), but the module will issue a warning instead of outputting JS that errors out. Issues related to the breaking changes:
Major feature of this release is the new API. It is now much simpler for modules and themes to request Modernizr tests! All the docs and stuff were updated to reflect the changes.
Initial release of Modernizr 7.x-3.x branch. Module introduces an API for other Drupal modules. The two main features are within hook_modernizr_info() and hook_modernizr_load().