bjuppa / laravel-blog

Flexible blog functionality for your Laravel project
MIT License
48 stars 8 forks source link

Fix compatibility with CommonMark v2 #78

Closed michelmelo closed 3 years ago

michelmelo commented 3 years ago

laravel 8.12 php 8 Your requirements could not be resolved to an installable set of packages.

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

bjuppa commented 3 years ago

Thanks for the report! I wonder if Laravel has switched to require league/commonmark v2 since the last release of this package.

I'll investigate and see if it's possible to quickly release a new version.

bjuppa commented 3 years ago

So... from https://github.com/laravel/framework/pull/37954 we have the option to install either version 1.3 or 2 of commonmark. This package is still on commonmark 1.3

@michelmelo you could try downgrading commonmark to 1.3 if you really want to install it now.

I'll go on to check the commonmark changelog to find out if there is anything holding us back from updating this package too.

bjuppa commented 3 years ago

I've added compatibility with both CommonMark 1.x and 2.x and created a new release.

Hopefully this will solve your install conflict @michelmelo