From 8efe3d6d1d2ebb512195a7064b70fab85894a6ad Mon Sep 17 00:00:00 2001 From: Jordan Ritter Date: Fri, 17 Jul 2026 10:28:39 -0700 Subject: [PATCH] chore: release v1.37.2 Fixed: cap journal request bodies at 64 KB to prevent ISL crash on /__aimock/journal (#308) Changed: log full error stack on unhandled request errors for prod diagnosis (#308) --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- packages/aimock-pytest/src/aimock_pytest/_version.py | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 861f9f64..50c86469 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @copilotkit/aimock +## [1.37.2] - 2026-07-17 + +### Fixed + +- Prevent `Invalid string length` crash on `GET /__aimock/journal` by capping retained request bodies at 64 KB (#308) + +### Changed + +- Log full error stack on unhandled request errors for prod diagnosis (#308) + ## [1.37.1] - 2026-07-16 ### Fixed diff --git a/package.json b/package.json index 557de547..20edeede 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@copilotkit/aimock", - "version": "1.37.1", + "version": "1.37.2", "description": "Mock infrastructure for AI application testing — LLM APIs, image generation, image editing, text-to-speech, transcription, audio translation, audio generation, video generation, embeddings, MCP tools, A2A agents, AG-UI event streams, vector databases, search, rerank, and moderation. One package, one port, zero dependencies.", "license": "MIT", "keywords": [ diff --git a/packages/aimock-pytest/src/aimock_pytest/_version.py b/packages/aimock-pytest/src/aimock_pytest/_version.py index 9c863968..7130d640 100644 --- a/packages/aimock-pytest/src/aimock_pytest/_version.py +++ b/packages/aimock-pytest/src/aimock_pytest/_version.py @@ -8,4 +8,4 @@ control routes ship in the next release). Keep it tracking npm releases. """ -AIMOCK_VERSION = "1.37.0" +AIMOCK_VERSION = "1.37.2"