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

[pull] master from ipfs:master #1

Merged
merged 336 commits into from
Aug 4, 2022
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 15, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Jun 15, 2021
CSDUMMI and others added 29 commits June 25, 2021 16:34
I linked from the npm package listing and was suprised to end up at the interface-ipfs-core package.
Co-authored-by: kvutien <kvutien@VTKT5.fritz.box>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
I had to skip a couple of tests as they use the ipfs api directly which
hasn't been migrated yet so it doesn't understand the new CID class.

They can be unskipped once js-ipfs ships with the new multiformats module,
or the circular dependency between this module and js-ipfs is broken.

BREAKING CHANGE: pulls in new multiformats modules
- Replaces the old [interface-ipld-format](https://github.com/ipld/interface-ipld-format) stack with the new [multiformats](https://github.com/multiformats/js-multiformats) stack.
- The Block API takes/returns `Uint8Array`s instead of [ipld-block](https://github.com/ipld/js-ipld-block) objects

BREAKING CHANGE: ipld-formats no longer supported, use multiformat BlockCodecs instead

Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: achingbrain <alex@achingbrain.net>
This changes the default behaviour of the `jsipfs resolve` cli command to be recursive by default. Closes #3692.

```shell
# in packages/ipfs
node src/cli.js resolve /ipns/ipfs.io
/ipfs/bafybeiagozluzfopjadeigrjlsmktseozde2xc5prvighob7452imnk76a
```

BREAKING CHANGE: resolve is now recursive by default

Co-authored-by: Alex Potsides <alex@achingbrain.net>
Applying all the magic from #3584, updating the dependencies, adding tips (address example) for working with a local node

Co-authored-by: Vasco Santos <vasco.santos@ua.pt>
Co-authored-by: Alen Šiljak <code@alensiljak.eu.org>
Co-authored-by: achingbrain <alex@achingbrain.net>
Adds `ipfs.dag.import` and `ipfs.dag.export` commands to import/export CAR files,
e.g. single-file archives that contain blocks and root CIDs.

Supersedes #2953
Fixes #2745

Co-authored-by: achingbrain <alex@achingbrain.net>
Dividing the bandwidth stats sometimes results in a fraction which we cannot
convert to a `BigInteger` since it's not an integer...

Fixes #3726
* fix: support @web-std/file in normalize input
* chore: validate blob/file have a stream property
* chore: fallback to web-std blob
* fix: tests
* chore: use latest file version
In the http client, when we subscribe to a topic we open a HTTP connection
which we keep open for the duration of the subscription.

When we unsubscribe we abort the connection but it can remain open for a
little while after the abort, even if we try to wait on the `fetch` command
ending before continuting, which leads to the topic still being present in the
subs list, so retry asserting that the subs list is empty in the tests within
a certain time window.

Fixes this sort of error:

```
ipfs:   1) interface-ipfs-core over ipfs-http-client tests against go-ipfs
ipfs:        .pubsub.unsubscribe
ipfs:          should subscribe 5 handlers and unsubscribe once with no reference to the handlers:
ipfs:       AssertionError: expected [ Array(1) ] to deeply equal []
ipfs:       + expected - actual
ipfs:       -[
ipfs:       -  "pubsub-tests-SVOFzpM5DtbcI7jBETrmm"
ipfs:       -]
ipfs:       +[]
```
Co-authored-by: kvutien <kvutien@VTKT5.fritz.box>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
* Upgrade to GitHub-native Dependabot
* chore: remove ignores

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Fixes docker build problems
If we run a node in offline mode only, it'll never go to the network
to fetch a CID it doesn't have, so we can't really test timeouts properly.
…#3763)

Bubbles the `OptionExtension` up to the root type for use by the HTTP client and exports an interface for use by consuming modules.

Supersedes #3749 and #3736
 - interface-ipfs-core@0.148.0
 - ipfs-cli@0.7.0
 - ipfs-client@0.5.0
 - ipfs-core-types@0.6.0
 - ipfs-core-utils@0.9.0
 - ipfs-core@0.9.0
 - ipfs-daemon@0.8.0
 - ipfs-grpc-client@0.4.0
 - ipfs-grpc-server@0.4.0
 - ipfs-http-client@51.0.0
 - ipfs-http-gateway@0.5.0
 - ipfs-http-server@0.6.0
 - ipfs-message-port-client@0.7.0
 - ipfs-message-port-protocol@0.8.0
 - ipfs-message-port-server@0.8.0
 - ipfs@0.56.0
These were removed during the multiformats upgrade but they are quite
useful as a demo of how to configure extra multiformat blockcodecs/hashers
No need to run example tests if we've just changed docs etc.
Use the `@multiformats/sha3` module instead of rolling our own
Improve docs around how to configure custom block codecs/multibase
codecs, etc.
Fixes: #3776

Co-authored-by: achingbrain <alex@achingbrain.net>
achingbrain and others added 28 commits May 27, 2022 14:21
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
With the addition of an export-map the `src/types.ts` file is no longer importable so make sure we can import the various ipfs-http-client type defs from the root.
findProvs (as mentioned on lines 87-89) is expecting a CID, not a string

Co-authored-by: Alex Potsides <alex@achingbrain.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fixes #4119

Moved 0.61.0 to proper order
Linked to the upgrade guide for v0.63.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fixes configuration regression, use the default websocket transport filters, e.g. only connect to wss and/or DNS addresses in the browser and anything goes in node.

Fixes: #4141
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Make changelogs consistent.  Hopefully my regex-fu hasn't made a mess of this.

Fixes: #4137
From field should be a peer id as per the types.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Houseclean ipfs-core/README.md
* Linked to community docs
* Houseclean ./README.md
* Link to community docs page
@MarcelRaschke MarcelRaschke merged commit d15e232 into MarcelRaschke:master Aug 4, 2022
@MarcelRaschke MarcelRaschke added the documentation Improvements or additions to documentation label Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.