Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 163.06 KB
MD5: 84c152c387542dc56f252639003a432f
SHA-1: 8be1cd77f3086796398fd02bec1d256787fec60f
SHA-256: a9c7795db993850544e8004441310fb55792e39b37f1a3e1583387e6a898cac5
Download zip 355.06 KB
MD5: 4f82295f2641f133293b474a04ebe620
SHA-1: 7c88959b047986783aa9d4afc992093df08ce0ee
SHA-256: 68167a87901730c57432dfd561e4ed7b00504b7e11fd93264d97438be03b08c5

Release notes

Changes since 8.x-3.0-alpha4:

Bug fixes:

  • #2855433 by TR, mauro_ptt: ContextFormTrait.php not processing multi-line conditions correctly when line break character is '\r\n'
  • #2989417 by TR: Argument 1 passed to \EntityContext::fromEntity() must implement EntityInterface
  • #2993629 by TR: Negated condition does not display NOT on entity.rules_reaction_rule.edit_form
  • #3018343 by TR: "Delete all aliases for a path" action fails
  • #3037579 by TR: Fix tags in configuration
  • #3043884 by TR: Composer require failure
  • #3073653 by TR: WSOD when configuring blocks

New features:

  • #1495612 by TR: Improve "/rules/reaction/add" page
  • #2330203 by COBadger, TR, Vladimirrem: Add an 'unblock IP address' action
  • #2409053 by TR, piyuesh23: Adjust context definitions of data_convert action
  • #2409059 by TR, Eyal Shalev, kbentham, czigor, klausi, dasjo, naveenvalecha, emclaughlin: Port Send mail to all users of a role (mail_to_users_of_role) action to D8
  • #2721209 by TR: Rename expression plugin classes to use an Expression suffix
  • #2721211 by TR: Expression manager helpers do not require ContextConfig
  • #2840815 by TR, ritzz: Support custom Conditions that don't need context
  • #2980078 by TR: Remove unused Rules::expressionManager()
  • #2993612 by TR: Use proper singular/plural entity labels where appropriate
  • #3027721 by TR: Rename RulesDrupalTestBase -> RulesKernelTestBase
  • #3033431 by TR: Allow RulesIntegrationTestBase to discover contributed modules
  • #3035337 by vomiand, TR: Port rules.drush.inc to D8
  • #3037585 by TR: Add hasTags() method to Reaction Rules and Rules Configurations Entities
  • #3038827 by TR: Remove 'type' from RulesExpression annotation
  • #3065980 by TR: "Add a variable" action is in the wrong category
  • #3070755 by TR: Rename BanIP to BanIp
  • #3075689 by TR: IpIsBanned condition does not set default IP value
  • (no issue) Use D8 Rules token syntax, e.g. node.title, instead of D7 syntax (node:title) in comments and UI strings.

Testing:

  • #2989565 by TR: Correct the test coverage annotation
  • #3038857 by TR: Remove @todo from Kernel tests
  • #3046376 by TR: Update tests for new Typed Data API 8.x-1.0-alpha3 release
  • #3067746 by TR: Make a small change to tests for readability
  • (no issue) Replace some deprecated test functions: assertEqual() -> assertEquals() pass($message) -> assertTrue(TRUE, $message)
  • (no issue) setUp() method in test classes should be protected, not public.

Core Drupal changes:

  • #2922757 by jonathan1055, TR, fago: Replace deprecated RouteEnhancerInterface, then remove @group legacy
  • #2989050 by TR: Text string detections pass at 8.5 but fail at 8.6 and 8.7
  • Follow up to Issue #2989050 - remove @todo now that Drupal 8.5.x is unsupported.
  • #2989980 by TR: Remove @todo hacks from AutocompleteTest
  • #3033478 by TR: Replace drupal_set_message with messenger service
  • #3034055 by akshay_d: Time Service Needs to be Added and REQUEST_TIME deprecated
  • #3038852 by TR: Drupal core change broke Rules tests
  • #3042662 by TR: Drupal 9 Deprecated Code Report
  • #3065055 by TR: Fix 'risky' Kernel tests
  • #3067752 by TR: Use \Drupal\Core\Logger\LoggerChannelInterface instead of \Psr\Log\LoggerInterface in Actions

Coding standards:

  • #2989569 by TR: Correct coding standards violation added in issue 2694685
  • #2993475 by TR: Documentation and spelling
  • #2993701 by TR: Wrong indentation in rules.info.yml
  • #2999965 by TR: Use colon after case statements
  • #3067750 by TR: Use "email" instead of "e-mail"
  • #3069029 by TR: Use "@todo" consistently and uniformly
  • #3070832 by TR: Fix usages of @see
  • (no issue) Classes in route definitions should be fully-qualified with a prefix of '\'.
  • (no issue) Change some t() to $this->t().
  • (no issue) Minor comment changes.
  • (no issue) Coding standards: Namespaced classes/interfaces/traits should be referenced with use statements
  • (no issue) Minor documentation and coding standards changes.
  • (no issue) Standardize syntax of plugin annotations. Add some comments.
Created by: tr
Created on: 19 Aug 2019 at 05:48 UTC
Last updated: 19 Aug 2019 at 05:53 UTC
Bug fixes
New features

Other releases