Change record status: 
Project: 
Introduced in branch: 
7.x-4.x
Introduced in version: 
7.x-4.6
Description: 

By following a new naming convention, you may now distribute commandfiles/config files/aliases which load only for a given version of Drush. This is sometimes helpful as the Drush API can change across its major versions. Examples:

  • usage.drush5.inc (only loaded by Drush 5)
  • usage.drush4.inc (only loaded by Drush 4)
  • drush5/usage.drush.inc (only loaded by Drush 5)

Projects may want to ship with version specific files, and an include file which contains code shared by each implementation.

Impacts: 
Site builders, administrators, editors
Module developers
Themers