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 MarcelRaschke:master #148

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

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 23, 2024

See Commits and Changes for more details.


Created by pull[bot]

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

achingbrain and others added 25 commits November 17, 2022 16:59
If we specify the return type of the `getIt` util, tsc will know what type `this` is in the test context so we can remove the error overrides.
Turn the `Blob`/`File` object into a `ReadableStream` then turn that into an `AsyncIterator<Uint8Array>` the same as the other input types.

Fixes ipfs#3601
Fixes ipfs#3576
)

`multiformats@11.x.x` shipped with a [breaking change](multiformats/js-multiformats#230) so update all deps using multiformats to the latest version.
Lerna is required for monorepo prereleases
Updates to latest version with new multiformats dependency
Use the new `release-rc` command in aegir to publish release candidates
instead of lerna.
Recent node versions ship with a global fetch which requires the duplex
option to be set when sending readable streams as the request body so
ensure we have the latest ipfs-utils that sets that option.
Updates to version with latest multiformats dep
Use the default gossipsub behaviour of not allowing publishing message
to zero peers.

If a user publishes a message they may be surprised to find it's not
been recieved by anyone, so instead an error should be thrown when there
are no peers that will receive a message.
If you write to an MFS directory with `rawLeaves: true`, it'll error out when doing a read saying `Error: /example-0/example.txt was not a file`.

This accounts for that case by handling the `raw` type the same as a file.

Co-authored-by: Mauve Signweaver <RangerMauve@mauve.moe>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Update to release version of libp2p
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update readme badges and align dep versions
Build file is `test.yml` not `js-test-and-release.yml`
Removes out of date link
FYI: js-ipfs is being deprecated in favor of [Helia](https://github.com/ipfs/helia).  You can learn more about this deprecation and the corresponding migration guide [here](ipfs#4336).

Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
Adds a notice to every readme advising of deprecation and containing
pointers to docs that help with the upgrade to Helia.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull bot added the ⤵️ pull label Aug 23, 2024
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.

5 participants