<i>We try to notify this list when <span>API</span> changes
are made in Drupal 7, so
contrib and custom developers have a chance to fix their code before
they have the pain of figuring out why it's broken.</i><br>
<br>Today there are quite a number of changes and some will require changes by many existing D7 modules. <i>The first two are pervasive</i> and will most likely affect you if you've developed D7 modules that provide fields or use the Managed File API.<br>
<br>(<a href="http://drupal.org/node/902264">issue</a>) <b>hook_field_schema</b>() must be moved from the .module to the .install file. This affects <i>every module that implements fields. </i>Please update your module. In the process, if you use t() in that function, turn it into $t().<br>
<br>(<a href="http://drupal.org/node/874326#comment-3430420">issue</a>) <b>Managed File API functions like file_copy() can no longer use bare paths</b> for filepaths, they must use URIs with public://, private://, or temporary:// (or another Drupal-provided scheme). This will probably break your module if you use file_copy(), file_move(), or the like. Check <a href="http://randyfay.com/node/73">here</a> for a posting on file API changes that have gone in recently.<br>
<br>(<a href="http://drupal.org/node/878092#comment-3435332">issue</a>) Format of links in an entity's $entity->links has changed. If your module provides an entity and it provides $entity->links, you'll have to fix this. You'll see from <a href="http://drupal.org/node/878092#comment-3388496">this patch still in the issue</a> that the same change is about to happen to comments, so you'll probably want to watch this issue.<br>
<br>(<a href="http://drupal.org/node/756762#comment-3435462">issue</a>) AJAX Form API changes. These affect you only if your module uses #ajax['path'], implementing a custom callback (which is discouraged and almost always unnecessary in D7). But you'll want to read the <a href="http://drupal.org/node/756762#comment-3435462">summary</a> if you do use #ajax['path'].<br>
<br>(<a href="http://drupal.org/node/757154#comment-3408064">issue</a>) More obscure change to Form API so hook_form_BASE_FORM_ID_alter() is called between hook_form_alter() and hook_form_FORM_ID_alter(), If you don't implement hook_forms() this probably does not affect you.<br>
<br>Sorry to annoy you on a rainy Tuesday morning in Copenhagen :-)<br>
<br>
-Randy<br>
<br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1 970.462.7450<br><br>