Version 2.3.1

July 4, 2022

Fixed

  • Fixes a compatibility issue introduced in Craft 3.7.46, where toggle field dropdowns, radio buttons and checkboxes would no longer work. Fixes #17

Version 2.3.0.1

May 21, 2022

Craft 4.0 has been released, finally adding field layout conditionals to core! As such Reasons has become redundant, and will not be upgraded to support Craft 4 or later releases. Before upgrading your site to Craft 4, make sure to note any conditionals that you'll want to re-create using the core feature, before uninstalling Reasons.

Fixed

  • Fixes a regression error that could throw an exception

Version 2.3.0

May 21, 2022

Fixed

  • Fixes an issue where conditionals would not work inside element slideouts for new entries or categories created via their fieldtypes

Changed

  • Reasons now requires Craft 3.7.0+
  • Reasons now requires PHP 7.2.5+
  • Updated plugin icon

Version 2.2.6

January 13, 2022

Fixed

  • Fixes an issue where Reasons could create a significant amount of duplicate database queries inside the control panel. Fixes #15.

Version 2.2.5

June 15, 2021

Fixed

  • Fixes Craft 3.7 compatibility issues

Version 2.2.4

January 20, 2021

Fixed

  • Fixes an issue where Lightswitch toggle fields would not work properly on Craft 3.5.18+

Version 2.2.3

December 27, 2020

Fixed

  • Fixes Postgres SQL errors

Version 2.2.2

October 8, 2020

Fixed

  • Fixes an issue where Reasons could cause an exception when installing Craft using existing project config Yaml files
  • Fixes an issue where Reasons would not delete conditionals from the Project Config when related field layouts were deleted in Craft
  • Fixes an issue where deleted conditionals would not be removed from the Project Config when it was rebuilt

Version 2.2.1

August 13, 2020

Fixed

  • Fixes an issue introduced in Craft 3.5.3, where conditionals would not render if field handles were visible

Version 2.2.0

July 16, 2020

Added

  • Adds Craft 3.5 compatibility. Thanks @brandonkelly!

Changed

  • Reasons now requires Craft 3.5.0-RC1 or later

Fixed

  • Fixes an issue where conditionals could disappear from the Project Config when it was rebuilt

Version 2.1.2

June 12, 2020

Added

  • Adds support for Tags

Fixed

  • Fixes an issue where Reasons could break element editor modals for Tags

Version 2.1.1

June 8, 2020

Fixed

  • Fixes an issue where Reasons could throw an exception when syncing project config via console
  • Fixes an issue where conditionals could be truncated on field layout save
  • Fixes an issue where multiple toggle fields per target field wouldn't work as expected

Version 2.1.0

June 1, 2020

Added

  • Adds support for Project Config

Version 2.0.1

June 1, 2020

Fixed

  • Fixes an issue where it could be possible save multiple conditional records per field layout
  • Fixes an issue where it wasn't possible to clear conditionals

Version 2.0.0

June 1, 2020

Added

  • Initial public release