Skip to content

Production release! Now with the graal engine

Latest

Choose a tag to compare

@Hundeklemmen Hundeklemmen released this 31 Mar 20:34

Woah, an update! well
Drupi has finally switched away from the old deprecated nashorn engine and moved over to the newer Graal engine! This means that you no longer have to wait for babel to compile your scripts into old EMCA2015 javascript meaning Drupi now loads instant!

So moving to a new engine means I have to recode my scripts?
No! All you need to do if you're migrating to this release is deleting your utils.js in the Drupi folder.

Notes:

  • Since this is a new engine you could run into some bugs, so feel free to report them in this discord if you find any!
  • Due to how graal runs, we couldn't get socket.io to run but we're hoping to add the feature back in future releases.
  • The HTTP manager has changed a little too, you now have to wrap your JSON body & headers inside a JSON.stringify()
  • We have also removed some of the older command.create methods in favor of the new command.create("cmd", {options})
  • We have also moved the module registry over to one hosted by Stacket Group instead, you can expect the old registry to be shut down in the future.