From 0a7232a4120c2daf8ddb6621ec13f313a029e495 Mon Sep 17 00:00:00 2001 From: Felix Petriconi Date: Thu, 25 Mar 2021 19:24:22 +0100 Subject: [PATCH] Prepare 1.6.2 release (#374) * Fix #363 * Prepare 1.6.2 release * Update status badge and minor wording improvements --- CHANGES.md | 25 ++++++++++++++++++++++++- CMakeLists.txt | 2 +- README.md | 9 ++++----- conanfile.py | 2 +- stlab/version.hpp | 4 ++-- 5 files changed, 32 insertions(+), 10 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 08fd4133d..04f5fbde1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,26 @@ +## v.1.6.2 - 2021 - March 25 + - Fixed issues + - [#371]:(https://github.com/stlab/libraries/issues/371)Missing include in concurrency/utility.hpp + - The _hold for detach was being done on the executor instead of the continuation. The result was a (silenced) broken exception getting thrown if detach() is called on a ready exception. + This would trigger an exception which is caught internally in a packaged task and dropped. + ```cpp + stlab::make_ready_future(stlab::immediate_executor).detach(); + ``` + - Fixed an issue with the serial queue using a "temporary" executor which was copied into the future shared state. + - Added stealing to blocking_get + - Also cleaned up blocking_get implementation. + - blocking_get_for() added + - Fix for make_exceptional_future and improvements blocking_get_for added + - deprecated blocking_get() with timeout + - Fixing bugs and naming our threads + - Fixed issue with backoff + - min() duration on a clock apparently is not a minimum length duration as documented, but is a negative duration... instead we us a single tick. + - Update utility.hpp + +## v.1.6.1 - 2021 - February 10 + - Fixed issues + - [#363]:(https://github.com/stlab/libraries/issues/363) Wrong version in the 1.6.0 release + ## v1.6.0 - 2021 - February 9 - Backport the library to support C++14 and later - Better auto-configuration - no need for compiler flags. @@ -5,7 +28,7 @@ ## v1.5.6 - 2021 - February 1 - Fixed issues - = [#352]:(https://github.com/stlab/libraries/issues/352) Non portable 'warning' preprocessor command + - [#352]:(https://github.com/stlab/libraries/issues/352) Non portable 'warning' preprocessor command - [#354]:(https://github.com/stlab/libraries/issues/354) Visual Studio 2017 fails to compiler async with std::function as argument ## v1.5.5 - 2021 - January 29 diff --git a/CMakeLists.txt b/CMakeLists.txt index 18f0845f4..3d9aae59f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ else() set( subproject OFF ) endif() -project( stlab VERSION 1.6.1 LANGUAGES CXX ) +project( stlab VERSION 1.6.2 LANGUAGES CXX ) # Overriden from Conan? # set(CMAKE_CXX_STANDARD 17) diff --git a/README.md b/README.md index e2ac303f3..4967ca5c3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ASL libraries will be migrated here in the stlab namespace, new libraries will b # Branch states - **`main`:** -[![Main status](https://travis-ci.org/stlab/libraries.svg?branch=main)](https://travis-ci.org/stlab/libraries) +[![Main status](https://github.com/stlab/libraries/actions/workflows/conan.yml/badge.svg)](https://github.com/stlab/libraries/actions/workflows/conan.yml/badge.svg) [![AppVeyor](https://ci.appveyor.com/api/projects/status/aaf2uibkql1625dl/branch/main?svg=true)](https://ci.appveyor.com/project/fosterbrereton/libraries/branch/main) [![Code Coverage](https://codecov.io/github/stlab/libraries/coverage.svg?branch=main)](https://codecov.io/gh/stlab/libraries/branch/main) [![Coverty Scan](https://scan.coverity.com/projects/13163/badge.svg)](https://scan.coverity.com/projects/stlab_libraries) @@ -13,8 +13,7 @@ ASL libraries will be migrated here in the stlab namespace, new libraries will b # Content ## [Concurrency](https://www.stlab.cc/libraries/concurrency/) -This library provides futures and channels, high level constructs for implementing algorithms that eases the use of -multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures. +This library provides futures and channels, high level abstractions for implementing algorithms that eases the use of multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures. # Documentation @@ -23,10 +22,10 @@ The complete documentation is available on the [stlab home page](http://stlab.cc Release changelogs are listed in [CHANGES.md](CHANGES.md). # Supported Platforms -- All OS that have a C++17 compliant compiler +- All OS that have a C++14 compliant compiler # Requirements -- C++17 Compiler +- C++14 Compiler -- Visual Studio 2017 (>= 15.9.0), Visual Studio 2019 -- gcc (>= 7) -- clang (>= 6) diff --git a/conanfile.py b/conanfile.py index 2b764934b..8def6f60b 100644 --- a/conanfile.py +++ b/conanfile.py @@ -14,7 +14,7 @@ def option_on_off(option): class StlabLibrariesConan(ConanFile): name = "stlab" - version = "1.6.1" #TODO(fernando): see how to automate the version number + version = "1.6.2" #TODO(fernando): see how to automate the version number license = "http://www.boost.org/users/license.html" url = "https://github.com/stlab/libraries" description = "Software Technology Lab (stlab) libraries" diff --git a/stlab/version.hpp b/stlab/version.hpp index d9d896570..cdc85fc5c 100644 --- a/stlab/version.hpp +++ b/stlab/version.hpp @@ -19,13 +19,13 @@ // STLAB_VERSION / 100 % 1000 is the minor version // STLAB_VERSION / 100000 is the major version -#define STLAB_VERSION 100601 +#define STLAB_VERSION 100602 // // STLAB_LIB_VERSION must be defined to be the same as STLAB_VERSION // but as a *string* in the form "x_y[_z]" where x is the major version // number, y is the minor version number, and z is the patch level if not 0. -#define STLAB_LIB_VERSION "1_6_1" +#define STLAB_LIB_VERSION "1_6_2" #endif