Packages

@libsql/hrana-client

0.10.0 · 22 Apr 2026MIT6M / weekRepositorynpmAtom feed

Your version

0.5.0

29 Aug 2023Where it was published

0.10.0 is the newest release of 0.5.x.

In short

8 new4 changed

Release note

0.5.0 -- 2023-07-29

  • Added support for Hrana 3, which included some API changes:

    • Added variant 3 to the ProtocolVersion type

    • Added BatchCond.isAutocommit()

    • Added Stream.getAutocommit()

    • Added parameter useCursor to Stream.batch()

  • Changed meaning of Stream.close(), which now closes the stream immediately

    • Added Stream.closeGracefully()

  • Changed type of StmtResult.lastInsertRowid to bigint

  • Changed BatchCond.and() and BatchCond.or() to pass the Batch object

  • Added Stream.client()

  • Added MisuseError and InternalError

  • Added reexport of WebSocket from @libsql/isomorphic-ws

  • Added reexports of fetch, Request, Response and other types from @libsql/isomorphic-fetch

  • Dropped workarounds for broken WebSocket support in Miniflare 2

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.