Skip to content

Commit 99f0ea9

Browse files
committed
0.4.0
1 parent 9816383 commit 99f0ea9

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,25 @@ The code is known to work on the following compilers:
6666

6767
Release Notes:
6868
--------------
69-
69+
* **0.4.0** Oct 18, 2018
70+
- Minor interface-breaking changes:
71+
* `single_view` returns by `const &` (see [#817](https://github.com/ericniebler/range-v3/issues/817)).
72+
* `reverse_view` of a non-Sized, non-Bounded RandomAccess range (eg., a null-terminated string) no longer satisfies SizedRange.
73+
* The `generate` and `generate_n` views now return the generated values by xvalue reference (`T &&`) to the value cached within the view (see [#905](https://github.com/ericniebler/range-v3/issues/905)).
74+
* Views no longer prefer returning constant iterators when they can; some views have different constant and mutable iterators.
75+
- Enhancements:
76+
* Views can successfully adapt other views that have different constant and mutable iterators.
77+
* The `single` and `empty` views are much closer to the versions as specified in [P0896](http://wg21.link/P0896).
78+
- Bug fixes:
79+
* "single_view should not copy the value" [#817](https://github.com/ericniebler/range-v3/issues/817).
80+
* "Calling back() on strided range does not return the correct last value in range" [#901](https://github.com/ericniebler/range-v3/issues/901).
81+
* "generate(foo) | take(n) calls foo n+1 times" [#819](https://github.com/ericniebler/range-v3/issues/819).
82+
* "generate seems broken with move-only return types" [#905](https://github.com/ericniebler/range-v3/issues/905).
83+
* "Unexpected behavior in generate with return by reference" [#807](https://github.com/ericniebler/range-v3/issues/807).
84+
* "Inconsistent behaviour of ranges::distance with ranges::view::zip using infinite views." [#783](https://github.com/ericniebler/range-v3/issues/783).
85+
* "Infinite loop when using ranges::view::cycle with an infinite range" [#780](https://github.com/ericniebler/range-v3/issues/780).
86+
* "Composing ranges::view::cycle with ranges::view::slice" [#778](https://github.com/ericniebler/range-v3/issues/778).
87+
* "cartesian_product view, now with moar bugs." [#919](https://github.com/ericniebler/range-v3/issues/919).
7088
* **0.3.7** Sept 19, 2018
7189
- Improved support for clang-cl (thanks to @CaseyCarter).
7290
- Fix for `any_view<T, category::sized | category::input>` (see #869).

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 3)
5-
set(RANGE_V3_PATCHLEVEL 7)
4+
set(RANGE_V3_MINOR 4)
5+
set(RANGE_V3_PATCHLEVEL 0)

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 3
19-
#define RANGE_V3_PATCHLEVEL 7
18+
#define RANGE_V3_MINOR 4
19+
#define RANGE_V3_PATCHLEVEL 0
2020

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

0 commit comments

Comments
 (0)