This is a minor update with two new features. It is fully backwards-compatible with version 7.x-2.0.
Be sure, however, to run update.php (as always)!
- Themes can implement hook_libraries_info() in their template.php file. The usage is identical to that of modules.
- There is a new callback group: 'pre-dependencies-load'. Callbacks in this group are called right before the library's dependencies are loaded. When loading a library the flow now is the following:
- 'pre-dependencies-load' callbacks
- dependencies are loaded
- 'pre-load' callbacks
- library itself is loaded
- 'post-load' callbacks