From e104df7cc4a6421ede594987be91dfadaa66dcfc Mon Sep 17 00:00:00 2001 From: mrjones-plip Date: Thu, 2 Apr 2026 11:52:48 -0700 Subject: [PATCH 1/2] fix(na) cht core 10792 to 5.1.1 release notes --- content/en/releases/5_0_3.md | 2 +- content/en/releases/5_1_1.md | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/content/en/releases/5_0_3.md b/content/en/releases/5_0_3.md index c64686e28..4a96b761c 100644 --- a/content/en/releases/5_0_3.md +++ b/content/en/releases/5_0_3.md @@ -5,7 +5,7 @@ linkTitle: "5.0.3" sidebar: exclude: true description: - Released 2026-04-02 + Released 2026-04-03 --- ## Highlights diff --git a/content/en/releases/5_1_1.md b/content/en/releases/5_1_1.md index fe1144cdb..f5d521a10 100644 --- a/content/en/releases/5_1_1.md +++ b/content/en/releases/5_1_1.md @@ -5,16 +5,27 @@ linkTitle: "5.1.1" sidebar: exclude: true description: - Released 2026-04-02 + Released 2026-04-03 --- ## Highlights -This release fixes a bug when an instance has one or more users with a large amount of documents (over 150,000). Deployments that suffer from this bug will see an error in the API logs (`Maximum call stack size exceeded`). See the ticket below for more details. +### Prevent crashes for users with many documents + +This release fixes a bug when an instance has one or more users with a large amount of documents (over 150,000). Deployments that suffer from this bug will see an error in the API logs (`Maximum call stack size exceeded`). + +See [#10792](https://github.com/medic/cht-core/issues/10792) for more details. + +### Correctly capture SMS message state + +For deployments that implement SMS workflows, this release fixes when messages are sent repeatedly because of two scheduled_tasks with one of them being stuck in scheduled state. + +See [#10792](https://github.com/medic/cht-core/issues/10802) for more details. ### Bug fixes - [#10792](https://github.com/medic/cht-core/issues/10792): Replication get-ids can fail for extremely large users (over 150.000 documents) +- [#10802](https://github.com/medic/cht-core/issues/10802): Message getting sent to pending state even after it is sent ## Known issues @@ -26,3 +37,4 @@ Thanks to all who committed changes for this release! * [Diana Barsan](https://github.com/dianabarsan) * [Elijah Karari](https://github.com/eljhkrr) +* [1yuv](https://github.com/1yuv) From f62c46f3ae44f4b97a52db4b5638a4fae8284944 Mon Sep 17 00:00:00 2001 From: mrjones <8253488+mrjones-plip@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:41:04 -0700 Subject: [PATCH 2/2] Update content/en/releases/5_1_1.md Co-authored-by: 1yuv --- content/en/releases/5_1_1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/releases/5_1_1.md b/content/en/releases/5_1_1.md index f5d521a10..b0822787d 100644 --- a/content/en/releases/5_1_1.md +++ b/content/en/releases/5_1_1.md @@ -24,7 +24,7 @@ See [#10792](https://github.com/medic/cht-core/issues/10802) for more details. ### Bug fixes -- [#10792](https://github.com/medic/cht-core/issues/10792): Replication get-ids can fail for extremely large users (over 150.000 documents) +- [#10792](https://github.com/medic/cht-core/issues/10792): Replication get-ids can fail for extremely large users (over 150,000 documents) - [#10802](https://github.com/medic/cht-core/issues/10802): Message getting sent to pending state even after it is sent ## Known issues