WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] over 2 years ago
Breaking changes:
WasmEdge_ImportObjectContext
into the WasmEdge_ModuleInstanceContext
.
WasmEdge_ImportObjectCreate()
is changed to WasmEdge_ModuleInstanceCreate()
.WasmEdge_ImportObjectDelete()
is changed to WasmEdge_ModuleInstanceDelete()
.WasmEdge_ImportObjectAddFunction()
is changed to WasmEdge_ModuleInstanceAddFunction()
.WasmEdge_ImportObjectAddTable()
is changed to WasmEdge_ModuleInstanceAddTable()
.WasmEdge_ImportObjectAddMemory()
is changed to WasmEdge_ModuleInstanceAddMemory()
.WasmEdge_ImportObjectAddGlobal()
is changed to WasmEdge_ModuleInstanceAddGlobal()
.WasmEdge_ImportObjectCreateWASI()
is changed to WasmEdge_ModuleInstanceCreateWASI()
.WasmEdge_ImportObjectCreateWasmEdgeProcess()
is changed to WasmEdge_ModuleInstanceCreateWasmEdgeProcess()
.WasmEdge_ImportObjectInitWASI()
is changed to WasmEdge_ModuleInstanceInitWASI()
.WasmEdge_ImportObjectInitWasmEdgeProcess()
is changed to WasmEdge_ModuleInstanceInitWasmEdgeProcess()
.WasmEdge_FunctionInstanceContext
instead of the index in the FuncRef
value type.
WasmEdge_ValueGenFuncRef()
is changed to use the const WasmEdge_FunctionInstanceContext *
as it's argument.WasmEdge_ValueGetFuncRef()
is changed to return the const WasmEdge_FunctionInstanceContext *
.WasmEdge_StoreContext
to the WasmEdge_ModuleInstanceContext
.
WasmEdge_StoreListFunctionLength()
and WasmEdge_StoreListFunctionRegisteredLength()
is replaced by WasmEdge_ModuleInstanceListFunctionLength()
.WasmEdge_StoreListTableLength()
and WasmEdge_StoreListTableRegisteredLength()
is replaced by WasmEdge_ModuleInstanceListTableLength()
.WasmEdge_StoreListMemoryLength()
and WasmEdge_StoreListMemoryRegisteredLength()
is replaced by WasmEdge_ModuleInstanceListMemoryLength()
.WasmEdge_StoreListGlobalLength()
and WasmEdge_StoreListGlobalRegisteredLength()
is replaced by WasmEdge_ModuleInstanceListGlobalLength()
.WasmEdge_StoreListFunction()
and WasmEdge_StoreListFunctionRegistered()
is replaced by WasmEdge_ModuleInstanceListFunction()
.WasmEdge_StoreListTable()
and WasmEdge_StoreListTableRegistered()
is replaced by WasmEdge_ModuleInstanceListTable()
.WasmEdge_StoreListMemory()
and WasmEdge_StoreListMemoryRegistered()
is replaced by WasmEdge_ModuleInstanceListMemory()
.WasmEdge_StoreListGlobal()
and WasmEdge_StoreListGlobalRegistered()
is replaced by WasmEdge_ModuleInstanceListGlobal()
.WasmEdge_StoreFindFunction()
and WasmEdge_StoreFindFunctionRegistered()
is replaced by WasmEdge_ModuleInstanceFindFunction()
.WasmEdge_StoreFindTable()
and WasmEdge_StoreFindTableRegistered()
is replaced by WasmEdge_ModuleInstanceFindTable()
.WasmEdge_StoreFindMemory()
and WasmEdge_StoreFindMemoryRegistered()
is replaced by WasmEdge_ModuleInstanceFindMemory()
.WasmEdge_StoreFindGlobal()
and WasmEdge_StoreFindGlobalRegistered()
is replaced by WasmEdge_ModuleInstanceFindGlobal()
.WasmEdge_VMContext
APIs.
WasmEdge_VMGetActiveModule()
.WasmEdge_VMGetImportModuleContext()
is changed to return the WasmEdge_FunctionInstanceContext *
.WasmEdge_VMRegisterModuleFromImport()
is changed to use the const WasmEdge_ModuleInstanceContext *
as it's argument.0.9.1
to 0.10.0
, please refer to the document.Features:
tail-call
proposal.
WasmEdge_Proposal_TailCall
for the configuration in WasmEdge C API.--enable-tail-call
to enable the proposal in wasmedge
and wasmedgec
tools.WasmEdge_VMContext
, WasmEdge_ConfigureContext
, WasmEdge_ModuleInstanceContext
, and WasmEdge_StoreContext
APIs.send_to
.resv_from
.wasmedge_process
to a loadable plugin.Fixed issues:
poll_oneoff
with the same fd
twice.fd_close
on socket.::getaddrinfo
.Refactor:
StackManager
in Executor
as thread local to support the multi-thread.std::unordered_map
of the enumeration strings with DenseMap
and SpareMap
.enum.inc
file.ErrCode
enumeration for the newest spec tests.tail-call
proposal.
call_indirect
execution routine in compiler into AOT and interpreter path.StackManager
.Loader
.
StackManager
for better performance in the interpreter mode.
StackManager
and used the pre-calculated data for branch.StackManager
.StoreManager
and ModuleInstance
.
StoreManager
.StoreManager
, ModuleInstance
, and Executor
.
ModuleInstance
-based resource management instead of StoreManager
-based.StoreManager
into the ModuleInstance
.ImportObject
into the ModuleInstance
.FunctionInstance
rather than the function name in Executor
.Documentations:
0.9.1
to 0.10.0
, please refer to the document.0.9.1
, please refer to the document.v0.9.2
to v0.10.0
, please refer to the document.v0.9.2
, please refer to the document.Tests:
20220504
.tail-call
proposal.poll_oneoff
, send_to
, and recv_from
.Thank all the contributors that made this release possible!
朱亚光, Abhinandan Udupa, Ang Lee, Binbin Zhang, DarumaDocker, Elon Cheng, FlyingOnion, Herschel Wang, JIAN ZHONG, JcJinChen, Jeremy, JessesChou, JieDing, Kodalien, Kunshuai Zhu, LFsWang, LaingKe, Michael Yuan, Nicholas Zhan, 华德禹, O3Ol, Rui Li, Shen-Ta Hsieh, Shreyas Atre, Sylveon, TheLightRunner, Vaniot, Vinson, 罗泽轩, Xin Liu, YiYing He, YoungLH, abhinandanudupa, border1px, eat4toast, hydai, jerbmarx, luckyJ-nj, meoww-bot, mydreamer4134, situ2001, tpmccallum, treeplus, wangyuan249, 王琦
If you want to build from source, please use WasmEdge-0.10.0-alpha.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] over 2 years ago
Features:
sock_getsockopt
, sock_setsockopt
, sock_getlocaladdr
, sock_getpeeraddr
, and sock_getaddrinfo
host functions for the WASI socket proposal.WasmEdge_Async
struct in WasmEdge C API for the asynchronous execution.
WasmEdge_AsyncWait
API for waiting an asynchronous execution.WasmEdge_AsyncWaitFor
API for waiting an asynchronous execution with timeout.WasmEdge_AsyncCancel
API for canceling an asynchronous execution.WasmEdge_AsyncGetReturnsLength
API for waiting and getting the return value length of asynchronous execution.WasmEdge_AsyncGet
API for waiting and getting the asynchronous execution results.WasmEdge_AsyncDelete
API for destroying the WasmEdge_Async
object.WasmEdge_VMAsyncRunWasmFromFile
API for executing WASM from a file asynchronously.WasmEdge_VMAsyncRunWasmFromBuffer
API for executing WASM from a buffer asynchronously.WasmEdge_VMAsyncRunWasmFromASTModule
API for executing WASM from an WasmEdge_ASTModuleContext
asynchronously.WasmEdge_VMAsyncExecute
API for invoking a WASM function asynchronously.WasmEdge_VMAsyncExecuteRegistered
API for invoking a registered WASM function asynchronously.WasmEdge_ConfigureCompilerSetInterruptible
API for setting the interruptibility of the AOT compiler.WasmEdge_ConfigureCompilerIsInterruptible
API for getting the interruptibility of the AOT compiler.multi-memories
proposal.
WasmEdge_Proposal_MultiMemories
for the configuration in WasmEdge C API.--enable-multi-memory
to enable the proposal in wasmedge
and wasmedgec
tools.wasmedge
CLI.
--gas-limit
to assign the limitation of costs.Fixed issues:
fread
and fwrite
WASI functions on Windows.Refactor:
assumingUnreachable
instead of __builtin_unreachable
to help the compiler to generate better codes.WasmEdge::BlockType
into a struct.Documentations:
Tests:
multi-memories
proposal.getaddrinfo
host function.Misc:
blake3
library to 1.2.0
.Thank all the contributors that made this release possible!
2021, Antonio Yang, AvengerMoJo, Hanged Fish, Harinath Nampally, KernelErr, Michael Yuan, MileyFu, O3Ol, Saksham Sharma, Shen-Ta Hsieh(BestSteve), Shreyas Atre, SonOfMagic, Stephan Renatus, Sven Pfennig, Vaughn Dice, Xin Liu, Yi, Yi-Ying He, Yukang Chen, ZefengYu, ZhengX, alabulei1, alittlehorse, baiyutang, 董哲, hydai, javadoors, majinghe, meoww-bot, pasico, peterbi, villanel, wangshishuo, wangyuan249, wby, wolfishLamb, 王琦
If you want to build from source, please use WasmEdge-0.9.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] over 2 years ago
Features:
sock_getsockopt
, sock_setsockopt
, sock_getlocaladdr
, sock_getpeeraddr
, and sock_getaddrinfo
host functions for the WASI socket proposal.WasmEdge_Async
struct in WasmEdge C API for the asynchronous execution.
WasmEdge_AsyncWait
API for waiting an asynchronous execution.WasmEdge_AsyncWaitFor
API for waiting an asynchronous execution with timeout.WasmEdge_AsyncCancel
API for canceling an asynchronous execution.WasmEdge_AsyncGetReturnsLength
API for waiting and getting the return value length of asynchronous execution.WasmEdge_AsyncGet
API for waiting and getting the asynchronous execution results.WasmEdge_AsyncDelete
API for destroying the WasmEdge_Async
object.WasmEdge_VMAsyncRunWasmFromFile
API for executing WASM from a file asynchronously.WasmEdge_VMAsyncRunWasmFromBuffer
API for executing WASM from a buffer asynchronously.WasmEdge_VMAsyncRunWasmFromASTModule
API for executing WASM from an WasmEdge_ASTModuleContext
asynchronously.WasmEdge_VMAsyncExecute
API for invoking a WASM function asynchronously.WasmEdge_VMAsyncExecuteRegistered
API for invoking a registered WASM function asynchronously.WasmEdge_ConfigureCompilerSetInterruptible
API for setting the interruptibility of the AOT compiler.WasmEdge_ConfigureCompilerIsInterruptible
API for getting the interruptibility of the AOT compiler.multi-memories
proposal.
WasmEdge_Proposal_MultiMemories
for the configuration in WasmEdge C API.--enable-multi-memory
to enable the proposal in wasmedge
and wasmedgec
tools.wasmedge
CLI.
--gas-limit
to assign the limitation of costs.Fixed issues:
fread
and fwrite
WASI functions on Windows.Refactor:
assumingUnreachable
instead of __builtin_unreachable
to help the compiler to generate better codes.WasmEdge::BlockType
into a struct.Documentations:
Tests:
multi-memories
proposal.getaddrinfo
host function.Misc:
blake3
library to 1.2.0
.Thank all the contributors that made this release possible!
2021, Antonio Yang, AvengerMoJo, Hanged Fish, Harinath Nampally, KernelErr, Michael Yuan, MileyFu, O3Ol, Saksham Sharma, Shen-Ta Hsieh(BestSteve), Shreyas Atre, SonOfMagic, Stephan Renatus, Sven Pfennig, Vaughn Dice, Xin Liu, Yi, Yi-Ying He, Yukang Chen,ZefengYu, ZhengX, alabulei1, alittlehorse, 董哲, hydai, pasico, peterbi, villanel, wangshishuo, wangyuan249, wolfishLamb
If you want to build from source, please use WasmEdge-0.9.1-rc.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] over 2 years ago
Features:
sock_getsockopt
, sock_setsockopt
, sock_getlocaladdr
, sock_getpeeraddr
, and sock_getaddrinfo
host functions for the WASI socket proposal.WasmEdge_Async
struct in WasmEdge C API for the asynchronous execution.
WasmEdge_AsyncWait
API for waiting an asynchronous execution.WasmEdge_AsyncWaitFor
API for waiting an asynchronous execution with timeout.WasmEdge_AsyncCancel
API for canceling an asynchronous execution.WasmEdge_AsyncGetReturnsLength
API for waiting and getting the return value length of asynchronous execution.WasmEdge_AsyncGet
API for waiting and getting the asynchronous execution results.WasmEdge_AsyncDelete
API for destroying the WasmEdge_Async
object.WasmEdge_VMAsyncRunWasmFromFile
API for executing WASM from a file asynchronously.WasmEdge_VMAsyncRunWasmFromBuffer
API for executing WASM from a buffer asynchronously.WasmEdge_VMAsyncRunWasmFromASTModule
API for executing WASM from an WasmEdge_ASTModuleContext
asynchronously.WasmEdge_VMAsyncExecute
API for invoking a WASM function asynchronously.WasmEdge_VMAsyncExecuteRegistered
API for invoking a registered WASM function asynchronously.WasmEdge_ConfigureCompilerSetInterruptible
API for setting the interruptibility of the AOT compiler.WasmEdge_ConfigureCompilerIsInterruptible
API for getting the interruptibility of the AOT compiler.multi-memories
proposal.
WasmEdge_Proposal_MultiMemories
for the configuration in WasmEdge C API.--enable-multi-memory
to enable the proposal in wasmedge
and wasmedgec
tools.wasmedge
CLI.
--gas-limit
to assign the limitation of costs.Fixed issues:
fread
and fwrite
WASI functions on Windows.Refactor:
assumingUnreachable
instead of __builtin_unreachable
to help the compiler to generate better codes.WasmEdge::BlockType
into a struct.Documentations:
Tests:
multi-memories
proposal.getaddrinfo
host function.Misc:
blake3
library to 1.2.0
.Thank all the contributors that made this release possible!
2021, alabulei1, alittlehorse, Antonio Yang, AvengerMoJo, Hanged Fish, Harinath Nampally, hydai, KernelErr, Michael Yuan, O3Ol, Shen-Ta Hsieh, Shen-Ta Hsieh(BestSteve), Shreyas Atre, SonOfMagic, Stephan Renatus, Sven Pfennig, Vaughn Dice, wangshishuo, wolfishLamb, Xin Liu, Yi, Yi-Ying He, YiYing He, Yukang Chen
If you want to build from source, please use WasmEdge-0.9.1-beta.2-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] over 2 years ago
Features:
sock_getsockopt
, sock_setsockopt
, sock_getlocaladdr
, sock_getpeeraddr
, and sock_getaddrinfo
host functions for the WASI socket proposal.WasmEdge_Async
struct in WasmEdge C API for the asynchronous execution.
WasmEdge_AsyncWait
API for waiting an asynchronous execution.WasmEdge_AsyncWaitFor
API for waiting an asynchronous execution with timeout.WasmEdge_AsyncCancel
API for canceling an asynchronous execution.WasmEdge_AsyncGetReturnsLength
API for waiting and getting the return value length of asynchronous execution.WasmEdge_AsyncGet
API for waiting and getting the asynchronous execution results.WasmEdge_AsyncDelete
API for destroying the WasmEdge_Async
object.WasmEdge_VMAsyncRunWasmFromFile
API for executing WASM from a file asynchronously.WasmEdge_VMAsyncRunWasmFromBuffer
API for executing WASM from a buffer asynchronously.WasmEdge_VMAsyncRunWasmFromASTModule
API for executing WASM from an WasmEdge_ASTModuleContext
asynchronously.WasmEdge_VMAsyncExecute
API for invoking a WASM function asynchronously.WasmEdge_VMAsyncExecuteRegistered
API for invoking a registered WASM function asynchronously.WasmEdge_ConfigureCompilerSetInterruptible
API for setting the interruptibility of the AOT compiler.WasmEdge_ConfigureCompilerIsInterruptible
API for getting the interruptibility of the AOT compiler.multi-memories
proposal.
WasmEdge_Proposal_MultiMemories
for the configuration in WasmEdge C API.--enable-multi-memory
to enable the proposal in wasmedge
and wasmedgec
tools.wasmedge
CLI.
--gas-limit
to assign the limitation of costs.Fixed issues:
fread
and fwrite
WASI functions on Windows.Refactor:
assumingUnreachable
instead of __builtin_unreachable
to help the compiler to generate better codes.WasmEdge::BlockType
into a struct.Documentations:
Tests:
multi-memories
proposal.getaddrinfo
host function.Misc:
blake3
library to 1.2.0
.Thank all the contributors that made this release possible!
2021, Antonio Yang, AvengerMoJo, Harinath Nampally, KernelErr, Michael Yuan, O3Ol, Shen-Ta Hsieh, Shreyas Atre, SonOfMagic, Stephan Renatus, Sven Pfennig, Vaughn Dice, Xin Liu, YiYing He, Yukang Chen, alabulei1, alittlehorse, hydai, wangshishuo, wolfishLamb
If you want to build from source, please use WasmEdge-0.9.1-beta.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] almost 3 years ago
Features:
sock_getsockopt
, sock_setsockopt
, sock_getlocaladdr
, sock_getpeeraddr
, and sock_getaddrinfo
host functions for the WASI socket proposal.WasmEdge_Async
struct in WasmEdge C API for the asynchronous execution.
WasmEdge_AsyncWait
API for waiting an asynchronous execution.WasmEdge_AsyncWaitFor
API for waiting an asynchronous execution with timeout.WasmEdge_AsyncCancel
API for canceling an asynchronous execution.WasmEdge_AsyncGet
API for getting the asynchronous execution results.WasmEdge_AsyncDelete
API for destroying the WasmEdge_Async
object.WasmEdge_VMAsyncRunWasmFromFile
API for executing WASM from a file asynchronously.WasmEdge_VMAsyncRunWasmFromBuffer
API for executing WASM from a buffer asynchronously.WasmEdge_VMAsyncRunWasmFromASTModule
API for executing WASM from an WasmEdge_ASTModuleContext
asynchronously.WasmEdge_VMAsyncExecute
API for invoking a WASM function asynchronously.WasmEdge_VMAsyncExecuteRegistered
API for invoking a registered WASM function asynchronously.WasmEdge_ConfigureCompilerSetInterruptible
API for setting the interruptibility of the AOT compiler.WasmEdge_ConfigureCompilerIsInterruptible
API for getting the interruptibility of the AOT compiler.multi-memories
proposal.
WasmEdge_Proposal_MultiMemories
for the configuration in WasmEdge C API.--enable-multi-memory
to enable the proposal in wasmedge
and wasmedgec
tools.wasmedge
CLI.
--gas-limit
to assign the limitation of costs.Fixed issues:
fread
and fwrite
WASI functions on Windows.Refactor:
assumingUnreachable
instead of __builtin_unreachable
to help the compiler to generate better codes.WasmEdge::BlockType
into a struct.Documentations:
Tests:
multi-memories
proposal.getaddrinfo
host function.Misc:
blake3
library to 1.2.0
.Thank all the contributors that made this release possible!
2021, Antonio Yang, AvengerMoJo, Harinath Nampally, KernelErr, Michael Yuan, O3Ol, Shen-Ta Hsieh, Shreyas Atre, Stephan Renatus, Sven Pfennig, Vaughn Dice, Xin Liu, YiYing He, Yukang Chen, alabulei1, alittlehorse, hydai, wangshishuo, wolfishLamb
If you want to build from source, please use WasmEdge-0.9.1-alpha.1-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] almost 3 years ago
Breaking changes:
SIMD
proposal by default.
WasmEdge_ConfigureContext
will turn on the SIMD
proposal automatically.--disable-simd
to disable the SIMD
proposal in wasmedge
and wasmedgec
.--enable-instruction-count
.--enable-gas-measuring
.--enable-time-measuring
.--enable-all-statistics
will enable all available statistics options.wasmedgec
AOT compiler tool behavior changes.
.so
, wasmedgec
will output the AOT compiled WASM in shared library format..wasm
or other cases, wasmedgec
will output the WASM file with adding the AOT compiled binary in custom sections. wasmedge
runtime will run in AOT mode when it executes the output WASM file.wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.201402L
C++ standard checking if developer includes the headers with a C++ compiler.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.WasmEdge_ConfigureCompilerSetInstructionCounting
to WasmEdge_ConfigureStatisticsSetInstructionCounting
.WasmEdge_ConfigureCompilerSetCostMeasuring
to WasmEdge_ConfigureStatisticsSetCostMeasuring
.WasmEdge_ConfigureCompilerSetTimeMeasuring
to WasmEdge_ConfigureStatisticsSetTimeMeasuring
.WasmEdge_ConfigureCompilerGetInstructionCounting
to WasmEdge_ConfigureStatisticsGetInstructionCounting
.WasmEdge_ConfigureCompilerGetCostMeasuring
to WasmEdge_ConfigureStatisticsGetCostMeasuring
.WasmEdge_ConfigureCompilerGetTimeMeasuring
to WasmEdge_ConfigureStatisticsGetTimeMeasuring
.Dirs
and DirLen
parameters in the WasmEdge_ImportObjectCreateWASI
.Dirs
and DirLen
parameters in the WasmEdge_ImportObjectInitWASI
.Features:
--disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.--disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.--disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.--disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.WasmEdge_ImportObjectWASIGetExitCode
function can get the exit code from WASI after execution.WasmEdge_ConfigureCompilerSetOutputFormat
function can set the AOT compiler output format.WasmEdge_ConfigureCompilerGetOutputFormat
function can get the AOT compiler output format.WasmEdge_ConfigureCompilerSetGenericBinary
function can set the option of AOT compiler generic binary output.WasmEdge_ConfigureCompilerIsGenericBinary
function can get the option of AOT compiler generic binary output.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
sock_accept
.Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
wasmedge
commands in the Run and SIMD documentation
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.ExternRef
tests.Misc:
assuming
for assert
checking to help compiler to generate better codes.Thank all the contributors that made this release possible!
2021, actly, alabulei1, Alex, Antonio Yang, Ashutosh Sharma, Avinal Kumar, blackanger, Chojan Shang, dm4, eee4017, fossabot, hydai, Jayita Pramanik, Kenvi Zhu, luishsu, LuisHsu, MaazKhan711635, Michael Yuan, MileyFu, Nick Hynes, O3Ol, Peter Chang, robnanarivo, Shen-Ta Hsieh, Shreyas Atre, slidoooor, Sylveon, Timothy McCallum, Vikas S Shetty, vincent, Xin Liu, Yi Huang, yiying, YiYing He, Yona, Yukang, 牟展佑
If you want to build from source, please use WasmEdge-0.9.0-src.tar.gz instead of the zip or tarball provided by GitHub directly.
Published by github-actions[bot] almost 3 years ago
Breaking changes:
--enable-instruction-count
.--enable-gas-measuring
.--enable-time-measuring
.--enable-all-statistics
will enable all available statistics options.wasmedgec
AOT compiler tool behavior changes.
.so
, wasmedgec
will output the AOT compiled WASM in shared library format..wasm
or other cases, wasmedgec
will output the WASM file with adding the AOT compiled binary in custom sections. wasmedge
runtime will run in AOT mode when it executes the output WASM file.wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.201402L
C++ standard checking if developer includes the headers with a C++ compiler.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.WasmEdge_ConfigureCompilerSetInstructionCounting
to WasmEdge_ConfigureStatisticsSetInstructionCounting
.WasmEdge_ConfigureCompilerSetCostMeasuring
to WasmEdge_ConfigureStatisticsSetCostMeasuring
.WasmEdge_ConfigureCompilerSetTimeMeasuring
to WasmEdge_ConfigureStatisticsSetTimeMeasuring
.WasmEdge_ConfigureCompilerGetInstructionCounting
to WasmEdge_ConfigureStatisticsGetInstructionCounting
.WasmEdge_ConfigureCompilerGetCostMeasuring
to WasmEdge_ConfigureStatisticsGetCostMeasuring
.WasmEdge_ConfigureCompilerGetTimeMeasuring
to WasmEdge_ConfigureStatisticsGetTimeMeasuring
.Dirs
and DirLen
parameters in the WasmEdge_ImportObjectCreateWASI
.Dirs
and DirLen
parameters in the WasmEdge_ImportObjectInitWASI
.Features:
disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.WasmEdge_ImportObjectWASIGetExitCode
function can get the exit code from WASI after execution.WasmEdge_ConfigureCompilerSetOutputFormat
function can set the AOT compiler output format.WasmEdge_ConfigureCompilerGetOutputFormat
function can get the AOT compiler output format.WasmEdge_ConfigureCompilerSetGenericBinary
function can set the option of AOT compiler generic binary output.WasmEdge_ConfigureCompilerIsGenericBinary
function can get the option of AOT compiler generic binary output.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
sock_accept
.Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.ExternRef
tests.Misc:
assuming
for assert
checking to help compiler to generate better codes.Published by github-actions[bot] almost 3 years ago
Breaking changes:
--enable-instruction-count
.--enable-gas-measuring
.--enable-time-measuring
.--enable-all-statistics
will enable all available statistics options.wasmedgec
AOT compiler tool behavior changes.
.so
, wasmedgec
will output the AOT compiled WASM in shared library format..wasm
or other cases, wasmedgec
will output the WASM file with adding the AOT compiled binary in custom sections. wasmedge
runtime will run in AOT mode when it executes the output WASM file.wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.201402L
C++ standard checking if developer includes the headers with a C++ compiler.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.WasmEdge_ConfigureCompilerSetInstructionCounting
to WasmEdge_ConfigureStatisticsSetInstructionCounting
.WasmEdge_ConfigureCompilerSetCostMeasuring
to WasmEdge_ConfigureStatisticsSetCostMeasuring
.WasmEdge_ConfigureCompilerSetTimeMeasuring
to WasmEdge_ConfigureStatisticsSetTimeMeasuring
.WasmEdge_ConfigureCompilerGetInstructionCounting
to WasmEdge_ConfigureStatisticsGetInstructionCounting
.WasmEdge_ConfigureCompilerGetCostMeasuring
to WasmEdge_ConfigureStatisticsGetCostMeasuring
.WasmEdge_ConfigureCompilerGetTimeMeasuring
to WasmEdge_ConfigureStatisticsGetTimeMeasuring
.Features:
disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.WasmEdge_ConfigureCompilerSetOutputFormat
function can set the AOT compiler output format.WasmEdge_ConfigureCompilerGetOutputFormat
function can get the AOT compiler output format.WasmEdge_ConfigureCompilerSetGenericBinary
function can set the option of AOT compiler generic binary output.WasmEdge_ConfigureCompilerIsGenericBinary
function can get the option of AOT compiler generic binary output.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
sock_accept
.Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.Misc:
assuming
for assert
checking to help compiler to generate better codes.Published by github-actions[bot] almost 3 years ago
Breaking changes:
--enable-instruction-count
.--enable-gas-measuring
.--enable-time-measuring
.--enable-all-statistics
will enable all available statistics options.wasmedgec
AOT compiler tool behavior changes.
.so
, wasmedgec
will output the AOT compiled WASM in shared library format..wasm
or other cases, wasmedgec
will output the WASM file with adding the AOT compiled binary in custom sections. wasmedge
runtime will run in AOT mode when it executes the output WASM file.wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.201402L
C++ standard checking if developer includes the headers with a C++ compiler.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.WasmEdge_ConfigureCompilerSetInstructionCounting
to WasmEdge_ConfigureStatisticsSetInstructionCounting
.WasmEdge_ConfigureCompilerSetCostMeasuring
to WasmEdge_ConfigureStatisticsSetCostMeasuring
.WasmEdge_ConfigureCompilerSetTimeMeasuring
to WasmEdge_ConfigureStatisticsSetTimeMeasuring
.WasmEdge_ConfigureCompilerGetInstructionCounting
to WasmEdge_ConfigureStatisticsGetInstructionCounting
.WasmEdge_ConfigureCompilerGetCostMeasuring
to WasmEdge_ConfigureStatisticsGetCostMeasuring
.WasmEdge_ConfigureCompilerGetTimeMeasuring
to WasmEdge_ConfigureStatisticsGetTimeMeasuring
.Features:
disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.WasmEdge_ConfigureCompilerSetOutputFormat
function can set the AOT compiler output format.WasmEdge_ConfigureCompilerGetOutputFormat
function can get the AOT compiler output format.WasmEdge_ConfigureCompilerSetGenericBinary
function can set the option of AOT compiler generic binary output.WasmEdge_ConfigureCompilerIsGenericBinary
function can get the option of AOT compiler generic binary output.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.Misc:
assuming
for assert
checking to help compiler to generate better codes.Published by github-actions[bot] almost 3 years ago
Breaking changes:
--enable-instruction-count
.--enable-gas-measuring
.--enable-time-measuring
.--enable-all-statistics
will enable all available statistics options.wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.201402L
C++ standard checking if developer includes the headers with a C++ compiler.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.WasmEdge_ConfigureCompilerSetInstructionCounting
to WasmEdge_ConfigureStatisticsSetInstructionCounting
.WasmEdge_ConfigureCompilerSetCostMeasuring
to WasmEdge_ConfigureStatisticsSetCostMeasuring
.WasmEdge_ConfigureCompilerSetTimeMeasuring
to WasmEdge_ConfigureStatisticsSetTimeMeasuring
.WasmEdge_ConfigureCompilerGetInstructionCounting
to WasmEdge_ConfigureStatisticsGetInstructionCounting
.WasmEdge_ConfigureCompilerGetCostMeasuring
to WasmEdge_ConfigureStatisticsGetCostMeasuring
.WasmEdge_ConfigureCompilerGetTimeMeasuring
to WasmEdge_ConfigureStatisticsGetTimeMeasuring
.Features:
disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.Misc:
assuming
for assert
checking to help compiler to generate better codes.Published by github-actions[bot] about 3 years ago
Breaking changes:
wasmedge
folder. Developers should include the wasmedge/wasmedge.h
for using the WasmEdge shared library after installation.enum_errcode.h
, enum_types.h
, and enum_configure.h
in the wasmedge
folder.Interpreter
into Executor
.
Interpreter
namespace into Executor
.Interpreter
folder into Executor
folder.Interpreter
APIs and listed below.ImportObject
context.HostFunctionContext
into FunctionInstanceContext
.
WasmEdge_HostFunctionContext
object. Please use the WasmEdge_FunctionInstanceContext
object instead.WasmEdge_HostFunctionCreate
function. Please use the WasmEdge_FunctionInstanceCreate
function instead.WasmEdge_HostFunctionCreateBinding
function. Please use the WasmEdge_FunctionInstanceCreateBinding
function instead.WasmEdge_HostFunctionDelete
function. Please use the WasmEdge_FunctionInstanceDelete
function instead.WasmEdge_ImportObjectAddHostFunction
function. Please use the WasmEdge_ImportObjectAddFunction
function instead.FunctionInstance
context.WasmEdge_TableTypeContext
, which is used for table instances creation.WasmEdge_MemoryTypeContext
, which is used for memory instances creation.WasmEdge_GlobalTypeContext
, which is used for global instances creation.WasmEdge_TableTypeContext
for table instances creation.
WasmEdge_TableInstanceGetRefType
API.WasmEdge_TableInstanceGetTableType
API to get the table type instead.WasmEdge_MemoryTypeContext
for memory instances creation.
WasmEdge_MemoryInstanceGetMemoryType
API.WasmEdge_GlobalTypeContext
for global instances creation.
WasmEdge_GlobalInstanceGetValType
and WasmEdge_GlobalInstanceGetMutability
API.WasmEdge_GlobalInstanceGetGlobalType
API to get the global type instead.WasmEdge_FunctionTypeContext
objects returned from WasmEdge_VMGetFunctionList
, WasmEdge_VMGetFunctionType
, and WasmEdge_VMGetFunctionTypeRegistered
functions.WasmEdge_String
objects returned from WasmEdge_StoreListFunction
, WasmEdge_StoreListFunctionRegistered
, WasmEdge_StoreListTable
, WasmEdge_StoreListTableRegistered
, WasmEdge_StoreListMemory
, WasmEdge_StoreListMemoryRegistered
, WasmEdge_StoreListGlobal
, WasmEdge_StoreListGlobalRegistered
, WasmEdge_StoreListModule
, and WasmEdge_VMGetFunctionList
functions.Interpreter
related APIs.
WasmEdge_InterpreterContext
struct with WasmEdge_ExecutorContext
struct.WasmEdge_InterpreterCreate
function with WasmEdge_ExecutorCreate
function.WasmEdge_InterpreterInstantiate
function with WasmEdge_ExecutorInstantiate
function.WasmEdge_InterpreterRegisterImport
function with WasmEdge_ExecutorRegisterImport
function.WasmEdge_InterpreterRegisterModule
function with WasmEdge_ExecutorRegisterModule
function.WasmEdge_InterpreterInvoke
function with WasmEdge_ExecutorInvoke
function.WasmEdge_InterpreterInvokeRegistered
function with WasmEdge_ExecutorInvokeRegistered
function.WasmEdge_InterpreterDelete
function with WasmEdge_ExecutorDelete
function.Features:
disable-import-export-mut-globals
to disable the Import/Export mutable globals proposal in wasmedge
and wasmedgec
.disable-non-trap-float-to-int
to disable the Non-trapping float-to-int conversions proposal in wasmedge
and wasmedgec
.disable-sign-extension-operators
to disable the Sign-extension operators proposal in wasmedge
and wasmedgec
.disable-multi-value
to disable the Multi-value proposal in wasmedge
and wasmedgec
.ImportTypeContext
and ExportTypeContext
from the ASTModuleContext
.WasmEdge_ImportTypeContext
.WasmEdge_ExportTypeContext
.WasmEdge_ASTModuleListImportsLength
function can query the imports list length from an AST module context.WasmEdge_ASTModuleListExportsLength
function can query the exports list length from an AST module context.WasmEdge_ASTModuleListImports
function can list all import types of an AST module context.WasmEdge_ASTModuleListExports
function can list all export types of an AST module context.WasmEdge_ImportTypeGetExternalType
function can get the external type of an import type context.WasmEdge_ImportTypeGetModuleName
function can get the import module name.WasmEdge_ImportTypeGetExternalName
function can get the import external name.WasmEdge_ImportTypeGetFunctionType
function can get the function type of an import type context.WasmEdge_ImportTypeGetTableType
function can get the table type of an import type context.WasmEdge_ImportTypeGetMemoryType
function can get the memory type of an import type context.WasmEdge_ImportTypeGetGlobalType
function can get the global type of an import type context.WasmEdge_ExportTypeGetExternalType
function can get the external type of an export type context.WasmEdge_ExportTypeGetExternalName
function can get the export external name.WasmEdge_ExportTypeGetFunctionType
function can get the function type of an export type context.WasmEdge_ExportTypeGetTableType
function can get the table type of an export type context.WasmEdge_ExportTypeGetMemoryType
function can get the memory type of an export type context.WasmEdge_ExportTypeGetGlobalType
function can get the global type of an export type context.Fixed issues:
WasmEdge_String
creation.VM
creation issue.
Refactor:
genNullRef()
.common
.common/values.h
into common/types.h
.loader
.validator
, executor
, runtime
, api
, and vm
for the AST node changes.AST::FunctionType
, AST::TableType
, AST::MemoryType
, and AST::GlobalType
for instance creation and member handling.Runtime::Instance::FType
and used AST::FunctionType
instead.StoreManager
. Used the getter from ModuleInstance
instead.StoreManager
.Documentations:
Bindings:
bindings/rust
.Tests:
ErrInfo
unit tests.AST
unit tests into loader
.Interpreter
tests into Executor
folder.Misc:
Published by github-actions[bot] about 3 years ago
Features:
libwasmedge_c.a
(OFF
by default).ErrCode
to C declarations.WasmEdge_String
to C string.WasmEdge_MemoryInstanceContext
.--generic-binary
to generate generic binaries and disable using host features.wasmedge-sys
and wasmedge-rs
crates.Fixed issues:
--dir guest_path:host_path
.wasi_snapshot_preview1::path_read_link
Out
comments for parameters with receiving outputs.wasi_snapshot_preview1::path_filestat_set_times
u64
.Misc:
WASMEDGE_FORCE_DISABLE_LTO
to forcibly disable link time optimization (OFF
by default).
WASMEDGE_FORCE_DISABLE_LTO
option.dpkg-dev
in docker images to enable dpkg-shlibdeps
when creating the deb release.Refactor:
Documentations:
printf
type in the C API document.Tests:
WasmEdge_String
copy tests.WasmEdge_MemoryInstanceContext
get data pointer tests.Published by github-actions[bot] about 3 years ago
Features:
libwasmedge_c.a
.ErrCode
to C declarations.WasmEdge_String
to C string.WasmEdge_MemoryInstanceContext
.--generic-binary
to generate generic binaries and disable using host features.wasmedge-sys
and wasmedge-rs
crates.Fixed issues:
--dir guest_path:host_path
.wasi_snapshot_preview1::path_read_link
.
Out
comments for parameters with receiving outputs.Misc:
dpkg-dev
in docker images to enable dpkg-shlibdeps
when creating the deb release.Refactor:
Documentations:
printf
type in the C API document.Tests:
WasmEdge_String
copy tests.WasmEdge_MemoryInstanceContext
get data pointer tests.Published by github-actions[bot] about 3 years ago
Features:
WasmEdge_String
to C string--generic-binary
to generate generic binary and disable using host featuresFixed issues:
--dir guest_path:host_path
wasi_snapshot_preview1::path_read_link
.
Out
comments for parameters with receiving outputs.Misc:
Refactor:
Tests:
Published by github-actions[bot] about 3 years ago
Features:
WasmEdge_String
to C string--generic-binary
to generate generic binary and disable using host featuresFixed issues:
--dir guest_path:host_path
Refactor:
Tests:
Published by github-actions[bot] about 3 years ago
Features:
WasmEdge_String
to C string--generic-binary
to generate generic binary and disable using host featuresFixed issues:
--dir guest_path:host_path
Refactor:
Tests:
Published by github-actions[bot] over 3 years ago
Features:
WasmEdge_String
to C string--generic-binary
to generate generic binary and disable using host featuresFixed issues:
--dir guest_path:host_path
Refactor:
Tests:
Published by github-actions[bot] over 3 years ago
Features:
wasmedge_process
module.
WasmEdge_ImportObjectCreateWasmEdgeProcess()
can create and initialize the wasmedge_process
import object.WasmEdge_ImportObjectInitWasmEdgeProcess()
can initialize the given wasmedge_process
import object.MMap
for Linux.
mmap
with MAP_NORESERVE
for overcommited allocation.MMap
for file loading.FileMgr
variants into one class.Fixed issues:
Refactor:
11.1.0
.12.0.0
.1.76
.Configure
class.Unexpected end
loading malformed test cases.
setSectionSize
function to specify the reading boundary before the end of the file.std::filesystem
.Documentations:
SSVM
related projects into WasmEdge
.Tools:
wasmedgec
AOT compiler tool for API changes of the Configure
.Tests:
assert_malformed
tests for WASM binary in spec tests.
Configure
APIs.Published by github-actions[bot] over 3 years ago
Breaking changes:
WasmEdge
(formerly ssvm
).
wasmedge
is the WebAssembly runtime (formerly ssvm
).wasmedgec
is the WebAssembly AOT compiler (formerly ssvmc
).BUILD_AOT_RUNTIME
(formerly SSVM_DISABLE_AOT_RUNTIME
and OFF
by default), which is ON
by default, is for enabling the compilation of the ahead-of-Time compiler.reference-types
and bulk-memory-operations
proposals by default in tools.
disable-bulk-memory
to disable the bulk-memory-operations
proposal in wasmedge
and wasmedgec
.disable-reference-types
to disable the reference-types
proposal in wasmedge
and wasmedgec
.Features:
WasmEdge
C API and shared library.
wasmedge.h
and link the libwasmedge_c.so
for compiling and running WASM
.BUILD_SHARED_LIB
to enable compiling the shared library (ON
by default).BUILD_AOT_RUNTIME
is set as OFF
.common/version.h
: define the package version from cmake
.Configure
.
reference-types
and bulk-memory-operations
proposals by default.Log
to enable the debug logging level.PO
.StoreManager
to list the registered module names.TableInstance
to grow table with ref.null
.SIMD
implementation with the newest SIMD proposal.AOT
compile cache.
blake3
hash calculator to calculate hash for caching files.VM
for loading WASM
module from AST::Module
.Fixed issues:
CMAKE_CURRENT_SOURCE_DIR
in this project for supporting to be as a submodule.0.0.0-unreleased
) when getting the version from git describe failed.boost
include variable names.WASI
poll_oneoff
.
SIGINT
and SIGTERM
while waiting for the file descriptor and check SIGTERM
after epoll
.AOT
compiler.Validator
errors.
br_table
for pushing wrong types into validation stack.global_set
for iterating illegal indices.Interpreter
errors.
ErrCode::ExecutionFailed
when invoking the host functions.ErrCode::Terminated
occurs.MemoryInstance
.Refactor:
CostTable
class into Statistics
.
1
by default.Proposal
and HostRegistration
configurations into Configure
.
Proposal
order.Configure
in Loader
, Validator
, Interpreter
, and VM
instead of passing by reference.StoreManager
.
std::variant
to save space in FunctionInstance
.Interpreter
.Interpreter
.const
quantifier in get
and load
data functions of MemoryInstance
.Documentations:
wasi_ephemeral_sock
APIs from wasi_snapshot_preview1
.Tools:
wasmedge
: WebAssembly runtime (formerly ssvm
)
bulk-memory-operations
and reference-types
proposals by default.
disable-bulk-memory
to disable the bulk-memory-operations
proposal.disable-reference-types
to disable the reference-types
proposal.vm
API changes.WASI
.wasmedgec
: WebAssembly AOT compiler (formerly ssvmc
)
bulk-memory-operations
and reference-types
proposals by default.
disable-bulk-memory
to disable the bulk-memory-operations
proposal when compiling.disable-reference-types
to disable the reference-types
proposal when compiling.Tests:
SIMD
test data.WasmEdge 0.8.0
, we use the wasm-dev-0.8.0
tag for the core tests and the SIMD
proposal tests.SpecTest
class.spectest
host function definitions for importing repeatedly.WasmEdge
C API tests.
WasmEdge
shared library.WasmEdge
shared library in both using Interpreter
APIs and VM
APIs.