Skip to content

Releases: arokettu/torrent-file

2.5.0

23 Feb 20:56

Choose a tag to compare

  • 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

23 Feb 20:56

Choose a tag to compare

  • Drops PHP 7.1
  • Drops dependency on arokettu/query-string-proxy

4.0.1

30 Dec 03:23

Choose a tag to compare

  • The library no longer provides sandfoxme/torrent-file

4.0.0

30 Dec 02:20

Choose a tag to compare

  • 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
  • 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
  • Getters on Node and FileDataProgressEvent were removed
  • getRawData() now returns immutable ArrayAccess&Countable&Traversable objects instead of arrays
    • If you need a real array, use getRawData()->toArray()

3.2.0

30 Dec 02:20

Choose a tag to compare

  • The package was renamed to arokettu/torrent-file
  • The namespace was changed to Arokettu\Torrent\
    • Aliased all classes in Arokettu\Torrent\* to SandFox\Torrent\* for backward compatibility
    • Added aliases.php so the changes can be indexed by the IDEs
  • Old package sandfoxme/torrent-file is now provided by the new package
  • Deprecated getters on Node and FileDataProgressEvent

2.4.0

30 Dec 02:19

Choose a tag to compare

  • Alias all classes in SandFox\Torrent\* to Arokettu\Torrent\* in preparation for 4.0
  • Old package sandfoxme/torrent-file is now provided by the new package

1.4.0

30 Dec 02:19

Choose a tag to compare

  • Alias all classes in SandFox\Torrent\* to Arokettu\Torrent\* in preparation for 4.0
  • Old package sandfoxme/torrent-file is now provided by the new package

3.1.1

14 Dec 00:22

Choose a tag to compare

  • sandfoxme/bencode -> arokettu/bencode

2.3.1

14 Dec 18:53

Choose a tag to compare

  • sandfoxme/bencode -> arokettu/bencode

1.3.2

14 Dec 18:53

Choose a tag to compare

  • sandfoxme/bencode -> arokettu/bencode