-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
fix: drop rusha #117
fix: drop rusha #117
Conversation
de8a1ec
to
eb2f315
Compare
# [11.0.0](v10.0.2...v11.0.0) (2023-01-25) ### Bug Fixes * **deps:** update dependency bencode to v3 ([#122](#122)) ([2bfae53](2bfae53)) * **deps:** update dependency get-stdin to v9 ([#93](#93)) ([e36a99e](e36a99e)) * **deps:** update dependency uint8-util to ^2.1.4 ([#129](#129)) ([35ede29](35ede29)) * drop rusha ([#117](#117)) ([0d3be61](0d3be61)) * release config ([#134](#134)) ([ec9bf75](ec9bf75)) ### BREAKING CHANGES * perf: drop rusha, buffer * fix: error throw tests
🎉 This PR is included in version 11.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@ThaUnknown Sorry for bumping an old PR, but would you help me understand the decision of the breaking change? From the diff, looks like |
to make it faster in browser |
@ThaUnknown thanks for clarifying. I guess the native apis make more sense in webtorrent as we're hashing huge files there, but for this package we only hash torrent files which is really tiny. It's sad we're loosing the beautiful sync api. Sorry for the rant. I really like the sync interface in nodejs. Thanks for your contribution. |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[ ] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
replaced simple-sha1 with uint8-util, thus dropping rusha, replaced all buffer with uint8array
main function is now async, so this is breaking
Which issue (if any) does this pull request address?
webtorrent/webtorrent#2390
Is there anything you'd like reviewers to focus on?