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

Nx! #1617

Closed
wants to merge 151 commits into from
Closed

Nx! #1617

wants to merge 151 commits into from

Conversation

Peeja
Copy link
Member

@Peeja Peeja commented Jan 28, 2025

No description provided.

alanshaw and others added 30 commits November 1, 2024 11:13
This PR adds a router interface:

```ts
/**
 * The routing service is responsible for selecting storage nodes to allocate
 * blobs with.
 */
export interface RoutingService {
  /**
   * Selects a candidate for blob allocation from the current list of available
   * storage nodes.
   */
  selectStorageProvider(
    digest: MultihashDigest,
    size: number
  ): Promise<Result<Principal, CandidateUnavailable | Failure>>
  /**
   * Returns information required to make an invocation to the requested storage
   * node.
   */
  configureInvocation<C extends BlobAllocate | BlobAccept>(
    provider: Principal,
    capability: C,
    options?: Omit<UCANOptions, 'audience'>
  ): Promise<Result<Configuration<C>, ProofUnavailable | Failure>>
}
```

Tests implement a storage provider node and setup 2 nodes that are used
in tests that the routing service picks randomly from. However the
router will be sticky when asked to store the same blob multiple times.
This allows existing tests for allocation and accept responses to pass.
Note: we need to review if the semantics for allocate and accept
responses really makes sense in a context where there are multiple
storage providers (TLDR; the allocation size does not).
The store protocol in not compatible with decentralized storage as there are no "bucket events" on remote storage nodes.
The store protocol in not compatible with decentralized storage as there
are no "bucket events" on remote storage nodes.

Note: this doesn't remove store capabilities just incase we want to
backport to w3up.
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-01)


### Features

* add usage/report capability
([storacha#1079](https://github.com/storacha/upload-service/issues/1079))
([6418b4b](6418b4b))


### Fixes

* fix arethetypesworking errors in all packages
([storacha#1004](https://github.com/storacha/upload-service/issues/1004))
([2e2936a](2e2936a))
* floating promises and add no-floating-promises to eslint-config-w3up
([storacha#1198](https://github.com/storacha/upload-service/issues/1198))
([1b8c5aa](1b8c5aa))
* issue where typedoc docs would only show full docs for w3up-client
([storacha#1141](https://github.com/storacha/upload-service/issues/1141))
([0b8d3f3](0b8d3f3))
* migrate repo
([storacha#1389](https://github.com/storacha/upload-service/issues/1389))
([475a287](475a287))
* package metadata
([storacha#1161](https://github.com/storacha/upload-service/issues/1161))
([b8a1cc2](b8a1cc2))
* repo URLs
([storacha#1550](https://github.com/storacha/upload-service/issues/1550))
([e02ddf3](e02ddf3))
* upgrade to latest ts
([storacha#962](https://github.com/storacha/upload-service/issues/962))
([711e3f7](711e3f7))


### Other Changes

* Add `pnpm dev` to watch-build all packages
([storacha#1533](https://github.com/storacha/upload-service/issues/1533))
([07970ef](07970ef))
* correct typo in index.js error
([storacha#1204](https://github.com/storacha/upload-service/issues/1204))
([f54b343](f54b343))
* **main:** release did-mailto 2.0.2
([storacha#964](https://github.com/storacha/upload-service/issues/964))
([83a8263](83a8263))
* **main:** release did-mailto 2.1.0
([storacha#1080](https://github.com/storacha/upload-service/issues/1080))
([50543f1](50543f1))
* no longer depends on hd-scripts, packages use/configure eslint
directly, fixes warnings from npm lint script
([storacha#1058](https://github.com/storacha/upload-service/issues/1058))
([ebdb99b](ebdb99b))
* package renames
([0f797ed](0f797ed))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### ⚠ BREAKING CHANGES

* add `index/add` handler
([storacha#1421](https://github.com/storacha/upload-service/issues/1421))
* restrict store API to CARs
([storacha#1415](https://github.com/storacha/upload-service/issues/1415))
* **capabilities:** `BlobMultihash` type in `@web3-storage/capabilities`
renamed to `Multihash`.
* allocations storage interface now requires remove to be implemented
* return allocated bytes in `store/add` receipt
([storacha#1213](https://github.com/storacha/upload-service/issues/1213))
* coupon
([storacha#1136](https://github.com/storacha/upload-service/issues/1136))
* see latest specs
https://github.com/web3-storage/specs/blob/cbdb706f18567900c5c24d7fb16ccbaf93d0d023/w3-filecoin.md
* filecoin client to use new capabilities
* filecoin capabilities

### refactor

* filecoin api services events and tests
([storacha#974](https://github.com/storacha/upload-service/issues/974))
([953537b](953537b))
* filecoin capabilities
([c0b97bf](c0b97bf))
* filecoin client to use new capabilities
([b0d9c3f](b0d9c3f))


### Features

* add "plan/create-admin-session" capability
([storacha#1411](https://github.com/storacha/upload-service/issues/1411))
([50eeeb5](50eeeb5))
* add `index/add` handler
([storacha#1421](https://github.com/storacha/upload-service/issues/1421))
([cbe9524](cbe9524))
* add `initialize` method to `PlansStorage`
([storacha#1278](https://github.com/storacha/upload-service/issues/1278))
([6792126](6792126))
* add `store/get` and `upload/get` capabilities
([storacha#942](https://github.com/storacha/upload-service/issues/942))
([40c79eb](40c79eb))
* add `subscription/list` capability
([storacha#1088](https://github.com/storacha/upload-service/issues/1088))
([471d7e5](471d7e5))
* add a function to verify and return Abilities.
([storacha#1252](https://github.com/storacha/upload-service/issues/1252))
([2f026a2](2f026a2))
* add blob list and remove
([storacha#1385](https://github.com/storacha/upload-service/issues/1385))
([2f69946](2f69946))
* add blob protocol to upload-client
([storacha#1425](https://github.com/storacha/upload-service/issues/1425))
([49aef56](49aef56))
* add blob/get
([storacha#1484](https://github.com/storacha/upload-service/issues/1484))
([328039d](328039d))
* add revocation to access-client and w3up-client
([storacha#975](https://github.com/storacha/upload-service/issues/975))
([6c877aa](6c877aa))
* add usage/report capability
([storacha#1079](https://github.com/storacha/upload-service/issues/1079))
([6418b4b](6418b4b))
* blob, web3.storage and ucan conclude capabilities together with api
handlers
([storacha#1342](https://github.com/storacha/upload-service/issues/1342))
([00735a8](00735a8))
* **capabilities:** add `index/add` capability
([storacha#1410](https://github.com/storacha/upload-service/issues/1410))
([1b71b89](1b71b89))
* change `plan/update` to `plan/set` and use existing `PlansStorage#set`
to implement an invocation handler
([storacha#1258](https://github.com/storacha/upload-service/issues/1258))
([1ccbfe9](1ccbfe9))
* coupon
([storacha#1136](https://github.com/storacha/upload-service/issues/1136))
([1b94f2d](1b94f2d))
* filecoin info
([storacha#1091](https://github.com/storacha/upload-service/issues/1091))
([adb2442](adb2442))
* Generate Space proofs on the fly, on `access/claim`
([storacha#1555](https://github.com/storacha/upload-service/issues/1555))
([9e2b1d4](9e2b1d4))
* implement `plan/get` capability
([storacha#1005](https://github.com/storacha/upload-service/issues/1005))
([f0456d2](f0456d2))
* introduce capability for changing billing plan
([storacha#1253](https://github.com/storacha/upload-service/issues/1253))
([d33b3a9](d33b3a9))
* move aggregate information out of deals in filecoin/info
([storacha#1192](https://github.com/storacha/upload-service/issues/1192))
([18dc590](18dc590))
* publish index claim
([storacha#1487](https://github.com/storacha/upload-service/issues/1487))
([237b0c6](237b0c6))
* restrict store API to CARs
([storacha#1415](https://github.com/storacha/upload-service/issues/1415))
([e53aa87](e53aa87))
* return allocated bytes in `store/add` receipt
([storacha#1213](https://github.com/storacha/upload-service/issues/1213))
([5d52e44](5d52e44))
* router ([#11](#11))
([c810735](c810735))
* upgrade ucanto/transport to 9.1.0 in all packages to get more verbose
errors from HTTP transport on non-ok response
([storacha#1312](https://github.com/storacha/upload-service/issues/1312))
([d6978d7](d6978d7))
* usage/record capability definition
([storacha#1562](https://github.com/storacha/upload-service/issues/1562))
([98c8a87](98c8a87))
* wip router
([ffcd9c7](ffcd9c7))


### Fixes

* add missing ContentNotFound definition for filecoin offer failure
([c0b97bf](c0b97bf))
* add missing filecoin submit success and failure types
([c0b97bf](c0b97bf))
* capabilities should export blob caps
([storacha#1376](https://github.com/storacha/upload-service/issues/1376))
([460729e](460729e))
* client tests
([b0d9c3f](b0d9c3f))
* fix arethetypesworking errors in all packages
([storacha#1004](https://github.com/storacha/upload-service/issues/1004))
([2e2936a](2e2936a))
* issue where typedoc docs would only show full docs for w3up-client
([storacha#1141](https://github.com/storacha/upload-service/issues/1141))
([0b8d3f3](0b8d3f3))
* migrate repo
([storacha#1389](https://github.com/storacha/upload-service/issues/1389))
([475a287](475a287))
* one more tweak to the `PlanStorage` interface
([storacha#1280](https://github.com/storacha/upload-service/issues/1280))
([5a44565](5a44565))
* package metadata
([storacha#1161](https://github.com/storacha/upload-service/issues/1161))
([b8a1cc2](b8a1cc2))
* put access.session back
([storacha#1100](https://github.com/storacha/upload-service/issues/1100))
([10a1a4b](10a1a4b))
* rename blob and index client capabilities
([storacha#1478](https://github.com/storacha/upload-service/issues/1478))
([17e3a31](17e3a31))
* repo URLs
([storacha#1550](https://github.com/storacha/upload-service/issues/1550))
([e02ddf3](e02ddf3))
* tests
([b179910](b179910))
* trigger capabilities release
([storacha#1399](https://github.com/storacha/upload-service/issues/1399))
([7d9ab35](7d9ab35))
* type errors
([c0b97bf](c0b97bf))
* update data-segment dep
([228ff79](228ff79))
* upgrade @ucanto/validator with bugfix
([storacha#1151](https://github.com/storacha/upload-service/issues/1151))
([d4e961b](d4e961b))
* upgrade ucanto core
([storacha#1127](https://github.com/storacha/upload-service/issues/1127))
([5ce4d22](5ce4d22))
* upgrade ucanto in filecoin api
([c95fb54](c95fb54))
* upgrade ucanto libs and format filecoin api
([storacha#1359](https://github.com/storacha/upload-service/issues/1359))
([87ca098](87ca098))
* upload API test fixes
([6b0d72d](6b0d72d))


### Other Changes

* Add `pnpm dev` to watch-build all packages
([storacha#1533](https://github.com/storacha/upload-service/issues/1533))
([07970ef](07970ef))
* **main:** release capabilities 10.1.0
([storacha#979](https://github.com/storacha/upload-service/issues/979))
([bdd3970](bdd3970))
* **main:** release capabilities 10.2.0
([storacha#983](https://github.com/storacha/upload-service/issues/983))
([a906488](a906488))
* **main:** release capabilities 11.0.0
([storacha#994](https://github.com/storacha/upload-service/issues/994))
([76b0489](76b0489))
* **main:** release capabilities 11.0.1
([storacha#1008](https://github.com/storacha/upload-service/issues/1008))
([37cdc5a](37cdc5a))
* **main:** release capabilities 11.1.0
([storacha#1026](https://github.com/storacha/upload-service/issues/1026))
([7fdb541](7fdb541))
* **main:** release capabilities 11.2.0
([storacha#1084](https://github.com/storacha/upload-service/issues/1084))
([0e7b6dc](0e7b6dc))
* **main:** release capabilities 11.3.0
([storacha#1098](https://github.com/storacha/upload-service/issues/1098))
([7d671bd](7d671bd))
* **main:** release capabilities 11.3.1
([storacha#1101](https://github.com/storacha/upload-service/issues/1101))
([20b5b35](20b5b35))
* **main:** release capabilities 11.4.0
([storacha#1105](https://github.com/storacha/upload-service/issues/1105))
([1b6210f](1b6210f))
* **main:** release capabilities 11.4.1
([storacha#1131](https://github.com/storacha/upload-service/issues/1131))
([a5b7154](a5b7154))
* **main:** release capabilities 12.0.0
([storacha#1137](https://github.com/storacha/upload-service/issues/1137))
([bb23e9f](bb23e9f))
* **main:** release capabilities 12.0.1
([storacha#1147](https://github.com/storacha/upload-service/issues/1147))
([d1a9c78](d1a9c78))
* **main:** release capabilities 12.0.2
([storacha#1152](https://github.com/storacha/upload-service/issues/1152))
([b9d7ff5](b9d7ff5))
* **main:** release capabilities 12.0.3
([storacha#1163](https://github.com/storacha/upload-service/issues/1163))
([ec5c385](ec5c385))
* **main:** release capabilities 12.1.0
([storacha#1195](https://github.com/storacha/upload-service/issues/1195))
([a21c1a5](a21c1a5))
* **main:** release capabilities 13.0.0
([storacha#1230](https://github.com/storacha/upload-service/issues/1230))
([3d5b3ef](3d5b3ef))
* **main:** release capabilities 13.1.0
([storacha#1257](https://github.com/storacha/upload-service/issues/1257))
([85adc9a](85adc9a))
* **main:** release capabilities 13.1.1
([storacha#1283](https://github.com/storacha/upload-service/issues/1283))
([31c38e9](31c38e9))
* **main:** release capabilities 13.2.0
([storacha#1315](https://github.com/storacha/upload-service/issues/1315))
([0505458](0505458))
* **main:** release capabilities 13.2.1
([storacha#1362](https://github.com/storacha/upload-service/issues/1362))
([26b5751](26b5751))
* **main:** release capabilities 13.3.0
([storacha#1366](https://github.com/storacha/upload-service/issues/1366))
([d6fbc4a](d6fbc4a))
* **main:** release capabilities 13.3.1
([storacha#1377](https://github.com/storacha/upload-service/issues/1377))
([149f592](149f592))
* **main:** release capabilities 14.0.0
([storacha#1386](https://github.com/storacha/upload-service/issues/1386))
([69bfc08](69bfc08))
* **main:** release capabilities 14.0.1
([storacha#1395](https://github.com/storacha/upload-service/issues/1395))
([a76c970](a76c970))
* **main:** release capabilities 14.0.2
([storacha#1400](https://github.com/storacha/upload-service/issues/1400))
([7b46852](7b46852))
* **main:** release capabilities 15.0.0
([storacha#1412](https://github.com/storacha/upload-service/issues/1412))
([ec90b81](ec90b81))
* **main:** release capabilities 16.0.0
([storacha#1419](https://github.com/storacha/upload-service/issues/1419))
([50e3934](50e3934))
* **main:** release capabilities 17.0.0
([storacha#1428](https://github.com/storacha/upload-service/issues/1428))
([6ee21fd](6ee21fd))
* **main:** release capabilities 17.1.0
([storacha#1447](https://github.com/storacha/upload-service/issues/1447))
([8ee1fd9](8ee1fd9))
* **main:** release capabilities 17.1.1
([storacha#1483](https://github.com/storacha/upload-service/issues/1483))
([5394ed5](5394ed5))
* **main:** release capabilities 17.2.0
([storacha#1494](https://github.com/storacha/upload-service/issues/1494))
([99876a5](99876a5))
* **main:** release capabilities 17.3.0
([storacha#1503](https://github.com/storacha/upload-service/issues/1503))
([891c2a5](891c2a5))
* **main:** release capabilities 17.4.0
([storacha#1559](https://github.com/storacha/upload-service/issues/1559))
([feaea7a](feaea7a))
* no longer depends on hd-scripts, packages use/configure eslint
directly, fixes warnings from npm lint script
([storacha#1058](https://github.com/storacha/upload-service/issues/1058))
([ebdb99b](ebdb99b))
* package renames
([0f797ed](0f797ed))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### Fixes

* bootstrap sha
([cdf6737](cdf6737))


### Other Changes

* **main:** release did-mailto 1.0.0
([#7](#7))
([2f7ab28](2f7ab28))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### Fixes

* bootstrap sha
([cdf6737](cdf6737))


### Other Changes

* **main:** release capabilities 1.0.0
([#16](#16))
([1c0902d](1c0902d))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### Features

* remove store protocol
([d59ec88](d59ec88))
* remove store protocol
([#13](#13))
([0028049](0028049))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### Features

* remove store protocol
([d59ec88](d59ec88))
* remove store protocol
([#13](#13))
([0028049](0028049))


### Other Changes

* attw
([cad14ad](cad14ad))
* formatter
([f4f5f5a](f4f5f5a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ash <[email protected]>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-11-05)


### Features

* remove store protocol
([d59ec88](d59ec88))
* remove store protocol
([#13](#13))
([0028049](0028049))


### Other Changes

* formatter
([f4f5f5a](f4f5f5a))
* remove unused dependency
([e60c74d](e60c74d))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ash <[email protected]>
Materially this is a rename, but infra was not recording this value and
it will do now, so this change is non breaking.
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](upload-api-v1.0.0...upload-api-v1.0.1)
(2024-11-05)


### Fixes

* record upload add cause
([#28](#28))
([6fc4311](6fc4311))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fforbeck and others added 29 commits December 12, 2024 09:54
🤖 I have created a release *beep* *boop*
---


##
[1.1.8](upload-api-v1.1.7...upload-api-v1.1.8)
(2024-12-12)


### Fixes

* **egress/record:** Remove unnecessary multiplication for ts conversion
([#98](#98))
([79ac1ab](79ac1ab))
* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([98ab50c](98ab50c))
* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([#97](#97))
([df8b9a2](df8b9a2))
* **egressRecord:** Remove unnecessary multiplication for ts conversion
([storacha#1588](https://github.com/storacha/upload-service/issues/1588))
([1870202](1870202))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop*
---


##
[1.0.6](client-v1.0.5...client-v1.0.6)
(2024-12-12)


### Fixes

* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([98ab50c](98ab50c))
* **egress/record:** rename capability
([storacha#1572](https://github.com/storacha/upload-service/issues/1572))
([#97](#97))
([df8b9a2](df8b9a2))

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

To enable a gateway to serve content from a specific space, we must
ensure that the space owner delegates the `space/content/serve/*`
capability to the Gateway. This delegation allows the Gateway to serve
content and log egress events appropriately.

I created a new function `authorizeContentServe` for this implementation
and included it in the `createSpace` flow. This is a breaking change
because now the user is forced to provide the DIDs of the Content Serve
services, and the connection, or skip the authorization flow.

Additionally, with the `authorizeContentServe` function, we can
implement a feature in the Console App that enables users to explicitly
authorize the Freeway Gateway to serve content from existing/legacy
spaces.

- **New Functionality:** 
- Added a new function, `authorizeContentServe`, in the `w3up-client`
module to facilitate the delegation process. Integrated it with the
`createdSpace` flow.
- It also sets the Storacha Gateway as the default content server
service in case the user doesn't provide any in the `createSpace` call,
and doesn't use the `skipGatewayAuthorization=true` flag.
- **Testing:** Introduced test cases to verify the authorization of
specified gateways.
- **Fixes:** Resolved issues with previously broken test cases (Egress
Record).

### Related Issues
- storacha/project-tracking#158
- storacha/project-tracking#160
- storacha/project-tracking#207
- storacha#1604
- Resolves storacha/project-tracking#196
### Changes
- Added the Filecoin top-level capability.
- Updated w3up-client to use it instead of defining all of the filecoin
capabilities.

### Related Issues
Resolves: storacha#1554
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](capabilities-v1.1.2...capabilities-v1.2.0)
(2024-12-19)


### Features

* content serve authorization
([storacha#1590](https://github.com/storacha/upload-service/issues/1590)) + set
default gateway
([#99](#99))
([6cbb202](6cbb202))


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-12-02)


### Features

* move blob index logic from upload-api to blob-index lib
([storacha#1434](https://github.com/storacha/upload-service/issues/1434))
([797f628](797f628))
* router ([#11](#11))
([c810735](c810735))


### Fixes

* check for blob/accept receipts before blob/add is concluded
([storacha#1459](https://github.com/storacha/upload-service/issues/1459))
([462518c](462518c))
* missing blob-index deps
([storacha#1467](https://github.com/storacha/upload-service/issues/1467))
([deb8cc9](deb8cc9))
* repo URLs
([storacha#1550](https://github.com/storacha/upload-service/issues/1550))
([e02ddf3](e02ddf3))
* trigger release
([0bf74f4](0bf74f4))
* upload API test fixes
([6b0d72d](6b0d72d))
* use one-webcrypto from npm
([storacha#1525](https://github.com/storacha/upload-service/issues/1525))
([9345c54](9345c54))


### Other Changes

* Add `pnpm dev` to watch-build all packages
([storacha#1533](https://github.com/storacha/upload-service/issues/1533))
([07970ef](07970ef))
* **main:** release blob-index 1.0.0
([storacha#1449](https://github.com/storacha/upload-service/issues/1449))
([094442b](094442b))
* **main:** release blob-index 1.0.1
([storacha#1452](https://github.com/storacha/upload-service/issues/1452))
([3d9809f](3d9809f))
* **main:** release blob-index 1.0.2
([storacha#1468](https://github.com/storacha/upload-service/issues/1468))
([fb6e5a1](fb6e5a1))
* **main:** release blob-index 1.0.3
([storacha#1489](https://github.com/storacha/upload-service/issues/1489))
([fc71d31](fc71d31))
* **main:** release blob-index 1.0.4
([storacha#1526](https://github.com/storacha/upload-service/issues/1526))
([a79ea18](a79ea18))
* package renames
([0f797ed](0f797ed))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](did-mailto-v1.0.0...did-mailto-v1.0.1)
(2024-12-19)


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](filecoin-api-v1.0.0...filecoin-api-v1.1.0)
(2024-12-19)


### Features

* content serve authorization
([storacha#1590](https://github.com/storacha/upload-service/issues/1590)) + set
default gateway
([#99](#99))
([6cbb202](6cbb202))


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](filecoin-client-v1.0.0...filecoin-client-v1.0.1)
(2024-12-19)


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Felipe Forbeck <[email protected]>
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2024-12-02)


### ⚠ BREAKING CHANGES

* **upload-api:** integrate agent store for idempotence &
invocation/receipt persistence
([storacha#1444](https://github.com/storacha/upload-service/issues/1444))
* delegated capabilities required to use `uploadFile`, `uploadDirectory`
and `uploadCAR` have changed. In order to use these methods your agent
will now need to be delegated `blob/add`, `index/add`, `filecoin/offer`
and `upload/add` capabilities. Note: no code changes are required.
* coupon
([storacha#1136](https://github.com/storacha/upload-service/issues/1136))
* tweak readmes to get release-please to bump major version
([storacha#1102](https://github.com/storacha/upload-service/issues/1102))

### Features

* add "plan/create-admin-session" capability
([storacha#1411](https://github.com/storacha/upload-service/issues/1411))
([50eeeb5](50eeeb5))
* add `subscription/list` capability
([storacha#1088](https://github.com/storacha/upload-service/issues/1088))
([471d7e5](471d7e5))
* add blob protocol to upload-client
([storacha#1425](https://github.com/storacha/upload-service/issues/1425))
([49aef56](49aef56))
* add CLI ([#39](#39))
([112720e](112720e))
* add usage/report capability
([storacha#1079](https://github.com/storacha/upload-service/issues/1079))
([6418b4b](6418b4b))
* coupon
([storacha#1136](https://github.com/storacha/upload-service/issues/1136))
([1b94f2d](1b94f2d))
* expose OwnedSpace and SharedSpace from access-client
([storacha#1244](https://github.com/storacha/upload-service/issues/1244))
([8ec1b44](8ec1b44))
* generate sharded DAG index on client and invoke w `index/add`
([storacha#1451](https://github.com/storacha/upload-service/issues/1451))
([a6d9026](a6d9026))
* Generate Space proofs on the fly, on `access/claim`
([storacha#1555](https://github.com/storacha/upload-service/issues/1555))
([9e2b1d4](9e2b1d4))
* router ([#11](#11))
([c810735](c810735))
* tweak readmes to get release-please to bump major version
([storacha#1102](https://github.com/storacha/upload-service/issues/1102))
([a411255](a411255))
* two more interface tweaks
([storacha#1287](https://github.com/storacha/upload-service/issues/1287))
([bc3c364](bc3c364))
* upgrade ucanto/transport to 9.1.0 in all packages to get more verbose
errors from HTTP transport on non-ok response
([storacha#1312](https://github.com/storacha/upload-service/issues/1312))
([d6978d7](d6978d7))
* **upload-api:** integrate agent store for idempotence &
invocation/receipt persistence
([storacha#1444](https://github.com/storacha/upload-service/issues/1444))
([c9bf33e](c9bf33e))
* w3up client login
([storacha#1120](https://github.com/storacha/upload-service/issues/1120))
([8279bf6](8279bf6))


### Fixes

* access client should request blob namespace capabilities
([storacha#1378](https://github.com/storacha/upload-service/issues/1378))
([fc5bb4a](fc5bb4a))
* access-client package.json uses https instead of git for one-webcrypto
dep to help with yarn compat
([storacha#1157](https://github.com/storacha/upload-service/issues/1157))
([e1d0798](e1d0798))
* don't error when we can't figure out a name for a space
([storacha#1177](https://github.com/storacha/upload-service/issues/1177))
([a31f667](a31f667))
* fix export paths for JS files
([storacha#1089](https://github.com/storacha/upload-service/issues/1089))
([1a5d1aa](1a5d1aa))
* fix IndexedDB reset function
([storacha#1199](https://github.com/storacha/upload-service/issues/1199))
([48cf555](48cf555))
* floating promises and add no-floating-promises to eslint-config-w3up
([storacha#1198](https://github.com/storacha/upload-service/issues/1198))
([1b8c5aa](1b8c5aa))
* issue where typedoc docs would only show full docs for w3up-client
([storacha#1141](https://github.com/storacha/upload-service/issues/1141))
([0b8d3f3](0b8d3f3))
* migrate repo
([storacha#1389](https://github.com/storacha/upload-service/issues/1389))
([475a287](475a287))
* package metadata
([storacha#1161](https://github.com/storacha/upload-service/issues/1161))
([b8a1cc2](b8a1cc2))
* point `main` at files included in the package
([storacha#1241](https://github.com/storacha/upload-service/issues/1241))
([c0b306d](c0b306d))
* repo URLs
([storacha#1550](https://github.com/storacha/upload-service/issues/1550))
([e02ddf3](e02ddf3))
* support storing ArrayBuffers in conf
([storacha#1236](https://github.com/storacha/upload-service/issues/1236))
([9b1aafb](9b1aafb))
* sync space names from proofs
([storacha#1193](https://github.com/storacha/upload-service/issues/1193))
([f552036](f552036))
* upgrade @ucanto/validator with bugfix
([storacha#1151](https://github.com/storacha/upload-service/issues/1151))
([d4e961b](d4e961b))
* upgrade type-fest in access
([storacha#1263](https://github.com/storacha/upload-service/issues/1263))
([47a4589](47a4589))
* upgrade ucanto core
([storacha#1127](https://github.com/storacha/upload-service/issues/1127))
([5ce4d22](5ce4d22))
* upgrade ucanto libs and format filecoin api
([storacha#1359](https://github.com/storacha/upload-service/issues/1359))
([87ca098](87ca098))
* upload API test fixes
([6b0d72d](6b0d72d))
* use an ArrayBuffer for delegation bits in AgentData
([storacha#1219](https://github.com/storacha/upload-service/issues/1219))
([bddf874](bddf874))
* use one-webcrypto from npm
([storacha#1525](https://github.com/storacha/upload-service/issues/1525))
([9345c54](9345c54))


### Other Changes

* Add `pnpm dev` to watch-build all packages
([storacha#1533](https://github.com/storacha/upload-service/issues/1533))
([07970ef](07970ef))
* **main:** release access 16.5.0
([storacha#1086](https://github.com/storacha/upload-service/issues/1086))
([cf81c3a](cf81c3a))
* **main:** release access 16.5.1
([storacha#1090](https://github.com/storacha/upload-service/issues/1090))
([cb46ee9](cb46ee9))
* **main:** release access 17.0.0
([storacha#1103](https://github.com/storacha/upload-service/issues/1103))
([5b34dfb](5b34dfb))
* **main:** release access 17.1.0
([storacha#1122](https://github.com/storacha/upload-service/issues/1122))
([3f302a3](3f302a3))
* **main:** release access 18.0.0
([storacha#1132](https://github.com/storacha/upload-service/issues/1132))
([aa4ba63](aa4ba63))
* **main:** release access 18.0.1
([storacha#1142](https://github.com/storacha/upload-service/issues/1142))
([3d7f118](3d7f118))
* **main:** release access 18.0.2
([storacha#1158](https://github.com/storacha/upload-service/issues/1158))
([1dd371b](1dd371b))
* **main:** release access 18.0.3
([storacha#1166](https://github.com/storacha/upload-service/issues/1166))
([dfbc3f1](dfbc3f1))
* **main:** release access 18.0.4
([storacha#1200](https://github.com/storacha/upload-service/issues/1200))
([f51b066](f51b066))
* **main:** release access 18.0.5
([storacha#1203](https://github.com/storacha/upload-service/issues/1203))
([89080ca](89080ca))
* **main:** release access 18.0.6
([storacha#1233](https://github.com/storacha/upload-service/issues/1233))
([ddb413f](ddb413f))
* **main:** release access 18.0.7
([storacha#1237](https://github.com/storacha/upload-service/issues/1237))
([bb5235f](bb5235f))
* **main:** release access 18.1.0
([storacha#1243](https://github.com/storacha/upload-service/issues/1243))
([4991f70](4991f70))
* **main:** release access 18.1.1
([storacha#1265](https://github.com/storacha/upload-service/issues/1265))
([3244a26](3244a26))
* **main:** release access 18.2.0
([storacha#1288](https://github.com/storacha/upload-service/issues/1288))
([787fca6](787fca6))
* **main:** release access 18.3.0
([storacha#1319](https://github.com/storacha/upload-service/issues/1319))
([5701761](5701761))
* **main:** release access 18.3.1
([storacha#1381](https://github.com/storacha/upload-service/issues/1381))
([086759d](086759d))
* **main:** release access 18.3.2
([storacha#1396](https://github.com/storacha/upload-service/issues/1396))
([bcc958f](bcc958f))
* **main:** release access 18.4.0
([storacha#1446](https://github.com/storacha/upload-service/issues/1446))
([af9f44e](af9f44e))
* **main:** release access 19.0.0
([storacha#1462](https://github.com/storacha/upload-service/issues/1462))
([b16a0bf](b16a0bf))
* **main:** release access 20.0.0
([storacha#1473](https://github.com/storacha/upload-service/issues/1473))
([be8247f](be8247f))
* **main:** release access 20.0.1
([storacha#1529](https://github.com/storacha/upload-service/issues/1529))
([a82c4fb](a82c4fb))
* **main:** release access 20.1.0
([storacha#1541](https://github.com/storacha/upload-service/issues/1541))
([89836c0](89836c0))
* package renames
([0f797ed](0f797ed))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](upload-api-v1.1.8...upload-api-v1.2.0)
(2024-12-19)


### Features

* content serve authorization
([storacha#1590](https://github.com/storacha/upload-service/issues/1590)) + set
default gateway
([#99](#99))
([6cbb202](6cbb202))


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Felipe Forbeck <[email protected]>
🤖 I have created a release *beep* *boop*
---


##
[1.0.2](upload-client-v1.0.1...upload-client-v1.0.2)
(2024-12-02)


### Fixes

* compatibility with legacy w3up client
([#59](#59))
([7185046](7185046))
* jsdoc
([5506c11](5506c11))
* overflow slices
([storacha#1595](https://github.com/storacha/upload-service/issues/1595))
([949b84a](949b84a))
* thanks prettier
([11e34b4](11e34b4))
* trigger release
([f0f9a56](f0f9a56))


### Other Changes

* prettier
([40ebc05](40ebc05))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](client-v1.0.6...client-v1.1.0)
(2024-12-19)


### Features

* content serve authorization
([storacha#1590](https://github.com/storacha/upload-service/issues/1590)) + set
default gateway
([#99](#99))
([6cbb202](6cbb202))


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](cli-v1.0.1...cli-v1.1.0)
(2024-12-19)


### Features

* content serve authorization
([storacha#1590](https://github.com/storacha/upload-service/issues/1590)) + set
default gateway
([#99](#99))
([6cbb202](6cbb202))


### Other Changes

* **main:** release client 1.0.6
([27cb383](27cb383))
* **main:** release client 1.0.6
([#104](#104))
([07f27a2](07f27a2))
* **main:** release upload-api 1.1.8
([aec53e7](aec53e7))
* **main:** release upload-api 1.1.8
([#103](#103))
([e71494a](e71494a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Felipe Forbeck <[email protected]>
The `options` field should be optional, and if not set, we still want to
grant access to Storacha Gateway to serve the content of the space.
🤖 I have created a release *beep* *boop*
---


##
[1.1.1](client-v1.1.0...client-v1.1.1)
(2024-12-19)


### Fixes

* **w3up-client:** create space options
([#113](#113))
([5eec331](5eec331))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
We need to save the space before setting it as the current space,
otherwise the authorization flow will fail because the agent won't be
allowed to use that space.


![image](https://github.com/user-attachments/assets/97dade05-2efd-4e8d-a7a5-103c833d618c)
🤖 I have created a release *beep* *boop*
---


##
[1.1.2](client-v1.1.1...client-v1.1.2)
(2024-12-20)


### Fixes

* **w3up-client:** authorize agent to use space
([#115](#115))
([3719670](3719670))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This PR adds the legacy `store/*` and `admin/store/inspect` handlers
from the `@web3-storage/upload-api` in order to support deprecated
actions for a bit longer, per storacha/RFC#38

refs storacha/project-tracking#268
🤖 I have created a release *beep* *boop*
---


##
[1.0.3](upload-client-v1.0.2...upload-client-v1.0.3)
(2025-01-16)


### Other Changes

* sync with w3up repo
([#119](#119))
([d86e52c](d86e52c))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](upload-api-v1.2.0...upload-api-v1.3.0)
(2025-01-15)


### Features

* add legacy handlers
([#117](#117))
([1390106](1390106))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.1.3](client-v1.1.2...client-v1.1.3)
(2025-01-16)


### Other Changes

* sync with w3up repo
([#119](#119))
([d86e52c](d86e52c))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop*
---


##
[1.3.1](upload-api-v1.3.0...upload-api-v1.3.1)
(2025-01-20)


### Fixes

* clarify license
([157f93c](157f93c))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Peeja Peeja closed this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants