Skip to content

v0.8.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@mgdigital mgdigital released this 21 Apr 21:46
· 34 commits to main since this release
5255926

The classifier has been re-implemented and now uses a DSL allowing for full customisation. Several bugs have also been fixed.

During the beta phase, the classifier documentation can be found at https://github.com/bitmagnet-io/bitmagnet/blob/main/bitmagnet.io/tutorials/classifier.md.

Beta 4 aims to reduce the migration time vs beta 3. Migration now takes just a few minutes for larger indexes. If you've already started an earlier migration, either kill it or wait for it. As it runs in a transaction there's no risk of data loss

Confession time

There has somehow been a bug present, since day 1, whereby seeders and leechers were being swapped by the DHT crawler! This is fixed in 0.8.x. The first beta included a migration that would fix existing data, but the query just takes too long (for larger indexes), and so it has been removed from the migration.

Until now, no-one noticed - but If you care and would like to fix this in your index, you can run the following query, replacing the time with the time at which you did the 0.8.x upgrade. Be warned, this query may take a while for larger indexes! In time, much of the data will naturally fix itself anyway as the S/L numbers get re-scraped by the crawler when the torrent is re-discovered.

update torrents_torrent_sources set seeders = leechers, leechers = seeders where source = 'dht' and  updated_at < '2024-04-22 00:00:00+00';

What's Changed

New Contributors

Full Changelog: v0.7.14...v0.8.0-beta.4