From c9508d7461e8409246e6dfc12e04909c0da4fbb4 Mon Sep 17 00:00:00 2001 From: Open Food Facts Bot <119524357+openfoodfacts-bot@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:19:09 +0100 Subject: [PATCH] chore(develop): release 2.0.0 (#283) --- .release-please-manifest.json | 2 +- CHANGELOG.md | 22 ++++++++++++++++++++++ openfoodfacts/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 781c171..18791be 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.5" + ".": "2.0.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f2074..4e8d4dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [2.0.0](https://github.com/openfoodfacts/openfoodfacts-python/compare/v1.1.5...v2.0.0) (2024-11-05) + + +### ⚠ BREAKING CHANGES + +* fix should_download_file function ([#284](https://github.com/openfoodfacts/openfoodfacts-python/issues/284)) + +### Features + +* add support for downloading obsolete product dump in ProductDataset ([1c26936](https://github.com/openfoodfacts/openfoodfacts-python/commit/1c2693681223968ef222d2bf1de60da6cb6c1468)) + + +### Bug Fixes + +* correct path separator issue in extract_source_from_url function for Windows compatibility ([#280](https://github.com/openfoodfacts/openfoodfacts-python/issues/280)) ([385fbdb](https://github.com/openfoodfacts/openfoodfacts-python/commit/385fbdb9c2e27751c6494edead38b153103ce507)) +* fix should_download_file function ([#284](https://github.com/openfoodfacts/openfoodfacts-python/issues/284)) ([eb77a8c](https://github.com/openfoodfacts/openfoodfacts-python/commit/eb77a8ca5b873b28f51442987f8eb8c6f02b1f41)) + + +### Documentation + +* add missing changelog for [#223](https://github.com/openfoodfacts/openfoodfacts-python/issues/223) ([#282](https://github.com/openfoodfacts/openfoodfacts-python/issues/282)) ([b1134cc](https://github.com/openfoodfacts/openfoodfacts-python/commit/b1134cc1799029b794bb92687b126b7420bbb5cf)) + ## [1.1.5](https://github.com/openfoodfacts/openfoodfacts-python/compare/v1.1.4...v1.1.5) (2024-10-14) diff --git a/openfoodfacts/__init__.py b/openfoodfacts/__init__.py index d4b4e30..f714714 100644 --- a/openfoodfacts/__init__.py +++ b/openfoodfacts/__init__.py @@ -30,4 +30,4 @@ "normalize_barcode", ] -__version__ = "1.1.5" +__version__ = "2.0.0" diff --git a/pyproject.toml b/pyproject.toml index 7625d32..23a4fd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openfoodfacts" -version = "1.1.5" +version = "2.0.0" description = "Official Python SDK of Open Food Facts" authors = ["The Open Food Facts team"] license = "Apache 2.0"