Skip to content

Releases: yy-database/yydb

v0.0.18

Choose a tag to compare

@oovm oovm released this 22 Oct 17:23

Prepared statements across the wire and Node: Database.prepare, Statement, Prepare and ExecutePrepared frames, and server auth gates.

Features

  • Add Database.prepare and Statement to Node facade (@aster)
  • Expose PreparedStatement over N-API with thread local registry (@aster)

Other

  • Server auth gates and Prepare and ExecutePrepared wire frames (@aster)
  • Redo PreparedStatement Rust core with lexer aware preprocessor and direct Name to Slot lowering (@aster)

Contributors

@aster
aster

v0.0.17

Choose a tag to compare

@oovm oovm released this 22 Oct 17:23

Release pipeline hardening for darwin-x64 and a standalone error contract in @yydb/yydb-client.

Other

  • Drop continue-on-error and build darwin-x64 on macos-latest arm64 runner with Tier 2 cross compile and clang (@aster)
  • Release resilience: darwin-x64 continues on timeout, download/prepare/publish steps tolerate missing native binaries (@aster)
  • Decouple @yydb/yydb-client from @yydb/yydb to own the error contract locally (@aster)

Contributors

@aster
aster

v0.0.16

Choose a tag to compare

@oovm oovm released this 22 Oct 17:23

Browser and wasm author-side isomorphism: BrowserDatabase becomes Database, the wasm handle becomes WasmDatabase, and release and CI fixes land.

Bug Fixes

  • Browser multitab test uses duck typing for LightDbError to avoid instanceof mismatch (@aster)
  • Browser test uses duck typing for LightDbError to avoid instanceof mismatch across transpile boundaries (@aster)
  • Remove nifty format --check from TypeScript CI gate (@aster)

Other

  • Fix release publish step and rewrite all workspace:* deps with @yydb/yydb before @yydb/yydb-client (@aster)
  • Rename BrowserDatabase to Database and demote WASM Database to WasmDatabase for author side isomorphism (@aster)
  • Browser multitab test imports leaf modules directly to bypass WASM reexport chain (@aster)
  • Browser test imports leaf modules directly to bypass WASM reexport chain (@aster)
  • Split WASM Database from pure TypeScript BrowserDatabase to avoid wasm32 specifier in browser tests (@aster)
  • Restore BrowserDatabase pure TypeScript path alongside WASM Database (@aster)
  • Fix @yydb/light-db tests to use StorageEngine and add browser-safe vite aliases (@aster)
  • Build @yydb/yydb before @yydb/yydb-client in TypeScript CI (@aster)

Contributors

@aster
aster

v0.0.15

Choose a tag to compare

@oovm oovm released this 22 Oct 17:23

Named prepared statements: prepare_vos, query_prepared, and query_vos_with_params on Connection.

Features

  • Add Connection.prepare_vos, query_prepared and query_vos_with_params in yydb-engine (@aster)
  • Add PreparedStatement, bind_named and execute_prepared in yydb-query (@aster)

Other

  • Add ten PreparedStatement unit tests and let literal_count accept string placeholders (@aster)

Contributors

@aster
aster

v0.0.14

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

verify and info --doctor in the CLI, backup, doctor, and compact on N-API and the Node facade, plus prepared-statement groundwork.

Features

  • Add verify command and info --doctor with diagnostic error rendering (@aster)
  • Add backup, doctor and compact to N-API and the Node facade (@aster)
  • Add serde Serialize for DoctorReport and CompactReport in yydb-types (@aster)

Other

  • Introduce BoundValue and Slot to prepare PreparedStatement in yydb-query (@aster)

Contributors

@aster
aster

v0.0.13

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

DiagnosticEnvelope lands in yydb-types, and YydbError becomes the single error source.

Features

  • Add DiagnosticEnvelope with serde and roundtrip test in yydb-types (@aster)

Other

  • Consolidate YydbError into a single source and drop the TypeScript retryable table (@aster)

Contributors

@aster
aster

v0.0.12

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

An isomorphic Database surface across N-API and wasm: delete, batch, scan, transaction, and VOS methods over a shared diagnostic error contract.

Features

  • Expose isomorphic delete, batch, scan, transaction and VOS methods on N-API and WASM sessions (@aster)
  • Add isomorphic Database UX and diagnostic error contract (@aster)

Contributors

@aster
aster

v0.0.11

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

Diagnostic errors keep their contract across the Rust, N-API, and TypeScript boundary.

Features

  • Preserve the cross-boundary diagnostic error contract in yydb (@aster)

Contributors

@aster
aster

v0.0.10

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

ensureSchema accepts VOS descriptors on both the Node and browser surfaces.

Features

  • Let ensureSchema accept VOS descriptors in @yydb/light-db (@aster)
  • Let ensureSchema accept VOS descriptors in @yydb/yydb (@aster)

Bug Fixes

  • Tag npm legacy publishes so they do not conflict with latest on the registry (@aster)

Contributors

@aster
aster

v0.0.9

Choose a tag to compare

@oovm oovm released this 22 Oct 17:22

Wasm sessions gain transactions, delete, and checkpoint. N-API adds Client and micro host methods, and Database talks to N-API directly.

Features

  • Add transaction, delete and checkpoint to both WASM session types (@aster)
  • Add Client struct and Database micro host methods in yydb-napi (@aster)

Other

  • Drop private flags and align publish scripts for release (@aster)
  • Delegate @yydb/light-db BrowserDatabase to yydb-wasm session (@aster)
  • Drop spawn and loopback facade and delegate Database directly to N-API (@aster)
  • Publish @yydb/light-db through the OIDC release chain (@aster)

Contributors

@aster
aster