Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to do a Craft 4.x version of Canary? #24

Open
gbowne-quickbase opened this issue Dec 15, 2022 · 5 comments
Open

Any plans to do a Craft 4.x version of Canary? #24

gbowne-quickbase opened this issue Dec 15, 2022 · 5 comments

Comments

@gbowne-quickbase
Copy link

Your plugin is such a nice way to handle errors. Can we get a Craft 4 version?

@michaelrog
Copy link
Member

Yes — working on it right now!

@gbowne-quickbase
Copy link
Author

Any updates on this?

@michaelrog
Copy link
Member

Any updates on this?

Yes — working on it right now!

@MattWilcox
Copy link

FWIW; tried installing it on a Craft4 project as this is now listed via the plugin store:
https://plugins.craftcms.com/canary?craft4

ddev composer require topshelfcraft/canary -w && ddev exec php craft plugin/install canary

And got

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires topshelfcraft/canary * -> satisfiable by topshelfcraft/canary[3.0.3, 3.0.4].
    - topshelfcraft/canary[3.0.3, ..., 3.0.4] require craftcms/cms ^3.5 -> found craftcms/cms[3.5.0, ..., 3.9.3] but it conflicts with your root composer.json require (^4.4.11).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require topshelfcraft/canary:*" to figure out if any version is installable, or "composer require topshelfcraft/canary:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require topshelfcraft/canary -w] failed, composer command failed: exit status 2. stderr=

@mrog-pbs
Copy link

mrog-pbs commented Sep 26, 2023

I suspect it's due to a stability constraint. Try this for now:

composer require topshelfcraft/canary:^4.0.0-beta.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants