Skip to content

Releases: holochain/holochain-client-js

v0.16.2

19 Sep 19:02
Compare
Choose a tag to compare

Added

  • Support for signing zome calls in electron via window.electronAPI.signZomeCall when __HC_LAUNCHER_ENV__.ENVIRONMENT == 'electron'.

Fixed

  • DnaProperties in DnaModifiers changed to Uint8array as it comes back serialized from Holochain.

v0.16.1

06 Sep 02:06
9f48aa9
Compare
Choose a tag to compare

Changed

  • Update InstallAppRequest with new optional field ignore_genesis_failure.

v0.16.0

07 Aug 16:49
Compare
Choose a tag to compare

Added

  • When generating a signing key pair, a new optional argument can be passed in to copy the last 4 bytes (= DHT location bytes) of the original agent pub key.

Changed

  • BREAKING CHANGE: Swap cryptographic package from noble/ed25519 to libsodium. This lead to helper functions become async and some type changes.
  • BREAKING CHANGE: Set type of Memproof to Uint8array instead of Buffer which is specific to Node.js.

v0.15.1

02 Aug 17:41
Compare
Choose a tag to compare

Added

  • Export functions to check if a role name is a clone id.

Fixed

  • In Vue projects reactivity broke signal functionality provided by Emittery. A pointer to this which Emittery relies on becomes undefined. Until the bug is fixed upstream in Emittery, the workaround is to bind all its methods manually after instantiating an agent websocket.

v0.15.0

17 Jun 02:34
Compare
Choose a tag to compare

Added

  • When making a WsClient request, reconnect websocket in case it's closed.

Changed

  • BREAKING CHANGE: Refactor client and websocket classes to use URLs instead of strings.
  • BREAKING CHANGE: Error responses from Holochain are thrown as instance of new class HolochainError which extends Error.

v0.14.1

05 May 00:57
Compare
Choose a tag to compare

Fixed

  • Import crypto module conditionally when in Node.js environment. For browsers and bundlers no module import is required and the Web API module is used.

v0.14.0

01 May 18:34
Compare
Choose a tag to compare

Changed

  • BREAKING CHANGE: Replace NPM package "tweetnacl" with "@noble/ed25519". "tweetnacl" produced errors with bundlers and hasn't been updated in a longer time. Fixes #180
    Bundlers need to target ES2020 to support BigInt.
  • Set default timeout for API calls to 60 seconds, formerly 15 seconds.

Fixed

  • BREAKING CHANGE: Update params of NetworkInfoRequest.

v0.13.0

15 Apr 11:59
Compare
Choose a tag to compare

Added

  • Add new Admin API endpoint storageInfo.
  • Add new Admin API endpoint dumpNetworkStats.
  • Add new Admin API endpoint updateCoordinators to update coordinator zomes in an already installed hApp.

Changed

  • Update response type NetworkInfo.

v0.12.5

01 Mar 23:02
Compare
Choose a tag to compare

Fixed

  • Replace event listener method .on("close") by .onclose. .on is not compatible with Web API's WebSocket.

v0.12.4

01 Mar 21:32
Compare
Choose a tag to compare

Fixed

  • When app websocket closes, reject pending requests.