Releases: ReactiveX/rxjs
Releases · ReactiveX/rxjs
8.0.0-alpha.14
8.0.0-alpha.13
8.0.0-alpha.13
🚀 Features
- support web standard modules (0c8eaf7e6)
⚠️ observable (Symbol): removeSymbol.observable
export (#4466, #7361)⚠️ Subject.create: Removed the deprecatedSubject.create
method. (d62ce6ebe)⚠️ WebSocketSubject: no longer extendsSubject
. (54f2f6ed1)- webSocket: now allows input and output typing to differ (c408acda1)
🩹 Fixes
- TestScheduler: explicit unsubscribe works properly with
toEqual
(#7403) - config:
onStoppedNotification
andonUnhandledError
will now always async dispatch (#7344) - fromEvent:
fromEvent
now handles symbols as event names (#7339) - fromEvent: passing a generic parameter is no longer deprecated (#7406)
⚠️ Breaking Changes
- observable (Symbol):
observable
(theSymbol.observable
symbol instance) is no longer exported. Use a polyfill likesymbol-observable
, or useSymbol.observable ?? '@@observable'
as a workaround." - Subject.create: Removed the deprecated
Subject.create
method. If you need to create an object that is "half Observable, half Observer", you'll need to either boltnext
,error
, andcomplete
handlers onto anObservable
and property type the return... or you'll need to create your own class that is backed by anObservable
. In any case, if theObserver
and theObservable
are so unrelated that you have to bolt them together, you're probably better off with those two objects separately. This is whySubject.create
has been deprecated for so long. - WebSocketSubject:
WebSocketSubject
is no longerinstanceof Subject
. Check forinstanceof WebSocketSubject
instead.