Releases: arokettu/torrent-file
Releases · arokettu/torrent-file
2.5.0
- Adds forceMultifile option for v1 creation
- Fixes probable v1/v2 compatibility issue in case name was edited by always creating v1 data in forceMultifile mode
- Hybrid torrents will be generated with different infohashes for same paths
- Fixes deprecation warning in PHP 8.1+
1.4.1
4.0.1
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)) === filecompatibility
- 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
NodeandFileDataProgressEventwere 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.phpso the changes can be indexed by the IDEs
- Aliased all classes in
- Old package
sandfoxme/torrent-fileis now provided by the new package - Deprecated getters on
NodeandFileDataProgressEvent