Skip to content

Commit

Permalink
version 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikTH committed Feb 27, 2023
1 parent 5f432a9 commit 8164211
Show file tree
Hide file tree
Showing 3 changed files with 1,600 additions and 977 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning](http://semver.org/).

## [0.10.0](https://github.com/YarikTH/ureact/releases/tag/0.10.0) (2023-02-27)

[Full Changelog](https://github.com/YarikTH/ureact/compare/0.9.0...0.10.0)

Adapting `context` ownership scheme from master branch of cpp.react

- BREAKING! `context` is no longer a thing that user should guarantee to die last
after each ureact nodes using this `context` are destroyed.
Instead, now it has shared pointer semantic and each ureact node has a copy of it.
So `context` dies only after all its owners diy.
- BREAKING! `count_` and `lift_` are renamed to `count_as` and `lift_as` respectively.
- BREAKING! `merge` adaptor is no longer selecting result type based on the type of
the first source event stream, but tries to determine result type using `std::common_type`.
Additionally `merge_as` version is added to manually select the result type.
- BREAKING! `equal_to` is replaced with the opposite `has_changed`.
All user overloads of `equal_to` are impacted.
- New adaptor `monitor_change` is added. It emits (old value, new value) pairs on
monitored signal changes.
- New adaptor `elements` and its specializations `keys` and `values` are added.
They do exactly the same that analogs from `std::ranges` do.
https://en.cppreference.com/w/cpp/ranges/elements_view
- New adaptor `stride` is added.
It does exactly the same that analog from `std::ranges` does.
https://en.cppreference.com/w/cpp/ranges/stride_view
- New adaptor `slice` is added.
`ureact::slice(M, N)` is equivalent to `ureact::drop(M) | ureact::take(N - M)`.

## [0.9.0](https://github.com/YarikTH/ureact/releases/tag/0.9.0) (2023-02-12)

[Full Changelog](https://github.com/YarikTH/ureact/compare/0.8.1...0.9.0)
Expand Down
2 changes: 1 addition & 1 deletion include/ureact/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define UREACT_VERSION_MAJOR 0
#define UREACT_VERSION_MINOR 10
#define UREACT_VERSION_PATCH 0
#define UREACT_VERSION_STR "0.10.0 wip"
#define UREACT_VERSION_STR "0.10.0"

#define UREACT_VERSION \
( UREACT_VERSION_MAJOR * 10000 + UREACT_VERSION_MINOR * 100 + UREACT_VERSION_PATCH )
Expand Down
Loading

0 comments on commit 8164211

Please sign in to comment.