Skip to content

v1.15.0

Compare
Choose a tag to compare
@openfoodfacts-bot openfoodfacts-bot released this 13 Dec 13:07

1.15.0 (2022-12-13)

Features

  • add a lock during product update jobs (a94632e)
  • add more logs during resource loading (7aedd8d)
  • add new CLI commands to launch background tasks (6c3184e)
  • add redis lock to avoid concurrent insight import for the same product (f596c97)
  • add two kind of workers: worker_high and worker_low (f5eddf0)
  • create more atomic tasks during image import (69497f1)
  • don't process logos when running batch logo detector model (24ed944)
  • enable python -m robotoff to call CLI (7286053)
  • improve CLI import commands (f5491d1)
  • improve generate-ocr-predictions CLI command (15ef7c3)
  • improve import-insights CLI command (7766feb)
  • make object detection jobs idempotent (a8f002e)
  • only accept predictions from one product during insight import (58cf2d4)
  • refresh cache when performing worker maintenance tasks (240490b)
  • remove orphan containers when doing make up (6452db7)
  • save brand prefix as gzipped file (c7c8322)
  • simplify image import process (ec272a3)
  • update brand_from_taxonomy.gz (1f5cee8)
  • update prediction duplicate detection mecanism (ef658ca)
  • use batches in refresh_insights job (66fea3b)
  • use built-in types instead of typing.* (289dc17)
  • use queues for refresh_insight job on all DB (71e5319)
  • use robotoff.types.PredictionType enum in Robotoff CLI (032213f)
  • use rq to send tasks to workers (7163610)

Bug Fixes

  • add default TF_SERVING_HOST in .env file (21c0760)
  • add default timeout during TF serving request (9aaceea)
  • add predictor=regex for store predictions (ecac885)
  • add with_db decorator to generate_fiber_quality_facet (c62f14c)
  • disable deepsource autofix (ace1df3)
  • disable INFO log message from selected dependencies (b5eeeab)
  • don't refresh ES indexes during scheduler startup (fa72748)
  • fix DB connection in workers (2333b41)
  • fix flake8 and isort errors (7ed93fc)
  • fix integration tests after adding autoconnect=False (0382e35)
  • fix integration tests after switch to manual DB connection management (2f3e8f4)
  • fix wrong import (15894e5)
  • improve DB transaction management during image import (a2e390a)
  • move PredictionType to robotoff/types.py (7f374e6)
  • move types required by CLI in robotoff/types.py (d66d7e0)
  • no need to use db.atomic() when db context manager is used (f24a600)
  • open DB connection when needed in scheduler (3e1ec39)
  • remove CLI documentation generation (4258748)
  • remove legacy script comments (2d96e7a)
  • remove legacy test file (21c39c5)
  • revert container-deploy-ml.yml update (667d19d)
  • switch from redis-stack to classic redis (123fcbf)
  • Update Makefile (0c90461)
  • update poetry lock file (1cfd0c2)
  • updating log level of a log message (ac2a479)
  • use autoconnect=False during DB connection (683ba6a)
  • use db.connection_context in with_db decorator (bac669c)
  • use enqueue_job function everywhere (0dc53c7)
  • validate params in GET /images/logos route (b265686)

Documentation

  • add docstrings (4771657)
  • improve documentation (7e43b4d)
  • update documentation in maintenance.md (64d495d)