Compare commits

...

3 Commits

Author SHA1 Message Date
shamoon fc03e2d6ee Fix: pass allow parallel tool calls in LLM client 2026-05-05 13:13:07 -07:00
Trenton H e2ad14f9ca Fix: workflow password removal didn't handle lists from the DB (#12716) 2026-05-05 12:52:34 -07:00
Trenton H 76b2b6ad36 Bumps all our versions to 3.0.0 (#12715) 2026-05-05 12:40:24 -07:00
8 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Changelog
## paperless-ngx 2.20.15
## paperless-ngx 3.0.0
### Security
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "paperless-ngx"
version = "2.20.15"
version = "3.0.0"
description = "A community-supported supercharged document management system: scan, index and archive all your physical documents"
readme = "README.md"
requires-python = ">=3.11"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "paperless-ngx-ui",
"version": "2.20.15",
"version": "3.0.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"ng": "ng",
+1 -1
View File
@@ -6,7 +6,7 @@ export const environment = {
apiVersion: '10', // match src/paperless/settings.py
appTitle: 'Paperless-ngx',
tag: 'prod',
version: '2.20.15',
version: '3.0.0',
webSocketHost: window.location.host,
webSocketProtocol: window.location.protocol == 'https:' ? 'wss:' : 'ws:',
webSocketBaseUrl: base_url.pathname + 'ws/',
+3 -3
View File
@@ -4164,7 +4164,7 @@ class TestWorkflows(
)
action = WorkflowAction.objects.create(
type=WorkflowAction.WorkflowActionType.PASSWORD_REMOVAL,
passwords="wrong, right\n extra ",
passwords=["wrong", "right", "extra"],
)
workflow = Workflow.objects.create(name="Password workflow")
workflow.triggers.add(trigger)
@@ -4218,7 +4218,7 @@ class TestWorkflows(
)
action = WorkflowAction.objects.create(
type=WorkflowAction.WorkflowActionType.PASSWORD_REMOVAL,
passwords=" \n , ",
passwords=[" ", " "],
)
workflow = Workflow.objects.create(name="Password workflow missing passwords")
workflow.triggers.add(trigger)
@@ -4276,7 +4276,7 @@ class TestWorkflows(
"""
action = WorkflowAction.objects.create(
type=WorkflowAction.WorkflowActionType.PASSWORD_REMOVAL,
passwords="first, second",
passwords=["first", "second"],
)
temp_dir = Path(tempfile.mkdtemp())
+1 -6
View File
@@ -1,5 +1,4 @@
import logging
import re
import uuid
from pathlib import Path
@@ -290,11 +289,7 @@ def execute_password_removal_action(
)
return
passwords = [
password.strip()
for password in re.split(r"[,\n]", passwords)
if password.strip()
]
passwords = [p.strip() for p in passwords if p.strip()]
if isinstance(document, ConsumableDocument):
# hook the consumption-finished signal to attempt password removal later
+1
View File
@@ -73,6 +73,7 @@ class AIClient:
tools=[tool],
user_msg=user_msg,
chat_history=[],
allow_parallel_tool_calls=True,
)
tool_calls = self.llm.get_tool_calls_from_response(
result,
Generated
+1 -1
View File
@@ -2868,7 +2868,7 @@ wheels = [
[[package]]
name = "paperless-ngx"
version = "2.20.15"
version = "3.0.0"
source = { virtual = "." }
dependencies = [
{ name = "azure-ai-documentintelligence", marker = "sys_platform == 'darwin' or sys_platform == 'linux'" },