Skip to content

Releases: drupijs/Drupi-JS

Production release! Now with the graal engine

31 Mar 20:34
Compare
Choose a tag to compare

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.

New module registry + fix exports shortcut in modules

31 Oct 15:38
Compare
Choose a tag to compare

Changes the module registry from api.stacket.net to repo-js.ostracize.net, and fixes the exports shortcut in modules to act as it should in a standard node module.

Bungeecord and Spigot 1.16.1 support

25 Jun 13:45
Compare
Choose a tag to compare

Added support for 1.16

Module flexibility and bug fixes

15 Jun 14:49
135720d
Compare
Choose a tag to compare

Adds missing clearInterval and clearTimeout functions, scopes module execution, adds support for exports keyword and adds "skip babel";

Added LabyModAPI for BungeeCord

05 Apr 14:13
Compare
Choose a tag to compare
0.4.3

labymodapi bungee

Fixed Bungeecord setTimeout running incorrect function

26 Mar 20:57
Compare
Choose a tag to compare

Bug fixes and command rename.

26 Mar 13:46
Compare
Choose a tag to compare

Changed Bungeecord command to bDrupi and fixed scheduler

Added Bungeecord support and optimized the code a little.

22 Mar 00:18
Compare
Choose a tag to compare

Drupi now has Bungeecord Support!

Keep in mind that Drupi for BungeeCord may contain bugs etc..

Fixed security issue with unzip and added zip function

30 Jan 16:11
Compare
Choose a tag to compare

Fixed security issue with the unzip function.
Renamed manager.unZipIt to manager.unzip
Added manager.zip(File input, File output)

Added some new methods

28 Jan 12:30
Compare
Choose a tag to compare

Added:

  • http.downloadFile(String url, File downloadedFile)
  • manager.unZipIt(File zipfile, File outputdir)
  • manager.moveFiles(File toDir, File fromDir)