Skip to content

Releases: arokettu/torrent-file

1.4.2

07 Dec 05:29

Choose a tag to compare

  • Drop dependency on league/uri-components entirely
  • Allow Symfony 7
  • Allow PHP 7.1 again

5.1.0

10 Nov 08:32

Choose a tag to compare

  • Force multifile is now default for v1 torrent creation
  • Methods to "unhybridize" hybrid torrents (Note: infohash changes in this process)
    • TorrentFile::removeMetadata(MetaVersion)
    • TorrentFile::keepOnlyMetadata(MetaVersion)

5.0.3

21 Oct 22:01

Choose a tag to compare

  • Fix symlink handling in v2 torrents
  • Allow Symfony 7
  • nikic/iter dependency was bumped to 2.2 (the lowest with PHP 8.1 support)

2.5.2

21 Oct 22:00

Choose a tag to compare

  • Backported magnet link code from 5.x to fix problem with invalid magnet links
    with latest version of league/uri-components
    • Dependency on league/uri-components dropped entirely
  • Symfony 7 is allowed
    • This is the last purely dependency related update in the 2.x branch

5.0.2

14 Jul 17:54

Choose a tag to compare

  • No longer depends on league/uri-components

5.0.1

14 Jul 16:34

Choose a tag to compare

  • Creation timestamp is now tested by injecting psr/clock
  • Allow league/uri-components v7

2.5.1

14 Jul 16:33

Choose a tag to compare

  • Allow league/uri-components v7

5.0.0

01 Mar 00:36

Choose a tag to compare

  • File listings for both versions 1 and 2 via version objects: $torrent->v1() and $torrent->v2()
    • getInfoHash() and isDirectory() moved to version objects
  • hasMetadata() to check what metadata versions are present
  • MetaVersion::HybridV1V2 is no longer a separate case but an alias for an array
    [MetaVersion::V1, MetaVersion::V2]

4.1.0

23 Feb 20:57

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

3.3.0

23 Feb 20:57

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