What's Changed
v2 branch is feature comparative with v1 for now according to #324!
This release brings a lot of new operators, resolves performance issues and resolves important issue related to current_thread vs new_thread usage (for now it is pretty safe to use current_thread scheduler inside new_thread scheduler in all possible cases). Also documentation was improved a bit, error messages should be a bit more clear for now in case of unsatisfied constraints.
New parts:
- Add serialized subject by @victimsnino in #502
- Add window_toggle operator by @victimsnino in #506
- Add replay_subject by @CorentinBT in #508
- Timer source by @CorentinBT in #513
- Time point timer by @CorentinBT in #514
- Distinct by @CorentinBT in #520
- Add tap operator by @CorentinBT in #521
- Add zip operator by @CorentinBT in #523
- Add on_error_resume_next operator by @CorentinBT in #528
- Finally operator by @CorentinBT in #531
Thanks to @CorentinBT for PRs with new operators.
Rest commits:
- minor concepts fixes by @victimsnino in #492
- Extend doc with examples by @victimsnino in #497
- Fix clang compilation by @victimsnino in #498
- Fix subscribe by @victimsnino in #500
- Minor cleanup by @victimsnino in #501
- Proper forwarding for subjects by @victimsnino in #503
- fix dynamic observer/observable by @victimsnino in #504
- reduce get_observer() calls by @victimsnino in #505
- Fix incorrect usage of subject_state by @victimsnino in #509
- Make static container without array by @victimsnino in #510
- simplify disposables in subjects by @victimsnino in #511
- Remove unclear
with_disposable
typetrait by @victimsnino in #512 - Hide disposables inside disposable_wrapper by @victimsnino in #515
- Auto dispose disposable in case of destruction if needed by @victimsnino in #518
- Extend window_toggle tests by @victimsnino in #507
- Improve error messages by @victimsnino in #522
- Add auto clang-format by @victimsnino in #524
- extend clang-tidy by @victimsnino in #525
- Update subjects by @victimsnino in #526
- Simpify disposables tests by @victimsnino in #527
- Add missing operators and sources fwd by @CorentinBT in #529
- Optionally use defer_for/defer_to by @victimsnino in #530
- Document dynamic_ versions by @victimsnino in #534
- Update doxy by @victimsnino in #535
- Fix classic race with atomics + mutex by @victimsnino in #536
- timeout operator by @victimsnino in #537
- Fix timeout type by @victimsnino in #540
- Own queue if needed by @victimsnino in #541
- Correctly share current_thread with new_thread by @victimsnino in #542
Full Changelog: v2.0.0...v2.1.0