DataReelDataReelC++ Toolkit Documentation

DataReel 7 Release Notes (all 7.x releases)

Every DataReel 7.x release, newest first. Each release also has its own page and text file.

Releases

DataReel 7.5 Beta 3 Patch 2 Release Notes (the Python module), 11/21/2026
DataReel 7.4.1 Release Notes (vector extensions), 11/20/2026 (7.4: 11/17/2026)
DataReel 7.3.3 Beta Release Notes, 11/14/2026
DataReel 7.3.2 Beta Release Notes, 11/14/2026
DataReel 7.3.1 Beta Release Notes, 11/01/2026
DataReel 7.3 Beta Release Notes, 10/31/2026
DataReel 7.2 Beta Release Notes, 10/31/2026
DataReel 7.1 Beta Release Notes, 10/31/2026
DataReel 7.0 Beta Release Notes, 10/26/2026

DataReel 7.5 Beta 3 Patch 2 Release Notes (the Python module), 11/21/2026

DataReel 7.5 adds the datareel Python module, a package that installs with pip. It is built from this repository (python/) on top of 7.4.1, so everything in 7.4.1 is in it (RELEASE_NOTES_7.4.txt, "NEW IN 7.4.1"). The file formats and the gxStream and gxObjRepl wire formats are those of 7.4.

NEW IN 7.5 BETA 3 PATCH 2 (tag 7.5-beta3-patch2, 11/21/2026)

NEW IN 7.5 BETA 3 PATCH 1 (tag 7.5-beta3-patch1, 11/21/2026)

New in 7.5 beta 3

New in 7.5 beta 2

New in 7.5 beta 1

Limits of beta 3

DataReel 7.4.1 Release Notes (vector extensions), 11/20/2026 (7.4: 11/17/2026)

DataReel 7.4 beta 3 (tag 7.4-beta3, 11/14/2026) follows beta 2 with the replication fixes and the security scan below (BETA 3). Beta 2:

DataReel 7.4 beta 2 (tag 7.4-beta2, 11/14/2026): the OODB with AI extensions. It follows the 11/12/2026 7.4-beta preview (tag 7.4-beta, 171a3f2: vector phases A and B) and adds vector phases C and D (below), the gxrepl fixes F4, F6 and F7, the DataReel 7.3.2 replication fixes and the later ones of rel-7.3.2-next3 (the seal per folder, a stream naming new files verified again, promote-check reading each unit under a shared apply lock, GXREPL_TORN_LOCK_WAIT 15 s), and the gxrepl per-object derived apply (derived_apply = incremental, with object notes and index stamps; off by default: rebuild stays the default and the ship log is unchanged while object notes are off; see utils/gxrepl/DERIVED_APPLY_STATUS.md). derived_apply = incremental is not yet for production use; fixes land in the next 7.4 build. The file formats of 7.3 are unchanged, and the vector index is a new file type built on them.

New in 7.4.1 (11/20/2026)

Highlights of 7.4

Phase a (11/12/2026): vector index file, exact search

New headers gxvindex.h (gxVectorIndex, gxvFilter, gxvResult) and gxvkern.h (distance kernels); sources src/gxvindex.cpp and src/gxvkern.cpp; test program utils/vix_test.

1. gxVectorIndex keeps vectors in a ".vix" file, which is an ordinary

   gxDatabase file: a 256-byte static area (magic "GXVIX74", version,
   dimension, element type, metric, M / M0, ef_construction, node
   size, entry node, counts and a 63-character spec) and one
   fixed-size block per node (64-bit object id, flags, level, four
   32-bit tags, upper-level block, neighbor slots, vector). The graph
   of phase B uses the neighbor slots already reserved in every node,
   so phase A files open unchanged later.

2. Insert / Update / Delete (a tombstone) / Get / Contains, each a few

   writes to the file. Attach the index to a gxdJournal with
   j.Attach(vix.Database()) and a commit carries an object, its B-tree
   keys and its vector together; Rollback() then Reload().

3. Exact(query, k, results, filter): the k nearest live nodes, sorted

   by distance then id. gxvFilter tests tag ranges (equality is a
   range of one, so session, kind and a date upper bound are all
   tags) and an optional accept callback. (Search() was Exact() until
   phase B.)

4. Metrics: squared L2, cosine (vectors stored unit length, distance

   1 - cosine) and inner product (minus the dot product). Float32
   only in phase A; float16 and int8 come in phase C. Dimension 1 to
   4096. NaN and infinite values are refused.

5. Spec guard: Create(..., spec) stores a text such as

   "anomaly/shock/v1/<builder hash>"; Open(name, mode, spec) refuses a
   file with another spec, so vectors from a different feature
   builder never mix in one index.

6. Concurrency: the ids, tags and vectors stay in memory while the

   index is open, so searches never read the file. Searches share a
   lock; writers take it exclusively and go ahead of new searches
   (writer preference), so steady searching never stalls inserts.

7. Kernels: 8 partial sums in a fixed order, the same on the SSE2

   path and the plain C path (bit-identical results); plain C-style
   functions so the 6.x version shares them word for word.

8. Verify(resolve, data, bad, report) compares the file with memory

   and asks the caller whether each node's object still exists.

Tests (vix_test, 32-bit and 64-bit database engines): kernels against the written-out order; Exact against a brute-force reference for all three metrics with tag, range and callback filters and equal-distance order; create / insert / update / delete / reinsert / reopen / read only / spec mismatch / bad files; journal commit and rollback; three reader threads searching during 20,000 inserts and deletes (clean under ThreadSanitizer); 45 kill -9 rounds during committed batches: every round recovered exactly the committed batches, never a partial one.

Measured (4-core VM, dimension 79, k = 20): insert about 5 us; exact search of 30,000 vectors 0.9 ms p50, 150,000 6.7 ms, 1,000,000 55 ms (memory bound); opening 1,000,000 nodes 2.3 s. Sub-millisecond search over large sets is phase B's graph.

Phase b (11/12/2026): hnsw graph search, merge, repair

1. Search(query, k, results, ef, filter) walks an HNSW graph kept in

   the neighbor slots of each node plus an upper-level block for the
   nodes above level 0. A node's level is an integer hash of its id,
   so the same inserts in the same order build the same graph on every
   node. Up to 4096 nodes, and for filters (or tombstones) that leave
   fewer than about 5% of the nodes, Search() is Exact().

2. Filtered graph search: every node is a stepping stone, only live

   nodes that pass the filter are results.

3. Live inserts: Insert() works out its links under the shared lock

   (searches keep running), writes the file, then takes the exclusive
   lock only to link the node (microseconds). Per-node arrays grow in
   fixed chunks, so growing never copies what is there.

4. Update() with the same vector rewrites the tags in place; with a new

   vector it deletes the node and inserts a new one in one step.
   Deleted nodes stay in the graph until Repair().

5. Repair() rebuilds the graph from the live nodes and writes it.

   Merge(out, inputs, spec) builds one index from many files (the day
   files of a month): same dimension, metric and spec, ids unique
   across them, tombstones left out, every link written once.

6. Phase A files open unchanged: the graph is built in memory at Open()

   (GraphSaved() = 0) and Repair() saves it. A damaged link in a saved
   graph is handled the same way. Verify() also checks every link
   against the file.

7. Fix: the 256-byte header was written at FAU 256 (gxDatabase

   StaticArea() returns the static area's size, not its address), so
   the first node block overlapped header bytes 96-255. It now sits at
   FileHeaderSize(). Phase A was never installed, so no file has the
   old layout.

Tests (vix_test, 32-bit and 64-bit database engines, 11,897 checks): recall against Exact for all three metrics (20,000 clustered vectors: 1.000 / 1.000 / 0.996 at ef 64), filtered recall, a selective filter equal to Exact, the graph read back from the file gives the same answers, the same inserts build the same graph, deletes (no deleted node returned) and updates, Repair(), a phase A file and a damaged link rebuilt and repaired, Merge() of three day files (and its refusals), 45 kill -9 rounds on each engine (all recovered exactly, Verify() clean including every link), three searchers during 20,000 inserts and deletes, clean under ThreadSanitizer.

Gate (vix_test --gate 1000000, 4-core VM, dimension 96, M 16, ef_construction 200, k 20; one thread inserting in journal batches of 100 while three threads search):

Build fix (11/12/2026, found on RHEL 10): GCC fuses a*b + c into one multiply-add (FMA) instruction on x86-64-v3, RHEL 10's baseline, which changed the last bit of some distances and failed vix_test's bit-exact kernel check. gxvkern.cpp and vix_test.cpp now turn contraction off with a pragma, and the CMake files also build them with -ffp-contract=off. The crash test now waits until the child has created and synced the file before it starts the kill timer, so a slow machine no longer kills the child before its first commit.

Phase c (11/12/2026): float16 and int8 vectors, vector members

1. Element types gxvFLOAT16 and gxvINT8 (types 2 and 3 in the header).

   A node stores its vector as a code: float32 4 * dim bytes; float16
   2 * dim bytes (IEEE binary16, round to nearest even, subnormals
   kept); int8 dim signed bytes and a float32 scale per vector
   (s = max|v| / 127, q = clamp(lrintf(v / s), -127, 127), each value
   within s / 2). Node size = 48 + 8 * M0 + the code bytes; the header
   check follows the type. gxvFLOAT32 files are byte-identical to
   before (no version change); a library that does not know a type
   refuses it with gxv_UNSUPPORTED.

2. gxvCOSINE vectors are normalized, then stored. Every distance, in

   inserts as well as searches, uses the decoded vector, so Insert(),
   Repair() and Merge() build the same graph (vix_test checks it for
   every type and metric). Queries are not rounded. Get() returns the
   decoded vector; Update() compares stored codes.

3. float16 values above 65504 in size are refused with the new error

   gxv_OUT_OF_RANGE (added at the end of gxvError).

4. gxvkern.h: gxv_f16_from_float(), gxv_float_from_f16(),

   gxv_i8_encode(), gxv_i8_decode() (plain C, for the 6.x version).

5. Vector members: a record carries its vector in the index's stored

   form. MakeMember() returns MemberSize() bytes: a 12-byte head
   ("GXVM", element type, dimension, CRC-32 of the spec) and the code.
   Store it as an InfoHog member or a fixed char field of a POD
   record. InsertMember() / UpdateMember() put the code in the index
   unchanged, so record and node hold the same bytes, and refuse a
   member of another type or dimension (gxv_BAD_ARG) or spec
   (gxv_SPEC_MISMATCH). MemberVector() decodes one; MemberMatches()
   compares a record's member with its node (for a Verify() resolver).
   Rename(old_id, new_id) follows a record that moved: an InfoHog
   record that grows gets a new address. Write the record and the index
   in one gxdJournal transaction (attach the data file, its index files
   and the .vix): a crash leaves both or neither.

Tests (vix_test): search, graph, reopen, rebuild, delete, Repair, Merge and crash tests for all three types; all 63,488 finite float16 values converted both ways, rounding ties, subnormals and the 65504 limit; the int8 error bound; InfoHog records with a vector member and their index under one journal (changes, moves, rollback, 10 kill -9 rounds per type) and a POD record with a vector field. 53,469 checks. Recall at ef 200 against the exact answer on the float32 vectors (20,000 clustered points, dimension 32): float16 0.994 to 1.000; int8 0.980 (L2), 0.985 (inner product) and 0.947 (cosine: unit vectors in tight clusters, where neighbors differ by less than a quantization step).

Gate (vix_test --gate 1000000 --dim 96 --type ..., the same set and machine as phase B; the build times are rough, other jobs shared the machine):

  type   build   file    memory  quiet ef 64          vs float32  live (1 writer, 3 searchers)
                                 recall  p50   p99    exact ef 64 inserts/s  p50    p99
  f32    923 s   697 MB  779 MB  0.987  0.16  0.34    -           990        0.19   0.50
  f16    1308 s  515 MB  592 MB  0.987  0.35  0.67    0.986       488        0.42   1.11
  i8     753 s   427 MB  506 MB  0.976  0.16  0.34    0.955       1,091      0.17   0.41

  (times in ms; ef 128 recall 0.999 for all three; against float32
  exact at ef 200: f16 0.999, i8 0.973)

Memory and file size include the graph (M0 = 32 links per node), which is now the larger part: the vectors take 384 / 192 / 100 bytes a node. float16 searches take about twice as long because each value is converted with a function call; a faster float16 decode (proved to give the same bits) is a possible later step. int8 is as fast as float32 and the smallest; use float32 or float16 where recall must stay above 0.98.

Phase d (11/14/2026): speed, growth, sets, vector search service, vectors under gxrepl

1. float16 speed: a 65,536-entry table decodes a half (proved against

   the scalar conversion for every one of the 65,536 bit patterns), and
   gxv_l2sq_f16() / gxv_dot_f16() decode 8 values at a time into the
   same 8-lane sums as the float32 kernels, so the distances are the
   same bits as decode-then-kernel (checked for dimensions 1 to 96 and
   4096). At 200,000 x 96 a float16 search now takes about as long as a
   float32 one (p50 0.146 ms against 0.137 ms; before: about twice as
   long). Files and results are unchanged.

2. int8 cosine: the decoded vector is normalized again, so cosine

   distances use unit vectors. Known limit, stated plainly: at
   1,000,000 x 96 the int8 cosine recall against float32 exact is
   0.9505 at ef 64 (0.972 at ef 200), just over the 0.95 bar. For
   cosine at that scale use float16 (0.986) or search with ef 128 or
   more.

3. Format fields for growth (static area offsets 140-255, zero in the

   files of phases A-C, which open unchanged and search the same: the
   test opens files made by the phase C library, 32-bit and 64-bit):
   features_required (a bit this library does not know makes the file
   gxv_UNSUPPORTED), features_optional (bit 0 tag ranges kept, bit 1
   derived from record members), codec (0; 1 is kept for product
   quantization), graph layout (0), partition id and count, tag_min[4]
   and tag_max[4] (the range of each tag over every node inserted:
   written with the counts in the caller's transaction, never narrowed
   by Delete(), worked out again by Repair() and Merge(); an empty index
   holds 0xFFFFFFFF..0), and 56 reserved bytes (written as zero, ignored
   when read). TagRange(), TagRangeExcludes(), SetPartition(),
   SetFromMembers(). New error gxv_INDEX_FULL at 4,294,967,280 nodes.

4. gxVectorSet (gxvset.h): many .vix files searched as one: day files,

   partitions, or both, listed in a plain-text manifest
   "<name>.vixset" (set, version, spec, dim, element, metric, codec,
   and per file its relative path, node counts, the range of tag 2 (the
   day, yyyymmdd) and a CRC-32 of the header fields that never change).
   Unknown lines are errors, paths are relative with no "..", writes go
   to a temporary file and are renamed. Files open lazily (read-only, an
   LRU of max_open), a search with a day range skips the files outside
   it unopened, searches run on several threads, and the results are
   sorted by distance, then file, then id: the same for any number of
   threads, and the order of a per-day merge that keeps the earlier day
   on a tie. The live day: a file that changed since it was read is read
   again (a file replaced by a rename is opened again), or a writer puts
   its own open index in the set with AttachOpen(). A listed file that
   is missing (an archived day) is skipped and counted, unless strict.
   gxVectorSet::OpenFile() treats one .vix as a set of one.

5. The object server answers vector searches (gxdbobject.h): a [db NAME]

   with "vectors = <.vixset or .vix>" takes op 7 VECTOR_SEARCH (k up to
   1000, ef up to 4096, a tag filter, a day range, strict) and op 8
   VECTOR_INFO on its channels, read-only. The reply starts with the
   request version, and names the result files by their paths relative
   to the manifest. vector_threads (2) and vector_max_concurrent (4: one
   more waits up to 5 s, then is answered "busy"). Vectors inside a set
   the server copies are searched under the set's apply lock.
   object_client --vinfo and --vsearch K show the use.

6. Vectors under gxrepl: a vector index can be derived from the vector

   members of its data file's records (gxvmember.h), so a replicated
   copy never needs the .vix bytes. The set names it "derived"; the
   writer leaves it out of its ship log (gxdShipLog::SetExclude), the
   file sync never sends it, and the copy rebuilds it with
   utils/vix_rebuild as its derived_rebuild:

     derived = vectors.vix
     derived_rebuild = vix_rebuild --data {dir}/data.gxd
         --index {dir}/vectors.vix --member infohog:1 --tags -,-,infohog:2,-
         --dim 96 --spec news/v1 --stamp-dir {dir} --lsn {lsn}

   The node id is the record's address; a record without a valid
   member is not in the index; the rebuild goes in ascending address
   order, so two rebuilds of the same data are the same file byte for
   byte, and it marks the file derived from members. While the copy's
   index is behind, "gxrepl torn" warns (INDEXES), never TORN.
   vix_rebuild --digest prints a logical digest (the live nodes in id
   order: id, stored code, tags; equal for a primary's index built in
   commit order and a copy's rebuild) or, with --digest-kind bytes, a
   file digest (equal for two rebuilds). The "gxvmember" extractor
   (gxrextract.h) does the same object by object for the per-object
   derived apply, which comes with that work.

Growth and its limits (facts, for planning):

Tests: vix_test (32-bit and 64-bit engines, crash rounds on) adds the format fields, the phase C files, gxVectorSet (recall over 5 day files against brute force, LRU 2 of 5, 1, 3 and 4 threads equal, the live file read-only and attached, missing and replaced files, bad manifests, paths with spaces), the gxvmember extractor and the rebuild from POD and real InfoHog records (logical equal to the index, two rebuilds the same bytes). The gxrepl suite adds the vector search service (remote answers equal local ones, bad requests refused, missing files, the busy cap, a copy searched under its apply lock) and a derived vector index (no .vix in the ship log, torn never TORN, the copy's rebuild logical equal to the primary's index after adds, updates and deletes with reused blocks, and byte equal to a rebuild of the primary's data).

Gxrepl fixes from the 11/12 stall (11/13/2026)

Beta 3 (11/14/2026)

Gxrepl: a writer's open or gap record always gets its verify (11/14/2026)

The same fix as DataReel 7.3.4 (branch gxrepl-drain-verify).

License (11/12/2026)

Every source header now says LGPL version 3 or later, matching the LICENSE file (the headers said 2.1 or later), and points to https://www.gnu.org/licenses/ instead of the old FSF postal address.

FIXES AFTER BETA 3 (11/15/2026, docs-7.4)

Beta 4 (11/16/2026)

Replication (gxrepl) on an incremental set (derived_apply = incremental), the hardening items, and the review fixes:

ONE FILE LAYOUT ON EVERY PLATFORM (11/15/2026, beta 5)

Before 7.4 beta 5 the database file headers held gxUINT32/gxINT32 fields (unsigned long, long), 8 bytes on 64-bit Linux and 4 on 64-bit Windows and in 32-bit builds, so .gxd, .btx and .vix files (and record addresses) did not move between them. Now:

Still per platform: the application's own record and key types. A native gx type (gxUINT32, gxINT32) or, in a 32-bit FAU build, a FAU in a record or key keeps its platform's size; use fixed-width types (uint32_t, int64_t) in records that move between platforms. The gxStream and object server message framing is one form on every platform too (see NEW IN BETA 5).

New in beta 5 (11/16/2026)

New in 7.4 (after beta 5)

Upgrading to 7.4 beta 5

Planned for the next release (7.5)

These are planned features, not part of 7.4:

DataReel 7.3.3 Beta Release Notes, 11/14/2026

DataReel 7.3.3 is a beta bug fix release of 7.3.2. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

7.3.3 fixes more database replication (gxrepl, utils/gxrepl) problems found while it ran in production between two nodes. Database file formats and replication protocol 3 are unchanged, and the API changes are additions. A copy's seal gains a field that a 7.3.2 gxrepl reads and ignores. Run the same version on both nodes, and rebuild programs against 7.3.3.

The library version is 7.3.3 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.3.3); the soname stays libdatareel.so.7.

Replication fixes

1. Seal per folder. A copy's unit seal is now "log G L S C": C is the

   ship log record that last changed that folder, while L stays the
   stream's applied position. Derived indexes (derived = GLOB, stamped
   in <folder>/derived.stamp) are compared with C, both in "gxrepl torn"
   and in the {lsn} that derived_rebuild is given.
   Before, every record of a stream moved L in the seals of all of the
   stream's folders, so the indexes of folders that had not changed
   looked stale and were rebuilt again and again. In production that was
   most of about six rebuilds an hour, each under the apply lock.
   - A seal without C (written by 7.3.2) reads as C = L. After an
     upgrade, each folder is rebuilt once and then keeps its indexes.
   - A 7.3.2 gxrepl reads a 4-field seal and ignores C.
   - These all set C to the record that made the change:
     - a verify repair, including a size-only change;
     - a delete of a data file;
     - a new log under the same stream name;
     - a fill.
     Two streams' numbering is never mixed.

2. A delete's reseal comes first. When a data file of a log-sealed

   folder is deleted, the seal is rewritten with C = L before the file
   is unlinked. This happens under the apply lock, after any pending
   journal batch is recovered. A crash in between costs one extra
   rebuild, never a stale index.

3. A verify sees files named during its pass. The client read each

   stream's file list once per pass. If a stream named a new file (a
   new unit's commit block) while its verify ran, that file was not
   verified, and the unit could stay "copying" until the next verify.
   The list is now read again after a stream's verify, and the stream is
   verified again in the same pass if files joined it (at most 3 times).

4. "gxrepl torn" (promote-check) reads each unit under a shared lock on

   the set's apply.jnl.
   - The lock is taken per unit, only around that unit's small reads:
     commit block, seal, applied position, derived state and stamp.
     Nothing is hashed under it. Measured on production sets, the
     longest hold was 0.054 ms.
   - While it holds the lock no apply is in flight, so the timed
     re-reads are not needed.
   - The waits share a budget per set, GXREPL_TORN_LOCK_WAIT (default
     15 s). Past it, the rest of the set is read unlocked with the old
     re-reads and a WARNING line; the exit code is unchanged.
   - GXREPL_TORN_LOCK_STATS=1 prints the lock counts and hold times.
   - gxReplTornLockStats and a 4-argument gxReplTornCopies are new. The
     old signatures are kept.

5. ApplyFiles writes the streams' applied positions inside the apply

   lock, after any staged swap, as ApplyLog has done since 7.3.2. Before,
   the positions were written after the lock was released, while the
   batch's "log G L" seals were already written. Even a locked reader
   could then see "sealed at record L, the copy applied up to L-1" (a
   false TORN).

Tests

DataReel 7.3.2 Beta Release Notes, 11/14/2026

DataReel 7.3.3 fixes more database replication (gxrepl) problems found in production; see RELEASE_NOTES_7.3.3.txt.

DataReel 7.3.2 is a beta bug fix release of 7.3.1. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

7.3.2 fixes database replication (gxrepl, utils/gxrepl) problems found while it ran in production between two nodes. Database file formats are unchanged, replication protocol 3 is unchanged (a 7.3.1 node and a 7.3.2 node talk to each other, but run the same version on both), and the API changes are additions. Rebuild programs against 7.3.2.

The library version is 7.3.2 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.3.2); the soname stays libdatareel.so.7.

Replication fixes

1. Channels resync after a timeout. A channel whose request had no

   reply in time, or whose reply did not parse, is now closed and
   marked broken (gxReplRemote::ChannelBroken), and the set's thread
   opens a fresh channel. Before, after a network outage every set
   read the previous request's late reply ("bad reply") until the
   client was restarted.

2. The apply lock is bounded. An apply takes apply.jnl with a bounded

   wait (GXREPL_APPLY_LOCK_WAIT, default 5 s) and answers "busy"
   instead of blocking behind a long derived index rebuild, so a slow
   rebuild never stalls the other sets.

3. Derived index rebuild and ssh tunnel children start with only

   stdin, stdout and stderr open (no inherited sockets or locks).

4. The seal, the commit block and the applied position are never read

   split. ApplyLog writes a stream's applied position inside the same
   apply.jnl transaction as the records' pages and the unit seal, and
   "gxrepl torn" (promote-check) re-reads a seal that does not match
   the applied position for up to GXREPL_TORN_RECHECK_SEC (10 s), so
   an apply in flight is not reported as torn. Before, a promote-check
   run during steady commits could report "sealed at record N, the
   copy applied up to N-1".

5. Staged unit copies. A unit (a folder with a commit block) that must

   be copied whole is now written into a reflinked stage
   (<set root>/.gxrepl/stage/<unit>/) and swapped in when its commit
   block arrives: the commit block is marked odd, the data files are
   renamed in, then the commit block lands. A lost link part way
   through a copy leaves the copy whole at its last sealed commit
   instead of torn. A stage is used only by the copy that began it, is
   reused for the same generation, and is skipped (the copy is made in
   place, as in 7.3.1) for ship-log sets, a unit with no copy yet, an
   unsealed unit, a unit over stage_max_bytes (16 GiB), a file system
   without reflinks (FICLONE), or when the stages of all sets would
   leave too little free space.

6. gxrepl promote [--apply]. Run on a copy before it takes over as the

   writer: it recovers apply.jnl, finishes a swap that was begun,
   discards the other stages and says what each discard loses. Exit 0
   = whole, 1 = torn, 3 = promote incomplete (try again), 2 = config.
   gxReplPromote() is the library call. "gxrepl torn" stays read-only
   and lists open stages as STAGED warnings. "gxrepl serve
   --accept-both" runs promote --apply before it starts serving.
   GXREPL_PROMOTE_LOCK_WAIT (default 480 s) bounds its wait for a
   running apply.

7. Dead copy folders. When the source removes a unit folder (for

   example a day folder archived at night), the copy used to delete
   only the files gxrepl copies; derived indexes, derived.stamp and
   other files gxrepl does not copy stayed behind, and promote-check
   refused the copy (UNSEALED) until the folder was removed by hand.
   Now a sealed unit whose last copied file goes is removed whole: its
   stage, the files gxrepl does not copy, the folder, its derived
   state and then its seal, under the apply lock after journal
   recovery. A server sweep (every GXREPL_SWEEP_SEC, 60 s) and the
   start-up recovery remove dead folders left by an older gxrepl or a
   stop part way (gxReplSweepDeadCopies()).
   It never removes an unsealed folder, a "copying" seal, a folder
   with a commit block, a copied file, a sub-folder, a configured
   writer lock, or any file that is not derived, default-excluded or
   derived.stamp; never while the set's writer holds its locks; and
   only on a node that is purely the set's copy (accept = target, or
   a pulling client). The sweeps leave a folder changed in the last
   GXREPL_DEAD_QUIET_SEC (600 s).

Build

Tests

DataReel 7.3.1 Beta Release Notes, 11/01/2026

DataReel 7.3.2 fixes database replication (gxrepl) problems found in production; see RELEASE_NOTES_7.3.2.txt.

DataReel 7.3.1 is a beta bug fix release of 7.3. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

7.3.1 fixes the problems found by a security scan of the object database code (gxDatabase, gxBtree, BtreeCache, gxdJournal, the page cache and the file I/O layer) and by a full sweep of the rest of the library (TLS, the gxStream database protocol, HTTP, SMTP, POP3, FTPS, telnet, RS-232, ping, config, log file, thread pool and the repair tools), and adds mutual TLS to gxStream database servers. The file formats are unchanged and the API changes are additions. Rebuild programs against 7.3.1.

The library version is 7.3.1 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.3.1); the soname stays libdatareel.so.7.

Fixes

1. gxDatabase::TotalBlocks() on a damaged file: a block length of

   zero looped for ever, tiny lengths rescanned the same bytes again
   and again, and in the 64-bit engine a huge length wrapped the
   address back to an earlier block (an endless count). Lengths
   shorter than a block header or past the end of the file are now
   skipped like any bad block. (Found by fuzzing.)

2. gxDatabase::CalcChecksum(): the end of file came from the file

   header, so a damaged header could ask for a buffer of any size. It
   is now limited by the real file size. (Found by fuzzing.)

3. gxDatabase::Close(): a file that failed the signature test in

   Open() was never closed, leaking one file descriptor or handle per
   failed open (a bug since 6.x). Close() now closes any open file and
   still never writes a header to a file that failed the checks.
   (Found by LeakSanitizer.)

4. gxdJournal::Recover(): pages past a file's committed size are

   skipped, so a damaged page number cannot become a wrapped file
   offset, and a commit record with a file size the file address type
   cannot hold ends the replay. (Found by static analysis and fuzzing.)

5. gxDatabase::WriteObjectChecksum() returned an uninitialised value

   when the file was not open. (Found by static analysis.)

SECURITY SWEEP FIXES (summary; the full list with tests is in DATAREEL_73_FULL_SECURITY_SWEEP.md in the project notes)

Mutual TLS for gxStream database servers (gxstls.h, gxstream.h, gxssl.h)

   Section text for RELEASE_NOTES_7.3.1.txt, 11/01/2026.

   gxStream servers now require client certificates and accept only
   the clients in an allow list. The check is on by default for
   database servers and off for other TLS servers.

   Servers
   - New gxStreamServer (gxstream.h), a gxsTLSServer for gxStream
     clients. Before Listen(), call SetClientCAFile("client_ca.pem")
     and allow clients with AllowClientFingerprint(sha256) and/or
     AllowClientCN(name). Listen() fails, with Error() saying why,
     if the client CA file or the allow list is missing. An open
     server needs an explicit AllowAnonymousClients(true).
     Accept(gxStream &) accepts a client into a stream.
   - New gxsTLSServer functions: SetClientCAFile(), ClientCAFile(),
     AllowClientFingerprint(), AllowClientCN(),
     ClearClientAllowList(), AllowedFingerprints(), AllowedCNs(),
     SetRequireClientAuth(), RequireClientAuth(),
     AllowAnonymousClients(), AnonymousClientsAllowed() and the
     static NormalizeFingerprint().
   - With a client CA file set, the server asks every client for a
     certificate. Only the CAs in that file are trusted for client
     certificates, not the system store. After the handshake
     Accept() checks that a certificate was sent, that its chain
     verifies, and that its SHA-256 fingerprint or subject CN is in
     the allow list. If any check fails the connection is closed
     and Accept() returns -1 (fail closed). With a client CA file and
     an empty allow list (possible only on a plain gxsTLSServer), any
     certificate from those CAs is accepted.
   - Fingerprints are 32 hex bytes, with or without colons and in
     either case; the "sha256 Fingerprint=" prefix printed by
     "openssl x509 -noout -fingerprint -sha256" is skipped. CN
     matches are exact and case sensitive. A certificate with no CN,
     more than one CN, or a NUL in the CN matches only by
     fingerprint.
   - The accepted gxsTLSConnection reports the client's identity:
     ClientAuthenticated(), PeerFingerprint() (upper case hex with
     colons) and PeerCN() (UTF-8). These come from the client's
     certificate, so escape control characters before logging them.
   - A plain gxsTLSServer (HTTPS server, tls_echo_server and other
     TLS servers) does not ask for client certificates unless
     SetClientCAFile() is called. Only gxStreamServer, or a server
     that calls SetRequireClientAuth(true), refuses to start without
     the setup. A program that serves gxStream with a plain
     gxsTLSServer keeps working but has no client check; switch it
     to gxStreamServer.
   - Call Accept() for every client. AttachServer() with the server
     context checks the certificate chain (OpenSSL) but not the
     allow list.

   Clients
   - New gxStream::SetClientCert(cert, key, passphrase), the same as
     Connection().SetClientCert(), sets the certificate and key sent
     to the server. Set it before Connect(). With TLS 1.3 a refused
     client finds out on its first read or write after Connect(),
     not in Connect() itself.
   - Schannel (Windows) clients load the certificate and key the
     same way as Schannel servers: a PEM or DER certificate with a
     PEM/DER PKCS#8, RSA or EC key (the key is imported into the
     current user's key store while the context exists), or a .pfx
     or .p12 file passed as the certificate with an empty key file.

   gxSSL
   - New SetClientCAList()/ClientCAList(), VerifyClientCert() and
     GetPeerCertIdentity() (OpenSSL and Schannel). OpenSSL servers
     use SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, send the
     client CA names and set a session ID context so resumed
     sessions still work. Schannel servers request client
     certificates with ASC_REQ_MUTUAL_AUTH and check the chain the
     same way VerifyCert() checks a server against a CA list: the
     root must be in the client CA list and the SSL policy is
     checked for client authentication. The fingerprint comes from
     CryptHashCertificate2(SHA256).

   Examples and tests
   - stream_server has new options --client-ca FILE,
     --allow-fingerprint SHA256 and --allow-cn NAME (repeatable), and
     --open for an open server. Without them it refuses to start. It
     logs each client's CN and fingerprint. stream_client has --cert
     FILE --key FILE.
   - run_tests.sh makes a client CA and two client certificates and
     adds stream_client_identity_logged, stream_no_client_cert_refused,
     stream_wrong_client_cert_refused,
     stream_server_refuses_without_auth_config and stream_open_server.
     run_tests_win.sh runs the same checks; its CERT_DIR now also
     needs client_ca.pem, client_ok.pem/.key and client_bad.pem/.key.

   Compatibility
   - Source compatible: all changes are new functions and a new
     class. gxSSL, gxsTLSConnection and gxsTLSServer have new
     members, so programs built against 7.3 must be rebuilt.
   - Existing stream_server command lines must add --client-ca and
     an allow option (or --open), and clients need --cert/--key.
   - The Schannel code was written without a Windows compiler at hand
     and needs a build and run_tests_win.sh run on Windows before
     release. Depending on the Windows ClientAuthTrustMode setting,
     Schannel may also check client certificates against the
     machine's trusted roots during the handshake.

NOTE: a journal names the files it repairs. Recovering a journal that someone else wrote can write to any file the program may write, the same trust the program gives its database files. Keep journal files in a folder only the database owner can write.

Tests

The scan itself (tools, fuzzing statistics, reproducers) is described in DATAREEL_73_SECURITY_SCAN.md in the project notes.

DATABASE REPLICATION (added 11/07/2026, beta)

gxrepl keeps folders of object databases the same on two nodes over a gxStream TLS connection, TCP port 2073 (gxsDATA_PORT) by default, with an SSH tunnel as the fallback when the port is closed. See utils/gxrepl/README.md.

No file format changes: a database written with the ship log is an ordinary database, and the log lives in its own folder. POSIX only.

11/08/2026 changes (replication protocol 2; both nodes must run the same version, a mismatch is refused in the hello):

Database object server (11/08/2026, phase 2; replication protocol 3):

Power-loss tests and fixes (11/09/2026, phase 2 step 5):

Replication fixes from the 11/10 reviews (gxrepl-var-r3):

Ship-log volume and whole copies (11/10, gxrepl-var-r4 / r4d):

DataReel 7.3 Beta Release Notes, 10/31/2026

DataReel 7.3.1 fixes the problems a security scan found; see RELEASE_NOTES_7.3.1.txt.

DataReel 7.3 is a beta release. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

7.3 makes reads and key-order scans faster. Everything in 7.2 (the journal, the page cache, positional I/O, the hashed B-tree cache) is unchanged; see RELEASE_NOTES_7.2.txt.

The library version is 7.3 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.3). The shared library soname (libdatareel.so.7) and the database file format are unchanged, and find_package(DataReel 7) finds 7.3. Programs built against 7.2 must be rebuilt (gxdPageCache and gxBtree have new members).

What changed

1. Memory-mapped reads (gxdpcache.h, gxdfptr.h)

   The page cache reads clean data that is not in a cached page
   straight from a read-only memory map of the file (mmap() on Linux,
   CreateFileMapping()/MapViewOfFile() on Windows). Reading a record
   costs no system call and no page copy. The map is renewed as the
   file grows. EnablePageCache(bytes, use_map = 1); pass 0 to read
   pages with pread()/ReadFile() as in 7.2. New: gxdFPTRMap(),
   gxdFPTRUnmap(). Programs that measure their memory will see the
   file pages they read in their resident size: that is the shared
   operating system cache, not memory the program allocated.

2. FindNext() in one compare (gxbtree.h)

   When FindNext() is given the key it returned last and the index
   file is unchanged, the next key comes from the same leaf with one
   compare and a copy, without a binary search or a walk from the
   root.

3. Journal checksum in four lanes (gxdjrnl.cpp)

   The page checksum used to find torn journal writes runs about four
   times faster. The journal file format is unchanged.

Speed

1,000,000 records, 16-byte keys, 100-byte values, batches of 1000, 64 MB of cache, RHEL 10.2, SATA SSD, XFS. Ops/s, median of 3 runs, DataReel with the journal against a typical embedded SQL database in WAL mode ("SQL DB"):

                          7.2        7.3     SQL DB
 insert in key order    663,541    621,995    625,131
 insert in random order 171,869    167,241     79,408
 random read            268,542    424,557    235,514
 key-order scan (1)     652,149  3,278,787  6,766,442
 key-order scan (2)          -   7,648,578  7,172,378
 random update          127,558    127,502     94,242
 random delete          107,841    101,968    108,082
 durable insert           1,003      1,253      1,496

 (1) records inserted in random order: DataReel's index points into
     a separate data file, which the scan reads in record order
 (2) records inserted in key order

A scan of records inserted in random order stays behind the SQL database, which stores rows inside its B-tree. Closing that gap needs a clustered index (records stored in the index leaves), which would be a new file type; it is not part of 7.3.

How it was tested

DataReel 7.2 Beta Release Notes, 10/31/2026

DataReel 7.3 followed on the same day with memory-mapped reads and faster scans; see RELEASE_NOTES_7.3.txt.

DataReel 7.2 is a beta release. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

The library version is 7.2 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.2). The shared library soname (libdatareel.so.7) and the database file format version are unchanged, and find_package(DataReel 7) finds 7.2. Programs built against 7.1 must be rebuilt (see COMPATIBILITY).

7.2 makes the object database fast and crash safe without changing the database or index file formats. Files written by 7.2 open in 7.1, 7.0 and 6.2, and the other way around.

What changed

1. File I/O without stdio (gxdfptr.h, gxdfp64.h)

   Linux reads and writes with pread()/pwrite(), Windows (MSVC) with
   ReadFile()/WriteFile() and an OVERLAPPED offset, at a position kept
   in the stream, for both the 32-bit and 64-bit engines. A seek no
   longer costs a system call (it was about 20 system calls per
   database operation), and there is no stdio buffer to discard.
   New functions: gxdFPTRReadAt(), gxdFPTRWriteAt(), gxdFPTRSync(),
   gxdFPTRTruncate(), gxdFPTRAllocate(). gxdFPTRSeek(gxDBASE_SEEK_END)
   now seeks from the end of the file (it seeked from the current
   position). On Linux gxdFPTRFlush() has nothing to flush: writes go
   straight to the kernel. gxdFPTR64 keeps its FILE *fptr member (a
   stream on the same descriptor) so fileno(GetFP()->fptr) still works.

2. Real durability (gxdbase.h)

   gxDatabase::Sync(int full = 0) forces the file to disk (fdatasync,
   or fsync with full set; FlushFileBuffers on Windows).
   SetSyncOnFlush(1) makes Flush() sync as well. Before 7.2 Flush()
   stopped at the operating system's buffers.

3. Page cache (gxdpcache.h)

   gxDatabase::EnablePageCache(bytes) keeps 4 KB pages of the file in
   memory; every gxDatabase read and write uses it, so B-tree nodes,
   block headers and objects are read from memory once loaded. Outside
   a transaction it writes through, so the file is the same as without
   it. Use it only while one gxDatabase object owns the file.

4. Atomic, crash and power loss safe transactions (gxdjrnl.h)

   gxdJournal is a write-ahead log for a group of files (a data file
   and its index files):

     gxdJournal j;
     j.Open("orders.jnl");          // replays committed work
     db.Open("orders.gxd"); btx.Open("orders.btx");
     j.Attach(&db); j.Attach(&btx); // and a BtreeCache if used
     j.Begin(); ... j.Commit();      // Commit(1): synced, durable
     j.Close();                     // checkpoint, then close the files

   A commit appends the changed pages to the journal with one sync,
   then writes them to the files without a sync, so other processes
   reading the files see the batch when Commit() returns
   (write-through, the default). A checkpoint syncs the files and
   empties the journal when it passes 8 MB and on Close(), which also
   truncates it. After a program crash or power loss Open() writes
   every committed transaction to the files and drops one that did not
   commit, so a batch is all or nothing. Commit(0) skips the journal
   sync: safe from a program crash, but in write-through mode a power
   loss can leave part of that batch in the files. Rollback() drops the
   open transaction.

   SetWriteMode(gxdJOURNAL_WRITE_BACK) keeps committed pages in memory
   until a checkpoint (64 MB): fewer writes for a program that is the
   only user of the files, but other processes do not see the data
   until then. SetSyncLevel(OFF) skips the checkpoint syncs for
   Commit(0) work, like the "no sync" setting of embedded SQL databases.

   Readers in other processes see whole batches after Commit()
   returns. A reader that runs while a commit writes its pages can see
   part of the batch: use the application's own change counter, or
   SetWriteLock(1) in the writer and gxdJournalReadLock (a shared
   flock()/LockFileEx() lock on the journal file) in the readers.

5. B-tree cache (btcache.h)

   BtreeCache::FindBucket() used a linear walk of the buckets, so a big
   cache was slower than a small one (a 64 MB cache made random reads
   33 times slower). It is a hash lookup now. BtreeCache::Flush()
   writes the dirty buckets and keeps them, instead of emptying them.
   New: BtreeCache::Discard(). With the B-tree and its BtreeCache
   attached to a gxdJournal the cached B-tree is crash safe.

   NOTE: without the journal, a crash in the middle of a batch can
   still lose B-tree keys, as in 7.1 (cached nodes reach the file in
   cache order, and each node change is a separate write). Use
   gxdJournal for any index that must survive a crash or power loss.

6. B-tree reads (gxbtree.h)

   A node is read and written with one call each (it was three).
   Find(), FindFirst() and FindNext() reuse one node kept in the
   gxBtree, so a walk in key order reads the next key from the same
   leaf instead of searching from the root, while the file has not
   been written since (gxDatabase::WriteCount()).

7. Padding bytes

   gxFileHeader, gxBlockHeader and gxBtreeHeader zero their padding
   bytes, which were written to files with whatever the memory held.

Compatibility

Speed

Same workload for every engine (the datareel_oodb_bench program): 1,000,000 records, 16-byte keys, 100-byte values, batches of 1000, 64 MB of cache, no sync except "durable", RHEL 10.2, SATA SSD, XFS. Ops/s, median of 3 runs:

                     key order  random   random   ordered  random   random   durable
                     insert     insert   read     scan     update   delete   insert
 7.1                    83,827   76,453  174,957  218,694  151,092   66,721      265
 7.2, no code change   137,543  128,469  217,368 1,249,539 212,531   86,917      353
 7.2 + journal         663,541  171,869  268,542  652,149  127,558  107,841    1,003
 embedded SQL (WAL)    666,603   90,840  281,075 7,355,031 113,561  132,841    1,660

The ordered scan reads the data file in record order, not key order; the embedded SQL database (a typical one, in WAL mode) keeps rows in its B-tree leaves. The full report is kept in the project's development records.

How it was tested

DataReel 7.1 Beta Release Notes, 10/31/2026

DataReel 7.2 followed on the same day with the journal, the page cache and faster I/O; see RELEASE_NOTES_7.2.txt.

DataReel 7.1 is a beta release. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

DataReel is an object database (OODB) and cross platform communications toolkit for C++. 7.1 removes the gxRDBMS relational tables so the library is made of its two parts: the object database (gxDatabase, gxBtree, POD, InfoHog and the database utilities) and TLS networking. Everything else is unchanged from 7.0; see RELEASE_NOTES_7.0.txt for the move from 6.x to DataReel 7.

The library version is 7.1 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.1). The shared library soname (libdatareel.so.7) and the database file format version (gxDatabaseVersionNumber 4630) are unchanged, and find_package(DataReel 7) finds 7.1.

Removed, and what to use instead

 gxRDBMS relational tables        An embedded SQL database
 (gxrdbms.h, gxrdbhdr.h,
 gxrdbdef.h), db_rdbms example

File formats

Database, index and InfoHog files are unchanged and are byte-for-byte identical to the files 7.0 and 6.2 write. gxRDBMS table files can no longer be opened; read them with 6.2 or 7.0 and move the data to an embedded SQL database.

How the release was tested

DataReel 7.0 Beta Release Notes, 10/26/2026

DataReel 7.0 is a beta release. DataReel 7.4.1 (11/20/2026) is now the stable release, and DataReel 6.4.2 the legacy release (bug fixes and security updates only); please report problems through https://datareel.com/contact.php.

DataReel 7.1 removed the gxRDBMS relational tables; see RELEASE_NOTES_7.1.txt.

DataReel 7.0 is a modernization release. The library now requires C++17, uses the C++ standard library for strings, containers, threads, files and time, and keeps the parts the standard library does not have: the object database, TLS networking and the portable file formats. Every network protocol except telnet and ping uses TLS.

Database, index, InfoHog and gxRDBMS files are unchanged. The same programs built against 6.2 and 7.0 write byte-for-byte identical files, and 7.0 reads files written by 6.2.

The library version is 7.0 (version.txt, DATAREEL_VERSION_STRING in gxdlcode.h, libdatareel.so.7.0). The database file format version (gxDatabaseVersionNumber 4630) is unchanged.

Requirements

Removed, and what to use instead

 UString, gxString, gxStringw     std::string, std::wstring, and the
                                  helpers in strutil.h
 strutil C string functions       strutil.h std::string helpers
 MemoryBuffer, MemoryBlock        std::vector<unsigned char>
 gxList, gxListB, gxBStree        std::list, std::vector, std::set,
                                  std::map
 DiskFileB, futils                std::fstream, std::filesystem
 SysTime                          systime.h functions, std::chrono
 gxThread, gxThreadAPIWrapper,    std::thread or std::jthread
 thread helpers, gThreadT
 gxMutex, gxCondition,            std::mutex, std::condition_variable,
 gxSemaphore                      std::counting_semaphore (C++20)
 thrPool                          datareel::ThreadPool (thrpool.h)
 gxDeviceCache, device buckets    (no replacement; the B-tree and
                                  database caches remain)
 FString                          char arrays or std::array
 gxIP32, gxMAC48                  gxsAddress, std::string
 gxDatagram                       gxSocket::OpenDatagram()/SendTo()
 gxsHTML, gxsXML, gxsRSS parsers  a dedicated parser (pugixml,
                                  libxml2)
 HyperText, PostScriptDrv,        std::format/std::ostream
 asprint report writers
 Terminal (curses/ANSI.SYS)       ncurses directly
 Ehandler, ostrbase               exceptions, std::ostream
 leaktest (MSVC CRT)              AddressSanitizer, valgrind
 gxsSocketUtils (gxsutils.h)      (moved into gxsPing)
 wserror (Winsock messages)       gxSocket::SocketExceptionMessage()
 gxrdbsql.h (empty placeholder)   An embedded SQL database if you need SQL
 stdafx.h, gxdlincs.h, wxincs.h,  (not needed)
 wx2incs.h
 hexdump, ffind, txfilter utils   xxd, find, sed, PowerShell
 MSVC nmake, Borland, MinGW and   CMake
 Intel makefiles; dll/, winslib/

Rewritten classes

Networking

General

Database

Namespace

Every class, type, constant and function is declared in namespace datareel. gxdlcode.h, which every DataReel header includes, adds "using namespace datareel;" so 6.x code that uses unqualified names still compiles. Define DATAREEL_NO_GLOBAL_NAMES before including any DataReel header to keep the names out of the global namespace and qualify them (datareel::gxDatabase).

Bug and security fixes

Porting from 6.x

1. Build with CMake (or the new build/makefile) and C++17. 2. Replace gxString/UString with std::string. Most member calls have a

   strutil.h function: TrimLeadingSpaces() -> trim_left_in_place(s),
   DeleteBeforeIncluding(x) -> delete_before_including(s, x),
   Atoi() -> to_int(s), IFind() -> ifind(s, p), ToUpper() ->
   s = to_upper(s), FilterChar(c) -> erase_char(s, c), and
   "s << a << 42" -> str_append(s, a, 42). Find() returns
   std::string::npos instead of -1.

3. Replace MemoryBuffer with std::vector<unsigned char> (m_buf() ->

   data(), length() -> size(), Load(p, n) -> assign(p, p + n)).

4. Replace the thread classes with std::thread, std::mutex and

   std::condition_variable, and thrPool with datareel::ThreadPool.

5. Network code: open TLS connections with gxsTLSConnection or the

   protocol clients. Servers use gxsTLSServer with a certificate and
   key. Test servers with self-signed certificates need SetCAFile()
   on the client (or SetVerifyPeer(false) for tests only).

6. gxConfig::Load() and the Write functions return bool (true on

   success); GetStrValue() returns const char* or null.

7. LogFile no longer derives from DiskFileB; use Open(), WriteLine(),

   Write() and operator<<.

8. CDate::c_str() is now str() and returns std::string. 9. Keep DATAREEL_64BIT_DATABASE and DATAREEL_NATIVE_TYPES the same as

   your 6.x build so your files keep their layout.

Guides for ai coding assistants

AGENTS.md, llms.txt, llms-full.txt and docs/ai describe how to use DataReel for TLS communications and object databases, with complete sample programs (docs/ai/samples) that tests/run_tests.sh builds and runs. docs/bin/make_ai_docs.py copies the samples into the guides and rebuilds llms.txt and llms-full.txt.

How the release was tested

Supported platforms