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

feat!: support ?car-scope and verifiable paths for format=car #21

Merged
merged 2 commits into from
May 2, 2023

Conversation

olizilla
Copy link
Contributor

@olizilla olizilla commented May 1, 2023

BREAKING CHANGE: CARs returned for cid+path will now be rooted at the root cid rather than the resovled cid for the end of the path and include all blocks needed to verify the path was traveresed correctly.

see: storacha/freeway#33
see: storacha/freeway#34

License: MIT

- update dagula to get `getPath` with carScope support https://github.com/web3-storage/dagula/releases/tag/v6.0.0
- update handleCar to extract ?car-scope query and use `dagula.getPath`

BREAKING CHANGE: CARs returned for cid+path will now be rooted at the root cid rather than the resovled cid for the end of the path and include all blocks needed to verify the path was traveresed correctly.

see: storacha/freeway#33
see: storacha/freeway#34

License: MIT
Signed-off-by: Oli Evans <[email protected]>
@olizilla olizilla changed the title feat!: support ?car-scope and verfiable paths for format=car feat!: support ?car-scope and verifiable paths for format=car May 1, 2023
to fix dag-cbor traversal

License: MIT
Signed-off-by: Oli Evans <[email protected]>
@olizilla olizilla requested a review from alanshaw May 2, 2023 14:37
@olizilla olizilla merged commit 7593a2f into main May 2, 2023
@olizilla olizilla deleted the car-scope-and-path-blocks branch May 2, 2023 14:50
olizilla pushed a commit that referenced this pull request May 2, 2023
🤖 I have created a release *beep* *boop*
---


##
[3.0.0](v2.0.3...v3.0.0)
(2023-05-02)


### ⚠ BREAKING CHANGES

* CARs returned for cid+path will now be rooted at the root cid rather
than the resovled cid for the end of the path and include all blocks
needed to verify the path was traveresed correctly.

### Features

* support ?car-scope and verifiable paths for format=car
([#21](#21))
([7593a2f](7593a2f))

---
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>
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.

2 participants