From df034a52c97f21c84b034b89fc53cc7ccf23245f Mon Sep 17 00:00:00 2001 From: Stephen Hensley Date: Wed, 21 Jul 2021 16:59:14 -0700 Subject: [PATCH] VersionPrep for v1.0.0 (changelog) (#386) * updated changelog for new version, added migration details for breaking change. * updated version in CMakeLists and version.h for new release. Co-authored-by: stephenhensley --- CHANGELOG.md | 15 ++++++++++++--- CMakeLists.txt | 2 +- src/version.h | 4 ++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f0987bcc..63ae4b749 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,13 @@ # libDaisy Changelog -## Unreleased +## v1.0.0 ### Breaking Changes * move MidiEvent and related data to `daisy` namespace. ### Features - + * string: allow more integer types in `FixedCapStr::AppendInt()` * fifo/stack: Add new methods for searching elements * fifo/stack: Reduce binary size @@ -31,7 +31,16 @@ ### Migrating +With `using namespace daisy` (as typical in example programs) no changes necessary. Otherwise: + +```c++ +// Old +MidiEvent event; + +// New +daisy::MidiEvent event; +``` + ## v0.1.0 Initial Release - diff --git a/CMakeLists.txt b/CMakeLists.txt index e2de798aa..41297ea38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_policy(SET CMP0048 NEW) -project (libdaisy VERSION 0.1.0) +project (libdaisy VERSION 1.0.0) cmake_minimum_required(VERSION 3.20) set(TARGET daisy) diff --git a/src/version.h b/src/version.h index 4d8aaadaa..e3d57a720 100644 --- a/src/version.h +++ b/src/version.h @@ -2,8 +2,8 @@ #ifndef DSY_VERSION_H #define DSY_VERSION_H -#define LIBDAISY_VER_MAJ 0 -#define LIBDAISY_VER_MIN 1 +#define LIBDAISY_VER_MAJ 1 +#define LIBDAISY_VER_MIN 0 #define LIBDAISY_VER_PATCH 0 #endif