Keploy v3.6.151

v3.6.151
Changed 2
  • HTTP responses are treated as streams only with evidence: a Content-Type of text/event-stream, NDJSON or multipart, or frames recorded as a stream, so chunked transfer coding or a missing Content-Length no longer makes a response a stream
  • Plain-text streamed responses without an event-stream Content-Type (such as Vercel AI SDK toTextStreamResponse) are now recorded and compared as a single body
Fixed 2
  • Chunked JSON bodies over 4 KB were matched as streams and reported no mismatches; they are now compared as regular bodies
  • keploy no longer reports the agent container as gone when compose has not yet created it; it waits for the container instead, ending the wait once the run that was to create it has ended

1 change to check, marked in the notes below

From Keploy

Behaviour change: HTTP stream detection. A response is now treated as a stream only on evidence: a Content-Type of text/event-stream, NDJSON or multipart, or frames recorded as a stream. Chunked transfer coding or a missing Content-Length no longer makes a response a stream. This closes a false pass: a chunked JSON body over 4 KB was matched as a stream and reported no mismatches. behavior changed · inferred

If your app streams plain text without an event-stream Content-Type (for example the Vercel AI SDK's toTextStreamResponse), that response is now recorded and compared as one body.

Fix: keploy no longer reports the agent's container as "gone" when compose hasn't created it yet. It waits for it instead, and the wait ends once the run that was to create it has ended.

What's Changed

Full Changelog: https://github.com/keploy/keploy/compare/v3.6.150...v3.6.151

View original

Upgraded? How did it go?

Discussion