codedge / statamic-magiclink

Login into Control Panel without using a password - just by using a magic link.
https://statamic.com/addons/codedge/statamic-magiclink
3 stars 1 forks source link

Upgrade to Statamic 5 needed? #317

Closed steveparks closed 1 day ago

steveparks commented 2 weeks ago

I'm really keen to use this plugin on a project, but I get errors when installing:

./composer.json has been updated
Running composer update codedge/statamic-magiclink
> Statamic\Console\Composer\Scripts::preUpdateCmd
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codedge/statamic-magiclink[dev-dependabot/composer/orchestra/testbench-tw-6.6.0, dev-php8] require statamic/cms ^3.0.0 -> found statamic/cms[v3.0.0-beta.1, ..., 3.4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - codedge/statamic-magiclink[dev-dependabot/npm_and_yarn/resolve-url-loader-5.0.0, dev-dependabot/github_actions/creyD/prettier_action-4.3, dev-dependabot/composer/phpunit/phpunit-tw-9.6] require statamic/cms ^3.2 -> found statamic/cms[v3.2.0-beta.1, ..., 3.4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - codedge/statamic-magiclink dev-dependabot/composer/statamic/cms-tw-4.42 requires statamic/cms ^4.42 -> found statamic/cms[v4.42.0, ..., 4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - codedge/statamic-magiclink[dev-analysis-OMRmvl, 1.0.0, ..., 1.3.1] require php ^7.4 -> your php version (8.3.8) does not satisfy that requirement.
    - codedge/statamic-magiclink[1.3.2, ..., 1.4.0] require statamic/cms ^3.1 -> found statamic/cms[v3.1.0-alpha.1, ..., 3.4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - codedge/statamic-magiclink[dev-dependabot/composer/nunomaduro/larastan-tw-2.7, dev-dependabot/composer/orchestra/testbench-tw-7.39.0, dev-dependabot/npm_and_yarn/vue-loader-17.4.0, dev-dependabot/github_actions/stefanzweifel/git-auto-commit-action-5.0.0, dev-dependabot/github_actions/codecov/codecov-action-3.1.4, dev-dependabot/npm_and_yarn/tailwindcss-3.4.0, dev-dependabot/github_actions/shivammathur/setup-php-2.28.0, dev-dependabot/npm_and_yarn/axios-1.6.3, dev-dependabot/npm_and_yarn/postcss-focus-visible-9.0.1, dev-dependabot/github_actions/actions/checkout-4.1.1, dev-master, dev-#255-statamic-4, 1.5.0] require statamic/cms ^4.1 -> found statamic/cms[v4.1.0, ..., 4.x-dev] but it conflicts with your root composer.json require (^5.0).
    - Root composer.json requires codedge/statamic-magiclink * -> satisfiable by codedge/statamic-magiclink[dev-dependabot/composer/nunomaduro/larastan-tw-2.7, ..., dev-php8, 1.0.0, ..., 1.5.0, 9999999-dev].

I'm new to Statamic and Laravel, so am not certain, but it looks like this addon might not be compatible with v5 of Statamic yet. If that's a correct assessment, are there any plans to update it soon please?

Or, maybe I misunderstand the error messages?

Thanks for any steer

steveparks commented 2 weeks ago

I started having a look at this and have got a reasonable way, but have run into problems with the MagicLink form. The email field doesn't display. Will look at this again tomorrow.

codedge commented 1 week ago

Hey,

I try to have a look into this the upcoming weekend

codedge commented 1 day ago

Fixed .. see #321