Khuram
11/01/2026, 4:37 PM@Serializable data class and get typed reads, copy-style updates, and Flow reactivity.
0.2.0: safe to open the same document in more than one place
• A write through one instance now reaches flow(), stateFlow() and fieldFlow() on every other instance of that document, so you no longer have to share a single instance (DI, repeated Documents.document(...) calls, separate collections)
• Concurrent update calls on the same document no longer lose changes
• Each cause of a DocumentDecodingException now has its own clear message
0.2.1: fixes a launch crash on 32-bit Android processes
MMKV 2.x requires a 64-bit process. In 0.1.0 and 0.2.0, an app running as a 32-bit process (common on low-end and Go devices) crashed at launch, even if it never opened a document. Now the app starts and Documents.document(...) / Documents.collection(...) throw a catchable UnsupportedArchitectureException. 32-bit is not supported, and I'm considering a separate legacy artifact built on MMKV 1.3.x, but nothing is decided yet.
Docs: documents.nomemmurrakh.com
GitHub: github.com/nomemmurrakh/documents
If you're starting a new KMP project, I'd love for you to consider Documents. Feedback is very welcome!