Skip to content

v0.2.0

Choose a tag to compare

@domenkozar domenkozar released this 11 Nov 10:35
· 3 commits to main since this release

Upgrading from 0.1

  • Update the library dependency to file-lease = "0.2" and install the matching
    helper with cargo install file-lease --version 0.2.0 --locked.
  • Remove shared-volumes from dependency feature lists. macOS volumes are now
    always shared across overlapping leases, including with default features disabled.
  • Upgrade the library and helper together; older helpers are rejected before
    any payload is sent.

Changes

  • Add FileOptions::filename to expose an exact filename through a symlink in
    a private temporary directory on Linux and macOS. The helper cleans up links
    on release or owner exit, including after handoff; payloads remain memory-backed.
    Filename validation errors use ErrorKind::InvalidFilename. Rebuild the helper
    with the library because the internal handshake has changed.

  • Always share macOS RAM volumes across overlapping leases and remove the
    shared-volumes feature. Builds that disabled default features to get
    separate volumes now share them; builds naming the feature must drop it.
    Linux helpers no longer reject libraries built with a different feature set.