Skip to content

Commit fbae6aa

Browse files
authored
Merge pull request #63 from polywrap/origin-0.12-dev
Prep Origin 0.12 | /workflows/release-pr
2 parents 21e1a32 + 34b07d3 commit fbae6aa

File tree

92 files changed

+2031
-2170
lines changed

Some content is hidden

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

92 files changed

+2031
-2170
lines changed

.github/workflows/ci-javascript.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,8 @@ jobs:
8080
- name: Build docs
8181
run: yarn build:docs
8282

83-
CI-WRAP-Test-Harness:
84-
uses: ./.github/workflows/ci-wrap-test-harness.yaml
85-
8683
Test:
8784
runs-on: ubuntu-latest
88-
needs: CI-WRAP-Test-Harness
8985
timeout-minutes: 60
9086
if: ${{ always() }}
9187
steps:
@@ -118,18 +114,5 @@ jobs:
118114
- name: Build
119115
run: yarn build
120116

121-
- name: Get updated wrappers
122-
if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
123-
uses: actions/download-artifact@v3
124-
id: get-wrappers
125-
with:
126-
name: rebuilt-wrappers
127-
path: ./wrappers
128-
129-
- if: ${{ needs.CI-WRAP-Test-Harness.outputs.rebuild_required == 'true' }}
130-
run: |
131-
rm -rf packages/test-cases/wrappers
132-
mv wrappers packages/test-cases
133-
134117
- name: Test
135118
run: yarn test

.github/workflows/ci-wrap-test-harness.yaml

Lines changed: 0 additions & 118 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Polywrap Origin (0.12.0)
2+
## Features
3+
**`@polywrap/sys-config-bundle-js`:**
4+
* [PR-56](https://github.com/polywrap/javascript-client/pull/56) **Wrapscan URI Resolution Using Sys Bundle**
5+
* Resolving `wrapscan.io/` URIs is now possible by simply adding the "sys" bundle to your client's configuration.
6+
* The "sys" bundle now includes: `wrapscanResolver`, `ipfsResolver`, and `ipfsHttpClient`.
7+
* [PR-55](https://github.com/polywrap/javascript-client/pull/55) **GitHub URI Resolution Using Sys Bundle**
8+
* Resolving `github.com/` URIs is now possible by simply adding the "sys" bundle to your client's configuration.
9+
* NOTE: this requires a `URI.txt` file located in the directory you're linking to on GitHub.
10+
11+
## Breaking Changes
12+
**`@polywrap/client-js`:**
13+
* [PR-62](https://github.com/polywrap/javascript-client/pull/62) **Migrate All URIs To Wrapscan (Remove ENS URIs)**
14+
* All URIs used within the client's packages (uri-resolver-extensions, config-bundles, etc) have been migrated to `wrapscan.io/` based URIs.
15+
* All `ens/` URIs have been deprecated, but resolving `ens/` URIs is still supported.
16+
17+
## Bugs
18+
**`@polywrap/core-js`:**
19+
* [PR-61](https://github.com/polywrap/javascript-client/pull/61) **URI Should Start W/ Word Character**
20+
* URIs should not start with non-word characters, for example `../`.
21+
122
# Polywrap Origin (0.11.0)
223
## Features
324
**`@polywrap/core-js`:**

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.0
1+
0.12.0

WRAP_TEST_HARNESS

Lines changed: 0 additions & 1 deletion
This file was deleted.

integration-tests/react-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@polywrap/client-js": "~0.10.1",
7-
"@polywrap/sys-config-bundle-js": "~0.10.1",
6+
"@polywrap/client-js": "~0.12.0-pre.1",
7+
"@polywrap/sys-config-bundle-js": "~0.12.0-pre.1",
88
"@types/react": "^18.2.13",
99
"@types/react-dom": "^18.2.6",
1010
"react": "^18.2.0",

packages/asyncify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@polywrap/asyncify-js",
33
"description": "Async Wasm Imports Support Using Asyncify",
4-
"version": "0.11.0",
4+
"version": "0.12.0-pre.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

packages/client/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Invoke a wrapper.
4141

4242
```ts
4343
const result = await client.invoke({
44-
uri: "ens/helloworld.dev.polywrap.eth",
45-
method: "logMessage",
44+
uri: "wrapscan.io/polywrap/logging@1",
45+
method: "info",
4646
args: {
4747
message: "Hello World!"
4848
}

packages/client/examples/quickstart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export async function invoke(): Promise<any> {
2323
const client = new PolywrapClient();
2424
// $start: quickstart-invoke
2525
const result = await client.invoke({
26-
uri: "ens/helloworld.dev.polywrap.eth",
27-
method: "logMessage",
26+
uri: "wrapscan.io/polywrap/logging@1",
27+
method: "info",
2828
args: {
2929
message: "Hello World!"
3030
}

packages/client/package.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@polywrap/client-js",
33
"description": "Polywrap JavaScript Client",
4-
"version": "0.11.0",
4+
"version": "0.12.0-pre.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
@@ -23,28 +23,26 @@
2323
"build:readme": "yarn doc-snippets combine"
2424
},
2525
"dependencies": {
26-
"@polywrap/client-config-builder-js": "0.11.0",
27-
"@polywrap/core-client-js": "0.11.0",
28-
"@polywrap/core-js": "0.11.0",
29-
"@polywrap/msgpack-js": "0.11.0",
30-
"@polywrap/plugin-js": "0.11.0",
31-
"@polywrap/result": "0.11.0",
32-
"@polywrap/tracing-js": "0.11.0",
33-
"@polywrap/uri-resolver-extensions-js": "0.11.0",
34-
"@polywrap/uri-resolvers-js": "0.11.0",
35-
"@polywrap/wrap-manifest-types-js": "0.11.0"
26+
"@polywrap/client-config-builder-js": "0.12.0-pre.1",
27+
"@polywrap/core-client-js": "0.12.0-pre.1",
28+
"@polywrap/core-js": "0.12.0-pre.1",
29+
"@polywrap/msgpack-js": "0.12.0-pre.1",
30+
"@polywrap/plugin-js": "0.12.0-pre.1",
31+
"@polywrap/result": "0.12.0-pre.1",
32+
"@polywrap/tracing-js": "0.12.0-pre.1",
33+
"@polywrap/uri-resolver-extensions-js": "0.12.0-pre.1",
34+
"@polywrap/uri-resolvers-js": "0.12.0-pre.1",
35+
"@polywrap/wrap-manifest-types-js": "0.12.0-pre.1"
3636
},
3737
"devDependencies": {
38-
"@polywrap/cli-js": "~0.10.0",
39-
"@polywrap/sys-config-bundle-js": "0.11.0",
40-
"@polywrap/test-cases": "0.11.0",
38+
"@polywrap/sys-config-bundle-js": "0.12.0-pre.1",
39+
"@polywrap/test-cases": "0.12.0-pre.1",
4140
"@types/jest": "29.5.0",
4241
"@types/prettier": "2.6.0",
4342
"@types/uuid": "8.3.0",
4443
"bignumber.js": "9.0.2",
4544
"doc-snippets": "~1.0.0",
4645
"jest": "29.5.0",
47-
"polywrap": "~0.10.0",
4846
"rimraf": "3.0.2",
4947
"ts-jest": "29.1.0",
5048
"ts-loader": "8.0.17",

0 commit comments

Comments
 (0)