visual-space / visual-editor

Rich text editor for Flutter based on Delta format (Quill fork)
MIT License
280 stars 44 forks source link

Sys - Upgrade `gallery_saver` #238

Closed LuchoTurtle closed 7 months ago

LuchoTurtle commented 11 months ago

Unfortunately, when installing visual-editor, it might run into versioning issues because it's dependent on gallery_saver, which in turn depends on an outdated version of http 0.13.0. This creates issues where we can't upgrade google_fonts because of this. Additionally, if I try to install this package, I get the following error:

Because gallery_saver 2.3.2 depends on http ^0.13.3 and no versions of gallery_saver match >2.3.2 <3.0.0, gallery_saver ^2.3.2 requires http ^0.13.3.
So, because my_app depends on both gallery_saver ^2.3.2 and http ^1.0.0, version solving failed.
exit code 1

Because gallery_saver is not maintained anymore, it makes sense to replace it with gal, which is maintained and serves the same purpose.

After (hopefully) merging #237 , this will be the only last "outdated" dependency, which will make it possible to install visual-studio without a hinch (fingers crossed! 🤞).

I'll open a PR on this.

adrian-moisa commented 11 months ago

I'll have a look at these libs tomorrow evening. I've had some major overflow at the day job. Won't keep you hanging too much. I'd do it today but my brain is zapped. Maybe you'll have some time for a quick audio meeting.