v0.8.0-beta.4
Pre-releaseThe 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
- Create FUNDING.yml by @mgdigital in #219
- Fix angular cli version by @mgdigital in #220
- Torrent search: Fix for Safari on iOS. by @josteink in #235
- Classifier rewrite by @mgdigital in #213
- Fix slow migration of published_at field by @mgdigital in #240
- Fix slow migration by @mgdigital in #241
- Fix slow migration by @mgdigital in #242
New Contributors
Full Changelog: v0.7.14...v0.8.0-beta.4