BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Unable to update to Craft 3.2
#158 opened by stefan
Description
Solution:
Update to Ansel 2.1.3
I am trying to update Craft to version 3.2, but I get this error:
- buzzingpixel/ansel-craft 2.1.2 requires craftcms/cms ~3.1.0 -> satisfiable by craftcms/cms[3.1.34.2, 3.1.34.1, 3.1.34, 3.1.33, 3.1.32.1, 3.1.32, 3.1.31, 3.1.30, 3.1.29, 3.1.28, 3.1.27, 3.1.26, 3.1.25, 3.1.24, 3.1.23, 3.1.22, 3.1.21.1, 3.1.21, 3.1.20.1, 3.1.20, 3.1.19, 3.1.18, 3.1.17.2, 3.1.17.1, 3.1.17, 3.1.0-beta.1, 3.1.0-beta.2, 3.1.0-beta.3, 3.1.0-beta.4, 3.1.0-beta.5, 3.1.0-beta.5.1, 3.1.0-beta.6, 3.1.0-beta.7, 3.1.0, 3.1.1, 3.1.2, 3.1.2.1, 3.1.2.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.6.1, 3.1.7, 3.1.8, 3.1.9, 3.1.9.1, 3.1.10, 3.1.11, 3.1.12, 3.1.13, 3.1.14, 3.1.15, 3.1.16] but these conflict with your requirements or minimum-stability.
Replies
- TJ Draper
Replied 8/24/2019 4:09 PM, Edited 10/7/2019 9:08 PM
Unfortunately, Pixel & Tonic have decided to stop adhering to Semantic Versioning. As a result, the 3.1.x update broke Ansel pretty badly and so I've greatly tightened up Ansel's composer requirements for Craft, meaning I'll need to test every X.X version of Craft that is released before updating Ansel's allowed versions of Craft. This is actually Pixel & Tonic's own recommendations to me.
So all that said, I have now tested Ansel with Craft 3.2 and everything seems unbroken so I have updated Ansel's composer.json to allow Craft 3.2. If you update to the latest version of Ansel (2.1.3) you should be able to update to Craft 3.2.
Because Composer is a little finicky about update order, you may have to remove Ansel, update Craft, then require the most recent version of Ansel if you run into any trouble.
- stefan
Replied 8/28/2019 6:23 AM, Edited 10/7/2019 9:08 PM
And now Craft is at version 3.3 and the problem is back :(
- TJ Draper
Replied 8/28/2019 9:24 AM, Edited 10/7/2019 9:08 PM
Yes. Same explanation applies. I'll have to verify that 3.3 doesn't break anything, then I'll update the composer.json for Ansel to allow Craft 3.3.
- TJ Draper
Replied 10/7/2019 9:08 PM
I've released Ansel for Craft 2.1.4.
https://github.com/buzzingpixel/ansel-craft/releases/tag/2.1.4
This highlights why I limit Ansel from updating to untested versions of Craft. Because of breaking changes in Craft's API, there was a severe data loss bug regarding versioning which I had to track down and fix.