Skip to content

Releases: holochain/holochain-client-js

v0.16.7

29 Nov 18:30
Compare
Choose a tag to compare

Added

  • Utility functions for slicing hashes into their components: sliceHashType, sliceCore32, sliceDhtLocation
  • Utility functions for generating hashes from components: dhtLocationFrom32, hashFrom32AndType:

Changed

  • Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now generate valid hashes with a valid final 4 bytes
  • Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now optionally take a single parameter coreByte which if defined will be repeated for all core 32 bytes of the hash

v0.17.0-dev.2

22 Nov 12:36
Compare
Choose a tag to compare
v0.17.0-dev.2 Pre-release
Pre-release

Fixed

  • Action type CreateLink: Add field link_type.

v0.16.6

22 Nov 13:40
Compare
Choose a tag to compare

Fixed

  • Action type CreateLink: Add field link_type.

v0.17.0-dev.1

16 Nov 17:39
Compare
Choose a tag to compare
v0.17.0-dev.1 Pre-release
Pre-release

Added

  • Type Link to HDK and a confirmatory test.

v0.16.5

16 Nov 17:39
Compare
Choose a tag to compare

Added

  • Type Link to HDK and a confirmatory test.

v0.17.0-dev.0

09 Nov 02:06
Compare
Choose a tag to compare
v0.17.0-dev.0 Pre-release
Pre-release

Changed

  • BREAKING CHANGE: Conductor API ser/deserialization has changed on Holochain side. Tags are serialized like { type: { app_info: null } } now, when before it was { type: "app_info" } for requests and responses.

v0.16.3

17 Oct 21:50
Compare
Choose a tag to compare

Fixed

  • CapAccess types Unrestricted and Transferable were not correctly implemented. Both need to be nested objects containing a single property with a Pascal cased name, e. g. { access: { Unrestricted: null } }.
  • AttachAppInterfaceRequest took a mandatory property port. The property is optional now.

Removed

  • Dropped support for Node.js v16 after its end-of-life.

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.