From deaeaa878ef6ae03e702386ed2ce5405d0ca1434 Mon Sep 17 00:00:00 2001 From: Daniel Valenzuela Date: Thu, 17 Oct 2024 14:12:54 -0300 Subject: [PATCH] feat: make publish_from_drafts public (#244) feat: make publish_from_drafts public (version to 0.16.1) This function is needed for publishing single components and is specifically required for https://github.com/openedx/frontend-app-authoring/issues/1353. --- openedx_learning/__init__.py | 3 ++- openedx_learning/apps/authoring/publishing/api.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openedx_learning/__init__.py b/openedx_learning/__init__.py index 3aa9b8ce..d15f8e48 100644 --- a/openedx_learning/__init__.py +++ b/openedx_learning/__init__.py @@ -1,4 +1,5 @@ """ Open edX Learning ("Learning Core"). """ -__version__ = "0.16.0" + +__version__ = "0.16.1" diff --git a/openedx_learning/apps/authoring/publishing/api.py b/openedx_learning/apps/authoring/publishing/api.py index 548130c8..7e2c6ba9 100644 --- a/openedx_learning/apps/authoring/publishing/api.py +++ b/openedx_learning/apps/authoring/publishing/api.py @@ -43,6 +43,7 @@ "get_entities_with_unpublished_changes", "get_entities_with_unpublished_deletes", "publish_all_drafts", + "publish_from_drafts", "get_draft_version", "get_published_version", "set_draft_version",