-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Update Piranha.ImageSharp dependency SixLabors.ImageSharp to v3 #2093
Comments
There are some major changes to the licensing between v2 and v3 of ImageSharp that we need to clear out before being able to update. |
Updating the ImageSharp dependency is also important because of breaking changes between version 2 and 3. I use Piranha CMS with other open source library which target the version 3.x. If I try to upload an image with the manager, I get this error message. I think there is no license issue. (It's allowed to use ImageSharp as "Transitive Package Dependency" by open source projects like Piranha CMS.) |
@usercode We can't upgrade |
@usercode To clarify a bit around the transitive package reference. Yes it’s ok as long as YOUR site isn’t using the ImageSharp package directly and it’s only used from Piranha. If you have any code using ImageSharp and we upgrade to version 3, you would need to buy a license covering your custom usage. |
Yeah, that's true. But what is your conclusion? Keep reference to old ImageSharp version forever? (I don't see the begin of a new major version of Piranha.) Migrate to SkiaSharp? Maybe you can create a new nuget package called "Piranha.ImageSharp.V3" and everyone can decide which version they want to use. I fixed it by creating my own Piranha.ImageSharp project like you told. But an official nuget package is nicer. 😄 |
update to ImageSharp 3.x see: https://sixlabors.com/posts/announcing-imagesharp-300/
The text was updated successfully, but these errors were encountered: