ZOS changed how libs are loaded a few patches back, previously you had to bundle them with your AddOn and the lib itself would take care of not being loaded multiple times.
With the new architecture AddOns don't need to bundle libs anymore and libs are treated more like their own AddOn.
While this in theory should make things easier for AddOn authors it also means that if a lib gets updated to a new version but a AddOn still has a dependency for a older version of the lib and the lib is not included with the AddOn, things will get funky.
Which is why i still bundle all needed libs with my AddOn(s). That way i'm in control of what versions are shipped with my code and i know things are going to work.
ZOS changed how libs are loaded a few patches back, previously you had to bundle them with your AddOn and the lib itself would take care of not being loaded multiple times.
With the new architecture AddOns don't need to bundle libs anymore and libs are treated more like their own AddOn.
While this in theory should make things easier for AddOn authors it also means that if a lib gets updated to a new version but a AddOn still has a dependency for a older version of the lib and the lib is not included with the AddOn, things will get funky.
Which is why i still bundle all needed libs with my AddOn(s). That way i'm in control of what versions are shipped with my code and i know things are going to work.
All my AddOns have a subfolder that includes all the libs they need.Seminolegirl1992 wrote: »Hmm. What do you mean by bundling?
I know Lazy Writ Crafter needs the Price Lib, but you can get into the game without that.
Currently, my Libs are:
LibAddonMenu
LibCustomMenu
LibLazyCrafting
LibMapPins (which I think I need to update)
LibPrice
LibStub
My game runs fine, but it does crash on every exit, so I am sure I need something else updated LIB wise. Do a search for Addons to get using Lib as the search term. If you see any Libs that go with any addons you have, install them.
ZOS changed how libs are loaded a few patches back, previously you had to bundle them with your AddOn and the lib itself would take care of not being loaded multiple times.
With the new architecture AddOns don't need to bundle libs anymore and libs are treated more like their own AddOn.
While this in theory should make things easier for AddOn authors it also means that if a lib gets updated to a new version but a AddOn still has a dependency for a older version of the lib and the lib is not included with the AddOn, things will get funky.
Which is why i still bundle all needed libs with my AddOn(s). That way i'm in control of what versions are shipped with my code and i know things are going to work.
I know Lazy Writ Crafter needs the Price Lib, but you can get into the game without that.
lordrichter wrote: »ZOS changed how libs are loaded a few patches back, previously you had to bundle them with your AddOn and the lib itself would take care of not being loaded multiple times.
With the new architecture AddOns don't need to bundle libs anymore and libs are treated more like their own AddOn.
While this in theory should make things easier for AddOn authors it also means that if a lib gets updated to a new version but a AddOn still has a dependency for a older version of the lib and the lib is not included with the AddOn, things will get funky.
Which is why i still bundle all needed libs with my AddOn(s). That way i'm in control of what versions are shipped with my code and i know things are going to work.
That works great until someone has Allow Out Of Date addons turned off and authors have old libraries with the TXT file. The game will find the old libraries, not load them, and the failure cascades.
lordrichter wrote: »
That works great until someone has Allow Out Of Date addons turned off and authors have old libraries with the TXT file. The game will find the old libraries, not load them, and the failure cascades.
Simple solution: turn out of date add-ons on. It's a pointless box anyway, and many add-ons work fine and just don't have a useless number incremented.