diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 85c942d5..460a34a3 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,5 +1,5 @@ { "tools/cli/air-trace": "0.2.3", - "crates/air-lib/interpreter-data": "0.1.0", - "crates/air-lib/test-utils": "0.1.0" + "crates/air-lib/interpreter-data": "0.6.1", + "crates/air-lib/test-utils": "0.4.1" } diff --git a/Cargo.lock b/Cargo.lock index 677ea82e..bacf74eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,7 +78,7 @@ dependencies = [ [[package]] name = "air-execution-info-collector" -version = "0.1.0" +version = "0.7.2" dependencies = [ "air-parser", ] @@ -190,7 +190,7 @@ dependencies = [ [[package]] name = "air-test-utils" -version = "0.4.0" +version = "0.4.1" dependencies = [ "air", "air-interpreter-cid", @@ -210,7 +210,7 @@ dependencies = [ [[package]] name = "air-testing-framework" -version = "0.1.0" +version = "0.1.1" dependencies = [ "air-parser", "air-test-utils", @@ -225,7 +225,7 @@ dependencies = [ [[package]] name = "air-trace" -version = "0.2.2" +version = "0.2.3" dependencies = [ "air", "air-interpreter-interface", diff --git a/air-interpreter/Cargo.toml b/air-interpreter/Cargo.toml index 52e8877e..a75a12ab 100644 --- a/air-interpreter/Cargo.toml +++ b/air-interpreter/Cargo.toml @@ -18,9 +18,9 @@ name = "air_interpreter_server" path = "src/marine.rs" [dependencies] -air = { path = "../air" } -air-interpreter-interface = { path = "../crates/air-lib/interpreter-interface" } -air-log-targets = { path = "../crates/air-lib/log-targets" } +air = { version = "0.35.0", path = "../air" } +air-interpreter-interface = { version = "0.12.1", path = "../crates/air-lib/interpreter-interface" } +air-log-targets = { version = "0.1.0", path = "../crates/air-lib/log-targets" } marine-rs-sdk = { version = "0.7.1", features = ["logger"] } diff --git a/air/Cargo.toml b/air/Cargo.toml index 0b1df337..2b54c3b5 100644 --- a/air/Cargo.toml +++ b/air/Cargo.toml @@ -15,15 +15,15 @@ path = "src/lib.rs" doctest = false [dependencies] -air-parser = { path = "../crates/air-lib/air-parser" } -air-execution-info-collector = { path = "../crates/air-lib/execution-info-collector" } +air-parser = { version = "0.7.2", path = "../crates/air-lib/air-parser" } +air-execution-info-collector = { version = "0.7.2", path = "../crates/air-lib/execution-info-collector" } air-interpreter-cid = { version = "0.2.0", path = "../crates/air-lib/interpreter-cid" } -air-interpreter-data = { path = "../crates/air-lib/interpreter-data" } -air-interpreter-interface = { path = "../crates/air-lib/interpreter-interface", default-features = false } -air-log-targets = { path = "../crates/air-lib/log-targets" } -air-lambda-ast = { path = "../crates/air-lib/lambda/ast" } -air-lambda-parser = { path = "../crates/air-lib/lambda/parser" } -air-trace-handler = { path = "../crates/air-lib/trace-handler" } +air-interpreter-data = { version = "0.6.1", path = "../crates/air-lib/interpreter-data" } +air-interpreter-interface = { version = "0.12.1", path = "../crates/air-lib/interpreter-interface", default-features = false } +air-log-targets = { version = "0.1.0", path = "../crates/air-lib/log-targets" } +air-lambda-ast = { version = "0.1.0", path = "../crates/air-lib/lambda/ast" } +air-lambda-parser = { version = "0.1.0", path = "../crates/air-lib/lambda/parser" } +air-trace-handler = { version = "0.1.0", path = "../crates/air-lib/trace-handler" } air-utils = { version = "0.1.0", path = "../crates/air-lib/utils" } polyplets = { version = "0.3.2", path = "../crates/air-lib/polyplets" } @@ -44,8 +44,8 @@ strum_macros = "0.24" tracing = "0.1.37" [dev_dependencies] -air-test-utils = { path = "../crates/air-lib/test-utils" } -air-testing-framework = { path = "../crates/testing-framework" } +air-test-utils = { version = "0.4.1", path = "../crates/air-lib/test-utils" } +air-testing-framework = { version = "0.1.1", path = "../crates/testing-framework" } fluence-app-service = "0.23.0" marine-rs-sdk = { version = "0.7.0", features = ["logger"] } diff --git a/crates/air-lib/air-parser/Cargo.toml b/crates/air-lib/air-parser/Cargo.toml index 7650ff1a..98567694 100644 --- a/crates/air-lib/air-parser/Cargo.toml +++ b/crates/air-lib/air-parser/Cargo.toml @@ -13,8 +13,8 @@ categories = ["wasm"] lalrpop = "0.19.8" [dependencies] -air-lambda-ast = { path = "../lambda/ast" } -air-lambda-parser = { path = "../lambda/parser" } +air-lambda-ast = { version = "0.1.0", path = "../lambda/ast" } +air-lambda-parser = { vesrion = "0.1.0", path = "../lambda/parser" } lalrpop-util = "0.19.8" regex = "1.7.1" diff --git a/crates/air-lib/execution-info-collector/Cargo.toml b/crates/air-lib/execution-info-collector/Cargo.toml index fb3a241f..b6c141f1 100644 --- a/crates/air-lib/execution-info-collector/Cargo.toml +++ b/crates/air-lib/execution-info-collector/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "air-execution-info-collector" -version = "0.1.0" +version = "0.7.2" description = "Implementation of AIR execution info collector" authors = ["Fluence Labs"] edition = "2018" diff --git a/crates/air-lib/interpreter-data/CHANGELOG.md b/crates/air-lib/interpreter-data/CHANGELOG.md index befd5965..f5f82d3f 100644 --- a/crates/air-lib/interpreter-data/CHANGELOG.md +++ b/crates/air-lib/interpreter-data/CHANGELOG.md @@ -1,66 +1,73 @@ -# Changelog - -## 0.1.0 (2023-02-07) - - -### Features - -* **trace-handler:** improve data deserialization version check ([#451](https://github.com/fluencelabs/aquavm/issues/451)) ([367546b](https://github.com/fluencelabs/aquavm/commit/367546b82cd5f133b956857bf48d279512b157b2)) - ## Version 0.6.1 -[PR](https://github.com/fluencelabs/aquavm/pull/451): + +[PR](https://github.com/fluencelabs/aquavm/pull/451): + - move data and interpreter versions into a new structure - add new API to get versions from data ## Version 0.6.0 -[PR 419](https://github.com/fluencelabs/aquavm/pull/419): + +[PR 419](https://github.com/fluencelabs/aquavm/pull/419): + - Rename data's `cid_store` field to `value_store`. -- Canon data is stored with CIDs. Values, tetraplets and canon elements - are stored as CIDs resolved with data's `value_store`, `tetraplet_store` - and `canon_store` fields respectively. +- Canon data is stored with CIDs. Values, tetraplets and canon elements are + stored as CIDs resolved with data's `value_store`, `tetraplet_store` and + `canon_store` fields respectively. - Group stores in the data into `cid_info: CidInfo` field. ## Version 0.5.0 -[PR 401](https://github.com/fluencelabs/aquavm/pull/401): -- Call result values are stored as CIDs in the data trace. These CIDs refer - to a new `cid_store` data's field that maps a CID string to a value. +[PR 401](https://github.com/fluencelabs/aquavm/pull/401): + +- Call result values are stored as CIDs in the data trace. These CIDs refer to a + new `cid_store` data's field that maps a CID string to a value. ## Version 0.4.1 -[PR 367](https://github.com/fluencelabs/aquavm/pull/367): +[PR 367](https://github.com/fluencelabs/aquavm/pull/367): + - add interpreter version in data ## Version 0.4.0 -[PR 356](https://github.com/fluencelabs/aquavm/pull/358): +[PR 356](https://github.com/fluencelabs/aquavm/pull/358): + - temporary fix of a bug with fold and canon compatibility ## Version 0.3.0 -[PR 292](https://github.com/fluencelabs/aquavm/pull/292): +[PR 292](https://github.com/fluencelabs/aquavm/pull/292): + - added a new state in data for a canon instruction result ## Version 0.2.2 -[PR 169](https://github.com/fluencelabs/aquavm/pull/169): +[PR 169](https://github.com/fluencelabs/aquavm/pull/169): + - added a new field for tracking generations of private streams ## Version 0.2.1 -[PR 130](https://github.com/fluencelabs/aquavm/pull/130): -- added a new field to track the latest exposed to a peer number of a call request -- `RequestSentBy` enum variant of `CallResult` contains a `Sender` enum to support call request scheme (this `Sender` will se/de into string, so this change won't require a hard fork) +[PR 130](https://github.com/fluencelabs/aquavm/pull/130): + +- added a new field to track the latest exposed to a peer number of a call + request +- `RequestSentBy` enum variant of `CallResult` contains a `Sender` enum to + support call request scheme (this `Sender` will se/de into string, so this + change won't require a hard fork) ## Version 0.2.0 [PR 74](https://github.com/fluencelabs/aquavm/pull/74) (hard fork): + - added a new state for the `ap` instruction - added a new state for the `fold` instruction - added a new field to track data version - added a new field to track the maximum number of generation of each stream -- changed the serialization scheme of the `par` and `call` instructions in order to make it shorter in se view +- changed the serialization scheme of the `par` and `call` instructions in order + to make it shorter in se view ## Version 0.1.0 -The initial version of data with states for the `par` and `call` instruction was introduced. +The initial version of data with states for the `par` and `call` instruction was +introduced. diff --git a/crates/air-lib/interpreter-data/Cargo.toml b/crates/air-lib/interpreter-data/Cargo.toml index 400c3e29..b98cf4b0 100644 --- a/crates/air-lib/interpreter-data/Cargo.toml +++ b/crates/air-lib/interpreter-data/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "air-interpreter-data" description = "Data format of the AIR interpreter" -version = "0.1.0" +version = "0.6.1" authors = ["Fluence Labs"] edition = "2018" license = "Apache-2.0" @@ -14,12 +14,11 @@ name = "air_interpreter_data" path = "src/lib.rs" [dependencies] -air-utils = { path = "../utils" } -air-parser = { path = "../air-parser" } -# TODO version? -air-interpreter-interface = { path = "../interpreter-interface" } +air-utils = { version = "0.1.0", path = "../utils" } +air-parser = { version = "0.7.2", path = "../air-parser" } +air-interpreter-interface = { version = "0.12.1", path = "../interpreter-interface" } air-interpreter-cid = { version = "0.2.0", path = "../interpreter-cid" } -polyplets = { path = "../polyplets" } +polyplets = { version = "0.3.2", path = "../polyplets" } serde = {version = "1.0.152", features = ["derive", "rc"]} serde_json = "1.0.92" diff --git a/crates/air-lib/lambda/parser/Cargo.toml b/crates/air-lib/lambda/parser/Cargo.toml index 1e07346a..f99504b7 100644 --- a/crates/air-lib/lambda/parser/Cargo.toml +++ b/crates/air-lib/lambda/parser/Cargo.toml @@ -17,7 +17,7 @@ path = "src/lib.rs" lalrpop = "0.19.8" [dependencies] -air-lambda-ast = { path = "../ast" } +air-lambda-ast = { version = "0.1.0", path = "../ast" } lalrpop-util = "0.19.8" regex = "1.7.1" diff --git a/crates/air-lib/test-utils/CHANGELOG.md b/crates/air-lib/test-utils/CHANGELOG.md deleted file mode 100644 index 3fb0c01d..00000000 --- a/crates/air-lib/test-utils/CHANGELOG.md +++ /dev/null @@ -1,8 +0,0 @@ -# Changelog - -## 0.1.0 (2023-02-07) - - -### Features - -* **trace-handler:** improve data deserialization version check ([#451](https://github.com/fluencelabs/aquavm/issues/451)) ([367546b](https://github.com/fluencelabs/aquavm/commit/367546b82cd5f133b956857bf48d279512b157b2)) diff --git a/crates/air-lib/test-utils/Cargo.toml b/crates/air-lib/test-utils/Cargo.toml index b007005c..94ef7faf 100644 --- a/crates/air-lib/test-utils/Cargo.toml +++ b/crates/air-lib/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "air-test-utils" -version = "0.1.0" +version = "0.4.1" description = "Test utils for the AIR interpreter" authors = ["Fluence Labs"] edition = "2018" @@ -16,10 +16,10 @@ path = "src/lib.rs" [dependencies] air = { path = "../../../air" } air-interpreter-cid = { version = "0.2.0", path = "../interpreter-cid" } -air-interpreter-data = { path = "../interpreter-data" } -air-interpreter-interface = { path = "../interpreter-interface" } -avm-interface = { path = "../../../avm/interface" } -avm-server = { path = "../../../avm/server" } +air-interpreter-data = { version = "0.6.1", path = "../interpreter-data" } +air-interpreter-interface = { version = "0.12.1", path = "../interpreter-interface" } +avm-interface = { version = "0.28.1", path = "../../../avm/interface" } +avm-server = { version = "0.28.1", path = "../../../avm/server" } marine-rs-sdk = "0.7.1" fstrings = "0.2.3" diff --git a/crates/air-lib/trace-handler/Cargo.toml b/crates/air-lib/trace-handler/Cargo.toml index e696ab2e..672c41a9 100644 --- a/crates/air-lib/trace-handler/Cargo.toml +++ b/crates/air-lib/trace-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "air-trace-handler" -version = "0.1.1" +version = "0.1.0" description = "Implementation of AIR trace handler" authors = ["Fluence Labs"] edition = "2018" @@ -15,11 +15,11 @@ path = "src/lib.rs" [dependencies] air-interpreter-cid = { version = "0.2.0", path = "../interpreter-cid" } -air-interpreter-data = { path = "../interpreter-data" } -air-interpreter-interface = { path = "../interpreter-interface" } -air-log-targets = { path = "../log-targets" } -air-parser = { path = "../air-parser" } -polyplets = { path = "../polyplets" } +air-interpreter-data = { version = "0.6.1", path = "../interpreter-data" } +air-interpreter-interface = { version = "0.12.1", path = "../interpreter-interface" } +air-log-targets = { version = "0.1.0", path = "../log-targets" } +air-parser = { version = "0.7.2", path = "../air-parser" } +polyplets = { version = "0.3.2", path = "../polyplets" } bimap = "0.6.2" serde_json = "1.0.92" diff --git a/crates/testing-framework/Cargo.toml b/crates/testing-framework/Cargo.toml index 5952c07e..ce72ffee 100644 --- a/crates/testing-framework/Cargo.toml +++ b/crates/testing-framework/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "air-testing-framework" -version = "0.1.2" +version = "0.1.1" description = "AquaVM testing framework" authors = ["Fluence Labs"] edition = "2018" @@ -14,8 +14,8 @@ name = "air_test_framework" path = "src/lib.rs" [dependencies] -air-test-utils = { path = "../air-lib/test-utils" } -air-parser = { path = "../air-lib/air-parser" } +air-test-utils = { version = "0.4.1", path = "../air-lib/test-utils" } +air-parser = { version = "0.7.2", path = "../air-lib/air-parser" } itertools = "0.10.5" strum = { version="0.24.1", features=["derive"] } @@ -28,4 +28,4 @@ maplit = "1.0.2" pretty_assertions = "1.3.0" # We do not want to depend on wasm binary path -air-test-utils = { path = "../air-lib/test-utils", features = ["test_with_native_code"] } +air-test-utils = { version = "0.4.1", path = "../air-lib/test-utils", features = ["test_with_native_code"] } diff --git a/tools/cli/air-beautify/Cargo.toml b/tools/cli/air-beautify/Cargo.toml index e63a80bc..6f43bdf5 100644 --- a/tools/cli/air-beautify/Cargo.toml +++ b/tools/cli/air-beautify/Cargo.toml @@ -9,6 +9,6 @@ publish = false keywords = ["fluence", "air", "beautifier"] [dependencies] -air-beautifier = { path = "../../../crates/beautifier" } +air-beautifier = { version = "0.1.1", path = "../../../crates/beautifier" } clap = { version = "4.1.4", features = ["derive"] } anyhow = "1.0.69" diff --git a/tools/cli/air-trace/CHANGELOG.md b/tools/cli/air-trace/CHANGELOG.md index ecc71152..dfc80adf 100644 --- a/tools/cli/air-trace/CHANGELOG.md +++ b/tools/cli/air-trace/CHANGELOG.md @@ -1,7 +1,5 @@ # Changelog - - ## [0.2.3](https://github.com/fluencelabs/aquavm/compare/air-trace-v0.2.2...air-trace-v0.2.3) (2023-02-06) diff --git a/tools/cli/air-trace/Cargo.toml b/tools/cli/air-trace/Cargo.toml index df51ae02..ad47ca18 100644 --- a/tools/cli/air-trace/Cargo.toml +++ b/tools/cli/air-trace/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "air-trace" -version = "0.2.4" +version = "0.2.3" edition = "2021" description = "AIR performance tracing tool" authors = ["Fluence Labs"] @@ -9,11 +9,11 @@ publish = false keywords = ["fluence", "air", "tracing"] [dependencies] -air = { path = "../../../air" } -air-test-utils = { path = "../../../crates/air-lib/test-utils", optional = true } -air-interpreter-interface = { path = "../../../crates/air-lib/interpreter-interface", default-features = false } -avm-data-store = { path = "../../../crates/data-store" } -avm-interface = { path = "../../../avm/interface" } +air = { version = "0.35.0", path = "../../../air" } +air-test-utils = { version = "0.4.1",path = "../../../crates/air-lib/test-utils", optional = true } +air-interpreter-interface = { version = "0.12.1", path = "../../../crates/air-lib/interpreter-interface", default-features = false } +avm-data-store = { version = "0.4.1", path = "../../../crates/data-store" } +avm-interface = { version = "0.28.1", path = "../../../avm/interface" } anyhow = "1.0.69" clap = { version = "4.1.4", features = ["derive", "env"] }