Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 137.18 KB
MD5: c3b78a103067b7adf4862d17bf259d91
SHA-1: 82d53bd7cd0e282f5cdf66b472dd2371857ddfbf
SHA-256: 68c6b6b3f8ae8deda8bc6623e685d4bd8e63e9c54ad839f3d51ee4589af98c1d
Download zip 303.13 KB
MD5: 4df59c23bd4184a14fc081d7a15fd1c3
SHA-1: 4cfc3ab3e743c6f300c2272d1b65a8b984dff75e
SHA-256: 6c32c286a293b64bd14ff5350b1095bed0de8635ad84fb3404c841fa25e7fc94

Release notes

Another development snapshot of Rules 3.x:

  • We implemented a temporary storage system in the UI similar to Views.
  • Several UI improvements to make the Rules UI work as a prototype.
  • Rules expressions con now be checked for integrity to validate their configuration.
  • Developed a new data fetcher service that works with Typed Data to resolve arbitrary property paths like node.uid.entity.name.value.
  • Implemented a new Twig-style token replacement system as a typed data service. Example: "{{node.title}} has been updated" or "The year is {{ date | format_date('custom', 'Y') }}"

Full changes since 8.x-3.0-unstable6:

  • #2632516: Rename RulesState and its interface to ExecutionState.
  • #2632582 by fago: Make use of property path terminology and path separators for selecting data and move it to the TypedData namespace.
  • #2632582 by fago: Make current code and tests work with fetching property paths.
  • #2632582: Added typed data test skeletion.
  • #2632582: Fixed MissingDataException.
  • #2636180: Added UI to create actions in a rule
  • Only allow short array syntax in Rules
  • #2637102: Implemented the data selector / direct input mode switcher button in the UI for conditions
  • Added browser test base class for shorter and more readable test code
  • #2637102: Implemented the data selector / direct input mode switcher in the action UI
  • Improved page title when editing reaction rules and rules components
  • #2632636: Moved forms and controllers out of Entity namespace
  • #2636408: Added UI for editing actions and conditions in a rule
  • Fixed context name in UserHasRole condition
  • Fixed comment and moved class references in string to ::class
  • Implemented default values in context forms
  • #2632582 by fago: Fix coding style issues for the data fetcher.
  • #2632582: Added tests for DataFetcher (WIP).
  • #2632582: Completed data fetcher test and improved the data fetcher exceptions thrown.
  • #2648918 by fago: Add initial, untested PlaceholderResolver class.
  • #2648918: Move placeholder resolver to work as a service based on Typed Data instead of the Context API.
  • #2648918 by fago: Add basic PlaceholderResolverTest and make PlaceholderResolver actually work.
  • #2648918 by fago: Extend test coverage for token placeholder resolver.
  • #2648918 by fago: Extract an interface for the PlaceholderResolver service.
  • #2648918 by fago: Implement adding bubbleable metadata for the placeholder resolving and data fetching systems.
  • Fixed PHP notices in the UI and improved handling of consition plugins without category
  • #2649500: Switch UI logic to use a temp-store
  • #2653516: Add UI test cases for temporary storage and locking
  • Removed TypedDataManagerTrait, use the identical form Drupal core instead
  • #2650440 by fago: Add initial architecture and prototyped plugins for data filters.
  • #2650440 by fago: Add test coverage for data filters and make them work.
  • #2650440 by fago: Fix DataFilterInterface documentation.
  • #2654852 by pfrenssen: Fix waiting for webserver to start when testing on Travis.
  • #2654892 by fago: Allow using data filters in placeholder tokens.
  • Allow data filters to add their bubbleable metadata.
  • #2648352: Implemented an integrity check on configuration time with an execution metadata state
  • Disabled HHVM testing, made Drupal core clone faster by using Github, added caching for composer PHPCS dependencies
  • Also use travis_retry for composer downloads in case there are errors
  • #2650372: Implemented meta data definition fetcher and use that for integrity checks
  • #2650448 by fago: Add support for global context.
  • #2650448 by fago: Add support for global context in the execution metadata state.
  • Fixing some typos in the DataFetcherInterface docs.
  • #2650448 by fago: Fix RulesIntegrationTestBase to work with global context.
  • Fixed 'definition' typo in variable names
  • #2650366: Moved DataFetcher to a standalone Typed Data service
  • Added test case for metadata fetching with unknown properties in lists
  • #2650448 by fago: Fix ExecutionState::hasVariable() to support global context.
  • #2653588 by fago: Improve event classes to allow for defined properties.
  • #2655604: Added integrity check violations for missing plugins, invalid provided variable names, data selecotr restrictions
  • #2650426 by fago: Move to twig-style token replacement syntax.
  • #2655026 by fago: Add a format_date data filter.
  • #2655026 by fago: Add bubbleable metadata test coverage for applying data filters.
  • #2539700 by a.milkovsky, stevepurkiss: Port "init" system event to D8
  • #2632564 by fago: Make use of the new placeholder token replacement system.
  • #2650426 by fago: Convert placeholder separater from : to . for compatibility with Twig syntax.
  • #2637048 by Cogax, Sentei: After saving a component, I should be redirected to the component edit screen
  • Renamed addVariable() to setVariable() in execution states because it overrides existing variables
  • #2648284 by vasi1186: A service container rebuild is required when events are configured.
  • #2654816 by KiranJoshi, Sentei, markie: Add cancel button to undo temporary changes to a rule.
  • #2659026 by fago: Add a UI embed testing module.
  • #2660204: Fixed false integrity check violations on provided variables when they are used
  • #2658960 by klausi: Create the loop action expression plugin
  • #2655604: Added integrity checks for data type matching
Created by: klausi
Created on: 1 Feb 2016 at 12:59 UTC
Last updated: 7 Mar 2016 at 21:55 UTC
Bug fixes
New features

Other releases