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

Latest commit

 

History

History
82 lines (76 loc) · 6.7 KB

CHANGELOG.md

File metadata and controls

82 lines (76 loc) · 6.7 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Changed

Removed

Added

Fixed

[0.0.4-alpha] - 2019-02-15

Fixed

  • Futures handling and zome function execution refactored which enables using complex API functions like commit_entry in callbacks such as receive. This also fixes long standing flaky tests and blocking behaviors we have been experiencing. #991

Changed

  • Capabilities now separated from function declarations and renamed to traits in define_zome! and calling zome functions no longer uses capability name parameter #997 & #791
  • hash properties for UiBundleConfiguration and DnaConfiguration in Conductor config files is now optional
  • ChainHeader::sources() is now ChainHeader::provenances() which stores both source address, and signature #932
  • hdk::get_entry_results supports return of ChainHeaders for all agents who have committed the same entry #932
  • Renames the term Container and all references to it to Conductor #942
  • Renames the holochain_container executable to simply holochain
  • Renames the cmd crate (which implements the hc command line tool) to cli #940
  • Encoded values in ribosome function's input/output are u64 (up from u32)
  • Updated dependencies:
    • Rust nightly to 2019-01-24
    • futures to 0.3.0-alpha.12
  • All chain headers are sent in the validation package, not just those for public entry types. #926

Added

  • Adds centralized documentation for environment variables in use by Holochain #990
  • Adds command hc keygen which creates a new key pair, asks for a passphrase and writes an encrypted key bundle file to ~/.holochain/keys. #974
  • Adds an environment variable NETWORKING_CONFIG_FILE for specifing the location of the json file containing the network settings used by n3h.
  • Adds an environment variable HC_SIMPLE_LOGGER_MUTE for use in testing which silences logging output so CI logs won't be too big.
  • Adds Zome API function hdk::sleep(std::time::Duration) which works the same as std::thread::sleep.#935
  • All structs/values to all HDK functions must implement Into<JsonString> and TryFrom<JsonString> (derive DefaultJson to do this automatically)
  • HDK globals AGENT_ADDRESS, AGENT_ID_STR, DNA_NAME and DNA_ADDRESS are now set to real, correct values.
  • hc run now looks for the --interface flag or HC_INTERFACE env var if you want to specify the http interface [#846]((#846)
  • NodeJS Conductor added to allow running conductors for testing purposes in JavaScript.
  • Scenario API added to enable deterministic scenario tests for zome functions. See the NodeJS Conductor README for details.
  • hdk::holochain_core_types::time::Iso8601 now supports validation and conversion to DateTime, and is sortable. #917
  • hdk::query_result API supports return of ChainHeader and/or Entry data for the matched EntryType(s) #868
  • Admin RPC functions added to container interface. Any (websocket) container interface that is configured with admin = true now can call a number of functions to remotely change any aspect of the container config. #840
  • Adds a set of functions to the container RPC for managing static UI bundles and HTTP interfaces to these. See rustdoc of conductor_api::interface::ConductorApiBuilder for a full description of these functions. #919
  • Conductor can now serve static directories called ui_bundles over HTTP that can be configured in the container config toml file. This HTTP server also implements a virtual json file at "/_dna_connections.json" that returns the DNA interface (if any) the UI is configured to connect to. Hc-web-client will use this to automatically connect to the correct DNA interface on page load. #885
  • Adds Zome API function hdk::remove_link(base,target,tag) for removing links. #780

[0.0.3] - 2019-01-15

Fixed

  • build problems because of changes to upstream futures-preview crate

Added

  • Networking: beyond mock, using n3h
  • Bridging now works and is configurable in the container (no capabilities yet) #779 & #776
  • Validation across network #727
  • API/HDK:
    • CRUD for entries working
    • Node-to-node messaging #746
    • GetEntryOptions:
      • retrieve CRUD history & status
      • meta data: sources
    • GetLinksOptions
      • meta data: sources
    • GetLinks helpers: get_links_and_load
    • Query: return multiple entry types with glob matching #781
  • Conductor:
    • configuration builder and config files
    • http interface #823
  • hc command-line tool:
    • run --persist flag for keeping state across runs #729
    • Added env variables to activate real networking #826
  • Groundwork for: capabilities & signals #762 & #732
  • Improved debug logging with log rules and colorization #819
  • This change log!

Changed

  • API/HDK:
    • native return types (JsonStrings)
    • many places where we referred to "Hash" we now use the more correct term "Address"

[0.0.2] - 2018-11-28

Added

  • mock networking
  • hc run with support for
  • multi-instance scenario testing