Skip to content

Commit 4d6a463

Browse files
committed
0.10.0
1 parent 46b148f commit 4d6a463

File tree

5 files changed

+70
-7
lines changed

5 files changed

+70
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/include/range/v3/version.hpp RANGE_V3_N
115115
# If the new version.hpp is materially different from the one in the source
116116
# directory, update it, commit, and tag.
117117
if(NOT RANGE_V3_NEW_VERSION_HPP STREQUAL RANGE_V3_OLD_VERSION_HPP)
118-
# Check that README.md and Version.cmake are the only changed file:
118+
# Check that doc/release_notes.md and Version.cmake are the only changed file:
119119
execute_process(
120120
COMMAND ${GIT_EXECUTABLE} -C "${CMAKE_CURRENT_SOURCE_DIR}" status --porcelain -uno
121121
OUTPUT_VARIABLE RANGE_V3_GIT_STATUS

Version.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# To update the range-v3 version, from a *CLEAN* working directory, update the version numbers below.
22
# This makefile will generate a new version.hpp, *AMEND THE MOST RECENT COMMIT*, and git-tag the commit.
33
set(RANGE_V3_MAJOR 0)
4-
set(RANGE_V3_MINOR 9)
5-
set(RANGE_V3_PATCHLEVEL 1)
4+
set(RANGE_V3_MINOR 10)
5+
set(RANGE_V3_PATCHLEVEL 0)

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class Rangev3Conan(ConanFile):
1616
name = "range-v3"
17-
version = "0.9.1"
17+
version = "0.10.0"
1818
license = "Boost Software License - Version 1.0 - August 17th, 2003"
1919
url = "https://github.com/ericniebler/range-v3"
2020
description = """Experimental range library for C++11/14/17"""

doc/release_notes.md

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,69 @@
11
Release Notes {#release_notes}
22
=============
33

4+
\section v0-10-0 Version 0.10.0 "To Err is Human"
5+
6+
_Released:_ Dec 6, 2019.
7+
8+
**IMPORTANT:** Before upgrading, please note that several older compiler versions
9+
and build configurations are no longer supported! In particular, MSVC now needs
10+
`/std:c++latest`.
11+
12+
**ALSO:** When taking a dependency on the `range-v3`, `meta`, or `concepts`
13+
libraries via CMake, please now use the namespace qualified target names:
14+
- `range-v3::range-v3`
15+
- `range-v3::meta`
16+
- `range-v3::concepts`
17+
18+
Changes:
19+
* **NEW:** Rewritten concepts portability layer with simpler macros for better
20+
diagnostics.
21+
* **NEW:** The `views::cache1` view caches the most recent value in the
22+
range. This can help avoid reevaluation of transformations in complex view
23+
pipelines.
24+
* **NEW:** `ranges::contains` algorithm.
25+
* **NEW:** `enable_safe_range` trait for opting in to the _forwarding-range_
26+
concept. These are ranges whose iterators remain valid even after the
27+
range itself has been destroyed; _e.g._, `std::string_view` and
28+
`ranges::subrange`.
29+
* The `readable` concept has changed such that types that are not _indirectly_
30+
readable with `operator*` (_e.g., `std::optional`) no longer satisfy that
31+
concept.
32+
* Using `views::join` to join a range of xvalue ranges works again.
33+
* The following range access primitives no longer accept temporary containers
34+
(_i.e._, they refuse to return references known to be dangling):
35+
- `range::front`
36+
- `range::back`
37+
- `range::at`
38+
- `range::index`
39+
* `views::concat` with a single argument now simply returns its argument.
40+
* `ranges::ostream_iterator<T>` now coerces arguments to `T` before inserting
41+
them into the wrapped ostream.
42+
* Smaller iterators for `views::transform` and `views::take_while`.
43+
* `actions::split` and `actions::split_when` now support partial application and
44+
pipelining ([\#1085](https://github.com/ericniebler/range-v3/issues/1085)).
45+
* `views::group_by` and its iterator both get a `.base()` member to access the
46+
underlying range and iterator, respectively.
47+
* Improved diagnostics with clang.
48+
* Assorted bug fixes and compiler work-arounds:
49+
[\#284](https://github.com/ericniebler/range-v3/issues/284),
50+
[\#491](https://github.com/ericniebler/range-v3/issues/491),
51+
[\#499](https://github.com/ericniebler/range-v3/issues/499),
52+
[\#871](https://github.com/ericniebler/range-v3/issues/871),
53+
[\#1022](https://github.com/ericniebler/range-v3/issues/1022),
54+
[\#1043](https://github.com/ericniebler/range-v3/issues/1043),
55+
[\#1081](https://github.com/ericniebler/range-v3/issues/1081),
56+
[\#1085](https://github.com/ericniebler/range-v3/issues/1085),
57+
[\#1101](https://github.com/ericniebler/range-v3/issues/1101),
58+
[\#1116](https://github.com/ericniebler/range-v3/issues/1116),
59+
[\#1296](https://github.com/ericniebler/range-v3/issues/1296),
60+
[\#1305](https://github.com/ericniebler/range-v3/issues/1305), and
61+
[\#1335](https://github.com/ericniebler/range-v3/issues/1335).
62+
63+
Many thanks to GitHub users @CaseyCarter, @morinmorin, @h-2, @MichaelWJung,
64+
@johelegp, @marehr, @alkino, @xuning97, @BRevzin, and @mpusz for their
65+
contributions.
66+
467
\section v0-9-1 Version 0.9.1
568

669
_Released:_ Sept 1, 2019.
@@ -13,7 +76,7 @@ _Released:_ Aug 26, 2019.
1376

1477
Bring many interfaces into sync with the C++20 draft.
1578

16-
* **NEW:** An improved concepts portability layer with macros that use C++20
79+
* **NEW:** An improved concepts portability layer with macros that use C++20
1780
concepts when the compiler supports them.
1881
* **NEW:** An improved directory structure that keeps disjoint parts of the
1982
library -- iterators, ranges, algorithms, actions, views, functional

include/range/v3/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#define RANGES_V3_VERSION_HPP
1616

1717
#define RANGE_V3_MAJOR 0
18-
#define RANGE_V3_MINOR 9
19-
#define RANGE_V3_PATCHLEVEL 1
18+
#define RANGE_V3_MINOR 10
19+
#define RANGE_V3_PATCHLEVEL 0
2020

2121
#define RANGE_V3_VERSION \
2222
(RANGE_V3_MAJOR * 10000 + RANGE_V3_MINOR * 100 + RANGE_V3_PATCHLEVEL)

0 commit comments

Comments
 (0)