From 23f4f44adf267962e96be9f9db2ba171bc12b26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=82=D1=8B=D0=BD=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 15 Apr 2024 12:02:13 +0300 Subject: [PATCH] [DOP-15023] Prepare for release --- docs/changelog/0.1.2.rst | 16 ++++++++++++++++ .../{NEXT_RELEASE.rst => NEXT_RELEASE .rst} | 0 docs/changelog/index.rst | 1 + docs/changelog/next_release/35.feature.1.rst | 1 - docs/changelog/next_release/35.feature.2.rst | 1 - docs/changelog/next_release/35.feature.3.rst | 1 - docs/changelog/next_release/35.improvement.1.rst | 1 - docs/changelog/next_release/35.improvement.2.rst | 1 - pyproject.toml | 1 + 9 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 docs/changelog/0.1.2.rst rename docs/changelog/{NEXT_RELEASE.rst => NEXT_RELEASE .rst} (100%) delete mode 100644 docs/changelog/next_release/35.feature.1.rst delete mode 100644 docs/changelog/next_release/35.feature.2.rst delete mode 100644 docs/changelog/next_release/35.feature.3.rst delete mode 100644 docs/changelog/next_release/35.improvement.1.rst delete mode 100644 docs/changelog/next_release/35.improvement.2.rst diff --git a/docs/changelog/0.1.2.rst b/docs/changelog/0.1.2.rst new file mode 100644 index 00000000..d551c010 --- /dev/null +++ b/docs/changelog/0.1.2.rst @@ -0,0 +1,16 @@ +0.1.2 (2024-04-15) +================== + +Features +-------- + +- Rename ``syncmaster.backend.main`` module to ``syncmaster.backend``. It now also accepts the same args as ``uvicorn``. (:issue:`35`) +- Add ``syncmaster.db.migrations`` module to run ``alembic`` with proper config. (:issue:`35`) +- Change backend and worker images to use entrypoint. (:issue:`35`) + + +Improvements +------------ + +- Run database migrations in the entrypoint of backend image, before starting the backend server. (:issue:`35`) +- Add healthchecks to example ``docker-compose.yml``. (:issue:`35`) diff --git a/docs/changelog/NEXT_RELEASE.rst b/docs/changelog/NEXT_RELEASE .rst similarity index 100% rename from docs/changelog/NEXT_RELEASE.rst rename to docs/changelog/NEXT_RELEASE .rst diff --git a/docs/changelog/index.rst b/docs/changelog/index.rst index 6bb6c593..d78d4b4b 100644 --- a/docs/changelog/index.rst +++ b/docs/changelog/index.rst @@ -3,4 +3,5 @@ :caption: Changelog DRAFT + 0.1.2 0.1.1 diff --git a/docs/changelog/next_release/35.feature.1.rst b/docs/changelog/next_release/35.feature.1.rst deleted file mode 100644 index 56d342e3..00000000 --- a/docs/changelog/next_release/35.feature.1.rst +++ /dev/null @@ -1 +0,0 @@ -Rename ``syncmaster.backend.main`` module to ``syncmaster.backend``. It now also accepts the same args as ``uvicorn``. diff --git a/docs/changelog/next_release/35.feature.2.rst b/docs/changelog/next_release/35.feature.2.rst deleted file mode 100644 index 887852b9..00000000 --- a/docs/changelog/next_release/35.feature.2.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``syncmaster.db.migrations`` module to run ``alembic`` with proper config. diff --git a/docs/changelog/next_release/35.feature.3.rst b/docs/changelog/next_release/35.feature.3.rst deleted file mode 100644 index 07472ea7..00000000 --- a/docs/changelog/next_release/35.feature.3.rst +++ /dev/null @@ -1 +0,0 @@ -Change backend and worker images to use entrypoint. diff --git a/docs/changelog/next_release/35.improvement.1.rst b/docs/changelog/next_release/35.improvement.1.rst deleted file mode 100644 index 770d7c5b..00000000 --- a/docs/changelog/next_release/35.improvement.1.rst +++ /dev/null @@ -1 +0,0 @@ -Run database migrations in the entrypoint of backend image, before starting the backend server. diff --git a/docs/changelog/next_release/35.improvement.2.rst b/docs/changelog/next_release/35.improvement.2.rst deleted file mode 100644 index f794a60b..00000000 --- a/docs/changelog/next_release/35.improvement.2.rst +++ /dev/null @@ -1 +0,0 @@ -Add healthchecks to example ``docker-compose.yml``. diff --git a/pyproject.toml b/pyproject.toml index a5d231b8..d838cf8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -198,6 +198,7 @@ exclude_lines = [ ] + [tool.poetry.group.docs.dependencies] autodoc-pydantic = {version = "^2.0.1", python = ">=3.8"} numpydoc = {version = "^1.6.0", python = ">=3.8"}