current_plugin - when outputting, check against output range correctly
Function namespace constructor - actually construct
chore:
protect various class members
move non-initializer list constructors out of header
reduce copying with std::move
bump to C++ 17
remove ManifestKey, the stl containers and std::optional are sufficient
use std::unique_ptr to more safely manage Plugin's ExtismPlugin lifetime
make std::string no longer required for plugin calls. The duplication introduced can be removed with std::string_view if https://github.com/extism/extism/issues/646 is accepted and implemented
make jsoncpp a private dependency. This improves build times and makes the cpp-sdk not opinionated about what json library the user uses, if any.
use size_t instead of ExtismSize when referring to items in native memory / not using libextism
Resolves https://github.com/extism/cpp-sdk/issues/14
feat:
Plugin::reset
WasmSourceBytes
fix:
chore:
ManifestKey
, the stl containers andstd::optional
are sufficientstd::unique_ptr
to more safely managePlugin
'sExtismPlugin
lifetimestd::string
no longer required for plugin calls. The duplication introduced can be removed withstd::string_view
if https://github.com/extism/extism/issues/646 is accepted and implementedsize_t
instead ofExtismSize
when referring to items in native memory / not using libextism