Releases: arokettu/torrent-file
Releases · arokettu/torrent-file
4.0.0
- New internal structure makes library more stable on malformed but valid-ish torrent files
- In general both Bencode and Torrent File libs aim at
save(load(file)) === file
compatibility
- In general both Bencode and Torrent File libs aim at
- Default constructor parameters on the data structures now accept variadic lists of elements instead of iterables
- Default constructors are not recommended because their signatures are not considered stable.
Named constructors should be used instead as explained in the documentation
- Default constructors are not recommended because their signatures are not considered stable.
- Getters on
Node
andFileDataProgressEvent
were removed getRawData()
now returns immutable ArrayAccess&Countable&Traversable objects instead of arrays- If you need a real array, use
getRawData()->toArray()
- If you need a real array, use
3.2.0
- The package was renamed to
arokettu/torrent-file
- The namespace was changed to
Arokettu\Torrent\
- Aliased all classes in
Arokettu\Torrent\*
toSandFox\Torrent\*
for backward compatibility - Added
aliases.php
so the changes can be indexed by the IDEs
- Aliased all classes in
- Old package
sandfoxme/torrent-file
is now provided by the new package - Deprecated getters on
Node
andFileDataProgressEvent
2.4.0
1.4.0
3.1.1
2.3.1
1.3.2
3.1.0
- Added
version
option- Creation of V2 torrents is now allowed (BEP-52)
- New and changed methods to get info hash:
getInfoHash()
will return V2 info hash if V2 metadata is present- New method
getInfoHashV1()
to get V1 hash explicitly - New method
getInfoHashV2()
to get V2 hash explicitly - New method
getInfoHashes()
to get all metadata hashes as array
- Fixed
detectExec
option not having any effect
2.3.0
- Added
version
option- Creation of V2 torrents is now allowed (BEP-52)
- New and changed methods to get info hash:
getInfoHash()
will return V2 info hash if V2 metadata is present- New method
getInfoHashV1()
to get V1 hash explicitly - New method
getInfoHashV2()
to get V2 hash explicitly - New method
getInfoHashes()
to get all metadata hashes as array
- Fixed
detectExec
option not having any effect