From 67422a616578155610f7f57803629e33b9dbde6e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 21 Apr 2016 17:52:38 -0700 Subject: changelog --- CHANGELOG.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index a0d574d..77d923b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # WebTorrent Version History -## UNRELEASED +## v0.91.0 - 2016-04-21 ### Added @@ -15,6 +15,8 @@ - Merged `Swarm` class into `Torrent` object. Properties on `torrent.swarm` (like `torrent.swarm.wires`) now exist on `torrent` (e.g. `torrent.wires`). +- Deprecate: Do not use `torrent.swarm` anymore. Use `torrent` instead. + - `torrent.addPeer` can no longer be called before the `infoHash` event has been emitted. @@ -26,8 +28,6 @@ - Deprecate: Do not use `client.download()` anymore. Use `client.add()` instead. -- Deprecate: Do not use `torrent.swarm` anymore. Use `torrent` instead. - - Only pass `torrent.infoHash` to the Chunk Store constructor, instead of the `Torrent` instance itself, to prevent accidental memory leaks of the `Torrent` object by the store. (Open an issue if you were using other properties. They can be re-added.) @@ -43,6 +43,9 @@ only has a listener on the client, but it makes it impossible for them to determine a client error versus a torrent error. +- Removed `torrent.numBlockedPeers` property. Use the `blockedPeer` event to track this + yourself. + ### Fixed - If `client.get` is passed a `Torrent` instance, it now only returns it if it is present -- cgit v1.2.3