Skip to content

Releases: holochain/holochain-client-js

v0.18.0-dev.2

12 Jun 03:04
Compare
Choose a tag to compare
v0.18.0-dev.2 Pre-release
Pre-release

Added

  • New call AppRequest::ProvideMemproofs. An app can be installed with deferred membrane proofs, which can later be provided through this call.

v0.17.0-rc.0

21 May 19:10
Compare
Choose a tag to compare
v0.17.0-rc.0 Pre-release
Pre-release

Added

  • Test for Rust enum serialization.

Changed

v0.18.0-dev.1

10 May 16:37
Compare
Choose a tag to compare
v0.18.0-dev.1 Pre-release
Pre-release

Added

  • App id to AppClient and AppWebsocket.
  • Optional function parameter for a custom zome transformer in AppWebsocket.

v0.18.0-dev.0

03 May 01:42
Compare
Choose a tag to compare
v0.18.0-dev.0 Pre-release
Pre-release

Added

  • Test for Rust enum serialization.

Changed

v0.17.0-dev.12

26 Apr 23:02
da7390f
Compare
Choose a tag to compare
v0.17.0-dev.12 Pre-release
Pre-release

Fixed

  • Invalid module references which caused the client to fail to import in Node environments.

v0.17.0-dev.11

26 Apr 20:05
Compare
Choose a tag to compare
v0.17.0-dev.11 Pre-release
Pre-release

Changed

  • BREAKING Changed Appwebsocket.connect() to take a single parameter AppWebsocketConnectionOptions that includes the AppAuthenticationToken as an optional property. The AppAuthenticationToken can be omitted if it is provided by the window.__HC_LAUNCHER_ENV__ variable.
  • BREAKING The legacy framework specific zome call signing methods signZomeCallTauri and signZomeCallElectron have been removed. Runtimes like Launcher now mandatorily need to provide a window.__HC_ZOME_CALL_SIGNER__ object to have zome calls be automatically signed.
  • New optional parameter to attachAppInterface to bind the app interface to a specific app.
  • BREAKING The admin call listAppInterfaces now returns a list of AppInterfaceInfo instead of a list of ports.

v0.17.0-dev.10

26 Apr 20:02
54e7845
Compare
Choose a tag to compare
v0.17.0-dev.10 Pre-release
Pre-release

Added

  • BREAKING Connecting an app websocket now requires an authentication token which can be obtained from the admin websocket using AdminWebsocket#issueAppAuthenticationToken.

Changed

  • BREAKING Merged the app and app-agent websockets into a single AppWebsocket class. Following the addition of the authentication token, the two types were well enough aligned that there was no longer a need to keep them separate.
  • BREAKING App calls that previously required an InstalledAppId no longer require one because the websocket will be authenticated with an app already, so the app interface no longer requires you to tell it which app you are calling.

v0.16.11

17 Apr 11:53
Compare
Choose a tag to compare

Fixed

  • Replace all IPv4 addresses 127.0.0.1 by localhost.

v0.17.0-dev.9

16 Apr 22:21
Compare
Choose a tag to compare
v0.17.0-dev.9 Pre-release
Pre-release

Fixed

  • Replace all IPv4 addresses 127.0.0.1 by localhost.

v0.17.0-dev.8

05 Apr 16:01
Compare
Choose a tag to compare
v0.17.0-dev.8 Pre-release
Pre-release

Changed

  • Websocket client: Specify origin parameter when establishing app websocket connections to protect localhost from cross origin attacks in browser scripts.
  • Websocket client: Add allowed_origins parameter to AdminWebsocket.attachAppInterface to specify allowed origins.
  • Consistently throw HolochainErrors throughout with specific error names and messages.