Skip to content

Commit 081199e

Browse files
authored
Merge pull request #1274 from polywrap/origin-dev
Prep 0.8.0
2 parents d7b1762 + 703e6ad commit 081199e

357 files changed

Lines changed: 12008 additions & 4966 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# Polywrap Origin (0.8.0)
2+
## Features
3+
* [PR-1083](https://github.com/polywrap/toolchain/pull/1083) `@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`.
4+
* [PR-1083](https://github.com/polywrap/toolchain/pull/1083) `polywrap` CLI: Hosting & deploying wrappers via HTTP is now possible with the new `http` deploy & infra modules.
5+
* [PR-1097](https://github.com/polywrap/toolchain/pull/1097) & [PR-1272](https://github.com/polywrap/toolchain/pull/1272) `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.
6+
* [PR-1097](https://github.com/polywrap/toolchain/pull/1097) `polywrap` CLI: Recursive ENS domain name registration is now supported via the `ens-recursive-name-register` deploy module.
7+
* [PR-1060](https://github.com/polywrap/toolchain/pull/1060) `@polywrap/ipfs-interface`: Added `fallbackProviders: [String!]` to `type Options`.
8+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/core-js`, `@polywrap/client-js`: URI resolution has been refactored. Resolution is now implemented in a single `IUriResolver` instance.
9+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/client-js`: `invokeWrapper(...)` has been added to the `PolywrapClient` class.
10+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/client-config-builder-js`: `setResolver(...)` has been added, enabling users to set the `IUriResolver` instance on the builder's `ClientConfig`.
11+
* [PR-1133](https://github.com/polywrap/toolchain/pull/1133) `@polywrap/core-js`, `@polywrap/client-js`: `getPluginByUri(...)` has been added to the `Client` interface, and `PolywrapClient` class.
12+
* [PR-1231](https://github.com/polywrap/toolchain/pull/1231) `polywrap` CLI: `build` command now supports the `--no-codegen` option, which disables the automatic codegen step when compiling projects.
13+
14+
## Bugs
15+
* [PR-1244](https://github.com/polywrap/toolchain/pull/1244) `polywrap` CLI: Workflows can now properly access nested properties of previous job step output.
16+
* [PR-1243](https://github.com/polywrap/toolchain/pull/1243) `@polywrap/schema-compose`: Multi-line imports are now properly supported within block comments.
17+
* [PR-1097](https://github.com/polywrap/toolchain/pull/1097) `polywrap` CLI: ENS deployment URIs generated via the `deploy` command now properly contain the network's name in the URI.
18+
* [PR-1234](https://github.com/polywrap/toolchain/pull/1234) `polywrap` CLI: The `run` command and underlying `Workflow` system has had multiple bug fixes added.
19+
* Workflow validation always printed "SUCCESS" and errors were never printed.
20+
* Workflow manifest was not being validated.
21+
* The stderr messages were not being output (previously unnoticed because errors were not printed).
22+
* [PR-1220](https://github.com/polywrap/toolchain/pull/1220) `@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.
23+
* [PR-1219](https://github.com/polywrap/toolchain/pull/1219) `@polywrap/schema-bind`: `wasm/rust` bindings now properly handle imported interface modules.
24+
* [PR-1229](https://github.com/polywrap/toolchain/pull/1229) `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.
25+
26+
## Breaking Changes
27+
* [PR-1097](https://github.com/polywrap/toolchain/pull/1097) `polywrap` CLI: The `local-dev-ens` deploy module has been removed.
28+
* [PR-1060](https://github.com/polywrap/toolchain/pull/1060) `@polywrap/ipfs-plugin-js`: `IpfsPluginConfig` has been removed, and all properties (`provider`, `fallbackProviders`) have been moved into the wrapper's `Env`.
29+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/client-js`: `loadUriResolvers(...)` has been removed from the `PolywrapClient` class.
30+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/client-js`: `resolveUri(...)` has been renamed to `tryResolveUri(...)` on the `PolywrapClient` class.
31+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/core-js`, `@polywrap/client-js`: `getUriResolvers(...)` has been renamed to `getUriResolver(...)` on the `Client` interface and `PolywrapClient` class.
32+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/client-config-builder-js`: `addUriResolver(...)` and `setUriResolvers(...)` have been removed from the `ClientConfigBuilder` class.
33+
* [PR-1169](https://github.com/polywrap/toolchain/pull/1169) `@polywrap/core-js`, `@polywrap/wasm-js`: Moved the `WasmWrapper` class and all related types into their own package named `@polywrap/wasm-js`.
34+
* [PR-1235](https://github.com/polywrap/toolchain/pull/1235) `@polywrap/core-js`: `Uri.from(...)` has been added, and `toUri(...)` has been removed.
35+
136
# Polywrap Origin (0.7.0)
237
## Bugs
338
* [PR-1158](https://github.com/polywrap/toolchain/pull/1158) `@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:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.0
1+
0.8.0

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
2626
"dependencies:install": "cd dependencies && yarn",
2727
"preinstall": "yarn dependencies:install",
28-
"build": "yarn build:core && yarn build:interfaces && yarn build:plugins && yarn build:config && yarn build:client && yarn build:test-env && yarn build:cli",
28+
"build": "yarn build:core && yarn build:interfaces && yarn build:plugins && yarn build:resolver:plugins && yarn build:config && yarn build:client && yarn build:test-env && yarn build:cli",
2929
"build:core": "lerna run build --no-private --ignore @polywrap/*-plugin-js --ignore @polywrap/client-config-builder-js --ignore polywrap --ignore @polywrap/client-js --ignore @polywrap/react --ignore @polywrap/test-env-js --ignore @polywrap/*-interface",
30-
"build:interfaces": "lerna run build --scope @polywrap/*-interface --concurrency 1",
31-
"build:plugins": "lerna run build --scope @polywrap/*-plugin-js --concurrency 1",
30+
"build:interfaces": "lerna run build --scope @polywrap/*-interface",
31+
"build:plugins": "lerna run build --scope @polywrap/*-plugin-js --ignore @polywrap/*-resolver-plugin-js",
32+
"build:resolver:plugins": "lerna run build --scope @polywrap/*-resolver-plugin-js",
3233
"build:config": "lerna run build --scope @polywrap/client-config-builder-js",
3334
"build:client": "lerna run build --scope @polywrap/client-js --scope @polywrap/react",
3435
"build:test-env": "lerna run build --scope @polywrap/test-env-js",

packages/cli/lang/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"commands_build_options_o_path": "path",
1414
"commands_build_options_options": "options",
1515
"commands_build_options_t": "Use the development server's ENS instance",
16+
"commands_build_options_n": "Skip code generation",
1617
"commands_build_options_w": "Automatically rebuild when changes are made (default: false)",
1718
"commands_build_options_v": "Verbose output (default: false)",
1819
"commands_infra_description": "Modular Infrastructure-As-Code Orchestrator",

packages/cli/lang/es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"commands_build_options_o_path": "path",
1414
"commands_build_options_options": "options",
1515
"commands_build_options_t": "Use the development server's ENS instance",
16+
"commands_build_options_n": "Skip code generation",
1617
"commands_build_options_w": "Automatically rebuild when changes are made (default: false)",
1718
"commands_build_options_v": "Verbose output (default: false)",
1819
"commands_infra_description": "Modular Infrastructure-As-Code Orchestrator",

packages/cli/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@polywrap/client-js": "0.7.0",
4444
"@polywrap/core-js": "0.7.0",
4545
"@polywrap/ens-resolver-plugin-js": "0.7.0",
46+
"@polywrap/wasm-js": "0.7.0",
4647
"@polywrap/ethereum-plugin-js": "0.7.0",
4748
"@polywrap/ipfs-plugin-js": "0.7.0",
4849
"@polywrap/msgpack-js": "0.7.0",
@@ -73,6 +74,7 @@
7374
"regex-parser": "2.2.11",
7475
"rimraf": "3.0.2",
7576
"typescript": "4.0.7",
77+
"form-data": "4.0.0",
7678
"ws": "7.3.1"
7779
},
7880
"devDependencies": {

packages/cli/src/__tests__/e2e/build.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Options:
1818
(default: ./build)
1919
-c, --client-config <config-path> Add custom configuration to the
2020
PolywrapClient
21+
-n, --no-codegen Skip code generation
2122
-w, --watch Automatically rebuild when changes are
2223
made (default: false)
2324
-v, --verbose Verbose output (default: false)

0 commit comments

Comments
 (0)