Releases: holochain/holochain-client-js
Releases · holochain/holochain-client-js
v0.18.0-dev.2
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
Added
- Test for Rust enum serialization.
Changed
- BREAKING Update enum serialization to match changed Conductor API serialization format.
v0.18.0-dev.1
Added
- App id to
AppClient
andAppWebsocket
. - Optional function parameter for a custom zome transformer in
AppWebsocket
.
v0.18.0-dev.0
Added
- Test for Rust enum serialization.
Changed
- BREAKING Update enum serialization to match changed Conductor API serialization format.
v0.17.0-dev.12
Fixed
- Invalid module references which caused the client to fail to import in Node environments.
v0.17.0-dev.11
Changed
- BREAKING Changed
Appwebsocket.connect()
to take a single parameterAppWebsocketConnectionOptions
that includes theAppAuthenticationToken
as an optional property. TheAppAuthenticationToken
can be omitted if it is provided by thewindow.__HC_LAUNCHER_ENV__
variable. - BREAKING The legacy framework specific zome call signing methods
signZomeCallTauri
andsignZomeCallElectron
have been removed. Runtimes like Launcher now mandatorily need to provide awindow.__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 ofAppInterfaceInfo
instead of a list of ports.
v0.17.0-dev.10
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
v0.17.0-dev.9
Fixed
- Replace all IPv4 addresses
127.0.0.1
bylocalhost
.
v0.17.0-dev.8
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 toAdminWebsocket.attachAppInterface
to specify allowed origins. - Consistently throw
HolochainError
s throughout with specific error names and messages.