Skip to content

Commit a223f30

Browse files
hyperpolymathclaude
andcommitted
chore(v-lang): deprecate V-lang VerisimDB client — estate ban 2026-04-10
Migration target: reqwest direct HTTP or aerie-api VerisimDbClient. MIGRATION.adoc documents all five V query functions and their HTTP equivalents. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 22db8b8 commit a223f30

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// SPDX-License-Identifier: PMPL-1.0-or-later
2+
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
= verisimdb V-lang client — Deprecated (2026-04-12)
4+
:toc:
5+
6+
== Status
7+
8+
The V-lang VerisimDB client in `src/` is *deprecated* as of 2026-04-12
9+
following the estate-wide V-lang ban (2026-04-10).
10+
11+
== Migration Target: Rust
12+
13+
The canonical Rust client is in `connectors/clients/rust/` (or use the
14+
VerisimDB HTTP REST API directly via `reqwest`):
15+
16+
[source,bash]
17+
----
18+
# Direct HTTP calls — no client library required for simple use cases
19+
curl http://verisimdb:8084/api/v1/events
20+
21+
# Rust crate (if available in workspace)
22+
cargo build -p verisimdb-client
23+
----
24+
25+
The V client implemented three query patterns against the HTTP REST API:
26+
27+
[cols="1,1"]
28+
|===
29+
| V function | Rust / HTTP replacement
30+
31+
| `new_verisimdb_client()` | `VerisimDbClient::from_env()` (in `aerie-api`)
32+
| `store_audit(event)` | `POST /api/v1/events`
33+
| `query_as_of(time, limit)` | `GET /api/v1/events?as_of=<time>&limit=<n>`
34+
| `query_between(start, end, n)` | `GET /api/v1/events?start=<s>&end=<e>&limit=<n>`
35+
| `query_history(event_id)` | `GET /api/v1/events/<id>/history`
36+
| `dual_log_audit(redis, vdb)` | `aerie-api/src/resolvers.rs` `dual_log()`
37+
|===
38+
39+
== Next Steps
40+
41+
. Confirm no live code imports from `connectors/clients/vlang/`.
42+
. Once confirmed, delete `src/*.v` and `v.mod`.

0 commit comments

Comments
 (0)