What's Changed
Breaking Changes
HTTP calls will be disallowed by default now. If you want to enable HTTP you need to specify the hosts that the plug-in is allowed to communicate with. If you want to allow all hosts you can set it to {allowed_hosts: ["*"]}
in the manifest. However, this isn't recommended unless you have some trust in the plug-in or are controlling the networking by some other means.
In this PR we are creating an implicit context so people don't need to know about it if they don't care. In some languages function signatures have changed to make context an optional argument when creating a plug-in.
All Changes
- fix: separate ocaml SDK and extism versions when publishing to opam by @zshipko in #283
- feat: add pycco python doc support by @nilslice in #284
- fix(zig-sdk): Fix build and improve tests by @usdogu in #291
- fix: improve
extism_http_request
error handling by @zshipko in #290 - fix: remove call to cleanup_timer at exit on windows by @zshipko in #301
- fix(browser): Fix browser runtime, publish as 0.2.7 by @bhelx in #305
- chore(deps-dev): Bump typedoc from 0.23.26 to 0.24.1 in /node by @dependabot in #308
- chore(deps-dev): Bump ex_doc from 0.29.2 to 0.29.4 in /elixir by @dependabot in #302
- chore(deps-dev): Bump @types/node from 18.15.0 to 18.15.11 in /node by @dependabot in #304
- chore(deps-dev): Bump prettier from 2.8.4 to 2.8.7 in /node by @dependabot in #293
- chore(deps-dev): Bump @types/jest from 29.4.0 to 29.5.0 in /node by @dependabot in #288
- chore(deps-dev): Bump typescript from 4.9.5 to 5.0.4 in /node by @dependabot in #307
- feat: Add Host Functions support for .NET SDK by @mhmd-azeez in #239
- fix(zig-sdk): Fix build by @usdogu in #310
- chore(deps-dev): Bump ts-jest from 29.0.5 to 29.1.0 in /node by @dependabot in #313
- chore(deps-dev): Bump typedoc from 0.24.1 to 0.24.4 in /node by @dependabot in #314
- fix!: disallow http requests by default by @zshipko in #315
- feat: automatically call
__wasm_call_ctors
when available and not calling_start
by @zshipko in #311 - feat: add support for host functions to browser runtime by @zshipko in #306
- chore(deps-dev): Bump prettier from 2.8.7 to 2.8.8 in /node by @dependabot in #319
- chore(deps-dev): Bump @types/node from 18.15.11 to 18.16.0 in /node by @dependabot in #318
- chore(deps-dev): Bump @types/jest from 29.5.0 to 29.5.1 in /node by @dependabot in #317
- chore(deps-dev): Bump typedoc from 0.24.4 to 0.24.6 in /node by @dependabot in #324
- chore: update to wasmtime 8.0.0 by @zshipko in #323
- chore: publish browser host by @bhelx in #332
- chore: publish dotnet host 0.5.0 by @bhelx in #333
- chore(deps): Bump rustler from 0.27.0 to 0.28.0 in /elixir by @dependabot in #331
- chore(deps): Update rustler requirement from 0.27.0 to 0.28.0 by @dependabot in #330
- chore(deps-dev): Bump @types/node from 18.16.0 to 18.16.3 in /node by @dependabot in #329
- chore: fix warnings coming from dotnet compiler by @bhelx in #336
- chore(deps-dev): Bump typedoc from 0.24.6 to 0.24.7 in /node by @dependabot in #338
- chore(deps-dev): Bump @types/node from 18.16.3 to 20.1.0 in /node by @dependabot in #337
- fix(rust): use CString for strings passed to to set_log_file by @zshipko in #341
- chore(deps-dev): Bump @types/node from 20.1.0 to 20.1.4 in /node by @dependabot in #342
- fix(php): $err is not implicitly cast to string by @bhelx in #344
- fix(elixir): Fix nif package build and release as 0.3.2 by @bhelx in #345
- feat!: add ability to create plugins without an existing
Context
by @zshipko in #335 - fix: use
UserData::make_copy
instead ofUserData::new_pointer
to preserveis_any
field by @zshipko in #346 - feat: add EXTISM_PROFILE environment variable to configure profiling by @zshipko in #326
- feat(php): Implicit context by @bhelx in #347
- fix(ruby): fix implicit context by @bhelx in #348
- release: Bump runtime to 0.4.0 by @bhelx in #340
Full Changelog: v0.3.0...v0.4.0