Skip to content

VivaceGraph 5.1.0

Latest

Choose a tag to compare

@kraison kraison released this 18 Nov 03:21

VivaceGraph 5.1.0 is a minor release: 13 changes since 5.0.0, no on-disk or peer-protocol change, a 5.0 store opens as it is. The full list is the [5.1.0] section of CHANGELOG.md.

Security: take this one (#461)

  • auth-rest-user spliced the request's password into an openssl passwd command line and ran it through /bin/sh before any comparison, so anyone who knew one REST username could run commands as the server's user, on every with-rest-auth route. Reported and fixed by bhwdev (PR #492): openssl and htpasswd run from argument lists with the password on a pipe, hashes compare exactly and in constant time, nothing logs them, a missing password or one with a line break is refused. add-rest-user needs htpasswd from Apache httpd 2.4 (-i). Still open as #496: passwords travel as request parameters, and verification runs openssl rather than Lisp.

Added

  • Snapshot retention (#441): snapshot :keep and *snapshot-keep* (default NIL, unbounded as before) delete the complete snapshots beyond the newest N once the new one is in place; close-graph passes :snapshot-keep. Nothing in the engine read an older snapshot, yet nothing deleted one.
  • claims-by-relation (#448), the reader of the relation index every claim family carries, the twin of claims-by-producer.
  • reopen-claim (#396), retract-claim's exported inverse.

Fixed

  • A memory graph re-grids a spatial index whose declared :spatial-precision changed, as the on-disk backend has since 3.0.0 (#66).
  • map-index-prefixes refuses a bad :arity or :start on an empty index instead of answering NIL (#359).
  • latest-epoch and a future start epoch give typed as-of-refused errors; :if-reaped :skip pinned on every read path (#356).
  • make-graph installs the declared count maps, so a store created in-session pays no scan at its first count query (#363).

Changed

  • graph-db/core no longer depends on cl-fad or trivial-shell (#461), nor on cl-json (#462, PR #493 by bhwdev); graph-db/query and graph-db declare cl-json. A program that loads only graph-db/core and calls json: itself now declares cl-json.
  • The build fails on a full compile warning, tests/check-build-warnings.sh, run by CI (#439).
  • An adjacency read checks its near endpoint once per call (#373); not over a lost derivation is documented, with the current-only idiom (#479).

Known on ECL

  • Two deep-recursion tests hang ECL 26.5.5 (#495), unchanged from 5.0.0. New in this gate, and present in 5.0.0 too: an intermittent segmentation violation on the buffer-pool thread that kills an image partway through a multi-graph suite (#498). SBCL and CCL show neither; ECL is not release-gating.
  • Fixed in this release for ECL: the REST login's openssl child never saw EOF on stdin there and every login hung (#497, found by this gate).

Dependencies

  • cl-temporal-extent >= 0.3.0, as before.