Skip to content

YAMS 0.23.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 00:54
Immutable release. Only release title and notes can be modified.
9764f77

Release Notes

Added

  • chunking: default to 64 KB chunks (4 KB min, 256 KB max) (e505d72)
  • cli: add JSON retrieval and research reports (b27a410)
  • common: add an exclusive file lock and a parent for createTempDirectory (a4cbb6a)
  • daemon: fill the grep trigram index in the background (dc3bc9d)
  • daemon: fill the grep trigram index in the background (f0150c8)
  • daemon: resolve path-tree repair maintenance keys from config (342981c)
  • daemon: run path-tree repair as governed repair maintenance (2817dcc)
  • grep: skip documents the trigram index rules out (4663702)
  • grep: skip documents the trigram index rules out (ee2387e)
  • metadata: let a path-tree repair window stop between documents (12c190e)
  • metadata: store a trigram index of grep-scanned bytes (37e3473)
  • search: record queries in a local, capped query log (a2f0647)
  • topology: adopt a route fit only when it clears a minimum held-out gain (54f6a04)
  • topology: bound the route fit's work and train only on real questions (3014835)
  • topology: fit only clusters with enough documents; route per cluster (65aa2e9)
  • topology: fit route vectors during full rebuilds, off by default (7605860)
  • topology: fit routing vectors to cluster support functions (2bb440f)
  • topology: make the route fit run in normal operation, bounded and on real questions (6fe4947)
  • topology: persist fitted route vectors in a snapshot sidecar (239d45b)
  • topology: report held-out recall from the route fit even when it is not adopted (49a0cf6)
  • watch: persist what was seen, back off, wait before removing, read every .gitignore (0ed36e8)

Fixed

  • app: report prune query failures and match extensions without case (0a9c758)
  • bench: judge corpus readiness by distinct document contents (827b775)
  • chunking: gear-hash content-defined boundaries, 64 KB default chunks (f6ec38e)
  • chunking: use a gear hash so text gets content-defined boundaries (387d44e)
  • cli: close the remaining gaps in daemon lifecycle scoping and start reporting (a367739)
  • client: close off-strand only once the caller's executor threads are joined (8e86ad2)
  • cli: exit non-zero on every plugin install, update and uninstall failure (b44a3f7)
  • cli: exit non-zero when plugin repo list, info or versions fail (c95ab15)
  • cli: keep daemon stop, restart and start on the daemon they were pointed at (f859a91)
  • cli: keep JSON get whole, and enforce the report window in the script (3e4c778)
  • cli: report plugin install and update failures with an exit code (d02c377)
  • common: never hand out an existing directory from createTempDirectory (ae9214a)
  • config: decode the TOML escapes YAMS writes when reading config values (724f6f6)
  • config: escape values when rewriting the config (e3e59a2)
  • content-store: reuse the existing manifest in batch stores (d397f01)
  • content-store: serialize store and remove per content hash (796cd19)
  • content-store: store known content against its existing manifest (6d37435)
  • coverage: report from clang builds and long-lived build dirs (cde8292)
  • coverage: report from clang builds and long-lived build dirs (be3cec0)
  • coverage: stop when the build's compiler cannot be read (500373d)
  • daemon: abort a path-tree batch only when the service is stopping (4cfb8f4)
  • daemon: back off the prune delete loop under governor pressure (329ab31)
  • daemon: clamp path_tree_repair_interval_hours to a year (d33b247)
  • daemon: enable embeddings by default and rebuild topology after neighbour backfill (582405a)
  • daemon: enable embeddings by default and rebuild topology after neighbour backfill (374a2d3)
  • daemon: include the timer header ServiceManager.h now names (70b5f86)
  • daemon: portable walk prefixes and no partial storage fingerprints (4708f36)
  • daemon: read directory mtimes directly for the storage fingerprint (add2b08)
  • daemon: report a daemon that fails to start to the process that launched it (15613c5)
  • daemon: report only linked documents from the backfill; check the provider on every repair path (324cbf4)
  • daemon: reserve the repair gate for background path-tree batches (724538d)
  • daemon: run prune candidate scan on the worker pool (12e5658)
  • daemon: skip dot-prefixed directories in the external plugin scan (3f2dd69)
  • daemon: skip dot-prefixed directories when scanning for plugins (4c4d70b)
  • daemon: stop reporting optional extractors as readiness (16ba160)
  • downloader: name the macOS CA bundle so TLS works on Intel Macs (457d8fc)
  • grep: answer files-only and count requests; say when the time budget cut a scan (b7cbc47)
  • grep: answer files-only and count requests; say when the time budget cut a scan (6b66529)
  • grep: consume multi-character escapes whole when extracting literals (daf0fce)
  • grep: count lines not occurrences, keep semantic records, and name the budget precisely (d12cb8f)
  • grep: extract only literals every match must contain (e6fe880)
  • init: keep an existing config when setting up another data directory (0b09c21)
  • init: report where the additional store actually is (983c6b2)
  • integrity: let BlockRepairer replace a corrupt stored block (8da88af)
  • list: apply the time filters list accepts (8264648)
  • list: apply the time filters list accepts (10c68a1)
  • macos compat fix (c1a2922)
  • memory-sync: grow the sweep budget only for a full workspace (65afd87)
  • memory-sync: grow the sweep budget when the store outgrows it (3202730)
  • memory-sync: grow the sweep budget when the store outgrows it (a5c32b3)
  • memory-sync: log failed sync cycles and show the last error (949e5f9)
  • metadata: fill indexedTime in the default candidate projection and test it (c923d48)
  • metadata: include the PathTreeNode definition in path_tree_write (6b9f623)
  • metadata: index grep trigrams past NUL bytes (730c335)
  • metadata: keep literal % and _ exact in contains and wildcard-free globs (ad5aded)
  • metadata: match globs that contain a literal underscore (47779c2)
  • metadata: match path-tree repair on the normalized, linked leaf (2d7ae90)
  • mobile: build an embedded search engine; keep downloads in the working dir (09e92e1)
  • mobile: build an embedded search engine; keep downloads in the working dir (cc59128)
  • plugins: accept directory and ./ entries in plugin archives (6d91bf7)
  • plugins: allow leading ".." in archive symlink targets (40fc1de)
  • plugins: close symlink, upgrade and checksum gaps in the installer (6fc267b)
  • plugins: do not follow redirects when TLS verification is off (a0be9d7)
  • plugins: harden plugin archive extraction (e246586)
  • plugins: hold the install lock only while the target directory changes (cc7d206)
  • plugins: keep upgrade backups out of the installed plugin list (5d9f951)
  • plugins: match loopback on the parsed URL host before disabling TLS verification (5b69a61)
  • plugins: recreate Windows file symlinks to directories as directory symlinks (097a75c)
  • plugins: refuse a symlinked staging directory (bacef38)
  • plugins: refuse to install a plugin without a checksum (6d5a384)
  • plugins: serialize plugin installs per target directory (551b783)
  • plugins: stage plugin installs next to the install directory (7a9e555)
  • plugins: tighten installer target, layout and permission handling (01ca5e4)
  • policy: put each test's DLL directories on PATH on Windows (df78cf9)
  • release: unblock the Arch aarch64 package and stop it blocking releases (8110c98)
  • release: unblock the Arch aarch64 package and stop it blocking releases (851aa36)
  • search: keep concept text retention inside an exception boundary (fa98285)
  • search: keep root files and caller path patterns in scoped search (d196c32)
  • search: keep root files and caller path patterns in scoped search (ef2a2b2)
  • search: tighten the query log's ordering, counts and cap handling (1fe1408)
  • services: resolve in-scope paths too, and share one scope in hybrid search (d04f44e)
  • storage: make block reference repair transactional and cancellable (795de44)
  • storage: skip unreadable objects and always refresh ref_statistics (c3eaf73)
  • topology: fit route vectors on the first snapshot too (74d9ad1)
  • topology: treat ? as a glob wildcard when filtering route-fit queries (bdb412a)
  • vector: cheap, error-checked schema probe and backend group drop (4e266b3)
  • vector: log vector schema alignment failures in EmbeddingService (411d9c2)
  • vector: probe every vector table when aligning the schema dimension (f45978a)
  • vector: recreate only the stale vector table groups on mismatch (84e05a3)
  • vector: stop pretending to align a mismatched DB in EmbeddingService (0f77d72)
  • watch: do not walk past a .gitignore that cannot be read (468a463)
  • watch: honour stop on every platform; contain explicit files; cheaper session lookup (addc534)
  • watch: index exactly the changed files, and refuse oversized trees (b516575)
  • watch: index exactly the changed files, and refuse oversized trees (d1252df)
  • watch: make session watching work, cheap and safe to leave on (23c2d73)
  • watch: serialize the shutdown wake-up with the watcher on a strand (85530e3)
  • watch: wake the watcher on shutdown; walk without listing; tighten the path check (9fea409)
  • watch: watch every enabled session, cut the cost of a pass, and stop promptly (2465056)

Performance

  • client: close a socket at once when its executor is already stopped (0b96c9f)
  • cli: read the repo index through the lightweight candidate projection (b2753d9)
  • cli: skip hashing unchanged files in the repo freshness check (3ecd44e)
  • common: compute CRC32 with carry-less multiply where the CPU has it (908898a)
  • daemon: one wakeup per idle repair loop iteration (833fed6)
  • daemon: skip the storage walk while the content store is unchanged (2544705)
  • extraction: detect language in one pass over the text (4cdfaf0)
  • extraction: detect language in one pass over the text (1c723f1)
  • manifest: evict from the manifest cache in constant time (389c70e)
  • manifest: skip the cache lock at zero capacity; compare restored bytes in tests (c1ea0a5)
  • metadata: stop the pool maintenance thread without waiting out its sleep (5f372ac)
  • search: mine lexical concepts from the text BM25 indexed (689fb11)
  • search: mine lexical concepts from the text BM25 indexed (2ccfe14)
  • services: check grep and search scope once per directory, not per document (db2e8b0)
  • topology: stop copying the centroid matrix twice per route-index build (cad14e5)
  • topology: stop copying the centroid matrix twice per route-index build (0ffa842)
  • vector: normalize each ANN vector once, not twice (8a37633)
  • vector: normalize each ANN vector once, not twice (7b56c69)
  • vector: stream vectors through the Simeon PQ rebuild (c799d31)

Maintenance

Changed

  • app: move prune planning out of RepairManager (5d69295)
  • cli: derive every status capability flag from its count (a541859)
  • cli: remove uncalled list helpers and their reimplementation test (ab5ddf4)
  • common: keep platform headers out of file_lock.h (6fdeca4)
  • common: remove unused delete_resolver header and its test (30b964a)
  • compression: remove unused recovery, transaction, error-handler and validator subsystems (9ca0948)
  • daemon: remove dead repair plumbing (4a80e18)
  • integrity: remove unused ChunkValidator (7334c28)
  • integrity: rename RepairManager to BlockRepairer (893ca75)
  • metadata: move path-tree repair out of RepairManager (16d2caf)
  • plugins: share the reserved plugin directory name rule (61c1dff)
  • storage: move block reference repair out of RepairManager (87cc341)
  • storage: share the object-path storage key rules (b35e0ed)
  • vector: move vector schema repair out of the integrity module (eca6d13)
    Full changelog: CHANGELOG.md