Classifier reimplementation
The classifier has been re-implemented and now uses a DSL allowing for full customisation. Several bugs have also been fixed, and a preparatory database migration for search ordering has been added.
The classifier documentation can be found at https://bitmagnet.io/tutorials/classifier.html.
Build reimplementation
The build has been re-implemented using https://github.com/goreleaser/goreleaser, thanks to @KyleSanderson. A number of new platform-specific build artifacts are now available.
Seeders/Leechers bug
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-30 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
- Keep a default placeholder value for published_at to avoid a breaking change by @mgdigital in #243
- Add an order by updated_at column, as there may be many records with the same published_at by @mgdigital in #244
- Add orphans option to reprocess command by @mgdigital in #245
- Use budgeted count for reprocess by @mgdigital in #246
- Bump golang.org/x/net from 0.20.0 to 0.23.0 by @dependabot in #239
- Bump express from 4.18.2 to 4.19.2 in /webui by @dependabot in #236
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /webui by @dependabot in #231
- Bump follow-redirects from 1.15.5 to 1.15.6 in /webui by @dependabot in #221
- Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 by @dependabot in #218
- Add Nix shell and refactor actions by @mgdigital in #249
- Use goreleaser for build process (#212) by @mgdigital in #216
- Upgrade dependencies by @mgdigital in #250
- Don't run GHCR action on main by @mgdigital in #251
- Fix docsite plugin by @mgdigital in #252
New Contributors
- @josteink made their first contribution in #235
- @KyleSanderson made their first contribution in #212
Full Changelog: v0.7.14...v0.8.0