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

Commit

Permalink
Merge pull request #1190 from holochain/release-0.0.9-alpha
Browse files Browse the repository at this point in the history
Release 0.0.9-alpha
  • Loading branch information
thedavidmeister committed Apr 2, 2019
2 parents 0652f1f + 2816940 commit b09de07
Show file tree
Hide file tree
Showing 163 changed files with 4,797 additions and 2,322 deletions.
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- [ ] I have added a summary of my changes to the changelog
Please check one of the following, relating to the [CHANGELOG](https://github.com/holochain/holochain-rust/blob/develop/CHANGELOG.md), which should be updated if relevant
- [ ] my changes to the code affect some exposed aspect of the developer experience, and I have added an item to relevant 'Added, Fixed, Changed, Removed, Deprecated, or Security' heading under the 'Unreleased' heading of the CHANGELOG, with the format `- summary of change [PR#1234](https://github.com/holochain/holochain-rust/pull/1234)`
- [ ] my changes to the code do not affect any exposed aspect of the developer experience
54 changes: 8 additions & 46 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,46 +214,6 @@ jobs:
# test builds are ordered from slowest to quickest
# this allows us to keep walltimes down
include:
- name: "windows hdk"
<<: *_windows_template_lite
env:
- TEST_P=hdk
- TEST_PATH=hdk-rust/
- WASM_PATH=wasm-test/

- name: "windows wasm_utils"
<<: *_windows_template_lite
env:
- TEST_P=holochain_wasm_utils
- TEST_PATH=wasm_utils/
- WASM_PATH=wasm-test/integration-test/

- name: "windows conductor_api"
<<: *_windows_template_lite
env:
- TEST_P=holochain_conductor_api
- TEST_PATH=conductor_api/
- WASM_PATH=wasm-test/
- WASM_PATH_2=test-bridge-caller/

- name: "windows core"
<<: *_windows_template_lite
env:
- TEST_P=holochain_core
- TEST_PATH=core/
- WASM_PATH=src/nucleus/actions/wasm-test/

- name: "windows holochain_cas_implementations"
<<: *_windows_template_lite
env:
- TEST_P=holochain_cas_implementations
- TEST_PATH=cas_implementations/

- name: "windows dna_c_binding"
<<: *_windows_template_lite
env:
- TEST_P=holochain_dna_c_binding
- TEST_PATH=dna_c_binding/

- name: "windows holochain_sodium"
<<: *_windows_template_lite
Expand All @@ -267,18 +227,19 @@ jobs:
- TEST_P=hc
- TEST_PATH=cli/

- name: "windows core_types"
<<: *_windows_template_lite
env:
- TEST_P=holochain_core_types
- TEST_PATH=core_types/

- name: "windows holochain_net"
<<: *_windows_template_lite
env:
- TEST_P=holochain_net
- TEST_PATH=net/

- name: "windows core"
<<: *_windows_template_lite
env:
- TEST_P=holochain_core
- TEST_PATH=core/
- WASM_PATH=src/nucleus/actions/wasm-test/

- name: "C binding tests"
<<: *_trusty_bash
# sudo is needed for codecov, && system library install which makes things 20-50s slower
Expand Down Expand Up @@ -435,6 +396,7 @@ jobs:
<<: *_windows_template
<<: *_nodejs_deploy_template
<<: *_windows_nodejs_conductor_template
if: (branch = develop) AND NOT (type = pull_request)
env:
- NODIST_PREFIX="/c/Program Files (x86)\Nodist"
- NODIST_X64=1
Expand Down
61 changes: 42 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## [0.0.9-alpha] - 2019-03-31

### Added
- Adds hdk access to keystore [#1148](https://github.com/holochain/holochain-rust/pull/1148)

### Changed
- Performance optimization: don't recalculate DNA hash during handling of every network message but instead cache the DNA hash. [PR#1163](https://github.com/holochain/holochain-rust/pull/1163)

### Deprecated

### Removed

### Fixed

### Security


## [0.0.8-alpha] - 2019-03-21

Expand All @@ -25,12 +41,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Adds `nix-shell` support for Mac OS X [#1132](https://github.com/holochain/holochain-rust/pull/1132)
- Adds `hc-test-all` command to `nix-shell` [#1132](https://github.com/holochain/holochain-rust/pull/1132)
- Adds `./scripts/nix/pod.sh` script to isolate/debug `nix-shell` commands [#1139](https://github.com/holochain/holochain-rust/pull/1139)
- Adds getting of Headers over the network [#1141](https://github.com/holochain/holochain-rust/pull/1141)
- Adds keystore and passphrase management service [#1104](https://github.com/holochain/holochain-rust/pull/1104)
- Adds tooling to manage dependencies in Cargo.toml [#1140](https://github.com/holochain/holochain-rust/pull/1140)
- Adds ability to enable logging via flag (`--logging`) to `hc run` command [#1151](https://github.com/holochain/holochain-rust/pull/1151)
- Adds `hc chain` command, which prints a raw text dump of a source chain [#1126](https://github.com/holochain/holochain-rust/pull/1126)

### Changed

### Changed
- Conductor now waits for N3H to return p2p bindings [#1149](https://github.com/holochain/holochain-rust/pull/1149)
- `nix-shell` is now the recommended development approach on supported platforms [#1132](https://github.com/holochain/holochain-rust/pull/1132)
- Pins every dependant crate version with `=x.y.z` at the Cargo.toml level [#1140](https://github.com/holochain/holochain-rust/pull/1140)
- Breaking Change: `key_file` value now renamed to `keystore_file` in both config.toml files and the conductor's `admin/agent/add` interface [#1104](https://github.com/holochain/holochain-rust/pull/1104)
- EAVI adds are now optimized [#1166](https://github.com/holochain/holochain-rust/pull/1166)

### Deprecated

Expand Down Expand Up @@ -77,7 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New network setting via environment variable HC_N3H_LOG_LEVEL [#1085](https://github.com/holochain/holochain-rust/pull/1085)
- Ability to sign data via `hdk::sign` using the agent key [PR#1080](https://github.com/holochain/holochain-rust/pull/1080)
- Adds PUBLIC_TOKEN global variable for use in hdk::call in calling public functions. [PR#895](https://github.com/holochain/holochain-rust/pull/895)
- Adds an [ADR](doc/architecture/decisions/0017-capabilities.md) for capabilities
- Adds an [ADR](doc/architecture/decisions/0017-capabilities.md) for capabilities [#895](https://github.com/holochain/holochain-rust/pull/895)
- CrudStatus works over network [#1048](https://github.com/holochain/holochain-rust/pull/1048)
- Adds utils submodule of hdk which contains the following helper functions [#1006](https://github.com/holochain/holochain-rust/pull/10006):
- get_links_and_load_type - calls try_from for a given type when getting links
Expand Down Expand Up @@ -121,14 +144,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 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](https://github.com/holochain/holochain-rust/pull/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](https://github.com/holochain/holochain-rust/pull/997) & [#791](https://github.com/holochain/holochain-rust/pull/791)
- `hash` properties for `UiBundleConfiguration` and `DnaConfiguration` in Conductor config files is now optional
- `hash` properties for `UiBundleConfiguration` and `DnaConfiguration` in Conductor config files is now optional [#966](https://github.com/holochain/holochain-rust/pull/966)
- `ChainHeader::sources()` is now `ChainHeader::provenances()` which stores both source address, and signature [#932](https://github.com/holochain/holochain-rust/pull/932)
- `hdk::get_entry_results` supports return of ChainHeaders for all agents who have committed the same entry [#932](https://github.com/holochain/holochain-rust/pull/932)
- Renames the term Container and all references to it to Conductor [#942](https://github.com/holochain/holochain-rust/pull/942)
- Renames the `holochain_container` executable to simply `holochain`
- Renames the `holochain_container` executable to simply `holochain` [#942](https://github.com/holochain/holochain-rust/pull/942)
- Renames the `cmd` crate (which implements the `hc` command line tool) to `cli` [#940](https://github.com/holochain/holochain-rust/pull/940)
- Encoded values in ribosome function's input/output are u64 (up from u32) [#915](https://github.com/holochain/holochain-rust/pull/915)
- Updated dependencies:
- Updated dependencies: [#924](https://github.com/holochain/holochain-rust/pull/924)
* 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](https://github.com/holochain/holochain-rust/pull/926)
Expand All @@ -138,11 +161,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Adds an environment variable `NETWORKING_CONFIG_FILE` for specifing the location of the json file containing the network settings used by n3h. [#976](https://github.com/holochain/holochain-rust/pull/976)
- Adds an environment variable `HC_SIMPLE_LOGGER_MUTE` for use in testing which silences logging output so CI logs won't be too big. [#960](https://github.com/holochain/holochain-rust/pull/960)
- Adds Zome API function `hdk::sleep(std::time::Duration)` which works the same as `std::thread::sleep`.[#935](https://github.com/holochain/holochain-rust/pull/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.
- All structs/values to all HDK functions must implement `Into<JsonString>` and `TryFrom<JsonString>` (derive `DefaultJson` to do this automatically) [#854](https://github.com/holochain/holochain-rust/pull/854)
- HDK globals `AGENT_ADDRESS`, `AGENT_ID_STR`, `DNA_NAME` and `DNA_ADDRESS` are now set to real, correct values. [#796](https://github.com/holochain/holochain-rust/pull/796)
- `hc run` now looks for the --interface flag or `HC_INTERFACE` env var if you want to specify the `http` interface [#846]((https://github.com/holochain/holochain-rust/pull/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](nodejs_conductor/README.md) for details.
- NodeJS Conductor added to allow running conductors for testing purposes in JavaScript. [#1007](https://github.com/holochain/holochain-rust/pull/1007)
- Scenario API added to enable deterministic scenario tests for zome functions. See the [NodeJS Conductor README](nodejs_conductor/README.md) for details. [#942](https://github.com/holochain/holochain-rust/pull/942)
- `hdk::holochain_core_types::time::Iso8601` now supports validation and conversion to DateTime, and is sortable. [#917](https://github.com/holochain/holochain-rust/pull/917)
- `hdk::query_result` API supports return of ChainHeader and/or Entry data for the matched EntryType(s) [#868](https://github.com/holochain/holochain-rust/pull/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](https://github.com/holochain/holochain-rust/pull/840)
Expand All @@ -152,12 +175,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.0.3] - 2019-01-15
### Fixed
- build problems because of changes to upstream futures-preview crate
- build problems because of changes to upstream futures-preview crate [#864](https://github.com/holochain/holochain-rust/pull/864)
### Added
- Networking: beyond mock, using [n3h](https://github.com/holochain/n3h)
- Networking: beyond mock, using [n3h](https://github.com/holochain/n3h) [#831](https://github.com/holochain/holochain-rust/pull/831)
- Bridging now works and is configurable in the container (no capabilities yet) [#779](https://github.com/holochain/holochain-rust/pull/779) & [#776](https://github.com/holochain/holochain-rust/pull/776)
- Validation across network [#727](https://github.com/holochain/holochain-rust/pull/727)
- API/HDK:
- API/HDK: [#831](https://github.com/holochain/holochain-rust/pull/831)
- CRUD for entries working
- Node-to-node messaging [#746](https://github.com/holochain/holochain-rust/pull/746)
- GetEntryOptions:
Expand All @@ -167,23 +190,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- meta data: sources
- GetLinks helpers: get_links_and_load
- Query: return multiple entry types with glob matching [#781](https://github.com/holochain/holochain-rust/pull/781)
- Conductor:
- Conductor: [#942](https://github.com/holochain/holochain-rust/pull/942)
- configuration builder and config files
- http interface [#823](https://github.com/holochain/holochain-rust/pull/823)
- hc command-line tool:
- hc command-line tool: [#831](https://github.com/holochain/holochain-rust/pull/831)
- `run --persist` flag for keeping state across runs [#729](https://github.com/holochain/holochain-rust/pull/729/files)
- Added env variables to activate real networking [#826](https://github.com/holochain/holochain-rust/pull/826)
- Groundwork for: capabilities & signals [#762](https://github.com/holochain/holochain-rust/pull/826) & [#732](https://github.com/holochain/holochain-rust/pull/732)
- Improved debug logging with log rules and colorization [#819](https://github.com/holochain/holochain-rust/pull/819)
- This change log!
- This change log! [#831](https://github.com/holochain/holochain-rust/pull/831)

### Changed
- API/HDK:
- API/HDK: [#831](https://github.com/holochain/holochain-rust/pull/831)
- 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
- mock networking [#831](https://github.com/holochain/holochain-rust/pull/831)
- `hc run` with support for [#831](https://github.com/holochain/holochain-rust/pull/831)
- multi-instance scenario testing [#831](https://github.com/holochain/holochain-rust/pull/831)
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ members = [
"net",
"nodejs_waiter",
"sodium",
"hc_dpki",
"dpki",
"test_bin",
"benchmarks"
]
exclude = [
"test_utils",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This code is loosely based on the [Golang prototype](https://github.com/holochai

**Code Status:** Rust version is alpha. Not for production use. The code is guaranteed NOT secure. We will aggressively restructure code APIs and data chains until Beta.

There are [4 developer preview releases](https://github.com/holochain/holochain-rust/releases) of the Rust version.
[Releases](https://github.com/holochain/holochain-rust/releases) happen weekly.
<br/>

| Holochain Links: | [FAQ](https://developer.holochain.org/guide/latest/faq.html) | [Developer Docs](https://developer.holochain.org) | [White Paper](https://github.com/holochain/holochain-proto/blob/whitepaper/holochain.pdf) |
Expand Down
Loading

0 comments on commit b09de07

Please sign in to comment.