Change8

Migrating to llama.cpp b9923

Version b9923 introduces 2 breaking changes. This guide details how to update your code.

Released: 7/8/2026

2
Breaking Changes
2
Migration Steps
4
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

server_stream functionsserver_stream_session_manager_startserver_stream_session_manager_stopstream_read_status enum

Breaking Changes

Issue #1

Public functions related to server-stream functionality have been prefixed with "server_stream_" to scope them correctly, matching existing functions like server_stream_session_manager_start/stop. Code using the old names will break.

Issue #2

The stream_read_status enum has been moved from the public header to the internal C++ implementation file, hidden behind the pimpl boundary. Code relying on this enum being publicly accessible will break.

Migration Steps

  1. 1
    Rename all usages of old server-stream public functions to use the new "server_stream_" prefix.
  2. 2
    Remove any direct dependencies on the publicly exposed stream_read_status enum; access status information through the session interface if necessary, or update logic based on the new internal structure.

Release Summary

This release refactors the server-stream component, implementing a pimpl pattern, prefixing public functions with "server_stream_", and improving concurrency safety via mutex guards. Logging for stream operations has also been reduced to the debug level.

Need More Details?

View the full release notes and all changes for llama.cpp b9923.

View Full Changelog