Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

v0.0.41-alpha2

Compare
Choose a tag to compare
@thedavidmeister thedavidmeister released this 19 Dec 09:54
· 1340 commits to develop since this release

Changelog

The format is based on Keep a Changelog.
This project adheres to Semantic Versioning.

[0.0.41-alpha2] - 2019-12-19

Added

  • Adds support for setting the agent name and id via a parameter with hc run by calling hc run --agent-name MyAgentName. The %agent_id is generated from the name. This allows multiple hc run conductors to be used on the same machine. It will be overwritten by the HC_AGENT environment variable.
  • Adds support for sim2h with hc run by calling hc run --networked sim2h --sim2h-server wss://localhost:9000.
  • Adds support for hApp-bundles to hc run. This enables complex hApp setups with multiple DNAs and bridges to be easily run during development without having to write/maintain a conductor config file. #1939
  • Adds ability to validate entries with full chain validation when author is offline #1932
  • Adds a conductor level stats-signal that sends an overview of instance data (number of held entries etc.) over admin interfaces. #1954
  • Adds parameters to conductor RPC function debug/state_dump to select portions of the state to be send instead of always receiving the full dump (which can get big if the instance holds many entries). #1954
  • Added new docker boxes dedicated to faster CI tasks through incremental compilation
  • Added CARGO_CACHE_RUSTC_INFO=1 to nix shell

Changed

  • data sent via jsonrpc to the conductor interface for agent/sign, agent/encrypt and agent/decrypt must now be base64 encoded
  • circleci config now uses version 2.1 syntax
  • added the -x flag to several nix-shell commands
  • using command -v instead of which in app spec build_and_test.sh
  • standardised all app (proc) spec commands into a single paramaterised command hc-test-app-spec
  • updated to holonix v0.0.54
  • $CARGO_TARGET_DIR is now set explicitly in the nix shell hook
  • renamed hc-conductor-wasm-install to hc-conductor-wasm-bindgen-install
  • core shellHook can now override holonix shellHook
  • several --target-dir flags are removed in favour of $CARGO_TARGET_DIR
  • the passphrase hashing config is now set to faster and less secure parameters to reduce the start-up time of conductors a lot, esp. on slow devices. (will become a setting the user can choose in the future - faster and less secure config is fine for now and throughout alpha and beta) #1986

Deprecated

Removed

Fixed

  • paths in cluster test are no longer hardcoded in a way that breaks $CARGO_TARGET_DIR
  • cli and conductor are now both uninstalled again after running app spec tests
  • Fixes a panic in the sim2h server that can happen if the last node of a space leaves just as a second node connects. #1977

Security

Installation

This release includes binaries of:

Very much recommended install

The recommended installation process is to follow the developer quick-start guide.

The approach in the quick start guide:

  • provides additional supporting tools like rust & node
  • shows you how to keep up to date with the latest versions of everything
  • makes minimal changes to your machine overall
  • is relatively difficult to screw up

Bothersome manual install

IMPORTANT: Manual holochain installations can conflict with the installer.

Either binary is installed by being placed anywhere on your $PATH.
This is different for everyone and depends how your machine is configured.

For hc to build and test DNA Rust and NodeJS are both needed.

Which Rust?

The binaries for this release were built with rust from holonix version v0.0.54.
WASM needs the wasm32-unknown-unknown rust target on your toolchain.

Which NodeJS?

Node is used to run end to end tests as a client of the holochain.
Holochain exposes websockets for node to interact with.

We recommend nodejs 10+.

Which Binary?

Download the binaries for your operating system.

  • MacOS: cli-v0.0.41-alpha2-x86_64-apple-darwin.tar.gz
  • Linux: cli-v0.0.41-alpha2-x86_64-generic-linux-gnu.tar.gz
  • Windows:
    • Visual Studio build system (default): cli-v0.0.41-alpha2-x86_64-pc-windows-msvc.tar.gz
    • mingw build system: cli-v0.0.41-alpha2-x86_64-pc-windows-gnu.tar.gz

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