@polywrap/http-plugin-js
Advanced tools
Changelog
Polywrap Origin (0.8.0)
@polywrap/client-config-builder-js
: The default client config now has the ability to resolve http
URIs (ex: wrap://http/domain.com/path
) via the @polywrap/http-resolver-plugin-js
.polywrap
CLI: Hosting & deploying wrappers via HTTP is now possible with the new http
deploy & infra modules.polywrap
CLI, @polywrap/polywrap-manifest-schemas
, @polywrap/polywrap-manifest-types-js
: polywrap.deploy.yaml
format version 0.2.0
has been added, making the schema similar to the polywrap.test.yaml
schema, where users define a series of jobs
to be performed.polywrap
CLI: Recursive ENS domain name registration is now supported via the ens-recursive-name-register
deploy module.@polywrap/ipfs-interface
: Added fallbackProviders: [String!]
to type Options
.@polywrap/core-js
, @polywrap/client-js
: URI resolution has been refactored. Resolution is now implemented in a single IUriResolver
instance.@polywrap/client-js
: invokeWrapper(...)
has been added to the PolywrapClient
class.@polywrap/client-config-builder-js
: setResolver(...)
has been added, enabling users to set the IUriResolver
instance on the builder's ClientConfig
.@polywrap/core-js
, @polywrap/client-js
: getPluginByUri(...)
has been added to the Client
interface, and PolywrapClient
class.polywrap
CLI: build
command now supports the --no-codegen
option, which disables the automatic codegen step when compiling projects.polywrap
CLI: Workflows can now properly access nested properties of previous job step output.@polywrap/schema-compose
: Multi-line imports are now properly supported within block comments.polywrap
CLI: ENS deployment URIs generated via the deploy
command now properly contain the network's name in the URI.polywrap
CLI: The run
command and underlying Workflow
system has had multiple bug fixes added.
@polywrap/schema-bind
: wasm/rust
bindings handle the serialization of reserved words via serde, so that the original name of properties is reserved during encoding.@polywrap/schema-bind
: wasm/rust
bindings now properly handle imported interface modules.polywrap
CLI: run
command now properly resolves the validation: ...
property within the polywrap.test.yaml
manifest relative to the manifest's directory, instead of the user's cwd.polywrap
CLI: The local-dev-ens
deploy module has been removed.@polywrap/ipfs-plugin-js
: IpfsPluginConfig
has been removed, and all properties (provider
, fallbackProviders
) have been moved into the wrapper's Env
.@polywrap/client-js
: loadUriResolvers(...)
has been removed from the PolywrapClient
class.@polywrap/client-js
: resolveUri(...)
has been renamed to tryResolveUri(...)
on the PolywrapClient
class.@polywrap/core-js
, @polywrap/client-js
: getUriResolvers(...)
has been renamed to getUriResolver(...)
on the Client
interface and PolywrapClient
class.@polywrap/client-config-builder-js
: addUriResolver(...)
and setUriResolvers(...)
have been removed from the ClientConfigBuilder
class.@polywrap/core-js
, @polywrap/wasm-js
: Moved the WasmWrapper
class and all related types into their own package named @polywrap/wasm-js
.@polywrap/core-js
: Uri.from(...)
has been added, and toUri(...)
has been removed.Changelog
Polywrap Origin (0.7.0)
@polywrap/client-config-builder-js
: The following plugins have been removed from the default config, and replaced with their WebAssembly wrapper equivalents available at the same URIs:
wrap://ens/uts46.polywrap.eth
wrap://ens/sha3.polywrap.eth
wrap://ens/graph-node.polywrap.eth
@polywrap/schema-bind
: Nested map types (i.e. Map<K, Map<K, V>>
) are now properly supported for wasm/rust
and wasm/assemblyscript
.@polywrap/wasm-as
: Nested map types (i.e. Map<K, Map<K, V>>
) are now properly msgpack encoded.polywrap
CLI: wasm/rust
build image now uses the build-deps
cargo extension to properly build dependencies in a seperate Dockerfile layer, enabling the caching of compiled artifacts.@polywrap/schema-bind
: plugin/typescript
and app/typescript
bindings have been updated to improve type safety, and no longer accept generic properties for all method argument types.polywrap
CLI: polywrap plugin codegen
and polywrap app codegen
commands have been moved into the polywrap codegen
, which can now generate types for any Polywrap project (wasm, plugin, app).@polywrap/schema-bind
: The wasm/assemblyscript
bindings have been updated to use Box<T> | null
for all optional scalar types, instead of the Option<T>
class used before.@polywrap/ws-plugin-js
: The WebSocket plugin's schema has been updated to use UInt32
for socket IDs, instead of Int32
.Changelog
Polywrap Origin (0.6.0)
polywrap
CLI: A new manifest named polywrap.test.yaml
has been added, which encapsulates workflows and validation scripts.@polywrap/polywrap-manifest-types-js
: polywrap.test
manifest types have been added.@polywrap/polywrap-manifest-schemas
: polywrap.test
manifest schema has been added.polywrap
CLI: The run
command's output now has deterministic ordering for text emitted from both workflow & validation steps.@polywrap/msgpack-js
: Nested Map<K, V>
serialization is now supported.@polywrap/core-js
@polywrap/client-js
: Runtime type inference has been improved to be compatible with JavaScript minimization optimizations where the Class.name
static property is removed.@polywrap/core-js
: All WrapperCache
interface methods have been updated to return MaybeAsync
promises, allowing developers to implement async logic.polywrap
CLI: run
command no longer accepts the <workflow>
argument, and instead uses the new polywrap.test.yaml
manifest.@polywrap/client-js
: The run
method has been removed.@polywrap/core-js
: All Workflow
related types have been removed, and migrated into the manifest packages and the CLI.Changelog
Polywrap Origin (0.5.0)
@polywrap/client-js
: The PolywrapClientConfig
now has a tracerConfig: Partial<TracerConfig>
property, allowing users to easily configure the tracing level, and various toggles related to tracing.polywrap
CLI: Added the tracer
infra module, allowing developers to easily spin up an OpenTelemetry compatible tracing server. This can be used to gather runtime tracelog events from the PolywrapClient
.@polywrap/tracing-js
: The @Tracer.traceMethod()
function decorator now has an optional TracingLevel
argument.@polywrap/ethereum-plugin-js
: The EthereumPluginConfig
now has a connections
property, which takes an instance of the Connections
class. This new implementation makes configuring new network connections at runtime easier and more application developer friendly.@polywrap/client-config-builder-js
: The ClientConfigBuilder
has been added to make building & customizing PolywrapClientConfigs
easier than before with a simple user friendly interface.@polywrap/client-js
: Added the wrapperCache: WrapperCache
property to the PolywrapClientConfig
interface.@polywrap/core-js
: Added the WrapperCache
core type, along with a SimpleCache
implementation that persists wrappers within a map.@polywrap/schema-bind
: Using a Map<K, V>
type within the Map
's value (V
) template argument has been fixed.polywrap
CLI: Improved the readability of the polywrap build -v
command's output from the Docker child process.@polywrap/client-js
: The PolywrapClientConfig
's tracingEnabled
property has been removed, and replaced by tracerConfig
.@polywrap/ethereum-plugin-js
: The EthereumPluginConfig
's networks
property has been removed, and replaced by connections
.@polywrap/client-js
: The getDefaultClientConfig()
& defaultIpfsProviders
exports have been moved to the @polywrap/client-config-builder-js
package.Changelog
Polywrap Origin (0.4.0)
@polywrap/polywrap-manifest-schemas
: Polywrap project manifests (polywrap.yaml
, polywrap.app.yaml
, polywrap.plugin.yaml
) have a new format 0.2.0
, which restructures the manifest into 3 top level properties: project
, source
, and extensions
. Additionally all project manifests can be given the polywrap.yaml
file name.@polywrap/ws-plugin-js
: Added a WebSocket plugin.@polywrap/client-js
: Expose the noValidate
option for the client.getManifest(...)
method.polywrap
CLI: docgen
command added, allowing wrapper developers to easily generate documentation. Supported formats: schema, docusaurus, jsdoc.@polywrap/ethereum-plugin-js
: requestAccounts
method added, which utilizes the eth_requestAccounts
RPC method on the configured provider.wasm/rust
: Map<K, V>
bugs have been fixed.polywrap
CLI: Added a check to make sure the Docker daemon is running, and provides an informative error if it is not.polywrap/wrap-manifest-types-js
: Remove runtime schema bundling, which required file system access.polywrap
CLI: Errors encounted in child processes now output both stdtypesout
and stderr
, allowing easier end-user debugging.polywrap
CLI: schema.graphql
has been removed from wrapper build artifacts. polywrap.plugin.yaml
has been removed from plugin build artifacts.@polywrap/schema-bind
: schema.ts
has been removed from typescript bindings.@polywrap/schema-bind
@polywrap/schema-compose
: WrapAbi
is now used in all places, instead of schema documents.@polywrap/http-plugin-js
: Use Map<String, String>
for headers
& urlParams
.@polywrap/schema-compose
: The ComposerOptions
property schemas: SchemaFile[]
has been replaced with schema: SchemaFile
. Additionally the function argument schemas: SchemaFile[]
on the resolveImports
function has bee replaced with schema: SchemaFile
.@polywrap/wrap-manifest-types-js
: In WrapAbi
format 0.1
, properties no longer accept null
and instead use undefined
.@polywrap/schema-parse
: Abi
export renamed to WrapAbi
.Changelog
Polywrap Origin (0.3.0)
@polywrap/wrap-manifest-schemas
, @polywrap/wrap-manifest-types-js
: Added a JSON-schema for the wrap.info
's abi
field.polywrap
CLI: Deploy results can now be output to a file using the -o, --output-file <path>
option of the deploy
command.@polywrap/wrap-manifest-schemas
, @polywrap/polywrap-manifest-schemas
: Version numbers for the manifest's format: ...
field have been changed to only include <major>.<minor>
(ex: 0.1.0
is now 0.1
). This is because there cannot be a change to a pure interface that is a <patch>
.@polywrap/package-validation
: The wrap.info.abi
field is no longer being validated via schema rendering, and is instead utilizing the newly added JSON-schema.polywrap
CLI: Improved wasm/rust
build times by refactoring the build image's Dockerfile, helping reduce cache invalidations.@polywrap/wasm-as
: Increased minor version of as-bignumber. The new version has a bug fix for the toFixed method, which was incorrectly printing numbers when a decimal number was rounded to an integer.@polywrap/wrap-manifest-types-js
: deserializeWrapManifest
is now async
.Changelog
Polywrap Origin (0.1.0)
"Good evening traveler, welcome to Polywrap, a planet in the WRAP galaxy. We're happy to have you here. Ask around, I'm sure someone can help you navigate this place..." - NPC
https://polywrap.io/