This week we'd like to release a new version of Pathauto for both Drupal 6 and 7. There have been numerous fixes for long-standing bugs with alias generation and internationalization. Oh and a few new features too (mostly in the 6.x-2.x and 7.x-1.x versions). As there have been quite a few changes made, we'd like your help testing either the 6.x-1.x-dev, 6.x-2.x-dev, or 7.x-1.x-dev versions.
Make sure when testing you have the latest development version of Token module downloaded as well.
Below are some of the major changes and bug fixes:
- #823648: Allow multiple locations of i18n-ascii.txt for more friendly upgrades and drush compatibility. Also allow using $conf['pathauto_i18n_file']. (6.x-1.x only)
- #195323: Added Add the (foward) slash to the list of character settings. (all versions)
- #545216: Fixed pathauto_cleanalias() and pathauto_cleanstring(). (all versions)
- #867854: Do not generate alias if pattern does not have any tokens replaced. This also fixes the junk '/feed' aliases that get created if the root alias was blank. (all versions)
- #228762: Fixed un-aliased nodes should still get an alias generated even if the update action is 'Do nothing with existing aliases'. (all versions)
- #201151: Fixed bulk alias updates to use proper batch API. No more updating only 50 aliases at a time! (6.x-2.x and 7.x-1.x only)
- #593048: Fixed _pathauto_alias_exists() should include neutral language aliases. (all versions)
- #739416: Fixed _pathauto_existing_alias_data() should respect language. (all versions)
- #631460: Fixed Prevent pathauto_cleanstring() from creating empty components. (all versions)
- #821832: Replaced custom token listing with token tree UI (provided by token.module). (all versions)
- #760700: Fixed [catpath] tokens stopped working when $options was passed through hook_token_values(). (6.x-1.x and 6.x-2.x only)
- #680366: Added hook_user_operations() for updating user aliases. (all versions)
- Added tons of SimpleTests! More stability! New features were added using test-driven development, and any bugs have had regressions tests added to ensure they stay fixed. Did we mention more stability?
- Tighter integration with token.module. (6.x-2.x and 7.x-1.x)
A few functional changes in the 6.x-2.x and 7.x-1.x versions:
- Sub-paths like user/%user/contact and user/%user/track are no longer supported. It junks up the alias system if we were to try and generate every single possible sub-path alias. We recommend using the Sub-path URL Aliases module.
- The giant pathauto admin settings page is now split up into two distinct pages: 'Patterns' and 'Settings'. Both are still found under your 'URL aliases' administration.
- The D7 version requires you have the Token module enabled.
Please give these updated development versions a spin! Try and break 'em! And please report back any bugs or odd things you find. We've tested functionality and upgrades extensively and we feel confident about it. To be extra safe, you should make sure to backup your {url_alias} table first.