Skip to content

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 03 Oct 00:30
· 2757 commits to main since this release
3549e53

Highlights

connect() works in browsers again. FenecHttp called fetch as its own method, which browsers reject with "Illegal invocation". Node did not show it, so every page that used connect() without passing its own fetch failed. Fixed and covered.

The package each page needs.

  • @fenecdb/web/client: the HTTP client, the builder and live queries over the server's stream. It holds no WebAssembly, sync or storage, and a test holds it to that. A connect() app bundles 5.7 KB brotli through it.
  • fenec-replica.wasm, opt-in: 146.9 KB brotli against the full module's 173.7, with no HNSW graph. sync() still loads the full module, because a graphless near is 10–40× slower; the docs' "Which package" table gives the numbers.
  • near without the graph answers exactly instead of refusing, in the replica and lite modules. It is held to the full module's near ... exact row for row.

Fixes

  • With an f16 field and cosine, near ... exact scores changed after a reopen (0.938902 → 0.939080).
  • sync({ shapes: [{ collection: table }] }) now takes a table declared in code, as the docs write it.
  • The Swift tests no longer hang. A synced database's close() waits off the cooperative pool.
  • The Maven Central job waits for the deployment and fails when it is refused.

Examples. The same Notes app in TypeScript, React, Node, Python, Go, .NET, Rust, Swift, Kotlin and Flutter, in examples/. Each is built and run in CI.

Compare. New pages comparing fenecdb with PostgreSQL + pgvector, SQLite and PGlite, under Docs → Compare. Every claim about the other product links its source.

What's Changed

Full Changelog: v0.1.8...v0.1.9