@polywrap/http-plugin-js
Advanced tools
Changelog
Polywrap Origin (0.9.3)
@polywrap/cli
: Improve workflow validation.@polywrap/cli
: The ens-recursive-name-register
deploy step now properly registers ENS sub-domains recursively.@polywrap/polywrap-manifest-schemas
: Accept @ character in folder paths.@polywrap/client-js
: Added TsDoc comments to the PolywrapClient
class.@polywrap/schema-bind
: In Rust bindings, enum imports are now added in serialization modules when the enum is a subtype of an array (Vec) or map.Changelog
Polywrap Origin (0.9.1)
@polywrap/ethereum-plugin-js
: Proper view
method result parsing.@polywrap/core-js
, @polywrap/uri-resolvers-extensions-js
: Properly check for null when using UriResolverExtensionFileReader to read wasm module.polywrap
CLI: The codegen
command properly applies the -g, --codegen-dir
option.@polywrap/templates
: Fix several issues within the wasm
template projects.polywrap
CLI: Fix an issue where the CLI process would hang after the command had completed.polywrap
CLI: Minor cleanup post logging refactor.polywrap
CLI: Use base images from the "polywrap" Docker Hub organization.Changelog
Polywrap Origin (0.9.0)
polywrap
CLI: Console logging has been improved, and all commands now support -q, --quiet
and -v, --verbose
options.polywrap
CLI: Build times are faster for wasm wrappers!!! The build
command has been updated to include the concept of "build strategies". The existing way of building (via Dockerfile
image layers) is available through the polywrap build --strategy image
command. Building without Docker (if all build-time dependencies are installed locally) can be performed using --strategy local
. And lastly, the new default build strategy is --strategy vm
, which runs all build steps in a pre-built base image, allowing for near-local speeds (once the image has been downloaded).
--strategy image
is useful for source-code verification, something we'll be better supporting in the future.@polywrap/schema-bind
: wasm/rust
now has support for println!(...)
and print!(...)
macros. They have been redefined to use the polywrap_wasm_rs::wrap_debug_log(...)
function.@polywrap/client-js
: PolywrapClient.invoke(...)
now supports invoke-time environment variables, passed in via the env
property.polywrap
CLI: The manifest
command has been added:Usage: polywrap manifest|m [options] [command]
Inspect & Migrade Polywrap Manifests
Options:
-h, --help display help for command
Commands:
schema|s [options] [type] Prints out the schema for the current manifest format.
migrate|m [options] [type] Migrates the polywrap project manifest to the latest version.
help [command] display help for command
--format
option to the migrate
command, enabling the targeting of specific format versions when migrating manifests (ex: polywrap manifest migrate -f 0.2.0
).polywrap
CLI, @polywrap/tracing-js
: The tracing
infrastructure module (i.e. polywrap infra up --modules tracing
) now uses version 0.11.0
of the SizNoz
tracing service. Additionally the underlying @polywrap/tracing-js
library has been updated to support this, and also now has named traces via the traceName
configuration property.polywrap
CLI: Generated build files from the vm
strategy now have proper file-system permissions.@polywrap/ipfs-plugin-js
: Fallback providers are now properly being used.polywrap
CLI: The polywrap.app.yaml
and polywrap.plugin.yaml
project manifest file names are being deprecated in favor of a unified polywrap.yaml
file for all types of projects (wasm, interface, plugin, app). They will still silently work now, but in the future will no longer be recognized defaults.@polywrap/core-js
: The Uri
class now properly formats itself when being JSON.stringify(...)
'd.@polywrap/core-js
: Correctly handle errors in the getImplementations
algorithm.@polywrap/ipfs-plugin-js
, @polywrap/ipfs-resolver-plugin-js
: Remove the use of require(...)
statements.@polywrap/polywrap-manifest-types-js
: Manifest migration logic has been upgraded to use a strategy that finds a "shortest path" between the from
and to
format versions, using predefined migration functions.@polywrap/core-js
: Wrapper.getFile(...)
and Wrapper.getManifest(...)
no longer require a Client
instance as a second function argument.@polywrap/core-js
, @polywrap/client-js
: All ClientConfig
properties are now readonly
.@polywrap/core-js
: executeMaybeAsyncFunction
has been removed.@polywrap/client-js
: The following methods now return the Result<T, E>
type, and will not throw exceptions: getManifest(...)
, getFile(...)
, getImplementations(...)
, query(...)
, invokeWrapper(...)
, invoke(...)
, loadWrapper(...)
.@polywrap/client-js
: PolywrapClient.invoke(...)
no longer accepts invoke-time reconfiguration via the config
property. Users who wish to reconfigure the client can do so by calling client.getConfig()
, modifying it via the ClientConfigBuilder
, and constructing a new PolywrapClient
instance.