Skip to content

Commit 2bbb59e

Browse files
committed
docs: add InMemoryBuffer breaking change to CHANGELOG
1 parent 89a7b85 commit 2bbb59e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
### Changed
1818

19+
- **BREAKING:** `InMemoryBuffer` typealias now points to `SendableRopeBuffer` (was `MutableStringBuffer`). The rope-backed, `Sendable` value type with built-in undo is the proper in-memory buffer for production use. `MutableStringBuffer` remains available by its concrete name.
20+
- `EditingBuffer` typealias added for `TransferableUndoable<RopeBuffer>` — the `@MainActor` buffer for UI-connected editing with system undo integration.
1921
- `TextAnalysisCapable` now refines `TextBuffer` instead of `Buffer`, enabling struct conformers to provide `wordRange`/`lineRange`.
2022
- `assertBufferState`, `MutableStringBuffer.init(copying:)`, `RopeBuffer.init(copying:)` accept `TextBuffer` (widened from `Buffer`).
2123
- `change(buffer:to:)` gains an `inout` overload for `TextBuffer` value types.

0 commit comments

Comments
 (0)