GJS API changes



Hi list,

I'm on the verge of merging a branch [1] to GJS master, which will port the underlying JS engine to SpiderMonkey 31 (was 24). This will bring a bunch of new JS features (and I hope performance improvements as well) to gnome-shell and extension authors.

With the new engine, gnome-shell code will be required to call gjs_init() before making any other calls to the GJS API, and call gjs_shutdown() after destroying your last GjsContext. It is planned for both of these methods to be new API in GJS 1.47.1.

My questions:
- Will it be a problem for gnome-shell master to bump its dependency on GJS to >= 1.47.1?
- Is it likely that this would be a problem with backwards compatibility (e.g. if anyone would try to run, say, gnome-shell 3.18 with GJS 1.48)
- Do you have any preference for when I merge the branch to GJS master?

[1] https://bugzilla.gnome.org/show_bug.cgi?id=751252

Regards,
Philip C


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]