From 88882b470bc66293ec57c29ef6f9f2e6bfba2572 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Sun, 20 Jun 2021 22:41:32 +0200
Subject: [PATCH] REL: prepare release v0.4.0

---
 CHANGELOG.md          | 2 +-
 DEPENDENCIES.md       | 2 +-
 conf/core/server.conf | 4 ++--
 pom.xml               | 2 +-
 src/doc/conf.py       | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8362aff..69ecfcc3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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.1.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## [Unreleased]
+## [v0.4.0] - 2021-06-21
 
 ### Added
 
diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md
index 1b0ba73e..3af219c2 100644
--- a/DEPENDENCIES.md
+++ b/DEPENDENCIES.md
@@ -1,4 +1,4 @@
-* caosdb-mysqlbackend == 4.0.0
+* caosdb-mysqlbackend == 4.1.0
 * Java 11
 * Apache Maven >= 3.6.0
 * make >= 4.2.0
diff --git a/conf/core/server.conf b/conf/core/server.conf
index 2e916649..95c49f5d 100644
--- a/conf/core/server.conf
+++ b/conf/core/server.conf
@@ -67,8 +67,8 @@ MYSQL_DATABASE_NAME=caosdb
 MYSQL_USER_NAME=caosdb
 # Password for the user
 MYSQL_USER_PASSWORD=caosdb
-# Schema of mysql procedures and tables which is required by this CaosDB instance
-MYSQL_SCHEMA_VERSION=v4.0.0
+# Schema of mysql procedures and tables which is required by this CaosDB instance. The versioning follows SemVer 2.0 specs.
+MYSQL_SCHEMA_VERSION=v5.0
 
 
 # --------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4c443593..ef49fea3 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.4.0-SNAPSHOT</version>
+  <version>0.4.0</version>
   <packaging>jar</packaging>
   <name>CaosDB Server</name>
   <properties>
diff --git a/src/doc/conf.py b/src/doc/conf.py
index 46580733..ed8a54df 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.3'
+version = '0.4'
 # The full version, including alpha/beta/rc tags
-release = '0.3'
+release = '0.4.0'
 
 
 # -- General configuration ---------------------------------------------------
-- 
GitLab