From ddf6c9a6b9006d8334ac85136b70a17a2ddb0d27 Mon Sep 17 00:00:00 2001
From: Felix Dittrich
Date: Mon, 4 Mar 2024 16:36:19 +0100
Subject: [PATCH] [misc] apply 0.8.1 post release modifications (#1498)
---
.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 473bfed23..24f13b460 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.8.1a0') %}
+{% set version = environ.get('BUILD_VERSION', '0.9.0a0') %}
package:
name: {{ project.get('name') }}
diff --git a/README.md b/README.md
index 057109c65..353e18a6e 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
-[](https://slack.mindee.com) [](LICENSE)  [](https://github.com/mindee/doctr/pkgs/container/doctr) [](https://codecov.io/gh/mindee/doctr) [](https://www.codefactor.io/repository/github/mindee/doctr) [](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [](https://mindee.github.io/doctr) [](https://pypi.org/project/python-doctr/) [](https://huggingface.co/spaces/mindee/doctr) [](https://colab.research.google.com/github/mindee/notebooks/blob/main/doctr/quicktour.ipynb)
+[](https://slack.mindee.com) [](LICENSE)  [](https://github.com/mindee/doctr/pkgs/container/doctr) [](https://codecov.io/gh/mindee/doctr) [](https://www.codefactor.io/repository/github/mindee/doctr) [](https://app.codacy.com/gh/mindee/doctr?utm_source=github.com&utm_medium=referral&utm_content=mindee/doctr&utm_campaign=Badge_Grade) [](https://mindee.github.io/doctr) [](https://pypi.org/project/python-doctr/) [](https://huggingface.co/spaces/mindee/doctr) [](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 a3c4134d0..a101c4a43 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.8.1a0"
+version = "0.9.0a0"
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 7dc99601d..62c40ebbb 100644
--- a/docs/build.sh
+++ b/docs/build.sh
@@ -52,5 +52,6 @@ deploy_doc "b9d8feb" v0.5.0
deploy_doc "9d03085" v0.5.1
deploy_doc "dcbb21f" v0.6.0
deploy_doc "75bddfc" v0.7.0
-deploy_doc "67d1087" # v0.8.0 Latest stable release
+deploy_doc "67d1087" v0.8.0
+deploy_doc "62d94ff" # v0.8.1 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 2b0522c51..50a0653c5 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.8.0"
+const stableVersion = "v0.8.1"
// Dictionary doc folder to label. The last stable version should have an empty key.
const versionMapping = {
"latest": "latest",
- "": "v0.8.0 (stable)",
+ "": "v0.8.1 (stable)",
+ "v0.8.0": "v0.8.0",
"v0.7.0": "v0.7.0",
"v0.6.0": "v0.6.0",
"v0.5.1": "v0.5.1",
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index 88cd7256c..5a5ffc3f7 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -1,6 +1,10 @@
Changelog
=========
+v0.8.1 (2024-03-04)
+-------------------
+Release note: `v0.8.1 `_
+
v0.8.0 (2024-02-28)
-------------------
Release note: `v0.8.0 `_
diff --git a/setup.py b/setup.py
index 9e2bf1796..2347b4ddd 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.8.1a0")
+VERSION = os.getenv("BUILD_VERSION", "0.9.0a0")
if __name__ == "__main__":