Skip to content

Aioli 3.0.0

Compare
Choose a tag to compare
@robertaboukhalil robertaboukhalil released this 19 Aug 17:29
· 34 commits to main since this release

What's new

The improvements in v3 are focused on speeding up initialization time:

Removed aioli.worker.js

In v2, Aioli had to download a separate .js file that contained the WebWorker logic. In v3, that WebWorker logic is embedded directly into the Aioli npm library, so no additional downloads are needed.

Removed config.json files

In v2, Aioli downloaded a config.json file for every tool it initialized. Since this file has only been used to specify WebAssembly features (simd, threads), which are rarely used, these files have been removed. For tools like sandbox.bio/playground that load a lot of tools at once, this means much faster load times!

Removed base module

In v2, Aioli used a mock base module as the main WebAssembly module where all file system operations run. For convenience, this was removed in v3 for the majority of cases, where instead one of the tools is treated as the base module. Only if Aioli can't find any tool with reinit: false will the base module be required, which is unlikely.

Support for custom stdin

If you're running a tool that needs access to "stdin", you can now set it explicitly using CLI.stdin = "Hello" before calling the tool of interest.

Revamped website