Skip to content

Commit 679d175

Browse files
authored
Merge pull request #1222 from polywrap/origin-dev
Prep 0.7.0
2 parents d2464c4 + 7c1f9f7 commit 679d175

176 files changed

Lines changed: 1709 additions & 3990 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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Polywrap Origin (0.7.0)
2+
## Bugs
3+
* [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:
4+
* `wrap://ens/uts46.polywrap.eth`
5+
* `wrap://ens/sha3.polywrap.eth`
6+
* `wrap://ens/graph-node.polywrap.eth`
7+
* [PR-1213](https://github.com/polywrap/toolchain/pull/1213) `@polywrap/schema-bind`: Nested map types (i.e. `Map<K, Map<K, V>>`) are now properly supported for `wasm/rust` and `wasm/assemblyscript`.
8+
* [PR-1213](https://github.com/polywrap/toolchain/pull/1213) `@polywrap/wasm-as`: Nested map types (i.e. `Map<K, Map<K, V>>`) are now properly msgpack encoded.
9+
* [PR-1212](https://github.com/polywrap/toolchain/pull/1212) `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.
10+
11+
## Breaking Changes
12+
* [PR-1217](https://github.com/polywrap/toolchain/pull/1217) `@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.
13+
* [PR-1051](https://github.com/polywrap/toolchain/pull/1051) `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).
14+
* [PR-1154](https://github.com/polywrap/toolchain/pull/1154) `@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.
15+
* [PR-1154](https://github.com/polywrap/toolchain/pull/1154) `@polywrap/ws-plugin-js`: The WebSocket plugin's schema has been updated to use `UInt32` for socket IDs, instead of `Int32`.
16+
117
# Polywrap Origin (0.6.0)
218
## Features
319
* [PR-1100](https://github.com/polywrap/toolchain/pull/1100) `polywrap` CLI: A new manifest named `polywrap.test.yaml` has been added, which encapsulates workflows and validation scripts.

VERSION

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

packages/cli/lang/en.json

Lines changed: 8 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"commands_common_options_configPath": "config-path",
33
"commands_common_options_config": "Add custom configuration to the PolywrapClient",
4-
"commands_build_description": "Builds a wrapper",
4+
"commands_build_description": "Build Polywrap Projects (type: interface, wasm)",
55
"commands_build_error_manifestPathMissing": "{option} option missing {argument} argument",
66
"commands_build_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
77
"commands_build_error_outputDirMissingPath": "{option} option missing {argument} argument",
@@ -15,7 +15,7 @@
1515
"commands_build_options_t": "Use the development server's ENS instance",
1616
"commands_build_options_w": "Automatically rebuild when changes are made (default: false)",
1717
"commands_build_options_v": "Verbose output (default: false)",
18-
"commands_infra_description": "Manage infrastructure for your wrapper",
18+
"commands_infra_description": "Modular Infrastructure-As-Code Orchestrator",
1919
"commands_infra_actions_subtitle": "Infra allows you to execute the following commands:",
2020
"commands_infra_options_options": "options",
2121
"commands_infra_options_manifest": "manifest",
@@ -54,7 +54,7 @@
5454
"commands_infra_manifest_warning": "Warning aggregating manifest",
5555
"commands_infra_manifest_error": "Error aggregating manifest",
5656
"commands_build_uriViewers": "URI Viewers",
57-
"commands_deploy_description": "Deploys/Publishes a Polywrap",
57+
"commands_deploy_description": "Deploys Polywrap Projects",
5858
"commands_deploy_options_options": "options",
5959
"commands_deploy_options_o_path": "path",
6060
"commands_deploy_options_o_string": "string",
@@ -69,7 +69,7 @@
6969
"commands_deploy_error_pathMissing": "{option} option missing {argument} argument",
7070
"commands_deploy_error_nameMissing": "{option} option missing {argument} argument",
7171
"commands_deploy_error_cidMissing": "{option} option missing {argument} argument",
72-
"commands_codegen_description": "Auto-generate Wrapper Types",
72+
"commands_codegen_description": "Generate Code For Polywrap Projects",
7373
"commands_codegen_error_domain": "domain",
7474
"commands_codegen_error_optionMissingArgument": "{option} option missing {argument} argument",
7575
"commands_codegen_options_codegen": "Output directory for the generated code (default: {default})",
@@ -83,6 +83,7 @@
8383
"commands_codegen_options_o": "Output directory for custom generated types (default: 'types/')",
8484
"commands_codegen_options_o_path": "path",
8585
"commands_codegen_success": "Types were generated successfully",
86+
"commands_codegen_options_publish": "Output path for the built schema and manifest (default: {default})",
8687
"commands_docgen_description": "Generate wrapper documentation",
8788
"commands_docgen_success": "Docs were generated successfully",
8889
"commands_docgen_default": "default",
@@ -91,7 +92,8 @@
9192
"commands_docgen_options_schema": "Generate GraphQL schema",
9293
"commands_docgen_options_markdown": "Generate {framework} markdown",
9394
"commands_docgen_options_i": "Also generate docs for dependencies",
94-
"commands_create_description": "Create a new project with polywrap CLI",
95+
"commands_docgen_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
96+
"commands_create_description": "Create New Projects",
9597
"commands_create_directoryExists": "Directory with name {dir} already exists",
9698
"commands_create_error_commandFail": "Command failed: {error}",
9799
"commands_create_error_noCommand": "Please provide a command",
@@ -117,37 +119,6 @@
117119
"commands_create_readyPlugin": "You are ready to build a plugin into a Polywrap",
118120
"commands_create_readyProtocol": "You are ready to turn your protocol into a Polywrap",
119121
"commands_create_settingUp": "Setting everything up...",
120-
"commands_app_description": "Build/generate types for your app",
121-
"commands_app_codegen": "Generate code for the app",
122-
"commands_app_options_command": "command",
123-
"commands_app_options_codegen": "Output directory for the generated code (default: {default})",
124-
"commands_app_options_m": "Path to the Polywrap App manifest file (default: {default})",
125-
"commands_app_success": "Code was generated successfully",
126-
"commands_app_namespace_success": "Generated {content} for namespace {namespace}",
127-
"commands_app_topLevel_success": "Generated top-level code for app",
128-
"commands_app_error_optionMissingArgument": "{option} option missing {argument} argument",
129-
"commands_app_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
130-
"commands_app_error_unknownCommand": "Unrecognized command: {command}",
131-
"commands_app_error_duplicateNs": "Duplicate namespace in app manifest",
132-
"commands_app_error_noCommand": "Please provide a command",
133-
"commands_plugin_description": "Build/generate types for the plugin",
134-
"commands_plugin_error_domain": "domain",
135-
"commands_plugin_error_noCommand": "Please provide a command",
136-
"commands_plugin_error_unknownCommand": "Unrecognized command: {command}",
137-
"commands_plugin_error_optionMissingArgument": "{option} option missing {argument} argument",
138-
"commands_plugin_commands_codegen": "Generate code for the plugin",
139-
"commands_plugin_options_command": "command",
140-
"commands_plugin_options_e": "ENS address to lookup external schemas (default: 0x0000...2e1e)",
141-
"commands_plugin_options_e_address": "address",
142-
"commands_plugin_options_h": "Show usage information",
143-
"commands_plugin_options_i": "IPFS node to load external schemas (default: dev-server's node)",
144-
"commands_plugin_options_i_node": "node",
145-
"commands_plugin_options_lang": "lang",
146-
"commands_plugin_options_langs": "langs",
147-
"commands_plugin_options_m": "Path to the Polywrap Plugin manifest file (default: {default})",
148-
"commands_plugin_options_path": "path",
149-
"commands_plugin_options_publish": "Output path for the built schema and manifest (default: {default})",
150-
"commands_plugin_options_codegen": "Output directory for the generated types (default: {default})",
151122
"commands_run_options_workflow": "workflow",
152123
"commands_run_options_workflowScript": "Path to workflow script",
153124
"commands_run_options_outputFilePath": "output-file-path",
@@ -186,27 +157,14 @@
186157
"commands_run_error_envsItemNotObject": "Env at index {index} must be an object with properties 'uri'",
187158
"commands_run_error_envsItemUriNotString": "Env property 'uri' at index {index} must be a valid wrap:// URI string",
188159
"commands_run_error_envsItemModuleNotObject": "Env property 'env' at index {index} must be an object",
189-
"commands_run_description": "Runs workflow script",
160+
"commands_run_description": "Runs Workflows",
190161
"commands_run_error_missingScript": "Required argument {script} is missing",
191162
"commands_run_error_noApi": "API needs to be initialized",
192163
"commands_run_error_readFail": "Failed to read query {query}",
193164
"commands_run_error_unsupportedOutputFileExt": "Unsupported outputFile extention: ${outputFileExt}",
194165
"commands_run_error_cueDoesNotExist": "Require cue to run validator, checkout https://cuelang.org/ for more information",
195166
"commands_run_error_noWorkflowScriptFound": "Workflow script not found at path: {path}",
196167
"commands_run_error_noTestEnvFound": "polywrap test-env not found, please run 'polywrap infra up --modules=eth-ens-ipfs'",
197-
"commands_testEnv_description": "Manage a test environment for Polywrap",
198-
"commands_testEnv_error_never": "This should never happen...",
199-
"commands_testEnv_error_noCommand": "No command given",
200-
"commands_testEnv_error_unrecognizedCommand": "Unrecognized command: {command}",
201-
"commands_testEnv_options_command": "command",
202-
"commands_testEnv_options_start": "Startup the test env",
203-
"commands_testEnv_options_stop": "Shutdown the test env",
204-
"commands_testEnv_shutdown_error": "Failed to shutdown test environment",
205-
"commands_testEnv_shutdown_text": "Shutting down test environment...",
206-
"commands_testEnv_shutdown_warning": "Warning shutting down test environment",
207-
"commands_testEnv_startup_error": "Failed to start test environment",
208-
"commands_testEnv_startup_text": "Starting test environment...",
209-
"commands_testEnv_startup_warning": "Warning starting test environment",
210168
"commands_polywrap_error_notACommand": "is not a command",
211169
"commands_polywrap_helpPrompt": "Type {command} to view common commands",
212170
"lib_codeGenerator_genCodeError": "Failed to generate types",

packages/cli/lang/es.json

Lines changed: 9 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"commands_common_options_configPath": "config-path",
33
"commands_common_options_config": "Add custom configuration to the PolywrapClient",
4-
"commands_build_description": "Builds a wrapper",
4+
"commands_build_description": "Build Polywrap Projects (type: interface, wasm)",
55
"commands_build_error_manifestPathMissing": "{option} option missing {argument} argument",
66
"commands_build_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
77
"commands_build_error_outputDirMissingPath": "{option} option missing {argument} argument",
@@ -15,8 +15,7 @@
1515
"commands_build_options_t": "Use the development server's ENS instance",
1616
"commands_build_options_w": "Automatically rebuild when changes are made (default: false)",
1717
"commands_build_options_v": "Verbose output (default: false)",
18-
"commands_build_uriViewers": "URI Viewers",
19-
"commands_infra_description": "Manage infrastructure for your wrapper",
18+
"commands_infra_description": "Modular Infrastructure-As-Code Orchestrator",
2019
"commands_infra_actions_subtitle": "Infra allows you to execute the following commands:",
2120
"commands_infra_options_options": "options",
2221
"commands_infra_options_manifest": "manifest",
@@ -54,7 +53,8 @@
5453
"commands_infra_manifest_text": "Aggregating manifest",
5554
"commands_infra_manifest_warning": "Warning aggregating manifest",
5655
"commands_infra_manifest_error": "Error aggregating manifest",
57-
"commands_deploy_description": "Deploys/Publishes a Polywrap",
56+
"commands_build_uriViewers": "URI Viewers",
57+
"commands_deploy_description": "Deploys Polywrap Projects",
5858
"commands_deploy_options_options": "options",
5959
"commands_deploy_options_o_path": "path",
6060
"commands_deploy_options_o_string": "string",
@@ -69,7 +69,7 @@
6969
"commands_deploy_error_pathMissing": "{option} option missing {argument} argument",
7070
"commands_deploy_error_nameMissing": "{option} option missing {argument} argument",
7171
"commands_deploy_error_cidMissing": "{option} option missing {argument} argument",
72-
"commands_codegen_description": "Auto-generate Wrapper Types",
72+
"commands_codegen_description": "Generate Code For Polywrap Projects",
7373
"commands_codegen_error_domain": "domain",
7474
"commands_codegen_error_optionMissingArgument": "{option} option missing {argument} argument",
7575
"commands_codegen_options_codegen": "Output directory for the generated code (default: {default})",
@@ -83,6 +83,7 @@
8383
"commands_codegen_options_o": "Output directory for custom generated types (default: 'types/')",
8484
"commands_codegen_options_o_path": "path",
8585
"commands_codegen_success": "Types were generated successfully",
86+
"commands_codegen_options_publish": "Output path for the built schema and manifest (default: {default})",
8687
"commands_docgen_description": "Generate wrapper documentation",
8788
"commands_docgen_success": "Docs were generated successfully",
8889
"commands_docgen_default": "default",
@@ -91,7 +92,8 @@
9192
"commands_docgen_options_schema": "Generate GraphQL schema",
9293
"commands_docgen_options_markdown": "Generate {framework} markdown",
9394
"commands_docgen_options_i": "Also generate docs for dependencies",
94-
"commands_create_description": "Create a new project with polywrap CLI",
95+
"commands_docgen_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
96+
"commands_create_description": "Create New Projects",
9597
"commands_create_directoryExists": "Directory with name {dir} already exists",
9698
"commands_create_error_commandFail": "Command failed: {error}",
9799
"commands_create_error_noCommand": "Please provide a command",
@@ -117,37 +119,6 @@
117119
"commands_create_readyPlugin": "You are ready to build a plugin into a Polywrap",
118120
"commands_create_readyProtocol": "You are ready to turn your protocol into a Polywrap",
119121
"commands_create_settingUp": "Setting everything up...",
120-
"commands_app_description": "Build/generate types for your app",
121-
"commands_app_codegen": "Generate code for the app",
122-
"commands_app_options_command": "command",
123-
"commands_app_options_codegen": "Output directory for the generated code (default: {default})",
124-
"commands_app_options_m": "Path to the Polywrap App manifest file (default: {default})",
125-
"commands_app_success": "Code was generated successfully",
126-
"commands_app_namespace_success": "Generated {content} for namespace {namespace}",
127-
"commands_app_topLevel_success": "Generated top-level code for app",
128-
"commands_app_error_optionMissingArgument": "{option} option missing {argument} argument",
129-
"commands_app_error_manifestNotFound": "Manifest not found. Search paths used: {paths}",
130-
"commands_app_error_unknownCommand": "Unrecognized command: {command}",
131-
"commands_app_error_duplicateNs": "Duplicate namespace in app manifest",
132-
"commands_app_error_noCommand": "Please provide a command",
133-
"commands_plugin_description": "Build/generate types for the plugin",
134-
"commands_plugin_error_domain": "domain",
135-
"commands_plugin_error_noCommand": "Please provide a command",
136-
"commands_plugin_error_unknownCommand": "Unrecognized command: {command}",
137-
"commands_plugin_error_optionMissingArgument": "{option} option missing {argument} argument",
138-
"commands_plugin_commands_codegen": "Generate code for the plugin",
139-
"commands_plugin_options_command": "command",
140-
"commands_plugin_options_e": "ENS address to lookup external schemas (default: 0x0000...2e1e)",
141-
"commands_plugin_options_e_address": "address",
142-
"commands_plugin_options_h": "Show usage information",
143-
"commands_plugin_options_i": "IPFS node to load external schemas (default: dev-server's node)",
144-
"commands_plugin_options_i_node": "node",
145-
"commands_plugin_options_lang": "lang",
146-
"commands_plugin_options_langs": "langs",
147-
"commands_plugin_options_m": "Path to the Polywrap Plugin manifest file (default: {default})",
148-
"commands_plugin_options_path": "path",
149-
"commands_plugin_options_publish": "Output path for the built schema and manifest (default: {default})",
150-
"commands_plugin_options_codegen": "Output directory for the generated types (default: {default})",
151122
"commands_run_options_workflow": "workflow",
152123
"commands_run_options_workflowScript": "Path to workflow script",
153124
"commands_run_options_outputFilePath": "output-file-path",
@@ -186,27 +157,14 @@
186157
"commands_run_error_envsItemNotObject": "Env at index {index} must be an object with properties 'uri'",
187158
"commands_run_error_envsItemUriNotString": "Env property 'uri' at index {index} must be a valid wrap:// URI string",
188159
"commands_run_error_envsItemModuleNotObject": "Env property 'env' at index {index} must be an object",
189-
"commands_run_description": "Runs workflow script",
160+
"commands_run_description": "Runs Workflows",
190161
"commands_run_error_missingScript": "Required argument {script} is missing",
191162
"commands_run_error_noApi": "API needs to be initialized",
192163
"commands_run_error_readFail": "Failed to read query {query}",
193164
"commands_run_error_unsupportedOutputFileExt": "Unsupported outputFile extention: ${outputFileExt}",
194165
"commands_run_error_cueDoesNotExist": "Require cue to run validator, checkout https://cuelang.org/ for more information",
195166
"commands_run_error_noWorkflowScriptFound": "Workflow script not found at path: {path}",
196167
"commands_run_error_noTestEnvFound": "polywrap test-env not found, please run 'polywrap infra up --modules=eth-ens-ipfs'",
197-
"commands_testEnv_description": "Manage a test environment for Polywrap",
198-
"commands_testEnv_error_never": "This should never happen...",
199-
"commands_testEnv_error_noCommand": "No command given",
200-
"commands_testEnv_error_unrecognizedCommand": "Unrecognized command: {command}",
201-
"commands_testEnv_options_command": "command",
202-
"commands_testEnv_options_start": "Startup the test env",
203-
"commands_testEnv_options_stop": "Shutdown the test env",
204-
"commands_testEnv_shutdown_error": "Failed to shutdown test environment",
205-
"commands_testEnv_shutdown_text": "Shutting down test environment...",
206-
"commands_testEnv_shutdown_warning": "Warning shutting down test environment",
207-
"commands_testEnv_startup_error": "Failed to start test environment",
208-
"commands_testEnv_startup_text": "Starting test environment...",
209-
"commands_testEnv_startup_warning": "Warning starting test environment",
210168
"commands_polywrap_error_notACommand": "is not a command",
211169
"commands_polywrap_helpPrompt": "Type {command} to view common commands",
212170
"lib_codeGenerator_genCodeError": "Failed to generate types",

0 commit comments

Comments
 (0)