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 47-studio-org:master #17

Open
wants to merge 365 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Nov 2, 2022

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

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

achingbrain and others added 30 commits July 30, 2021 17:58
 - ipfs-cli@0.7.1
 - ipfs-client@0.5.1
 - ipfs-core-types@0.6.1
 - ipfs-core-utils@0.9.1
 - ipfs-core@0.9.1
 - ipfs-daemon@0.8.1
 - ipfs-grpc-client@0.4.1
 - ipfs-grpc-server@0.4.1
 - ipfs-http-client@51.0.1
 - ipfs-http-gateway@0.5.1
 - ipfs-http-server@0.6.1
 - ipfs-message-port-client@0.7.1
 - ipfs-message-port-protocol@0.8.1
 - ipfs-message-port-server@0.8.1
 - ipfs@0.56.1
Fix typos and errors in the example code.
Generic types were missed off the refs api and added to multihashers.
`ipfs get` on the cli writes files/folders to disk, also tarballs
and gzipped tarballs. Also gzipped individual files.

In the API it's very similar to `ipfs.ls`.  Make it more like the
cli so there's a clear reason to use one or the other.

Also adds types to `interface-ipfs-core` to better catch broken
types in `ipfs-core-types`.

BREAKING CHANGE: the output type of `ipfs.get` has changed and the `recursive` option has been removed from `ipfs.ls` since it was not supported everywhere
Bumps [filesize](https://github.com/avoidwork/filesize.js) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/avoidwork/filesize.js/releases)
- [Changelog](https://github.com/avoidwork/filesize.js/blob/master/CHANGELOG.md)
- [Commits](avoidwork/filesize.js@6.4.0...7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
The argumuent type for multiple files was wrong.

Closes ipfs#3794
Not sure how the build for ipfs#3785 passed without this, but it did?
Bumps [go-ipfs](https://github.com/ipfs/npm-go-ipfs) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/ipfs/npm-go-ipfs/releases)
- [Commits](ipfs/npm-kubo@v0.8.0...v0.9.1)

---
updated-dependencies:
- dependency-name: go-ipfs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
We had this filter previously, it got removed somewhere.
The return type for `rateIn`/`rateOut` should be a number and not an integer.

go-IPFS returns a `float64` which isn't representable in js, but we are not interested in that level of accuracy for this value so just return it as a regular `number` which can be a `float`.

Fixes ipfs#3782

BREAKING CHANGE: rateIn/rateOut are returned as numbers
Bumps [ipfsd-ctl](https://github.com/ipfs/js-ipfsd-ctl) from 8.0.2 to 10.0.1.
- [Release notes](https://github.com/ipfs/js-ipfsd-ctl/releases)
- [Changelog](https://github.com/ipfs/js-ipfsd-ctl/blob/master/CHANGELOG.md)
- [Commits](ipfs/js-ipfsd-ctl@v8.0.2...v10.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [ipfs-core](https://github.com/ipfs/js-ipfs) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/ipfs/js-ipfs/releases)
- [Changelog](https://github.com/ipfs/js-ipfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/js-ipfs/compare/ipfs-core@0.8.0...ipfs-core@0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
Switch from RSA to ed25519 to match what we already do in go-ipfs.

Closes ipfs#3591

Co-authored-by: achingbrain <alex@achingbrain.net>
 - interface-ipfs-core@0.149.0
 - ipfs-cli@0.8.0
 - ipfs-client@0.6.0
 - ipfs-core-types@0.7.0
 - ipfs-core-utils@0.10.0
 - ipfs-core@0.10.0
 - ipfs-daemon@0.9.0
 - ipfs-grpc-client@0.5.0
 - ipfs-grpc-server@0.5.0
 - ipfs-http-client@52.0.0
 - ipfs-http-gateway@0.6.0
 - ipfs-http-server@0.7.0
 - ipfs-message-port-client@0.8.0
 - ipfs-message-port-protocol@0.9.0
 - ipfs-message-port-server@0.9.0
 - ipfs@0.57.0
`nanoid@3.1.24` started shipping browser overrides in package.json that break browserify, jest, etc.

Pin the version to `3.1.23` until the situation is resolved.

Refs: ai/nanoid#295
We convert CIDs to Uint8Arrays unnecessarily which breaks things.

Fixes ipfs#3502
Relax test to just look for `/ws/p2p/` string
Documents RPC config key
* feat: pubsub over gRPC

Browsers can only have six concurrently open connections to a host name.

Pubsub works over HTTP by holding a connection open per subscription, which
means you can only subscribe six times before things start to hang.

gRPC runs over websockets so doesn't have this limitation.  This PR adds
pubsub support to the gRPC server and `ipfs-client` module so you can subscribe
to lots and lots of channels concurrently, working around the browser connection
limitation.

Refs: ipfs#3741
`libp2p-noise` is now `@chainsafe/libp2p-noise`
Throws an error with a more descriptive error message.

The error messages over http are not descriptive due to node-fetch/node-fetch#753

Fixes ipfs#3788
- keys is a fs datastore
- mfs uses the root datastore though it should really use the datastore datastore
 - interface-ipfs-core@0.150.0
 - ipfs-cli@0.8.1
 - ipfs-client@0.6.1
 - ipfs-core-utils@0.10.1
 - ipfs-core@0.10.1
 - ipfs-daemon@0.9.1
 - ipfs-grpc-client@0.6.0
 - ipfs-grpc-protocol@0.4.0
 - ipfs-grpc-server@0.6.0
 - ipfs-http-client@52.0.1
 - ipfs-http-server@0.7.1
 - ipfs-message-port-client@0.8.1
 - ipfs@0.58.0
achingbrain and others added 28 commits August 17, 2022 21:47
Updates all dependencies to allow use of `libp2p@0.38.x`.  See the [release issue](libp2p/js-libp2p#1253) for what's new!
* clarify state of DHT in js-ipfs
* corrections to browsers documentation
Co-authored-by: Daniel N <2color@users.noreply.github.com>
Co-authored-by: achingbrain <alex@achingbrain.net>
The update removes the need to load the keychain manually.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
The default prometheus memory stats are clunky and hard to interpret without additional tools like graphana because you get separate measurements for different types of memory usage.

Add a single `nodejs_memory_usage` metric that is the output of `process.memoryUsage()`.
The interop suite has been updated with the ESM ipfs and libp2p so the branch no longer exists.
Updates all use and dependent modules.
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>
The branch was merged so no longer exists.
Co-authored-by: achingbrain <alex@achingbrain.net>

js-ipfs will now ignore V1 signatures when validating IPNS records, and always require V2.

See ipfs/js-ipns#180 for low level details (needs that to be released before merging this)

Closes ipfs#4197

BREAKING  CHANGE: IPNS Records that do not have V2 but have V1 signature will no longer pass validation, even if V1 is correct. V2 is mandatory to pass validation. See "Record validation" in ipfs/specs#319 for details.
This should affect how the release issue is generated, might need some additional lerna config to make sure the github release is created in the same way.
In several places we call `.slice` as a way to transform `BufferList`s to `Uint8Array`s. Due to refactors in some places we are now calling `.slice` on `Uint8Array`s which is a memory-copy operation.

In other places `Uint8ArrayList`s are now returned instead of `BufferList`s on which `.slice` is also a memory-copy operation.

Swap `.slice` for `.subarray` which is no-copy for `Uint8Array`s and can be no-copy for `Uint8ArrayList`s too, where there is only a single backing buffer.

In places where we need to transform multiple `Uint8ArrayList`s to multiple `Uint8Array`s, yield the iterators of the `Uint8ArrayList`s as this is also a no-copy operation.
Upgrades all deps to support `libp2p@0.40.x`.

BREAKING CHANGE: ipfs is now bundled with libp2p@0.40.x which has different config
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add guides for the last few releases.
Improve docs around upgrading ts projects to use esm.
[pull] master from ipfs:master
Signed-off-by: Marcel Raschke <42359664+MarcelRaschke@users.noreply.github.com>
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.