Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Important: Rules now depends on the latest Typed data API enhancements module, that is alpha1 or the latest development snapshot. If you are updating from a previous Rules version make sure to download and install the Typed Data API module before updating.
Lots of new action and condition implementations, improved usage of the context system and even a minimal UI non-functional prototype. Still quite some stuff to do, see #2245015: [META] Rules 8.x Roadmap.
This release introduces Rules data processor plugins to modify condition/action parameter values. We also implemented auto-saving for actions that change data.
You can find more information about further plans and achieved goals in the roadmap.
This release now uses the Context and ContextDefinition classes from Drupal core to implement parameter variables for Rules actions and conditions. It also includes a ProvidedContextPluginInterface to implement provided variables that are produced by an action or a condition.
You can find more information about further plans and achieved goals in the roadmap.
First unstable pre-alpha release of Rules for Drupal 8. This is not usable at all at the moment and is only intended as developer preview. The code mostly consists of bare bones classes with quite a few unit tests, but there is not much functionality implemented yet.
Note: Rules 2.1 ships with a new translation module based upon i18n. You'll need the latest entity api dev versions and i18n dev versions as of Mar 16th, 2012 or a future i18n 1.5 and entity api 1.0 version.
As we are working towards the stable release and we are close, this is probably the last beta release. Check the list of release blockers for more information or issues to help out.
Development status:
The module is fully functional now and has a basically working upgrade path. See the README for instructions on how to upgrade your rules from Drupal 6.
Development status:
The module is fully ported and functional, but the upgrade path is still missing.
changes since alpha4:
#1062364 fixed looping over data structures.
#1062140 patch by klausi: fixed numerically indexed arguments for components with non-parameter variables.
#1062188 patch by klausi: fixed notice: Undefined variable: lement
#965310 complete features integration, so that actions may add something to the features export. Implemented that for the component invocation actions, so invoked components are added to the export.
#1060978 patch by klausi: Fix variables in the UI for default components.
#1059412 component action label disappears on saving of an action.
#1061366 patch by klausi: enables the rules of a rule set to share provided variables.
#897698 removed support for the broken comment unpublish/publish hooks/events.
#1005372 fixed rendering of selected option list values in the overview, e.g. fixes showing role names instead of ids.
#1005532 pass the new parameter indicating the options list usage, as supported by the latest entity API.
#1045916 Always show weights in the rule overview.
#1047296 data selector UX improvements and fixed the data selector to work properly with list values.
#1057402 patch by sepgil: fixed autoselector open and close behaviour
changes since 1.3:
#759186 patch by me and klausi: fixed PHP 5.3 ereg is deprecated warnings
#439092 by Magnus: Imported translations to localization server and removed CVS files.
#940820 patch by klausi: fixed warning on the rules scheduler page
#874802 patch by fabsor: Allow user to specify rules' machine-readable names, as with rule sets
bug #968740 by klausi | flaviovs: Fixed No pager on default scheduled tasks view.
#933082 Remove misnamed and misplaced translation folder from project root level
Note that this ALPHA release requires entity API beta 6 or alter and Drupal 7.0 or later to work.
changes since ALPHA3:
#976748 fix tests to not use any duplicated entity properties
#993558 patch by sepgil: diverse data selector fixes and improvements
#993672 patch by sepgil: fixed data selector to work without clean-urls and improved the focus open behaviour
#995538 don't allow machine name changes to rules provided in code
#990198 moved the rules.module in the main module directory, thus fixing update-manager updates
#1002966 patch by kylethaynes: fixed type in modules disabled hook implementation
#1003872 fixed spelling mistake
fixed the condition invoking components to return the right result
#990514 patch by klausi and me: ported rules scheduler UI, overhauled rules scheduler, added possibility to manually execute components.
#904978 patch by klausi: overhauled admin UI such that breadcrumbs are preserved on rules edit pages.
added methods to ease re-using only conditions or actions of a rule
fixed entity module name in the docs
#1008324 patch by das-peter: fixed using multiple 'plugin' values as loading condition.
#1008810 updated Rules to be compatible with the latest entity API.
removed files from the .info file not containing any classes
changes since alpha2:
#453998 Add a direct link for editing components to the component invocation action
#952160 patch by klausi: fixed notices when configuring the data_create action
#922982 fixed mail_to_users_of_role action.
#649438 patch by TravisCarden: fixed content is of type help message
fix machine names to work wit h the new form element in core - makes machine names basically work again, but with some #bugs. see #952048
#597330 overhauled experimental features support --> Features support is considered stable now.
* Dropped support for single rule and rule set components. Still they can be exported by category.
* Fixed exporting by category to work fine with the latest features dev snapshot. For instructions how to fix existing features making use of rule components see this comment.
The rules forms actions for disabling form elements has been removed, because it had some serious problems. More infos at the issue.
changes for rules since 6.x-1.1:
#744300 Fixed warning "Unsupported operand types in rules.export.inc" when using features.
#748120 make sure revision don't get doubled when reacting on the creation of a node revision
German translation completed and aggregated to one file
#723980 patch by Steven Jones: Expose string variables as token.
#703294 patch by Berdir and me: fixed a PHP 5.3 warning in the rules admin UI and fixed passing rules by reference for the import hook.
Bug #517396 by fuerst: fixed user roles at account creation
added Ukrainian translation for rules
#588454 fixed a php 5.3 warning
This release features a lot of great improvements implemented by klausi during his Google Summer of Code project. Shortly, the since 1.0 the following features have been added:
* Improved the rules scheduler. Now tasks can be easily re-scheduled and deleted by an action. Also there is now some admin interface that lists scheduled tasks and allows manual deletion of scheduled tasks. (by klausi!)
* Added a new rules-forms sub-module which comes with events, conditions and actions for rule-based manipulation of all forms! (by klausi) Awesome!
* The rules UI got new icons and some small usability improvements! Again, thanks klausi!
Also there is an experimental integration with the features module currently depending on the patch from http://drupal.org/node/551490. This is still work in progress, but brave users can already test it and create features built of rules!
After updating, run update.php!
(There will be only an update if you have the rules scheduler module activated, but just run update.php in any case).