Skip to content

Releases: openfoodfacts/robotoff

v1.15.1

15 Dec 15:37
Compare
Choose a tag to compare

1.15.1 (2022-12-15)

Bug Fixes

  • add better request error handling during annotations (e60a719)
  • add better request error handling in process_created_logos (c9b6d9e)
  • don't notify on Slack when annotating logos (3503425)
  • Don't overwrite annotations in /images/logos/annotate (9d82321)
  • fix auth error on OFF due to Smoothie (368b07b)
  • fix IndexError when no nutriscore is detected (55d4829)
  • improve get_image_from_url exception handling (c5d0b3e)
  • improve HTTPError handling during insight annotation (cb9c47a)
  • make logging call uniform (390e144)
  • remove en:nutriscore detection alert (d201d90)
  • remove nutriscore Slack alerts (160c6ad)
  • retry 3 times when getting an image/static resource from OFF (901ed97)
  • switch to INFO level for most warning log messages in save_images (717471d)

Documentation

v1.15.0

13 Dec 13:07
Compare
Choose a tag to compare

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)

v1.14.0

07 Dec 09:18
Compare
Choose a tag to compare

1.14.0 (2022-12-06)

Features

  • add insights metric (9cc8bb6)
  • add misc metrics to InfluxDB (e8e0633)
  • add percent field to influx 'insights' measurement (8308027)
  • remove update_recycle task (9884ef4)

Bug Fixes

  • add lower value for MongoDB serverSelectionTimeoutMS (8d204c1)
  • add mongodb service in webnet network (7714d1b)
  • clean obsolete CLI commands (fba622d)
  • don't build robotoff image by default (ca8f486)
  • fix default value for MONGO_URI in .env (4229c94)
  • fix mongoDB healthcheck (c91761a)
  • fix parameter typing in one API route (ca19c7c)
  • revert deletion of CLI run command (5d0bbeb)
  • update barcode range check during insight import (090c746)

Documentation

  • add documentation about predictions and insights (3c43229)
  • fix error in dev-install.md (1ef8d33)
  • fix typo (aca7a39)
  • update make dev installation message (705c580)

v1.13.0

28 Nov 13:47
Compare
Choose a tag to compare

1.13.0 (2022-11-25)

Features

  • disable extraction of packaging predictions (0b68fd2)

Bug Fixes

  • fix mypy and flake8 issues (80fef79)

v1.12.0

24 Nov 10:41
Compare
Choose a tag to compare

1.12.0 (2022-11-24)

Features

Bug Fixes

  • add proper authentication in metrics.py for .net env (5e1ccb9)
  • disable grafana annotation until grafana is up and running again (3415c48)
  • fix ISO_3166-1 alpha-2 codes used in metrics.py (2224915)
  • really catch JSONDecodeError exceptions in metrics.py (5c65ee9)
  • use same version for requests and types-requests (b13160e)

v1.11.0

16 Nov 09:25
Compare
Choose a tag to compare

1.11.0 (2022-11-15)

Features

  • allow to filter insights/question by predictor value (6f840d6)
  • consider annotation=-1 as a vote (#908) (18e9552)
  • remove dependabot (b8df1aa)
  • set value_tag to canonical label value during prediction import (80cf93c)
  • switch all object detection models to Triton (#622) (3c786c4)

Bug Fixes

  • add a small fix on dump_ocr.py (450d53f)
  • add triton HTTP port in env file (11395c6)
  • always serialize insights the same way (4a00f48)
  • fix codecov configuration (56ee4b0)
  • fix min_confidence parameter in /logos/search route (b00ad84)
  • fix refresh_all_insights function (43d6078)
  • fix triton model dir volume binding (d8ccffa)
  • make API parameters uniform (80ad784)
  • make voting mechanism work again (4f9d499)
  • remove automatic parameter in InsightImporter (1c11652)
  • update brand taxonomy blacklist (4ea5b0c)

Reverts

  • revert codecov config change (850aea1)

v1.10.0

25 Oct 07:56
Compare
Choose a tag to compare

1.10.0 (2022-10-25)

Features

  • add data->bounding_box field in logo derived insights (1e18b2e)
  • add build command to Makefile (5c3961d)
  • add CLI command export-logos-ann (add6141)
  • allow to launch a single service with make (92b01d9)
  • improve generate_prediction function (52247f9)
  • improve apply-insight CLI command (93524c6)
  • improve JSON OCR generation script (603e355)
  • improve taxonomized value matching (52c99be)
  • update category matching algorithm (#952) (d8a04c7)
  • update OCR scripts (111ada9)

Bug Fixes

  • add fixes to category matcher (b8c1912)
  • don't return auto processable insights in /questions/{barcode} (03376b8)
  • filter logos that are almost exactly the same (33cfc88)
  • fix /logos/search route (e932407)
  • fix get_tag function (cca5592)
  • fix insight import mecanism (#963) (04412df)
  • rename image_url field into ref_image_url (3539d84)
  • rename ocr_dump.py script into dump_ocr.py (bcce867)
  • require insight_id to be an UUID in /insights/annotate (abb9574)
  • simplify filter_logo function (9eb8fdd)
  • update .gitignore and .dockerignore (2eb985a)
  • update tags of some labels detected with flashtext (f2bd704)
  • use canonical value fr:label-rouge everywhere (05197cc)
  • use f-string everywhere in robotoff/cli/insights.py (bbd81fa)

v1.9.0

17 Oct 10:51
c94b1f4
Compare
Choose a tag to compare

1.9.0 (2022-10-17)

Features

  • improve request validation during logo annotation (7a1e6d5)
  • Request image directly from MongoDB instead of Product Opener (#921) (83f0f09)
  • support providing taxonomized value as input during logo annotation (53a9bdf)
  • use gzipped version of fallback taxonomy files (73e23ce)

Bug Fixes

  • allow to fetch both annotated/not annotated logos in /images/logos/search (f9e5e96)
  • create new /images/logos/search endpoint from /images/logos (20034d8)
  • ignore protobuf-generated files during mypy analysis (e3d84ae)
  • remove .gz files from .gitignore (0af8a34)
  • set higher expiration interval for taxonomy (c15e077)

v1.8.0

12 Oct 09:35
Compare
Choose a tag to compare

1.8.0 (2022-10-12)

Features

  • Add agribalyse-category campaign to agribalyse category insights (69d0023)
  • add a threshold parameter to /predict/category endpoint (0f68e93)
  • add campaign filter in question endpoints (91ed2d2)
  • add ProductInsight.campaign field (4a54484)
  • Improve /predict/category endpoint (0438f4e)

Bug Fixes

  • add fixes to /questions/unanswered endpoint (6ed2d42)
  • adding a benchmark done with cosine-distance to the research doc (#945) (f189031)
  • adding documentation about the insights/annotate.py file (#944) (18e5c66)
  • don't display question about insights that are automatically applicable (5ac392e)
  • don't return in /questions/unanswered reserved barcode by default (78af005)
  • remove some moderation cloud vision labels (1daa889)

v1.7.0

04 Oct 08:39
94a1057
Compare
Choose a tag to compare

1.7.0 (2022-10-04)

Features

  • add to repository latest versions of OCR scripts (#920) (be44e81)
  • added country parameter to the API and started with test cases (12b2359)
  • added server_domain to the API (#899) (761aa51)
  • Adding MongoDB container to Robotoff in dev (#693) (946ce1d)
  • expose postgres DB locally (2668f2a)
  • Extract USDA packager codes with REGEX and flashtext (aa2b8ec)
  • Extract USDA packager codes with REGEX and flashtext (e92163f)
  • Robotoff quality monitoring: Saving AnnotationResult (#796) (755d296)

Bug Fixes

  • adapting REGEX to codes like M123 + V123 (470b4d2)
  • Adding documentation and reviewing syntaxes (e296f17)
  • changing legacy file not to get an error in the typing check mypy (6f1f113)
  • changing legacy file not to get an error in the typing check mypy (8b5bcae)
  • Changing names from category_from_AOC to category (c490669)
  • docstring and file name (3114aea)
  • dumping an unused import (5c92e59)
  • fix flake8 errors on scrits/ocr/extract_ocr_text.py (aef38df)
  • fixed the test case (1b6fb0d)
  • Incompatible return value (1b4453b)
  • Incompatible return value type (2dc7831)
  • incorrect brand taxonomy fallback path + fix tests (13baec4)
  • move docker mongodb service to a distinct file in dev mode (#916) (c283499)
  • only save annotation_result in ProductInsight when needed (#938) (c14b07f)
  • Outdated commentaries (2bdc26f)
  • remove trailing slash in all URLs (#915) (5e89e95)
  • replace with fr prefix references to en:ab-agriculture-biologique (#919) (ec1500c)
  • solving mypy check issue (3a5f9ab)
  • store category neural model in ProductInsight.predictor field (#914) (c1c8d8d)
  • temporarily disable USDA packager code extraction (#933) (91f65c1)
  • typing.dict unused (90112b7)
  • unused import (cdab35f)
  • Unused import (43930b1)
  • Unused variables in a loop (d4a37f1)
  • Unused variables in a loop (a30b964)