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

BREAKING CHANGE: Update WebTorrent to v2 and drop NodeJS < 16 #303

Merged
merged 5 commits into from
Jun 2, 2024

Conversation

SilentBot1
Copy link
Member

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)

This PR updates WebTorrent from ^1.3.2 to ^2.3.0 and makes the required changes to facilitate this, which adds support for native WebRTC peer connectivity.

Additionally, I have added a field to the peer list to make debugging peer types, inbound/outbound connectivity and WebRTC connectivity easier.

Which issue (if any) does this pull request address?

Is there anything you'd like reviewers to focus on?

Copy link

socket-security bot commented Jun 2, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] filesystem +14 186 kB webtorrent-bot
npm/[email protected] Transitive: environment, filesystem, network +42 972 kB

🚮 Removed packages: npm/[email protected], npm/[email protected]

View full report↗︎

Copy link
Member

@ThaUnknown ThaUnknown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SilentBot1 SilentBot1 merged commit 3e34c7f into master Jun 2, 2024
6 checks passed
@SilentBot1 SilentBot1 deleted the webtorrent-v2-support branch June 2, 2024 14:20
webtorrent-bot pushed a commit that referenced this pull request Jun 2, 2024
# [5.0.0](v4.1.0...v5.0.0) (2024-06-02)

* BREAKING CHANGE: Update WebTorrent to v2 and drop NodeJS < 16 (#303) ([3e34c7f](3e34c7f)), closes [#303](#303)

### BREAKING CHANGES

* Update WebTorrent to v2 and drop support for NodeJS < 16

* feat: update create-torrent to 6.0.17

* feat: improve logging by including peer type (TCP,UTP,WEBRTC,WEBSEED)

* fix: update ci to drop NodeJS 14

* fix: update docs to reflect changes, adds webrtc connectivity but requires native deps.
@webtorrent-bot
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants