Skip to content

Commit

Permalink
release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
atimin committed Jul 31, 2023
1 parent 3798d2a commit dc50d89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 0.6.0 - 2023-07-31

### Added

Expand Down
4 changes: 1 addition & 3 deletions docs/api/meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,14 @@ different MQTT topics.
## TypedDataInfo

TypedDataInfo describes how to parse a binary data inside [DataPayload](common.md) when the data has values of different
types (not only float).
types (not only float). It uses [DriftBytes](https://github.com/panda-official/DriftBytes) as a serialization format.

| Name | Type | Description |
|----------|----------|------------------------------------------|
| items | Item[] | Description for each item in DataPayload |
| **Item** | | |
| name | string | Name of item |
| type | Type | Type of item |
| status | Status | Status of item |
| shape | uint64[] | Shape of item |

Supported types:

Expand Down
17 changes: 0 additions & 17 deletions proto_specs/drift_protocol/meta/meta_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,8 @@ message AlignmentInfo {

message TypedDataInfo {
message Item {
enum Type {
BOOL = 0;
INT8 = 1;
UINT8 = 2;
INT16 = 3;
UINT16 = 4;
INT32 = 5;
UINT32 = 6;
INT64 = 7;
UINT64 = 8;
FLOAT32 = 9;
FLOAT64 = 10;
STRING = 11;
};

string name = 1; // name of data
common.StatusCode status = 2; // status of data
Type type = 3; // type of data
repeated uint64 shape = 4; // shape of data
}

repeated Item items = 1;
Expand Down

0 comments on commit dc50d89

Please sign in to comment.