From 60441aa538a193b91014fbf2ecd7f40856f3ce5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Tri=C5=A1=C4=8D=C3=ADk?= Date: Tue, 8 Oct 2024 16:31:04 +0200 Subject: [PATCH] 1.3.0 release - bumped version to 1.3.0 - updated README.md - updated CHANGELOG.md --- CHANGELOG.md | 3 +++ README.md | 19 ++++++++++++++----- proto/bos/version.proto | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ca4b3f..53ca96a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## [1.3.0] - 2024-10-22 +Version **1.3.0** introduces few small improvements. + ### Changed * Extended `braiins.bos.v1.Platform` enumeration with `PLATFORM_STM32MP157C_II2_BMM1` variant, * Extended `braiins.bos.v1.SupportArchiveFormat` enumeration with `SUPPORT_ARCHIVE_FORMAT_ZIP_ENCRYPTED` variant. diff --git a/README.md b/README.md index fdb7500..0e5f1ee 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ This repository contains protocol buffers for the new Braiins OS+ Public API, wh | Public API Version | BOS version | |--------------------|-------------| +| 1.3.0 | 24.09 | | 1.2.0 | 24.06 | | 1.1.0 | 24.04 | | 1.0.0 | 24.03 | @@ -142,8 +143,9 @@ $ grpcurl -plaintext -H 'authorization:FvZarvVQLCtzNaM6' miner:50051 braiins.bos "uid": "lAOJ0RbI6axyOyGf", "minerIdentity": { "brand": "MINER_BRAND_ANTMINER", - "model": "MINER_MODEL_ANTMINER_S19J_PRO", + "model": "MINER_MODEL_ANTMINER_S19J_PRO", // Deprecated, use miner_model "name": "Antminer S19J Pro" + "miner_model": "Antminer S19J Pro", }, "platform": "PLATFORM_AM3_BBB", "bosMode": "BOS_MODE_NAND", @@ -152,9 +154,13 @@ $ grpcurl -plaintext -H 'authorization:FvZarvVQLCtzNaM6' miner:50051 braiins.bos "major": "2022-09-13-0-11012d53-22.08-plus", "bosPlus": true }, - "hostname": "bosminer", + "hostname": "localhost", "macAddress": "94:e3:6d:fb:89:ad", - "systemUptime": "90919" + "systemUptime": "90919", // Deprecated, use system_uptime_s + "bosminer_uptime_s": "5050", + "system_uptime_s": "90919", + "status": "MINER_STATUS_NORMAL", + "kernel_version": "3.8.13+" } ``` @@ -164,8 +170,11 @@ It is important to note what version of Public API must be used for communicatio ```shell $ grpcurl -plaintext miner:50051 braiins.bos.ApiVersionService/GetApiVersion { - "major": "1", - "pre": "alpha" + "major": "1", + "minor": "3", + "patch": "0", + "pre": "", + "build": "" } ``` **Note**: Version `1.0.0-` is actually `1.0.0-.0`. `0` as default value was dropped during serialization. diff --git a/proto/bos/version.proto b/proto/bos/version.proto index 085a17b..47c4970 100644 --- a/proto/bos/version.proto +++ b/proto/bos/version.proto @@ -33,7 +33,7 @@ option go_package = "github.com/braiins/bos-plus-api/braiins/bos;bos_proto"; // proto3 extensions and proto3 does not allow specifying custom // default values. Value follows semver format. -// LATEST_API_VERSION=1.2.0 +// LATEST_API_VERSION=1.3.0 message ApiVersion { uint64 major = 1; uint64 minor = 2;