1.0.0 (2024-11-27)
Bug Fixes
- add preversion (55fe206)
- add storeOpts, specify store path, align with docs (#2121) (6cd9b5f)
- allow client level default trackers to be set (#2815) (a0e056d)
- attempt to fix saucelabs CI (#2557) (c89c27d)
- bring back release config (d78055b)
- call public FileStream.destroy method so cb is defined (#2135) (b035cbe)
- chromeapp build (#2704) (ed9f368)
- ci (134721c)
- Cleanup duplicated deselect() code (#2113) (b94d713)
- correctly destroy piped streams in server (#2565) (86eda0a)
- custom length file buffer (#2843) (5d40ad1)
- dedupe packages (9ea33c2)
- dependencies (9bd7933)
- deprecate render-media (#2180) (8b5ecea)
- deps: update dependency @silentbot1/nat-api to ^0.4.7 (#2619) (a44286c)
- deps: update dependency @thaunknown/simple-peer to ^10.0.10 (09d7ea0)
- deps: update dependency @thaunknown/simple-peer to ^10.0.8 (27e34e5)
- deps: update dependency @thaunknown/simple-peer to ^10.0.9 (fc54e8e)
- deps: update dependency @thaunknown/simple-peer to ^9.12.1 (#2588) (9ea487b)
- deps: update dependency @webtorrent/semantic-release-config to v1.0.6 (#2173) (210bda9)
- deps: update dependency @webtorrent/semantic-release-config to v1.0.7 (#2175) (404de99)
- deps: update dependency @webtorrent/semantic-release-config to v1.0.9 (#2528) (19d26f0)
- deps: update dependency bitfield to ^4.1.0 (#2303) (a778522)
- deps: update dependency bitfield to ^4.2.0 (#2730) (867e4f2)
- deps: update dependency bittorrent-dht to ^10.0.1 (#2139) (8476d9c)
- deps: update dependency bittorrent-dht to ^10.0.2 (#2163) (fc89c78)
- deps: update dependency bittorrent-dht to ^10.0.3 (#2320) (2ebbd8e)
- deps: update dependency bittorrent-dht to ^10.0.4 (327d723)
- deps: update dependency bittorrent-dht to ^10.0.6 (#2384) (34089f8)
- deps: update dependency bittorrent-protocol to ^3.4.2 (#2132) (7223cbf)
- deps: update dependency bittorrent-protocol to ^3.5.2 (13fb0d6)
- deps: update dependency bittorrent-protocol to ^3.5.3 (#2302) (11f9426)
- deps: update dependency bittorrent-protocol to ^3.5.5 (3522080)
- deps: update dependency bittorrent-protocol to ^4.1.10 (0c60f65)
- deps: update dependency bittorrent-protocol to ^4.1.11 (701280f)
- deps: update dependency bittorrent-protocol to ^4.1.13 (d596da6)
- deps: update dependency bittorrent-protocol to ^4.1.7 (#2551) (da87d38)
- deps: update dependency bittorrent-tracker to v9.18.6 (#2315) (b63d652)
- deps: update dependency create-torrent to ^4.7.1 (#2145) (a75f1aa)
- deps: update dependency create-torrent to ^5.0.1 (#2167) (283cbf8)
- deps: update dependency create-torrent to ^5.0.2 (#2276) (f389f87)
- deps: update dependency create-torrent to ^5.0.3 (5009d10)
- deps: update dependency create-torrent to ^5.0.4 (3728336)
- deps: update dependency create-torrent to ^5.0.6 (03a0f50)
- deps: update dependency create-torrent to ^5.0.9 (#2392) (d5139ed)
- deps: update dependency create-torrent to ^6.0.10 (d9e6784)
- deps: update dependency create-torrent to ^6.0.14 (d7e81ea)
- deps: update dependency create-torrent to ^6.0.16 (97c0af1)
- deps: update dependency create-torrent to ^6.0.17 (54f6add)
- deps: update dependency create-torrent to v5 (#2165) (501fd9e)
- deps: update dependency cross-fetch-ponyfill to ^1.0.3 (#2475) (63eeed1)
- deps: update dependency cross-fetch-ponyfill to ^1.0.3 (#2477) (970d937)
- deps: update dependency debug to ^4.3.2 (#2127) (33f813d)
- deps: update dependency debug to ^4.3.3 (#2228) (e268096)
- deps: update dependency debug to ^4.3.4 (017c488)
- deps: update dependency debug to ^4.3.5 (4a47201)
- deps: update dependency debug to ^4.3.6 (c6dde2c)
- deps: update dependency debug to ^4.3.7 (69c1441)
- deps: update dependency fast-blob-stream to ^1.1.1 (a441dea)
- deps: update dependency fs-chunk-store to ^2.0.5 (2eef418)
- deps: update dependency fs-chunk-store to ^4.0.1 (#2463) (bb7c640)
- deps: update dependency fs-chunk-store to ^4.1.0 (c9103bf)
- deps: update dependency fs-chunk-store to v3 (#2380) (9abd966)
- deps: update dependency hybrid-chunk-store to ^1.1.3 (2b7c435)
- deps: update dependency hybrid-chunk-store to ^1.2.0 (#2482) (792876b)
- deps: update dependency hybrid-chunk-store to ^1.2.1 (#2589) (f482419)
- deps: update dependency hybrid-chunk-store to ^1.2.2 (#2595) (b04cc7a)
- deps: update dependency hybrid-chunk-store to ^1.2.4 (#2764) (9ce6188)
- deps: update dependency hybrid-chunk-store to ^1.2.6 (#2818) (478c691)
- deps: update dependency join-async-iterator to ^1.1.1 (09b9958)
- deps: update dependency lt_donthave to v2 (#2555) (21e5007)
- deps: update dependency mime to v3 (#2216) (77da8cb)
- deps: update dependency parse-torrent to ^11.0.12 (2766f6f)
- deps: update dependency parse-torrent to ^11.0.17 (72f4abc)
- deps: update dependency parse-torrent to ^11.0.5 (#2470) (9447cd6)
- deps: update dependency parse-torrent to ^9.1.5 (650a8c9)
- deps: update dependency parse-torrent to v11 (#2459) (4cb909d), closes #2461
- deps: update dependency pump to ^3.0.2 (#2864) (019f115)
- deps: update dependency semantic-release to v21 (#2510) (e74b843)
- deps: update dependency simple-peer to ^9.11.1 (34df41a)
- deps: update dependency speed-limiter to ^1.0.2 (#2153) (17fb0e2)
- deps: update dependency streamx to ^2.12.5 (#2366) (457a2d3)
- deps: update dependency streamx to ^2.13.1 (#2430) (fb5f5a6)
- deps: update dependency streamx to ^2.13.2 (#2438) (4a177d7)
- deps: update dependency streamx to ^2.13.3 (#2562) (11f86db)
- deps: update dependency streamx to ^2.14.0 (#2568) (29f412a)
- deps: update dependency streamx to ^2.14.3 (#2583) (d68ea94)
- deps: update dependency streamx to ^2.15.1 (#2593) (260fca8)
- deps: update dependency streamx to ^2.15.5 (#2695) (262e1e5)
- deps: update dependency streamx to ^2.15.6 (#2715) (3f4a80f)
- deps: update dependency streamx to ^2.15.7 (#2748) (13b135f)
- deps: update dependency streamx to ^2.16.1 (#2752) (33e87e2)
- deps: update dependency streamx to ^2.18.0 (#2798) (20e18b3)
- deps: update dependency streamx to v2.20.1 (#2855) (6618cee)
- deps: update dependency streamx to v2.20.2 (#2888) (4b00a0e)
- deps: update dependency throughput to ^1.0.1 (#2321) (d53d95e)
- deps: update dependency torrent-discovery to ^10.0.10 (#2569) (31796f8)
- deps: update dependency torrent-discovery to ^10.0.11 (9415322)
- deps: update dependency torrent-discovery to ^10.0.8 (714535b)
- deps: update dependency torrent-discovery to ^10.0.9 (#2545) (e28a7ba)
- deps: update dependency torrent-discovery to ^11.0.4 (9841d3d)
- deps: update dependency torrent-discovery to ^11.0.5 (4742c01)
- deps: update dependency torrent-discovery to ^9.4.12 (36e931a)
- deps: update dependency torrent-discovery to ^9.4.13 (1e3373a)
- deps: update dependency torrent-discovery to ^9.4.14 (8fadd4f)
- deps: update dependency torrent-discovery to ^9.4.4 (#2164) (fb59617)
- deps: update dependency torrent-discovery to ^9.4.8 (#2272) (aa2fa59)
- deps: update dependency torrent-discovery to ^9.4.9 (5a08647)
- deps: update dependency torrent-discovery to v11 (#2702) (62ff1bf)
- deps: update dependency torrent-piece to v3 (#2623) (7fb7afa)
- deps: update dependency uint8-util to ^2.1.7 (#2473) (9a6edff)
- deps: update dependency uint8-util to ^2.1.9 (#2480) (d9efb5d)
- deps: update dependency uint8-util to ^2.2.2 (#2633) (8478be4)
- deps: update dependency uint8-util to ^2.2.4 (#2653) (26ab5d3)
- deps: update dependency uint8-util to ^2.2.5 (#2784) (3c3993f)
- deps: update dependency ut_metadata to ^4.0.3 (c62044a)
- deps: update webtorrent (c5eed32)
- deps: update webtorrent (9eb656f)
- deps: update webtorrent (6ff995f)
- deps: update webtorrent (0585322)
- deps: update webtorrent (1639c0e)
- deps: update webtorrent (d447f8c)
- deps: update webtorrent (4a60108)
- deps: update webtorrent (9ad7e9b)
- deps: update webtorrent (f9b34d6)
- deps: update webtorrent (7a7838c)
- deps: update webtorrent (18a8962)
- deps: update webtorrent (#2126) (87c69be)
- deps: update webtorrent (#2149) (d03203d)
- deps: update webtorrent (#2162) (a00688b)
- deps: update webtorrent (#2247) (6345ebe)
- deps: update webtorrent (#2424) (1b002db)
- deps: update webtorrent (#2474) (bfbf36b), closes #2476
- deps: update webtorrent (#2590) (01865c0)
- deps: update webtorrent (#2592) (0c62c36)
- deps: update webtorrent to ^11.0.6 (63061c6)
- DHT cleanup after torrent removal (#2185) (320541f), closes #1289
- documentation, unity (9ae5f17)
- dont encode url path (#2573) (13ad0fb)
- drop IDB chunk store (#2553) (18a4683)
- drop multi-stream (5d87d1b)
- drop randombytes (#2546) (06b6548)
- drop simple-concat (#2552) (1243a76)
- enable UTP by default if there's support (0df9eb6)
- ensure uTP peer address is IPv4 (#2125) (100a2ae)
- ESM browser tests (975c463)
- fix: fix: error loop (14fe83f)
- force streamx version (#2826) (1f96952)
- getAnnounceOpts (#2075) (633b922)
- getStreamURL docs (#2257) (69bdd93)
- github ci secrets (fc7ec9f)
- going for 1.8.1 (e39057f)
- handle done event when new files selected (#2183) (c543788)
- http rejections handling (#2525) (6232ea0)
- http-node git location (67ddac0)
- incorrect File.stream() object this reference (#2672) (8577a47)
- infinite error loop, connecting after destroy (79dbf69)
- install config (6ba44c4)
- log error when failing to load blocklist ip set (c0a07fb)
- make server index pages return links with absolute urls (#2455) (f2687e2), closes #2454
- make utp-native optional (#1966) (73c941c)
- malformed debug ID (#2733) (2453316)
- measure transfer rates without using timeouts (#2314) (522ee4c)
- modernize code (#2134) (46033ae)
- not setting initial wire interest (a07188f)
- null opts causing error (3a8f901)
- package: update bitfield to version 2.0.0 (84b2169)
- package: update bittorrent-dht to version 10.0.0 (449b609)
- package: update bittorrent-dht to version 8.0.0 (068c4b3)
- package: update bittorrent-dht to version 9.0.0 (3b843ed)
- package: update bittorrent-protocol to version 3.0.0 (9daaeb0)
- package: update chunk-store-stream to version 3.0.0 (0405b6d)
- package: update chunk-store-stream to version 4.0.0 (1b00afb)
- package: update create-torrent to version 4.0.0 (d96583b)
- package: update debug to version 4.0.1 (b37eb29), closes #1501
- package: update immediate-chunk-store to version 2.0.0 (00805c9)
- package: update load-ip-set to version 2.1.0 (d4bb7c3)
- package: update multistream to version 3.0.0 (86c5c0e)
- package: update parse-numeric-range to version 1.2.0 (00f4e96), closes #1828
- package: update parse-torrent to version 6.0.0 (eb7ccbe)
- package: update parse-torrent to version 7.0.0 (85cf179)
- package: update pump to version 3.0.0 (debec60)
- package: update readable-stream to version 3.0.2 (9396315), closes #1465
- package: update render-media to version 3.0.0 (dd3b6a4)
- package: update simple-get to version 3.0.1 (e8c7071), closes #1360
- package: update simple-peer to version 9.0.0 (b6faa59)
- package: update simple-sha1 to version 3.0.0 (2d26347)
- package: update stream-to-blob-url to version 3.0.0 (459267e)
- package: update torrent-discovery to version 9.0.2 (e6d7937), closes #1449
- package: update torrent-piece to version 2.0.0 (72133bf)
- parse host even if this.client.blocked is false, to allow line 868 to pass correctly and default to utp. (#2805) (beef270)
- perf: faster stream resolution (#2607) (e692270)
- Prep for esm (#2205) (ba6b799)
- remove dead code (2839c7a)
- remove deprecated functionality (#2118) (2bf6cf4)
- remove tap-spec where it's not necessary (5188eca)
- removePeer error after destroy (36a64a1)
- Replace setting blob 'mimeType' property with 'type' (#2502) (869bdcd)
- replace simple-peer with maintained one (#2540) (2994641)
- return duplicate torrent on Webtorrent.add() (#2372) (05d27bf)
- reversed tcp/webrtc timeouts (8b5f32d)
- Revert "fix: correctly destroy piped streams in server" (#2585) (e3c9269), closes #2565
- revert "fix: drop IDB chunk store (#2553)" (#2828) (348fba5)
- revert bittorent-protocol ver (28df830)
- revert streamx to 2.17 (#2819) (f4465d0)
- speed limit for zero (#2155) (88cca71)
- standard [whitespace] (a4bc0c3)
- standard linting (a64a719)
- store.put is async and might fail (#2006) (3b3f65a)
- support stream cancelling (#2335) (2e4f91f)
- typo in
removePeer(#2408) (83d5f72) - use @webtorrent/http-node (699d747)
- use streamx instead of stream (8b97ee8)
- utp (#2561) (e4b2e34)
- uTP error on setup (#2892) (283fd76)
- utp support bundlers and preprocessors (#2564) (8b13937)
- web seed request URLs (#2267) (5b4880a)
Continuous Integration
-
fix release node 18 (25eb995)
-
Merge pull request webtorrent#2260 from webtorrent/v2 (f8c545a), closes #2260
-
feat, perf: w3c-like File, file-iterator (webtorrent#2414) (69d85a8), closes #2414
-
Merge pull request webtorrent#762 from feross/fixes-for-desktop (c85dd3b), closes #762
-
Merge pull request webtorrent#667 from feross/webtorrent-cli (7365251), closes #667
Features
- 1.8.0 fixing (cac563b)
- add
opts.seedOutgoingConnectionsto allow controlling outbound connections for seeding. (#2803) (d40616f) - add BEP6 Fast Extension support (#2243) (4f02de3)
- add chitchatter link (#2388) (7ef22f7)
- Add PE/MSE support (#1820) (9938c94), closes #1384
- add reqq field support (#2246) (8de2a13)
- add service worker server as an alternative to renderMedia (#2098) (604943e)
- add speed limit to client (#2062) (39bb33c)
- Built-in-webrtc (#2786) (c693f9e)
- drop IDB (#2851) (dc26aa6)
- esm (98353d9)
- keep torrent stores alive when destroyed (9689cac)
- Refactor selections with non-overlapping data structure (#2757) (467f30c)
- rescan of torrent should get all (in)valid events (#1903) (4745739)
- support adding paused torrents. (#2004) (5c79c0a)
- sw-renderer tests (73aff7f)
- unify HTTP server and SW renderer (7aeea17)
- update dependency streamx to ^2.14.1 (#2580) (92df3a9)
- Use a cache on the chunk store (#2095) (d540058)
- use storage (FSA+IDB) instead of memory in browser (00e1c9f)
Performance Improvements
- don't call buffer.fill(0) in browser (41465a6)
- don't change shape of piece object (dd91181)
- drop browserify (c73d28e)
- drop buffer (#2596) (7679994)
- drop chunk store stream (cf4d593)
- drop rusha, drop Buffer (#2390) (9ac1dfa)
- drop simple-get (#2448) (b3c8376)
- drop streamx (#2462) (cde79ed)
- reduce the impact of request idle callback (#2542) (36a3e36)
- use mime-lite (c83734c)
- use path-esm as polyfill for path (#2587) (6e08b00)
- use peer/lite (#2591) (4e853f0)
Reverts
- version strategy gh actions (1cba675)
BREAKING CHANGES
-
v2
-
ESM only, drop node 12 and ndoe 14
-
deprecate getBuffer
-
fix: reading when destroyed
-
Many fixes; all leaks fixed
-
Move command line to new package: webtorrent-cli