From 8b47810c3032a44c022c48c37dfb52e8157c2a48 Mon Sep 17 00:00:00 2001 From: felix Date: Mon, 21 Oct 2024 11:57:25 +0200 Subject: [PATCH] [misc] post release modifications v0.10.0 --- .conda/meta.yaml | 2 +- README.md | 2 +- api/pyproject.toml | 2 +- docs/build.sh | 3 ++- docs/source/_static/js/custom.js | 5 +++-- docs/source/changelog.rst | 4 ++++ setup.py | 2 +- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.conda/meta.yaml b/.conda/meta.yaml index f377481f16..3755e7f4eb 100644 --- a/.conda/meta.yaml +++ b/.conda/meta.yaml @@ -1,7 +1,7 @@ {% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %} {% set project = pyproject.get('project') %} {% set urls = pyproject.get('project', {}).get('urls') %} -{% set version = environ.get('BUILD_VERSION', '0.10.0a0') %} +{% set version = environ.get('BUILD_VERSION', '0.10.1a0') %} package: name: {{ project.get('name') }} diff --git a/README.md b/README.md index d57228fda6..3df822058c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

-[![Slack Icon](https://img.shields.io/badge/Slack-Community-4A154B?style=flat-square&logo=slack&logoColor=white)](https://slack.mindee.com) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) ![Build Status](https://github.com/mindee/doctr/workflows/builds/badge.svg) [![Docker Images](https://img.shields.io/badge/Docker-4287f5?style=flat&logo=docker&logoColor=white)](https://github.com/mindee/doctr/pkgs/container/doctr) [![codecov](https://codecov.io/gh/mindee/doctr/branch/main/graph/badge.svg?token=577MO567NM)](https://codecov.io/gh/mindee/doctr) [![CodeFactor](https://www.codefactor.io/repository/github/mindee/doctr/badge?s=bae07db86bb079ce9d6542315b8c6e70fa708a7e)](https://www.codefactor.io/repository/github/mindee/doctr) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/340a76749b634586a498e1c0ab998f08)](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [![Doc Status](https://github.com/mindee/doctr/workflows/doc-status/badge.svg)](https://mindee.github.io/doctr) [![Pypi](https://img.shields.io/badge/pypi-v0.9.0-blue.svg)](https://pypi.org/project/python-doctr/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/mindee/doctr) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindee/notebooks/blob/main/doctr/quicktour.ipynb) +[![Slack Icon](https://img.shields.io/badge/Slack-Community-4A154B?style=flat-square&logo=slack&logoColor=white)](https://slack.mindee.com) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) ![Build Status](https://github.com/mindee/doctr/workflows/builds/badge.svg) [![Docker Images](https://img.shields.io/badge/Docker-4287f5?style=flat&logo=docker&logoColor=white)](https://github.com/mindee/doctr/pkgs/container/doctr) [![codecov](https://codecov.io/gh/mindee/doctr/branch/main/graph/badge.svg?token=577MO567NM)](https://codecov.io/gh/mindee/doctr) [![CodeFactor](https://www.codefactor.io/repository/github/mindee/doctr/badge?s=bae07db86bb079ce9d6542315b8c6e70fa708a7e)](https://www.codefactor.io/repository/github/mindee/doctr) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/340a76749b634586a498e1c0ab998f08)](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [![Doc Status](https://github.com/mindee/doctr/workflows/doc-status/badge.svg)](https://mindee.github.io/doctr) [![Pypi](https://img.shields.io/badge/pypi-v0.10.0-blue.svg)](https://pypi.org/project/python-doctr/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/mindee/doctr) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mindee/notebooks/blob/main/doctr/quicktour.ipynb) **Optical Character Recognition made seamless & accessible to anyone, powered by TensorFlow 2 & PyTorch** diff --git a/api/pyproject.toml b/api/pyproject.toml index 459c09b2ff..9bafb67935 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "doctr-api" -version = "0.9.1a0" +version = "0.10.1a0" description = "Backend template for your OCR API with docTR" authors = ["Mindee "] license = "Apache-2.0" diff --git a/docs/build.sh b/docs/build.sh index 1366b59c36..e9ee912327 100644 --- a/docs/build.sh +++ b/docs/build.sh @@ -54,5 +54,6 @@ deploy_doc "dcbb21f" v0.6.0 deploy_doc "75bddfc" v0.7.0 deploy_doc "67d1087" v0.8.0 deploy_doc "62d94ff" v0.8.1 -deploy_doc "894eafd" # v0.9.0 Latest stable release +deploy_doc "894eafd" v0.9.0 +deploy_doc "d5dbc73" # v0.10.0 Latest stable release rm -rf _build _static _conf.py diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index 2b96d1a7f6..84142d5541 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -3,11 +3,12 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v0.9.0" +const stableVersion = "v0.10.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "latest": "latest", - "": "v0.9.0 (stable)", + "": "v0.10.0 (stable)", + "v0.9.0": "v0.9.0", "v0.8.1": "v0.8.1", "v0.8.0": "v0.8.0", "v0.7.0": "v0.7.0", diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 8ae242b712..35befe7b96 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,10 @@ Changelog ========= +v0.10.0 (2024-10-21) +------------------- +Release note: `v0.10.0 `_ + v0.9.0 (2024-08-08) ------------------- Release note: `v0.9.0 `_ diff --git a/setup.py b/setup.py index 13fd4515e3..b4da587ab3 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup PKG_NAME = "python-doctr" -VERSION = os.getenv("BUILD_VERSION", "0.10.0a0") +VERSION = os.getenv("BUILD_VERSION", "0.10.1a0") if __name__ == "__main__":