Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 1.6.2 release #374

Merged
merged 7 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,34 @@
## 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<void>
- Also cleaned up blocking_get implementation.
- blocking_get_for() added
- Fix for make_exceptional_future<void> 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.
- Supported for threaded wasm using the portable tasking system (auto-configured).

## 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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ 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)

# 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

Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions stlab/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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