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

Commit

Permalink
Release v0.0.40-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Dec 1, 2019
1 parent 21cae9d commit 364789a
Show file tree
Hide file tree
Showing 41 changed files with 289 additions and 274 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG-UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Added

- Pruning the State of old/stale/history data to prevent it from using up a slowly but infinitely growing amount of memory. [#1920](https://github.com/holochain/holochain-rust/pull/1920)

### Changed

- Exchanged [vanilla thread-pool](https://docs.rs/threadpool/1.7.1/threadpool/) with the futures executor thread-pool [from the futures crate](https://docs.rs/futures/0.3.1/futures/executor/index.html). This enables M:N Future:Thread execution which is much less wasteful than having a thread per future. Number of threads in the pool is kept at the default (of that crate) of number of CPUs. [#1915](https://github.com/holochain/holochain-rust/pull/1915)
- Replace naive timeout implementation (for network queries / direct messages) that uses a thread per timeout with a scheduled job that polls the State and sends timeout actions when needed (reduces number of used threads and thus memory footprint) [#1916](https://github.com/holochain/holochain-rust/pull/1916).
- Use the [im crate](https://docs.rs/im/14.0.0/im/) for `HashMap`s and `HashSet`s used in the redux State. This makes cloning the state much cheaper and improves over-all performance. [#1923](https://github.com/holochain/holochain-rust/pull/1923)

### Deprecated

### Removed
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.40-alpha1] - 2019-12-01

### Added

- Pruning the State of old/stale/history data to prevent it from using up a slowly but infinitely growing amount of memory. [#1920](https://github.com/holochain/holochain-rust/pull/1920)

### Changed

- Exchanged [vanilla thread-pool](https://docs.rs/threadpool/1.7.1/threadpool/) with the futures executor thread-pool [from the futures crate](https://docs.rs/futures/0.3.1/futures/executor/index.html). This enables M:N Future:Thread execution which is much less wasteful than having a thread per future. Number of threads in the pool is kept at the default (of that crate) of number of CPUs. [#1915](https://github.com/holochain/holochain-rust/pull/1915)
- Replace naive timeout implementation (for network queries / direct messages) that uses a thread per timeout with a scheduled job that polls the State and sends timeout actions when needed (reduces number of used threads and thus memory footprint) [#1916](https://github.com/holochain/holochain-rust/pull/1916).
- Use the [im crate](https://docs.rs/im/14.0.0/im/) for `HashMap`s and `HashSet`s used in the redux State. This makes cloning the state much cheaper and improves over-all performance. [#1923](https://github.com/holochain/holochain-rust/pull/1923)

### Deprecated

### Removed

### Fixed

### Security

## [0.0.39-alpha4] - 2019-11-25

### Added
Expand Down
321 changes: 161 additions & 160 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app_spec/zomes/blog/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blog"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec/zomes/converse/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "converse"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Julian Laubstein <contact@julianlaubstein.de>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec/zomes/simple/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simple"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Ashanti Mutinta <Ashantimutinta@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec/zomes/summer/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "summer"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec_proc_macro/zomes/blog/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blog"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec_proc_macro/zomes/converse/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "converse"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Julian Laubstein <contact@julianlaubstein.de>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec_proc_macro/zomes/simple/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simple"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Ashanti Mutinta <Ashantimutinta@gmail.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion app_spec_proc_macro/zomes/summer/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "summer"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions config.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let
release-commit = "7628d3827d4cf03611404c16ba039f0853b5fed1";
current = "0.0.39-alpha4";
previous = "0.0.39-alpha3";
release-commit = "21cae9daf124ccdce95c260de09b8e33a20f819e";
current = "0.0.40-alpha1";
previous = "0.0.39-alpha4";
# tag will ultimately be current version when it hits holonix
# https://github.com/holochain/holonix/blob/master/release/default.nix#L7
tag = "v${current}";
Expand Down
2 changes: 1 addition & 1 deletion core_api_c_binding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_core_api_c_binding"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[lib]
Expand Down
14 changes: 7 additions & 7 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ description = "holochain app scaffolding tools"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
documentation = "https://github.com/holochain/holochain-rust"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[dependencies]
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_core = { version = "=0.0.39-alpha4", path = "../core" }
holochain_common = { version = "=0.0.39-alpha4", path = "../common" }
holochain_conductor_lib = { version = "=0.0.39-alpha4", path = "../conductor_lib" }
holochain_dpki = { version = "=0.0.39-alpha4", path = "../dpki" }
holochain_locksmith = { version = "=0.0.39-alpha4", path = "../locksmith" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
holochain_core = { version = "=0.0.40-alpha1", path = "../core" }
holochain_common = { version = "=0.0.40-alpha1", path = "../common" }
holochain_conductor_lib = { version = "=0.0.40-alpha1", path = "../conductor_lib" }
holochain_dpki = { version = "=0.0.40-alpha1", path = "../dpki" }
holochain_locksmith = { version = "=0.0.40-alpha1", path = "../locksmith" }
lib3h_sodium = "=0.0.22"
holochain_json_api = "=0.0.17"
holochain_persistence_api = "=0.0.11"
Expand Down
2 changes: 1 addition & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "holochain core commons"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
documentation = "https://github.com/holochain/holochain-rust"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

Expand Down
8 changes: 4 additions & 4 deletions crates/conductor_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ description = "holochain conductor lib api"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
documentation = "https://github.com/holochain/holochain-rust"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

[dependencies]
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_wasm_utils = { version = "=0.0.39-alpha4", path = "../wasm_utils" }
holochain_locksmith = { version = "=0.0.39-alpha4", path = "../locksmith" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
holochain_wasm_utils = { version = "=0.0.40-alpha1", path = "../wasm_utils" }
holochain_locksmith = { version = "=0.0.40-alpha1", path = "../locksmith" }
jsonrpc-core = "=14.0.1"
jsonrpc-lite = "=0.5.0"
serde = { version = "=1.0.89", features = ["rc"] }
Expand Down
20 changes: 10 additions & 10 deletions crates/conductor_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ description = "holochain conductor library"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
documentation = "https://github.com/holochain/holochain-rust"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
edition = "2018"

[dependencies]
holochain_core = { version = "=0.0.39-alpha4", path = "../core" }
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_locksmith = { version = "=0.0.39-alpha4", path = "../locksmith" }
holochain_core = { version = "=0.0.40-alpha1", path = "../core" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
holochain_locksmith = { version = "=0.0.40-alpha1", path = "../locksmith" }
holochain_json_derive = "=0.0.17"
holochain_json_api = "=0.0.17"
holochain_persistence_api = "=0.0.11"
holochain_persistence_mem = "=0.0.11"
holochain_persistence_file = "=0.0.11"
holochain_persistence_pickle = "=0.0.11"
holochain_persistence_lmdb = "=0.0.11"
holochain_dpki = { version = "=0.0.39-alpha4", path = "../dpki" }
holochain_net = { version = "=0.0.39-alpha4", path = "../net" }
holochain_dpki = { version = "=0.0.40-alpha1", path = "../dpki" }
holochain_net = { version = "=0.0.40-alpha1", path = "../net" }
lib3h = "=0.0.22"
lib3h_sodium = "=0.0.22"
holochain_metrics = { version = "=0.0.39-alpha4", path = "../metrics" }
holochain_common = { version = "=0.0.39-alpha4", path = "../common" }
holochain_metrics = { version = "=0.0.40-alpha1", path = "../metrics" }
holochain_common = { version = "=0.0.40-alpha1", path = "../common" }
chrono = "=0.4.6"
serde = "=1.0.89"
serde_json = { version = "=1.0.39", features = ["preserve_order"] }
Expand Down Expand Up @@ -54,9 +54,9 @@ nickel = "=0.11.0"
url = { version = "=2.1.0", features = ["serde"] }

[dev-dependencies]
test_utils = { version = "=0.0.39-alpha4", path = "../../test_utils" }
test_utils = { version = "=0.0.40-alpha1", path = "../../test_utils" }
tempfile = "=3.0.7"
holochain_wasm_utils = { version = "=0.0.39-alpha4", path = "../wasm_utils" }
holochain_wasm_utils = { version = "=0.0.40-alpha1", path = "../wasm_utils" }
structopt = "=0.2.15"
pretty_assertions = "=0.6.1"
ws = "=0.8.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/conductor_lib/test-bridge-caller/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-bridge-caller"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/conductor_lib/wasm-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "example_api_wasm"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[lib]
Expand Down
22 changes: 11 additions & 11 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_core"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
description = "holochain core"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
Expand Down Expand Up @@ -31,21 +31,21 @@ num-traits = "=0.2.6"
num-derive = "=0.2.4"
toml = "=0.5.0"

holochain_net = { version = "=0.0.39-alpha4", path = "../net" }
holochain_wasm_utils = { version = "=0.0.39-alpha4", path = "../wasm_utils" }
holochain_common = { version = "=0.0.39-alpha4", path = "../common" }
holochain_conductor_lib_api = { version = "=0.0.39-alpha4", path = "../conductor_api" }
holochain_net = { version = "=0.0.40-alpha1", path = "../net" }
holochain_wasm_utils = { version = "=0.0.40-alpha1", path = "../wasm_utils" }
holochain_common = { version = "=0.0.40-alpha1", path = "../common" }
holochain_conductor_lib_api = { version = "=0.0.40-alpha1", path = "../conductor_api" }
lib3h_protocol = "=0.0.22"
lib3h_sodium = "=0.0.22"
holochain_json_derive = "=0.0.17"
holochain_json_api = "=0.0.17"
holochain_persistence_api = "=0.0.11"
holochain_persistence_file = "=0.0.11"
holochain_persistence_mem = "=0.0.11"
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_dpki = { version = "=0.0.39-alpha4", path = "../dpki" }
holochain_locksmith = { version = "=0.0.39-alpha4", path = "../locksmith" }
holochain_metrics = { version = "=0.0.39-alpha4", path = "../metrics" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
holochain_dpki = { version = "=0.0.40-alpha1", path = "../dpki" }
holochain_locksmith = { version = "=0.0.40-alpha1", path = "../locksmith" }
holochain_metrics = { version = "=0.0.40-alpha1", path = "../metrics" }

log = "=0.4.8"
holochain_logging = "=0.0.4"
Expand All @@ -66,7 +66,7 @@ im = { version = "=14.0.0", features = ["serde"] }

[dev-dependencies]
wabt = "=0.7.4"
test_utils = { version = "=0.0.39-alpha4", path = "../../test_utils" }
test_utils = { version = "=0.0.40-alpha1", path = "../../test_utils" }
tempfile = "=3.0.7"
holochain_persistence_lmdb = "=0.0.11"
sim1h = { version = "=0.0.39-alpha4", path = "../sim1h" }
sim1h = { version = "=0.0.40-alpha1", path = "../sim1h" }
2 changes: 1 addition & 1 deletion crates/core/src/nucleus/actions/wasm-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nucleus-actions-tests"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[lib]
Expand Down
6 changes: 3 additions & 3 deletions crates/core_types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_core_types"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = "build.rs"
description = "core types needed for all holochain development"
Expand Down Expand Up @@ -36,7 +36,7 @@ objekt= "=0.1.2"
holochain_persistence_api = "=0.0.11"
holochain_json_derive = "=0.0.17"
holochain_json_api = "=0.0.17"
holochain_locksmith = { version = "=0.0.39-alpha4", path = "../locksmith" }
holochain_locksmith = { version = "=0.0.40-alpha1", path = "../locksmith" }
uuid = { version = "=0.7.1", features = ["v4"] }
regex = "=1.1.2"
shrinkwraprs = "=0.2.1"
Expand All @@ -47,5 +47,5 @@ log = "=0.4.8"
holochain_logging = "=0.0.4"

[dev-dependencies]
test_utils = { version = "=0.0.39-alpha4", path = "../../test_utils"}
test_utils = { version = "=0.0.40-alpha1", path = "../../test_utils"}
maplit = "=1.0.2"
4 changes: 2 additions & 2 deletions crates/dpki/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_dpki"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
description = "holochain dpki"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
Expand All @@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
lazy_static = "=1.2.0"
base64 = "=0.10.1"
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
lib3h_sodium = "=0.0.22"
holochain_persistence_api = "=0.0.11"
serde = "=1.0.89"
Expand Down
14 changes: 7 additions & 7 deletions crates/hdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hdk"
edition = "2018"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
description = "holochain hdk"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
Expand All @@ -14,8 +14,8 @@ serde_derive = "=1.0.89"
serde_json = { version = "=1.0.39", features = ["preserve_order"] }
bitflags = "=1.0.4"
lazy_static = "=1.2.0"
holochain_wasm_utils = { version = "=0.0.39-alpha4", path = "../wasm_utils" }
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
holochain_wasm_utils = { version = "=0.0.40-alpha1", path = "../wasm_utils" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
holochain_json_api = "=0.0.17"
holochain_json_derive = "=0.0.17"
holochain_persistence_api = "=0.0.11"
Expand All @@ -24,9 +24,9 @@ env_logger = "=0.6.1"
url = "=2.1.0"

[dev-dependencies]
test_utils = { version = "=0.0.39-alpha4", path = "../../test_utils" }
holochain_conductor_lib = { version = "=0.0.39-alpha4", path = "../conductor_lib" }
holochain_core = { version = "=0.0.39-alpha4", path = "../core" }
holochain_core_types = { version = "=0.0.39-alpha4", path = "../core_types" }
test_utils = { version = "=0.0.40-alpha1", path = "../../test_utils" }
holochain_conductor_lib = { version = "=0.0.40-alpha1", path = "../conductor_lib" }
holochain_core = { version = "=0.0.40-alpha1", path = "../core" }
holochain_core_types = { version = "=0.0.40-alpha1", path = "../core_types" }
tempfile = "=3.0.7"
boolinator = "=2.4.0"
2 changes: 1 addition & 1 deletion crates/hdk/wasm-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-globals"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]

[lib]
Expand Down
4 changes: 2 additions & 2 deletions crates/hdk_v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hdk_proc_macros"
version = "0.0.39-alpha4"
version = "0.0.40-alpha1"
description = "holochain hdk v2 (with proc macros)"
license = "GPL-3.0-only"
homepage = "https://github.com/holochain/holochain-rust"
Expand All @@ -15,4 +15,4 @@ proc-macro = true
syn = { version = "=0.15.31", features = ["full", "extra-traits"]}
quote = "=0.6.11"
proc-macro2 = "=0.4.27"
hdk = { version = "=0.0.39-alpha4", path = "../hdk" }
hdk = { version = "=0.0.40-alpha1", path = "../hdk" }

0 comments on commit 364789a

Please sign in to comment.