Skip to content

0.3.0

Compare
Choose a tag to compare
@syrusakbary syrusakbary released this 12 Apr 00:57

Wasmer now supports WASI 🎉.
The emscripten implementation has improved vastly, and now Wasmer can run PHP, SQLite and Lua (check them on the examples dir on this repo)
The wasmer CLI now ships with three different backends: Singlepass (fast compilation), Cranelift (default) and LLVM (fast runtime). You can try it with wasmer run --backend=singlepass ...
We also improved the APIs and shipped tons of bug fixes and improvements.

Changelog

  • Use new singlepass backend (with the --backend=singlepass when running Wasmer) #276 #288 #344
  • Actually catch traps/panics/etc when using a typed func. #338
  • Fixed func_index in debug mode #325
  • Add validate subcommand to validate Wasm files #323
  • Upgrade to Cranelift 0.3.0 #321
  • Add Export and GlobalDescriptor to Runtime API #319
  • Cleanup warnings #310
  • Add support for WASI 🎉 #299 #300 #301 #303 #304 #305 #306 #307
  • Add extend to imports #286
  • Add versioning to cache #278
  • Setup bors #250

Emscripten

  • Allow resize_heap to grow heap in emscripten  #335
  • Fix lstat64; heap size; and stat #332
  • Implement strftime #330
  • Improved syscalls #329 #328 #326 #289 #285
  • Add more stubs for pthreading, exceptions, and some invokes #314
  • Auto generate null funcs #295
  • Added support for symbol maps to improve debugging #294
  • Fix arg passing to getcwd sys call #292
  • Fix alignment check on pointer #291

Runtime C API

  • Split lib.rs into modules #312
  • Implement wasmer_export_to_memory function #296
  • Mirror the debug and llvm features #280
  • Implement wasmer_module_serialize and wasmer_module_deserialize #271
  • Add an API to update vm::Ctx.data #261
  • Fix the imports length #260
  • Fix C API table/global/memory imports #227

Docs

  • Add FreeBSD installation instructions for CMake #315
  • Add basic README to libs #311
  • Fix typo #256
  • Improve runtime c api #242