Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release capabilities 2.0.0 #242

Merged

Conversation

hugomrdias
Copy link
Contributor

@hugomrdias hugomrdias commented Dec 2, 2022

πŸ€– I have created a release beep boop

2.0.0 (2022-12-07)

⚠ BREAKING CHANGES

  • upgrade access-api @ucanto/* and @ipld/dag-ucan major versions (#246)
  • upgrade to @ucanto/{interface,principal}@^4.0.0 (#238)
  • follow up on the capabilities extract (#239)

Features

  • access-client: cli and recover (#207) (adb3a8d)
  • follow up on the capabilities extract (#239) (ef5e779)
  • Revert "feat!: upgrade to @ucanto/{interface,principal}@^4.0.0" (#245) (c182bbe)
  • upgrade access-api @ucanto/* and @ipld/dag-ucan major versions (#246) (5e663d1)
  • upgrade to @ucanto/{interface,principal}@^4.0.0 (#238) (2f3bab8)

Bug Fixes


This PR was generated with Release Please. See documentation.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 2, 2022

Deploying with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: a7d33ca
Status:Β βœ…Β  Deploy successful!
Preview URL: https://4b40dbbf.ucan-protocol.pages.dev
Branch Preview URL: https://release-please--branches--ma-me17.ucan-protocol.pages.dev

View logs

@hugomrdias hugomrdias force-pushed the release-please--branches--main--components--capabilities branch 4 times, most recently from 6196502 to d677cae Compare December 7, 2022 16:17
@hugomrdias hugomrdias force-pushed the release-please--branches--main--components--capabilities branch from d677cae to b1ade54 Compare December 7, 2022 23:25
@gobengo gobengo merged commit b6d7e75 into main Dec 7, 2022
@gobengo gobengo deleted the release-please--branches--main--components--capabilities branch December 7, 2022 23:42
@hugomrdias
Copy link
Contributor Author

gobengo added a commit that referenced this pull request Apr 11, 2023
πŸ€– I have created a release *beep* *boop*
---


##
[2.0.0](capabilities-v1.0.0...capabilities-v2.0.0)
(2022-12-07)


### ⚠ BREAKING CHANGES

* upgrade access-api @ucanto/* and @ipld/dag-ucan major versions
([#246](#246))
* upgrade to `@ucanto/{interface,principal}`@^4.0.0
([#238](#238))
* follow up on the capabilities extract
([#239](#239))

### Features

* **access-client:** cli and recover
([#207](#207))
([720dafb](720dafb))
* follow up on the capabilities extract
([#239](#239))
([717fcaa](717fcaa))
* Revert "feat!: upgrade to `@ucanto/{interface,principal}`@^4.0.0"
([#245](#245))
([197439e](197439e))
* upgrade access-api @ucanto/* and @ipld/dag-ucan major versions
([#246](#246))
([65d191c](65d191c))
* upgrade to `@ucanto/{interface,principal}`@^4.0.0
([#238](#238))
([309aff0](309aff0))


### Bug Fixes

* fix Access API cannot get space/info
[#243](#243)
([#255](#255))
([1a74031](1a74031))
* generated typdefs
([#258](#258))
([dfd2bd5](dfd2bd5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Benjamin Goering <[email protected]>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
Pulls example tests out to own dir so we can run the same test for each
ui library!

fixes: storacha#222 

You can see it run in CI at
https://github.com/web3-storage/w3ui/actions/runs/3901558574/jobs/6663550379#step:6:13
and you can try it out locally from this branch by running:

```
$ pnpm install

# one time download of test browsers
$ pnpx playwright install

# fails for vanilla currently, but is ok, proceed.
$ pnpm build:examples 

$ pnpm test:examples

Scope: 20 of 33 workspace projects
examples/test/playwright test$ playwright test
[30 lines collapsed]
β”‚ [30/33] [webkit] β€Ί sign-up-in.spec.ts:4:3 β€Ί vue: sign in
β”‚ [31/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί react: uploads list
β”‚ [32/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί solid: uploads list
β”‚ [33/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί vue: uploads list
β”‚ 
β”‚   33 passed (7s)
β”‚ To open last HTML report run:
β”‚ 
β”‚   npx playwright show-report
β”‚ 
└─ Done in 7.6s
```

_note: the build fails currently as our vanilla examples fail to build
currently, which is why we need these tests!_

Adds and updates run scripts to make it easy to run package or example
tests. Most of the time we'd want to run package tests locally, so this
is set as the default.

```bash
# runs package tests
$ pnpm test

# builkd examples. must be run before test so the dist dir exits for each
$ pnpm build:examples

# run example test
$ pnpm test:examples

# serve examples, so you can poke around as a dev. 
$ pnpm serve:examples
```

Updates examples to produce relative URLs by setting `base: ''` in vite
config. This allows us to serve all the examples from a single static
server in the `examples` dir, and `serve` is added with a `serve.json`
config to rewrite the paths so the `dist` dir is served for each
example.

Adds playwright config to fire up the example server

Adds github workflow to set up and run the browser tests only if we make
a change to the examples. We may change this to run for every change in
the future, as we should probably check if the examples still work if we
change a package!

Reduces the scope of our local github action to just handle setting up
node and pnpm which is needed by every workflow. `lint` and `test` are
now specified explicitly in workflows that should run them. We don't
need to run those steps when we're doing browser testing.

- Vanilla JS examples are not currently tested as they fail to build
storacha/w3ui#243 - we can fix in a
separate PR.
- We need a mechanism to be able to register a space from browser, or
add pre-registered test account fixture -
storacha/w3ui#244
- We are missing a `multi-file-upload` example -
storacha/w3ui#245




<img width="707" alt="Screenshot 2023-01-12 at 02 03 41"
src="https://user-images.githubusercontent.com/58871/211958353-b4a587a7-ead7-4957-b028-45b17c41f9a3.png">

<img width="1582" alt="Screenshot 2023-01-12 at 01 57 39"
src="https://user-images.githubusercontent.com/58871/211957738-0bfad4e5-a0e4-4ba6-8a13-ee05602f3adc.png">

**whoo!**
<img width="871" alt="Screenshot 2023-01-12 at 11 00 28"
src="https://user-images.githubusercontent.com/58871/212049726-68f86951-c244-4ed3-bde9-4ca3bfaa25ca.png">



License: MIT
Signed-off-by: Oli Evans <[email protected]>

Signed-off-by: Oli Evans <[email protected]>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
Pulls example tests out to own dir so we can run the same test for each
ui library!

fixes: storacha#222 

You can see it run in CI at
https://github.com/web3-storage/w3ui/actions/runs/3901558574/jobs/6663550379#step:6:13
and you can try it out locally from this branch by running:

```
$ pnpm install

# one time download of test browsers
$ pnpx playwright install

# fails for vanilla currently, but is ok, proceed.
$ pnpm build:examples 

$ pnpm test:examples

Scope: 20 of 33 workspace projects
examples/test/playwright test$ playwright test
[30 lines collapsed]
β”‚ [30/33] [webkit] β€Ί sign-up-in.spec.ts:4:3 β€Ί vue: sign in
β”‚ [31/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί react: uploads list
β”‚ [32/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί solid: uploads list
β”‚ [33/33] [webkit] β€Ί uploads-list.spec.ts:4:3 β€Ί vue: uploads list
β”‚ 
β”‚   33 passed (7s)
β”‚ To open last HTML report run:
β”‚ 
β”‚   npx playwright show-report
β”‚ 
└─ Done in 7.6s
```

_note: the build fails currently as our vanilla examples fail to build
currently, which is why we need these tests!_

Adds and updates run scripts to make it easy to run package or example
tests. Most of the time we'd want to run package tests locally, so this
is set as the default.

```bash
# runs package tests
$ pnpm test

# builkd examples. must be run before test so the dist dir exits for each
$ pnpm build:examples

# run example test
$ pnpm test:examples

# serve examples, so you can poke around as a dev. 
$ pnpm serve:examples
```

Updates examples to produce relative URLs by setting `base: ''` in vite
config. This allows us to serve all the examples from a single static
server in the `examples` dir, and `serve` is added with a `serve.json`
config to rewrite the paths so the `dist` dir is served for each
example.

Adds playwright config to fire up the example server

Adds github workflow to set up and run the browser tests only if we make
a change to the examples. We may change this to run for every change in
the future, as we should probably check if the examples still work if we
change a package!

Reduces the scope of our local github action to just handle setting up
node and pnpm which is needed by every workflow. `lint` and `test` are
now specified explicitly in workflows that should run them. We don't
need to run those steps when we're doing browser testing.

- Vanilla JS examples are not currently tested as they fail to build
storacha/w3ui#243 - we can fix in a
separate PR.
- We need a mechanism to be able to register a space from browser, or
add pre-registered test account fixture -
storacha/w3ui#244
- We are missing a `multi-file-upload` example -
storacha/w3ui#245




<img width="707" alt="Screenshot 2023-01-12 at 02 03 41"
src="https://user-images.githubusercontent.com/58871/211958353-b4a587a7-ead7-4957-b028-45b17c41f9a3.png">

<img width="1582" alt="Screenshot 2023-01-12 at 01 57 39"
src="https://user-images.githubusercontent.com/58871/211957738-0bfad4e5-a0e4-4ba6-8a13-ee05602f3adc.png">

**whoo!**
<img width="871" alt="Screenshot 2023-01-12 at 11 00 28"
src="https://user-images.githubusercontent.com/58871/212049726-68f86951-c244-4ed3-bde9-4ca3bfaa25ca.png">



License: MIT
Signed-off-by: Oli Evans <[email protected]>

Signed-off-by: Oli Evans <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants