On 8/5/23 5:08 AM, Emiliano Heyns wrote:
> Are IOUtils and PathUtils available in Zotero 6?
> And in chromeworkers (6 and 7)?
> I have a hybrid plugin with 6/7 compatibility. When you say this is
> something that will affect Zotero when going to 115, that means
> something after the 7 release, that I can work on while Zotero 7 is in
> production and 6 is deprecated?
We suspect we're going to need to update to Firefox 115 before Zotero 7
ships to address bugs/limitations in 102, and we're currently working on
a 115-based build. The breaking changes we're aware of so far seem like
they'll mostly affect us, not plugin developers. We're flagging this one
because it's the main exception we're aware of, but for the vast
majority of plugins it should be trivial. (I understand that BBT is not
like most plugins.) For our own purposes, we're writing a temporary
OS.(File|Path|Constants.Path) compatibility shim for 115 while we update
old code, and others would be welcome to borrow that, so you can
certainly just continue importing osfile.jsm for now and deal with this
once there's a 115-based build.
Mostly off-topic, but honestly I just think you're creating a world of
pain for yourself by trying to use the same code between 6 and 7. Make
It Red showed a variety of options, but I think you'd be far better off
following the 1.1 model, freezing BBT as an overlay plugin, and
continuing development on a Z7-only bootstrap. We have every intention
of shipping Z7 this year.