Skip to content

Commit

Permalink
proto: Bump protocol version to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-hamester committed Nov 23, 2023
1 parent 34f7923 commit 94ea31e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conformance-tester/tests/connect-and-shutdown.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"type": "send",
"message": "connect",
"version": 13,
"version": 14,
"value-type": "none"
},
{
Expand Down
2 changes: 1 addition & 1 deletion conformance-tester/tests/connect-ok.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"type": "send",
"message": "connect",
"version": 13,
"version": 14,
"value-type": "none"
},
{
Expand Down
4 changes: 2 additions & 2 deletions conformance-tester/tests/connect-version-too-high.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
{
"type": "send",
"message": "connect",
"version": 14,
"version": 15,
"value-type": "none"
},
{
"type": "receive",
"message": "connect-reply",
"result": "version-mismatch",
"version": 13
"version": 14
}
]
}
4 changes: 2 additions & 2 deletions conformance-tester/tests/connect-version-too-low.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
{
"type": "send",
"message": "connect",
"version": 12,
"version": 13,
"value-type": "none"
},
{
"type": "receive",
"message": "connect-reply",
"result": "version-mismatch",
"version": 13
"version": 14
}
]
}
2 changes: 1 addition & 1 deletion proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ pub use value_serializer::{

const MAX_VALUE_DEPTH: u8 = 32;

pub const VERSION: u32 = 13;
pub const VERSION: u32 = 14;

0 comments on commit 94ea31e

Please sign in to comment.