Skip to content

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 26 Sep 19:38
· 3135 commits to main since this release
34d96cb

Highlights

  • Queries. lookup attaches another collection's documents to each row. It can be chained, and required lets the children decide which parents appear. There is an ordered index (@sorted), and in and id are answered from an index. Also new: explain, aggregates, and collation (ICU's root order and its Turkish tailoring) on a query or on a field.
  • Search. Quantized HNSW indexes (quant=int8, and quant=bit with centred codes). Sparse vectors (sparse<N> with @inverted, pgvector's sparsevec). fuse ranks BM25 and vectors together, and text in scripts written without spaces is indexed.
  • Storage. The file is mapped, and every write is a block that lands whole. ROLLBACK and fsync are honest, with a group commit. The graph is crash-safe and a server keeps it in its file. create index and compact run beside the database.
  • Transactions. Atomic batches. pg transactions with savepoints and schema changes, including transaction control written in one text.
  • Replication and scale-out. Replicas and point-in-time restore from an archive. --follow mirrors a PostgreSQL table, served by the server that follows it. Tenant nodes run behind a router, with lease-based automatic failover and a replica of its own for each tenant.
  • Browser. A database is kept in IndexedDB or in a file of the origin private file system (openFile). A module can be built with only the indexes a page uses. The full module went from 508 KB to 405 KB (134 KB brotli), and it is faster.
  • Integrations. The LangChain and LlamaIndex stores have text and hybrid modes. React has useLiveQuery. The pg catalog serves psql, JDBC and DBeaver. There is /_metrics, and statement statistics.
  • Packages. fenecdb on PyPI, and @fenecdb/web and @fenecdb/react on npm, are published when a release is.
docker pull ghcr.io/fenecdb/fenec-pg:0.1.5

What's Changed

  • Add lookup: another collection's documents, attached per row by @furkankinyas in #14
  • Stop fully sorting a lookup's children when its limit says not to by @furkankinyas in #16
  • Add required to lookup: let the children decide who appears by @furkankinyas in #17
  • Reach lookup from the query string, the way the filters already read by @furkankinyas in #18
  • Answer the existence check without building a list to throw away by @furkankinyas in #20
  • Let required be answered from whichever side is smaller by @furkankinyas in #21
  • Answer in and id from an index instead of scanning by @furkankinyas in #15
  • Skip the equalities a child cannot index instead of losing the plan by @furkankinyas in #24
  • Say that main takes no direct pushes by @furkankinyas in #13
  • Chain lookups: another collection's children, one level further down by @furkankinyas in #25
  • Scale out by tenant: a file each, many per node, a router in front by @furkankinyas in #26
  • Match the README brotli claim as it now reads by @furkankinyas in #27
  • Phase 0: honest ROLLBACK and fsync, paged scans, wasm SIMD, fair numbers by @furkankinyas in #28
  • Phase 1: ordered index, probed filtered near, explain, crash-safe graph, group commit, incremental persistence by @furkankinyas in #29
  • Phase 2: replicas, PITR, online maintenance, scoped access, aggregates, fuse, follow, catalog, collation, integrations, metrics by @furkankinyas in #30
  • Phase 3: the file is mapped, quantized indexes, tenant nodes on the wire with replicas by @furkankinyas in #31
  • Sparse vectors: sparse, @Inverted, and near by dot product by @furkankinyas in #32
  • Phase 4: correctness debt by @furkankinyas in #33
  • Phase 5 (part 1): rewrites, checkpoints, the standby router, BEIR's [SEP] by @furkankinyas in #34
  • 5.3: quantized near reads only what can make the page by @furkankinyas in #36
  • Phase 6: a server answers before its graph is linked; field collations by @furkankinyas in #37
  • Bump sharp and @huggingface/transformers in /crates/fenec-bench/beir by @dependabot[bot] in #35
  • Phase 6 (part 2): every script's collation, text written without spaces, the browser module by feature by @furkankinyas in #38
  • Phase 7: graphs kept in the file, sparse near summed, the stores' text and hybrid modes, statement counts by @furkankinyas in #39
  • Phase 8, part 1: centred bit codes, the router's metrics, compact beside the database by @furkankinyas in #40
  • Phase 8, part 2: serve a --follow mirror from the server that follows it by @furkankinyas in #41
  • Give the sizes the module and the binaries have now by @furkankinyas in #42
  • Phase 9, part 1: a page's database in a file of its own by @furkankinyas in #43
  • Phase 9, part 2: bit codes meet the query in popcounts by @furkankinyas in #44
  • Phase 9, part 3: a replica of its own for each tenant by @furkankinyas in #45
  • Phase 9, part 4: atomic batches and pg transactions (9.4) by @furkankinyas in #46
  • Phase 10, part 1: publish the packages when a release is published (10.1) by @furkankinyas in #47
  • Phase 10, part 2: automatic failover on a lease (10.2) by @furkankinyas in #48
  • Phase 10, part 3: savepoints by @furkankinyas in #49
  • Phase 10, part 4: schema changes in transactions by @furkankinyas in #50
  • Phase 10, part 5: transaction control in one text by @furkankinyas in #51
  • Phase 10, part 6: one record walk, one head coder, fewer cfgs by @furkankinyas in #52
  • Phase 11, part 0: make test in minutes, not an hour by @furkankinyas in #53
  • 11.1: Report where the browser module's bytes go by @furkankinyas in #54
  • 11.2: Write floats as {} does, without the standard library's formatting by @furkankinyas in #55
  • 11.3: Compile the standard library's sorts and maps for fewer types by @furkankinyas in #56
  • 11.4: Put strings in a case, and slice them, without a panic's formatting by @furkankinyas in #57
  • 11.5: Link the browser module with its relocations written short by @furkankinyas in #58
  • 11.6: Build the shell's HTTP client for size, and report a native binary by crate by @furkankinyas in #59
  • Release 0.1.5 by @furkankinyas in #60

New Contributors

Full Changelog: v0.1.4...v0.1.5