I have an issue with coldbox. I have the Quick mod...
# box-products
r
I have an issue with coldbox. I have the Quick module and the cfmigrations module installed in my coldbox app. Quick has a dependency for
"qb":"^9.1.2"
and cfmigrations has a dependency for
"qb":"^8.0.0"
. The quick module is not working because it seems to be using the cfmigrations qb module. Both modules have the install path for qb set to
"qb":"modules/qb/"
. How do I go about resolving this issue?
Ok updating cfmigrations to latest version solved the issue, but what If I was pinned to a specific version of cfmigrations and wanted to update quick to the latest version
s
I think I'd just manually install qb 9 and let cfmigrations deal with it. The manner in which most modules have breaking changes rarely actually breaks other modules that depend on them.
And if it did I'd probably just patch the offending module until I could update it
r
@sknowlton thats kinda my thinking aswell. It does feel weird though. Kinda takes the modularity out of modules a bit.
s
I think the next version of Coldbox will let you run multiple versions of libraries at the same time. Right now I believe you can do this but it requires some Wirebox config jiggery-pokery
👍 1
From a software architecture standpoint though I think I like having some pushback from my modules. Like ... probably you should update cfmigrations when it's relying on an old version of QB! If it 'just worked' then you'd have less incentive to go update all your modules every so often 😁
😁 1
e
In reality, upgrading Quick to use qb 9 should have been a breaking change on my part. It wasn’t from Quick’s perspective, but it was from a module interaction perspective. You have found the solution though: all qb 9 across all modules that use it.
r
Thanks @elpete