Repository navigation
somnia v0.7.0
Pre-1.0 API stabilization plus release-pipeline hardening. Breaking in two
small ways — update count("") → count(), and deref any &String args to
builder string methods. Bump your dependency to somnia = "0.7".
Changed (0.7.0)
- (Breaking)
Table::count()drops its ignored argument — was
count(field: &str)(the field was never used); nowcount(). Update
table().count("")→table().count(). - (Breaking) builder string args widened to
impl Into<String>for
consistency with the newer builders:Select::fetch/omit/split,
Create/Update::set_lit/set_expr/set_raw(thecolname), and
DefineIndex::search/hnsw/mtree.&strliterals andStringstill work;
callers passing&Stringmust deref (s.as_str()ors.clone()). - Release pipeline —
scripts/release.shnow runscargo doc -D warnings
before tagging (catches broken doc links pre-release), and the publish workflow
retries eachcargo publishup to 5× with a 30s backoff to ride out crates.io
index-propagation lag (which had leftsomnia-cliunpublished in 0.6.0 until a
manual re-run).
Fixed (0.7.0)
- Docs — removed a broken intra-doc link in the
SurrealEdgederive doc
(the proc-macro crate can't resolve::somnia_core::…paths), which failed
cargo doc -D warningsin CI.