unbundled-db-put-returns-cdc-event

Status: IN

`UnbundledDatabase.put()` and `delete()` return `CDCEvent` objects directly, making CDC a synchronous, first-class part of the write API rather than a side-channel.

Source: entries/2026/05/29/unbundled-database-test_unbundled_database.md

Example

def put(self, key, value):
    old = self._store.get(key)
    self._store[key] = value
    event = {"type": "put", "key": key, "value": value, "old_value": old}
    return event

JSON