Skip to content

somnia v0.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Aug 00:42
· 2 commits to main since this release

Patch release: native UUID record ids round-trip correctly. Bump to
somnia = "0.8.1" (or keep somnia = "0.8" if you already use a caret range).

Fixed

  • UUID record ids no longer deserialize as Key::String("u'…'")
    (#1). SurrealDB serializes native
    UUID record-id keys as table:u'…' over JSON; Key / Thing now recognize
    that wire form (and backtick-quoted keys) and parse them as Key::Uuid.
    Key::render_id also emits the native u'…' form for UUID keys instead of
    backticks, so create/filter/RELATE keep a real uuid key rather than a string
    that only looks like one. Covered by unit tests and a live mem://
    create→select regression.