Skip to content

@zippy zippy released this Mar 12, 2019

0.0.6-alpha Release 2019-03-12

Summary

Holochain v0.0.6-alpha is now released! This marks the move to a regular release schedule. We think that weekly releases will have a big impact on the development velocity of Holo Hosting and hApps everywhere.

Highlights

  1. Data Integrity: In-App Signing Functions In Rust HDK
  2. Developer Friendliness: Four New HDK Convenience Functions
  3. Developer Friendliness: Quiet Down DHT Logging
  4. Security Prep: ‘Public’ Capability Token
  5. Developer Friendliness: Robust Error Handling In Scenario Tests

See the Dev Pulse & change log for complete details.

Updates: Minor Breaking Change

If you see this error while running hc test:
not ok 2 TypeError: Cannot read property 'then' of undefined
You will have to make the callback passed in to runTape async/a Promise
Before: scenario.runTape("description of example test", (t, { alice }) => {
After: scenario.runTape("description of example test", async (t, { alice }) => {

git-hash warning fix

There was a minor issue in the initial build process, which has now been fixed, if you see the following warning in your command line logs:

No chain found in the store
Initializing new chain...
WARNING! The git-hash of the runtime and the zome don't match.
Runtime hash: 5ccc34ed255edb297b4218ddf627182783ca1f3a
Zome hash: 974dc0deb34f30ba8120a553c69178af9bd37ed1

The solution is to remove the test/node_modules folder completely, and then run the command again, which will re-install the node_modules, including @holochain/holochain-nodejs which will fix it.

Installation

This release consists of binary builds of:

To install, simply download and extract the binary for your platform.
See our installation quick-start instructions for details.

Rust and NodeJS are both required for hc to build and test DNA:

  • Rust
    • Must be nightly-2019-01-24 build with the WASM build target.
      Once you have first installed rustup:
      rustup toolchain install nightly-2019-01-24
      rustup default nightly-2019-01-24
      rustup target add wasm32-unknown-unknown --toolchain nightly-2019-01-24
      
  • Node.js version 8 or higher
    • E2E tests for Holochain apps are written in Javascript client-side and executed in NodeJS through websockets
    • For further info, check out the holochain-nodejs module

Which Binary?

Download only the binaries for your operating system.

  • MacOS: cli-v0.0.6-alpha-x86_64-apple-darwin.tar.gz
  • Linux: cli-v0.0.6-alpha-x86_64-ubuntu-linux-gnu.tar.gz
  • Windows:
    • mingw build system: cli-v0.0.6-alpha-x86_64-pc-windows-gnu.tar.gz
    • Visual Studio build system: cli-v0.0.6-alpha-x86_64-pc-windows-msvc.tar.gz

All binaries are for 64-bit operating systems.
32-bit systems are NOT supported.

Assets 10
You can’t perform that action at this time.