From ec8b26e2b8af3e5642be35d0a27175d5c87db88c Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Fri, 3 Apr 2026 14:02:12 +0530 Subject: [PATCH 1/2] Added the getTransactionIsolation() function and its description. --- .../GetTransactionIsolation/_arguments/datasource.md | 1 + .../01.functions/GetTransactionIsolation/_examples.md | 0 .../GetTransactionIsolation/_returnTypeDesc.md | 0 .../01.functions/GetTransactionIsolation/_usageNotes.md | 0 .../01.functions/GetTransactionIsolation/function.md | 8 ++++++++ 5 files changed, 9 insertions(+) create mode 100644 docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md create mode 100644 docs/03.reference/01.functions/GetTransactionIsolation/_examples.md create mode 100644 docs/03.reference/01.functions/GetTransactionIsolation/_returnTypeDesc.md create mode 100644 docs/03.reference/01.functions/GetTransactionIsolation/_usageNotes.md create mode 100644 docs/03.reference/01.functions/GetTransactionIsolation/function.md diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md b/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md new file mode 100644 index 000000000..752ed0593 --- /dev/null +++ b/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md @@ -0,0 +1 @@ +Datasource name. When provided and no explicit isolation is set on the transaction, returns the datasource's default isolation level. \ No newline at end of file diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_examples.md b/docs/03.reference/01.functions/GetTransactionIsolation/_examples.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_returnTypeDesc.md b/docs/03.reference/01.functions/GetTransactionIsolation/_returnTypeDesc.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_usageNotes.md b/docs/03.reference/01.functions/GetTransactionIsolation/_usageNotes.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/function.md b/docs/03.reference/01.functions/GetTransactionIsolation/function.md new file mode 100644 index 000000000..03c7aca29 --- /dev/null +++ b/docs/03.reference/01.functions/GetTransactionIsolation/function.md @@ -0,0 +1,8 @@ +--- +title: GetTransactionIsolation +id: function-GetTransactionIsolation +categories: +- debugging +--- + +Returns the isolation level of the current transaction as a string. If a datasource is provided and no explicit isolation is set, returns the datasource's default isolation level. \ No newline at end of file From 56459d916e3444c24f2de518a489375fd4577d33 Mon Sep 17 00:00:00 2001 From: CF Mitrah Date: Fri, 3 Apr 2026 15:09:16 +0530 Subject: [PATCH 2/2] Fixed lint issue. --- docs/recipes/ai.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/recipes/ai.md b/docs/recipes/ai.md index 2f8243a7e..5c8dfa020 100644 --- a/docs/recipes/ai.md +++ b/docs/recipes/ai.md @@ -416,6 +416,7 @@ All three AI engines (Claude, OpenAI, Gemini) support a **passthrough mechanism* When initializing an AI engine, Lucee extracts all known configuration properties (`model`, `apikey`, `temperature`, etc.) from the `custom` block. Any **remaining unknown keys** are collected and forwarded directly into the HTTP request body sent to the provider. Additionally, a `headers` key allows forwarding custom HTTP headers. This means: + - New provider features work immediately via config, no Lucee update required - Beta APIs and experimental parameters are fully accessible - The passthrough respects existing keys — it will never overwrite fields Lucee sets explicitly (like `model` or `messages`)