Skip to content

0.8.1

Choose a tag to compare

@polazarus polazarus released this 28 Nov 12:47
· 77 commits to main since this release

Soundness fix for 0.8; upgrade with cargo update -p hipstr.

Fixed

  • soundness: values with the thread-local Local (Rc) backend were
    Send, so a clone sent to another thread could race on the reference
    count (undefined behavior). They are no longer Send; use the default
    thread-safe types to share across threads. Reported and fixed by
    Ollie-Pearce in #54.

Yanked versions

Versions 0.5.0 to 0.8.0 (0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0) are affected and have been yanked from crates.io; 0.1.0 to 0.4.0 are not affected (Local was std's Rc, which is not Send).

  • 0.8 users: cargo update -p hipstr picks up 0.8.1.
  • 0.5, 0.6 and 0.7 users: there is no fixed version in those series; upgrade to 0.8.1. Existing lock files keep building, but a fresh resolution of hipstr = "0.5", "0.6" or "0.7" fails.

Full changelog: 0.8.0...0.8.1 · crates.io