Skip to content

Latest commit

 

History

History
259 lines (170 loc) · 15 KB

CHANGELOG.md

File metadata and controls

259 lines (170 loc) · 15 KB

2.0.13

  • Fix pluck to correctly handle null values when an index or property exists but is null. #216
  • Updated testing to work with PHP 8.3

2.0.12

Update

  • Add support for react/promise v3

2.0.11

Update

  • Small fixes for and test on PHP 8.2

2.0.10

Update

  • Suppress warnings from php 8.1

2.0.9

Bug Fixes

  • ObservableFactoryWrapper should convert promise to observable (b24ec82)
  • Promise should support low level Throwable (c48c168)

2.0.8

Update

  • Allow PHP 8
  • Update PHPUnit

2.0.7

Update

  • Forward compatibility with react/event-loop 1.0 and 0.5 while still supporting 0.4 (5f91a62)

2.0.6

Bug Fixes

  • Reroute exceptions in onNext to onError by default (b7ba556)

2.0.5

Bug Fixes

  • Immediately complete if the iterator is no longer valid (af6765a)
  • Dispose inner observable when promise is cancelled (4855812)

2.0.4

Bug Fixes

  • Fixed issue where EventLoopScheduler did not cancel timers in certain circumstances (c915843)

Features

  • Added singleInstance operator (4f77d38)

2.0.3

Bug Fixes

  • Fixed order of subscriptions in takeUntil (1838ede)
  • Fixed issue where disposed of scheduled item would not cancel timer in some instances (bb2c5a0)
  • Removed throttle.expect to get rid of non-determinate test failures (97a980c)

Features

2.0.2

Bug Fixes

  • Make scheduler optional for ReplaySubject (a8d1c50)
  • EventLoop will only ever scheduler 1 timer now #167 #165 (bccbce9)
  • Canceled items are now removed from PriorityQueue #168 (6a4f9e7)
  • Fix memory leak and refactor groupBy* operators (7e4dc3c)

Features

  • Added withLatestFrom operator (273df81)

2.0.1

Bug Fixes

  • Fix concat to dispose of current observable (1eadb7b)

2.0.0

Changes and Additions

  • Added global static Scheduler class that allows setting scheduler factory callables
  • Schedulers are now passed in during Observable construction or into operators as needed
  • Static Observable constructors and operators will get scheduler from global static Scheduler if not specified
  • PHP 7 is required
  • HHVM support was removed
  • All files now declare(strict_types=1)
  • ObserverInterface::onError now takes a Throwable parameter instead of Exception
  • subscribeCallback has been deprecated in favor of subscribe which now takes callables or an ObserverInterface implementation
  • doOnNext and doOnEach have been deprecated in favor of do and follows the same syntax as subscribe
  • catchError has been deprecated in favor of catch
  • just has been deprecated in favor of of
  • emptyObservable has been deprecated in favor of empty
  • switchLatest has been deprecated in favor of switch
  • Observable is now abstract and requires subclasses to define _subscribe
  • Added toPromise and fromPromise operators
  • Marble tests are now supported
  • timeout now throws TimeoutException to allow detection of timeouts down stream
  • Parameter and return types have been added

1.5.3

Features

  • Added compose operator (140e21a)
  • Added plucking for multiple items at once (11b86c9)
  • Added custom operators in nested namespace (897b747)

1.5.2

Bug Fixes

  • Fix interface mismatch on subscribe type hints (b817619)
  • Fix IteratorObservable to check if the key is valid instead of null (dafb14b)

Features

  • Optimized distinct operator (462d433)
  • Added finally operator (e2cfdb2)
  • Added isEmpty operator (2429fb7)
  • Added forkJoin operator (9fb9197)
  • Refactored mergeAll to be consistent with RxJS and switchLatest (7aeb8ce)

1.5.1

Bug Fixes

  • Fixed non-strict search in CompositeDisposable (c17fb6c)
  • Fixed missing array type hint on Observable::__call (1672dc1)

1.5.0

Bug Fixes

  • Fixed throttle.php demo (cee42e2)
  • Fixed Promise::fromObservable() to allow selecting the scheduler (de88548)
  • Fixed VirtualTimeScheduler to use now() method (d5afdde)
  • Fixed defer swallowing errors (#85)
  • Fixed phpunit deprecation warnings (b7f754c)
  • Fixed scheduler disposable on delay dispose (#87)

Features

1.4.1

Bug Fixes

  • Fixed EventLoopScheduler (f0302d2)

1.4.0

Bug Fixes

Features

1.3.0

Bug Fixes

  • Fixed combineLatest when using the EventLoopScheduler (12fce12)
  • Fixed argument ordering issue with combineLatest (c5a8e5a)
  • Fixed shareReplay, so arguments are optional (e38e8a4)
  • Fixed double subscription issue with concatAll (4c64a82)
  • Fixed delay now uses materialize and timestamp, so that it has consistent behavior between all supported schedulers (#51)
  • Fixed EventLoopScheduler, which is now based off of the VirtualTimeScheduler (#50)

Features

  • Added materialize and dematerialize operators (6d6bba4)
  • Added timestamp operator (4109934)
  • Added switchLatest operator (58c95b0)
  • Added partition operator (ca95144)
  • Added flatMapLatest operator (c0d15ff)

1.2.0

Bug Fixes

  • Fixed uninitialized disposable in skipUntil (2b5ea0b)
  • Fixed asObservable operator was not passing through the scheduler (d805cfd)
  • Fixed uninitialized disposable in retry (ca4da7e)
  • Fixed #23 - changing yield behavior in hhvm (da2737c)
  • Fixed #33 - For Rx\React\Promise::toObservable, wrap non-exceptions on reject (ed852de)

Features

  • Added ability to record and validate output of demo files (883ad4b)
  • Added catchError operator (cd4fc03)
  • Added takeWhile and takeWhileWithIndex operators (177835e)
  • Added startWith and startWithArray operators (585f893)
  • Added retryWhen operator (19b36fc)
  • Added utility to generate documentation for reactivex.io (a62d46b)
  • Added concatAll and concatMap operators (c794cf3)
  • Added skipWhile and skipWhileWithIndex operators (80c997f)
  • Added max operator (1a841fa)

1.1.0

Bug fixes

  • Fixed bug where the map operator called onNext after it was disposed (8a1d68c)
  • Minor fixes to groupByUntil (f6f56e3)
  • Minor fixes to delay (2613f36)

Features

  • Added range observable (1684522) (0ceab90) (121806c)
  • Added index to map selector (8a1d68c)
  • Added mapTo operator (8a1d68c)
  • Added timer observable (304bc0c)
  • Added distinct and distinctKey (e9575f1)
  • Split distinctUntilChanged into distinctUntilChanged and distinctUntilKeyChanged (e9575f1)