NEWS
mori 0.2.0.9000
- New
unlink_shared() removes shared memory regions by name, or all regions orphaned by a process that was killed before it could clean up (#25).
share() now retries with a fresh name on a region name collision instead of failing, so we can skip over any orphaned regions left by a previous process that reused the same process ID (common in containers).
- When
share() fails to create a shared memory region it now reports the requested size and, where applicable, an actionable hint (e.g. raising a container's /dev/shm limit) instead of a generic message (#29).
mori 0.2.0 (2026-05-09)
- Wire-format change (breaking): The serialization format and the shared memory region naming scheme have both changed.
shared_name() and map_shared() now round-trip for sub-lists and extracted elements, not just whole shared objects. Sub-object identifiers carry a bracketed index path (e.g. /mori_abc_1[2,3]).
shared_name() now returns NULL for non-shared inputs (previously the empty string ""); shared_name(x) %||% "" retains the previous behaviour.
share() on Linux fails with a clean R error when /dev/shm is too small (typical in containers, where the limit can be raised at start) instead of SIGBUS-ing mid-serialize (#14).
map_shared() on Linux no longer prefaults the whole region, restoring lazy first-touch access to match macOS.
mori 0.1.0 (2026-04-21)