On Sat, Apr 2, 2011 at 1:26 AM, Paul Davis <[email protected]> wrote: > Hey, > > Mozilla released a SM 1.8.5 source distribution this morning [1]. > We've been getting requests from various places to upgrade our couchjs > to use this newer version for a couple weeks and now that its > available, there's no better time to act. > > As can be expected, this new SpiderMonkey has a fairly significant API > change from what we've been using in couchjs. Up until now we've been > able to get away with supporting 1.7 and the 1.8.0rc1 tarballs without > much hassle. The new API makes this much more difficult. Chris C > Coulson from Ubuntu has been working on a patch that'll allow us to > work with 1.8.5 and (IIRC) should work with the 1.8.0rc1 but it > includes some extra gnarly ifdef magic to make things work. > > So my question is what versions of SM should we support? I would > probably vote to drop everything in favor of 1.8.5 and no longer > support the older APIs. There is a possibility of just having two > versions of couchjs that we choose at compile time. But from what I've > heard and seen, we're basically not going to be able to have a single > compile time ifdef decision on versions without some super screw code. > > Thoughts? > > [1] http://ftp.mozilla.org/pub/mozilla.org/js/ >
+1 to just keep support for 1.8.5 it make the code easier to read. - benoit
