From f29d9ff2055a954e6fac35bc99b969e397aefc9e Mon Sep 17 00:00:00 2001 From: Daniel Valenzuela Date: Thu, 17 Oct 2024 09:39:10 -0300 Subject: [PATCH 1/2] feat: make publish_from_drafts public This function is needed for publishing single components and is specifically required for https://github.com/openedx/frontend-app-authoring/issues/1353. --- openedx_learning/apps/authoring/publishing/api.py | 1 + 1 file changed, 1 insertion(+) 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", From 9aabb39618264bc808ab8acb749d59f513a13220 Mon Sep 17 00:00:00 2001 From: Daniel Valenzuela Date: Thu, 17 Oct 2024 13:56:58 -0300 Subject: [PATCH 2/2] chore: bump version --- openedx_learning/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx_learning/__init__.py b/openedx_learning/__init__.py index 07e30072..c99576f7 100644 --- a/openedx_learning/__init__.py +++ b/openedx_learning/__init__.py @@ -1,4 +1,4 @@ """ Open edX Learning ("Learning Core"). """ -__version__ = "0.15.0" +__version__ = "0.16.1"