We try to notify this list when API 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.

Today there are quite a number of changes and some will require changes by many existing D7 modules. The first two are pervasive and will most likely affect you if you've developed D7 modules that provide fields or use the Managed File API.

(issue) hook_field_schema() must be moved from the .module to the .install file. This affects every module that implements fields.  Please update your module. In the process, if you use t() in that function, turn it into $t().

(issue) Managed File API functions like file_copy() can no longer use bare paths 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 here for a posting on file API changes that have gone in recently.

(issue) 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 this patch still in the issue that the same change is about to happen to comments, so you'll probably want to watch this issue.

(issue) 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 summary if you do use #ajax['path'].

(issue) 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.

Sorry to annoy you on a rainy Tuesday morning in Copenhagen :-)

-Randy



--
Randy Fay
Drupal Module and Site Development
randy@randyfay.com
+1  970.462.7450