From 633191d41b1967bc254fd80a52240b6557efb06e Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Wed, 20 Nov 2024 16:54:03 +0530 Subject: [PATCH] 4.0.0-beta5 (#106) ## 4.0.0-beta5 - 2024-11-20 ### Fixed - selective context args (#105) @kyteinsky - print the original traceback of the exception (#105) @kyteinsky Signed-off-by: Anupam Kumar --- Makefile | 4 ++-- README.md | 4 ++-- appinfo/info.xml | 4 ++-- changelog.md | 8 ++++++++ example.env | 2 +- pyproject.toml | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index d88b4b0..605c309 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ help: #.PHONY: build-push #build-push: # docker login ghcr.io -# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.0-beta4 --tag ghcr.io/nextcloud/context_chat_backend:latest . +# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.0-beta5 --tag ghcr.io/nextcloud/context_chat_backend:latest . .PHONY: run run: @@ -32,5 +32,5 @@ run: register: docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister context_chat_backend --silent || true docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register context_chat_backend manual_install --json-info \ - "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta4\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \ + "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta5\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \ --force-scopes --wait-finish diff --git a/README.md b/README.md index 0a6dbf5..31a912f 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ If nextcloud is inside a container, `--add-host` option would be required by you **2. Register the app using the deploy daemon (be mindful of the port number and the app's version):** ``` occ app_api:app:register context_chat_backend manual_install --json-info \ -"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta4\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \ +"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0-beta5\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \ --force-scopes --wait-finish ``` The command to unregister is given below (force is used to also remove apps whose container has been removed) @@ -220,7 +220,7 @@ sudo -u www-data php occ app_api:app:register \ --json-info "{\"appid\":\"context_chat_backend\",\ \"name\":\"Context Chat Backend\",\ \"daemon_config_name\":\"manual_install\",\ - \"version\":\"4.0.0-beta4\",\ + \"version\":\"4.0.0-beta5\",\ \"secret\":\"12345\",\ \"port\":10034,\ \"scopes\":[],\ diff --git a/appinfo/info.xml b/appinfo/info.xml index 073922a..f5d86fa 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -16,7 +16,7 @@ Install the given apps for Context Chat to work as desired **in the given order* Setup background job workers as described here: https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html#improve-ai-task-pickup-speed ]]> - 4.0.0-beta4 + 4.0.0-beta5 agpl Anupam Kumar Context Chat @@ -31,7 +31,7 @@ Setup background job workers as described here: https://docs.nextcloud.com/serve ghcr.io nextcloud/context_chat_backend - 4.0.0-beta4 + 4.0.0-beta5 diff --git a/changelog.md b/changelog.md index 943f58d..6ea4b28 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 4.0.0-beta5 - 2024-11-20 + +### Fixed + +- selective context args (#105) @kyteinsky +- print the original traceback of the exception (#106) @kyteinsky + + ## 4.0.0-beta4 - 2024-11-14 ### Fixed diff --git a/example.env b/example.env index 5a5a936..033e662 100644 --- a/example.env +++ b/example.env @@ -14,7 +14,7 @@ AA_VERSION=2.7.0 APP_SECRET=12345 APP_ID=context_chat_backend APP_DISPLAY_NAME=Context Chat Backend -APP_VERSION=4.0.0-beta4 +APP_VERSION=4.0.0-beta5 APP_HOST=0.0.0.0 APP_PORT=10034 APP_PERSISTENT_STORAGE=persistent_storage diff --git a/pyproject.toml b/pyproject.toml index f289c2e..3a7acd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "context_chat_backend" -version = "4.0.0-beta4" +version = "4.0.0-beta5" requires-python = ">=3.11" authors = [ { name = "Anupam Kumar", email = "kyteinsky@gmail.com" }