diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b89b235004..6e563c1c94 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -middlewareVersion = "v0.37.0-alpha01" +middlewareVersion = "v0.37.0-alpha02" kotlinVersion = '2.0.21' kspVersion = "2.0.21-1.0.25" diff --git a/protocol/src/main/proto/changes.proto b/protocol/src/main/proto/changes.proto index bba0701a3a..bc5e368225 100644 --- a/protocol/src/main/proto/changes.proto +++ b/protocol/src/main/proto/changes.proto @@ -8,12 +8,6 @@ import "google/protobuf/struct.proto"; // the element of change tree used to store and internal apply smartBlock history message Change { - // ids of previous changes - repeated string previous_ids = 1; - // id of the last snapshot - string last_snapshot_id = 2; - // ids of the last changes with details/relations content - repeated string previous_meta_ids = 5; // set of actions to apply repeated Content content = 3; // snapshot - when not null, the Content will be ignored @@ -181,6 +175,16 @@ message Change { } } +message ChangeNoSnapshot { + // set of actions to apply + repeated Change.Content content = 3; + // file keys related to changes content + repeated Change.FileKeys fileKeys = 6; + // creation timestamp + int64 timestamp = 7; + // version of business logic + uint32 version = 8; +} message StoreChange { repeated StoreChangeContent changeSet = 1;