Releases: robothaver/JavaTorrentFileParser
Releases · robothaver/JavaTorrentFileParser
Release list
v1.2 release
Breaking
- The parser now reads Strings as raw bytes to prevent the corruption of binary data within torrent files
- Changed
TorrentFileParsermethod parameters: calculating the info hash now requires explicitly providing anInfoHashCalculatorinstance
New
- Implemented Bencode types and
TorrentEncoderthat can encodeTorrentMetadataobjects andMap<String, Object>
Fixed
- Fixed an issue where the info hash was not being calculated when parsing to a map (it now gets added to the root of the map)
- Made info hash calculation thread-safe with the new
InfoHashCalculator - Fixed a bug where inner fields from
azureus_propertieswere added to theotherValuesmap
v1.1.7 release
Breaking changes:
- Renamed Torrent to TorrentMetadata.
- Extracted TorrentFileParser into an interface and implementation.
Other changes:
- Made TorrentFileParserImpl thread-safe and reusable.
- Added an otherValues field to TorrentMetadata to store all untracked fields from the .torrent file.
- Cleaned up unchecked cast warnings.
- Fixed a potential error when parsing file paths
v1.1.6 release
- Fixed string conversion in parser
v1.1.5 release
- Made messageDigest static
- Fixed parser not resetting iterator after parsing to map
- Refactored project structure