Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Notes about the changes below:
- Some changes involved updates to the API module's default Views. If you have overridden views, you may not get the changes. These are marked (*).
- Some changes will require you to re-parse source code to get the fixes. If you run update.php, this will be queued up; then you'll need to run cron and/or parse queues until it's done. These parsing changes mostly affect when parsing Drupal 8.x code, and are marked with (**) below.
- The changes to the API reference branch functionality marked with (***) will not really be effective until api.drupal.org is updated with this code, which hasn't happened yet.
Also, as in Version 1.5, you will need to have the 7.x patch from this Views issue installed:
#2006560: The boolean string filter doesn't result in correct where clause
Changes since version 7.x-1.5:
Linking updates:
- (**) YAML files have better linking (fewer bad links, more good links to classes). Issue: #2081613: Class names in YML files are not displaying as links
- (**) Links are made to routing, services, and config YAML files from the functions/methods that reference their keys in strings, and YAML files show corresponding references lists. Issue: #2081531: Link strings appearing at top-level of YML files to the YML file
- (**) static::memberName() syntax in class code now makes links to members within the class. Issue: #2081617: Member variables accessed with static:: are not turning into links
- Parameter, return, and member variable types with namespaces are now turning into links properly. Issue: #2096283: param/return/var types that are namespaced classes are not turning into links
- (**) Class/interface inheritance now works across projects. Issue: #2057611: Class inheritance isn't shown between projects
- More classes in plugin annotation sections turn into links. Issue: #2155459: Classes in annotations are not making links
Listing pages updates:
- (*) In lists of classes, functions, etc., add "Deprecated" to anything that is deprecated. Issue: #2120909: Note when things are deprecated in listing pages
- On group/topic pages, make files show up if they're marked with @ingroup in the @file block. Issue: #2120767: @ingroup not working for @file doc blocks?
- (*) Bug fix: Some class pages were displaying class members twice. Issue: #2040959: Class displaying all its methods twice
Other end-user UI updates:
- Navigation block has been reordered to put more important stuff on top. Issue: #2120903: Re-order the navigation block
- (*) Search results: Make a single result really go directly to the right page (if there is exactly one case sensitive match), and sort results by length for easier finding of the result you were actually looking for. Issue: #2039165: Search is not picking up one case-sensitive result
- The apis path (which is mostly for 404 handling) now searches across the site instead of in the default branch. Issue: #2008540: Make the apis/% callback search more branches
Other updates:
- (**) Add a method for excluding some files in a branch from Drupal-specific functionality [Note: you'll want to update your 8.x branches to exclude the "vendor" files]. Issue: #2083385: Need a way to exclude files from Drupal-specific parsing rules
- (***) Make API reference branches actually work. [Note: Will not be fully effective until api.drupal.org is updated to use this code. And you may want to edit your API reference branches to tell it what pagination and timeout to use so it will work well from your site.] Issues: #2039811: API reference : $best does not exists in api.module, line 3781, #2034373: Object dump at URL full_list is too big, needs paging
- Added an index to a database table for efficiency. Issue: #2057419: Slow group by select queries
- Administration update: Set the default project and core compatibility when adding a branch/project if not set, make sure they are consistent when branches are updated, and make it clearer whether or not they are set. Issue: #2101335: Calls to variable_get('api_default_core_compatibility') inconsistent.
- There were also some code cleanups, which didn't affect functionality per se.