Source: https://www.academind.com/learn/javascript/rxjs-6-what-changed/
The following operators were renamed:
catch()
=>catchError()
do()
=>tap()
finally()
=>finalize()
switch()
=>switchAll()
Additionally, some Observable-creation methods were renamed/ refactored:
throw()
=>throwError()
fromPromise()
=>from()
(this automatically detects the type)