Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download api-7.x-1.6.tar.gztar.gz 201.35 KB
MD5: f6f7b6051f65c14b671f6597f6370d9e
SHA-1: a991d83e247bdd2cb54f1cf716e1df03ca9be6d9
SHA-256: 379ff9a0dd19a33c09f180b623276c9d121f9713d479cfd55f8c963811369c23
Download api-7.x-1.6.zipzip 242.88 KB
MD5: 0db8bb10cc1333dcb48ad792740e56cd
SHA-1: 9eb4242d4835840faf314a4aeebc88f75c4f5680
SHA-256: ae9669e25b54189cfe2c04d8a7d0425b9131664780236a3e4ca340e9ee17ac16

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.

Created by: jhodgdon
Created on: 20 Dec 2013 at 21:25 UTC
Last updated: 24 Jun 2014 at 17:18 UTC
Bug fixes
New features

Other releases