condition_path 3.0.1

Bug fixes

This release fixes PHP 8.1 compatibility.
If your project is running on PHP 8.3, this release makes no difference to your project compared to release 3.0.0.

Changes

  • Issue #3481762: Remove typing of constants as this is not PHP 8.1 compatible

condition_path 3.0.0

The module works the same as version 2.x.x, but drops support for Drupal 9 and adds support for Drupal 11.

** Don't use this release on PHP version lower than 8.3. This release is not PHP 8.1 compatible as it was advertised, upgrade to 3.0.1 for PHP ^8.1 compatibility **

Changes

  • Add Drupal 11 support
  • Drop Drupal 9 support
  • Drop PHP ^7.1 support
  • Improve condition summary text to take in account negation
  • Improve PHP code with PHP ^8.1 syntax

condition_path 2.0.4

Changes

  • Change path validation to allow path to start with exclamation mark followed by wildcard

condition_path 2.0.1

**Known bug in this release in combination with Drupal >= 10.1.x: Leading exclamation marks are not allowed in paths** Please upgrade to at least 2.0.2.

This release does not contain major changes. Everything will work as it did in 2.0.0.

  • Change the plugin title in the block visibility section to be in line with Drupal core: "Pages (include and exclude)". Group it with core's "Pages".
  • Add a clarifying placeholder text to the Pages textarea.
  • Issue #3399820: Fix mb_strtolower() passing null is deprecated.

condition_path 2.0.0

**Known bug in this release in combination with Drupal >= 10.1.x: Leading exclamation marks are not allowed in paths** Please upgrade to at least 2.0.2.

Works the same way as version 1.

Changes:

  • Add Drupal 10 support.
  • Remove Drupal 8 support (use version 1.x.x for Drupal 8).
  • Add PHP 8.0 and higher support (next to PHP 7.1 and higher).
  • Add native negate option to condition form. This was previously hidden.

condition_path 2.0.x-dev

New major development version to support Drupal 10 and PHP 8.
No functional changes.

condition_path 1.0.0

First stable release with security advisory coverage.
Added more examples to the README file.
No code changes.

condition_path 1.0.0-beta2

Code improvements:

  • Move the pages-to-array conversion to separate method.
  • Remove obsolete repositories from composer.json.
  • Changed summary to avoid it to become too long.
  • Hide the default negation option by setting access to false instead of unsetting it.
Subscribe with RSS Subscribe to Releases for Condition Path