nystudio107 / craft-richvariables

Allows you to easily use Craft Globals as variables in Rich Text fields
https://nystudio107.com/plugins/rich-variables
Other
25 stars 6 forks source link

Composer requirements issue with Craft 4/Redactor #43

Closed AndrewMac closed 2 years ago

AndrewMac commented 2 years ago

Describe the bug

I can't install the version 4 beta due to an issue with composer requirements

To reproduce

Steps to reproduce the behaviour:

  1. Set composer "minimum-stability": "beta"
  2. Run composer require nystudio107/craft-richvariables:^4.0.0-beta.2
  3. Get the following error:

Please note, by the way, that I believe Redactor 3 is now in beta

Problem 1
    - Root composer.json requires nystudio107/craft-richvariables ^4.0.0-beta.2 -> satisfiable by nystudio107/craft-richvariables[4.0.0-beta.2].
    - nystudio107/craft-richvariables 4.0.0-beta.2 requires craftcms/redactor 3.0.x-dev as 2.8.8 -> found craftcms/redactor[3.0.x-dev] but it does not match your minimum-stability.

Expected behaviour

Composer installs the package ;-)

Versions

khalwat commented 2 years ago

Addressed in: Rich Variables 4.0.0-beta.3: https://github.com/nystudio107/craft-richvariables/releases/tag/4.0.0-beta.3