From 370216e8bfa0da7928d9015c2883c5a9e1b31b54 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 17 Nov 2021 15:50:22 +0100 Subject: [PATCH] DOC: update CHANGELOG --- CHANGELOG.md | 17 ++++++++++++++++- pom.xml | 2 +- src/doc/conf.py | 4 ++-- .../server/grpc/GeneralInfoServiceImpl.java | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cc88320..ab1f09f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,25 @@ 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.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [v0.6.0] - 2021-11-17 +(Timm Fitschen) ### Added +* Endpoint for CaosDB GRPC API 0.1 (see https://gitlab.com/caosdb-proto.git for + more). + Authentication is supported via a Basic scheme, using the well-known + "authentication" header. + Notable limitations of the current implementation of the API: + * It is currently not possible to mix retrievals + (caosdb.entity.v1.RetrieveRequest) with any other transaction type - so + transaction are either read-only or write-only. The server throws an error + if it finds mixed read/write transactions. + * It is currently not possible to have more that one query + (caosdb.entity.v1.Query) in a single transaction. The server throws an + error if it finds more than one query. + + ### Changed ### Deprecated diff --git a/pom.xml b/pom.xml index a2436f11..f9ecf89e 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.caosdb</groupId> <artifactId>caosdb-server</artifactId> - <version>0.5.1-GRPC0.1.0</version> + <version>0.6.0</version> <packaging>jar</packaging> <name>CaosDB Server</name> <scm> diff --git a/src/doc/conf.py b/src/doc/conf.py index 4e5ff81b..3e4e90e8 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -25,9 +25,9 @@ copyright = '2020, IndiScale GmbH' author = 'Daniel Hornung' # The short X.Y version -version = '0.5.1' +version = '0.6' # The full version, including alpha/beta/rc tags -release = '0.5.1-GRPC0.1.0' +release = '0.6.0' # -- General configuration --------------------------------------------------- diff --git a/src/main/java/org/caosdb/server/grpc/GeneralInfoServiceImpl.java b/src/main/java/org/caosdb/server/grpc/GeneralInfoServiceImpl.java index 7966251c..17d9f4c8 100644 --- a/src/main/java/org/caosdb/server/grpc/GeneralInfoServiceImpl.java +++ b/src/main/java/org/caosdb/server/grpc/GeneralInfoServiceImpl.java @@ -48,7 +48,7 @@ public class GeneralInfoServiceImpl extends GeneralInfoServiceImplBase { final Integer major = Integer.parseInt(version[0]); final Integer minor = Integer.parseInt(version[1]); final Integer patch = Integer.parseInt(version[2]); - final String pre_release = version.length > 3 ? version[3] : null; + final String pre_release = version.length > 3 ? version[3] : ""; final String build = CaosDBServer.getServerProperty(ServerProperties.KEY_PROJECT_REVISTION); final VersionInfo versionInfo = -- GitLab