Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Update libp2p-ipfs-browser to version 0.16.0 🚀 #581

Closed

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello lovely humans,

libp2p-ipfs-browser just published its new version 0.16.0.

State Update 🚀
Dependency libp2p-ipfs-browser
New version 0.16.0
Type dependency

This version is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of libp2p-ipfs-browser.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?

There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

Good luck with your project ✨

You rock!

🌴


GitHub Release

Bug Fixes


The new version differs by 14 commits .

  • b6d4f40 chore: release version v0.16.0
  • 98350c4 chore: update contributors
  • add8892 Merge pull request #99 from ipfs/webcrypto
  • 81bdc38 chore: update deps
  • 6811496 undo test skips
  • b9eeb16 bring back all the tests
  • e6344b1 wip: get websockets to work in the browser
  • 661fe73 chore: update deps
  • 374deb4 chore: update deps and handle API
  • 5b6cdb9 ready
  • 888bc7d fix: update for new crypto
  • c80b9c8 Merge pull request #97 from ipfs/greenkeeper-libp2p-ipfs-0.14.1
  • 3fd04c8 chore: readme
  • 3b82cdb chore(package): update libp2p-ipfs to version 0.14.1

See the full diff.


This pull request was created by greenkeeper.io.

Tired of seeing this sponsor message? ⚡ greenkeeper upgrade

@jbenet jbenet added the status/deferred Conscious decision to pause or backlog label Nov 11, 2016
@dignifiedquire dignifiedquire deleted the greenkeeper-libp2p-ipfs-browser-0.16.0 branch November 11, 2016 10:43
@dignifiedquire dignifiedquire removed the status/deferred Conscious decision to pause or backlog label Nov 11, 2016
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
As part of the async iterator refactor some peer IDs were being returned as CIDs - the conversion was done in IPFS but not in libp2p, which meant that where IPFS exposes libp2p directly, peer IDs were being returned as strings, e.g. pubsub topic subscribers, message senders, etc.

The aim is to convert these to CIDs in the long run but such a change needs to be driven from inside libp2p instead of piecemeal at the IPFS layer.

This PR changes the `ipfs.id().id` and `ipfs.swarm.peers().[].peer` properties to strings so we can do the CID conversion in one go.

Also adds more in-depth tests for `ipfs.id` and documents the output from that method.

BREAKING CHANGE:

Where `PeerID`s were previously [CID]s, now they are Strings

- `ipfs.bitswap.stat().peers[n]` is now a String (was a CID)
- `ipfs.dht.findPeer().id` is now a String (was a CID)
- `ipfs.dht.findProvs()[n].id` is now a String (was a CID)
- `ipfs.dht.provide()[n].id` is now a String (was a CID)
- `ipfs.dht.put()[n].id` is now a String (was a CID)
- `ipfs.dht.query()[n].id` is now a String (was a CID)
- `ipfs.id().id` is now a String (was a CID)
- `ipfs.id().addresses[n]` are now [Multiaddr]s (were Strings)

[CID]: https://www.npmjs.com/package/cids
[Multiaddr]: https://www.npmjs.com/package/multiaddr
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants