Drupal Association members fund grants that make connections all over the world.
Please note that you need to clear caches after applying this update!
The most important change of this release is that theme-provided library information now actually works. Themes can implement
hook_libraries_info() in their template.php just like modules. This supposedly worked in 7.x-2.1 already but did not work correctly.
Another change is that libraries can now declare their integration files to be loaded after the actual library files. This is useful for e.g. PHP libraries where the integration files want to make use of functions provided by the library.
To achieve this, libraries should set the
post-load integration files key to
A full list of changes:
by tstoeckler: Clarify 'version' docs.
by munroe_richard: Allow uppercase letters as library machine names.
by tstoeckler: Improve documentation of libraries_get_version().
by tstoeckler: Make integration file loading backwards-compatible.
by tstoeckler: Fix integration files for themes.
by tstoeckler: Add tests for theme-provided library information.
by tstoeckler: Prepare for adding a test theme.
by tstoeckler | whastings, fubhy: Fix hook_libraries_info() for themes.
by tstoeckler, CaptainHook: Protect against files overriding local variables.
by tstoeckler: Improve documentation around 'version callback'.
by tstoeckler, jweowu: Fix typos in libraries.api.php.
by tstoeckler: Prevent weird PHP notice on update.
by RobLoach, tstoeckler: Clear static caches in libraries_flush_caches().
by rbayliss: Load integration files after library files.
by Pol: Fix typo in libraries.api.php.