mtorp / redux-logic

MIT License
0 stars 4 forks source link

[JSFIX] Major version upgrade of rxjs from version 5.5.11 to 6.6.7 #276

Open jsfix-ci opened 1 year ago

jsfix-ci commented 1 year ago

This pull request was created by mtorp using the JSFIX tool (https://jsfix.live) by Coana.tech (https://coana.tech). It upgrades rxjs to version 6.6.7.

The JSFIX tool used advanced program analysis to determine how rxjs is used by redux-logic and how it is affected by breaking changes in rxjs version 6.6.7 (see details below). JSFIX checked for the 27 breaking changes affecting rxjs version 6.6.7 and found 141 occurrences in redux-logic. JSFIX automatically made the required edits for 140 of the occurrences. 1 of the occurrences must be manually audited.

Install the JSFIX GitHub app to receive other package upgrades from JSFIX.


Breaking change details

🚧 - Not automatically fixed breaking changes (please check before merging)
Affects all applications (not related to specific API usages in your code). * NodeJS Dropping support for non-LTS versions of Node.

Breaking changes where JSFIX patched all occurrences.
Breaking changes where JSFIX found that there were no occurrences. * ajax: will no longer execute a CORS request by default, you must opt-in with the crossDomain flag in the config. * utils: Many internal use utilities like isArray are now hidden under rxjs/internal, they are implementation details and should not be used. * operators removed: Operator versions of static observable creators such as merge, concat, zip, onErrorResumeNext, and race have been removed. Please use the static versions of those operations. e.g. a.pipe(concat(b, c)) becomes concat(a, b, c). * Observable: You should no longer deep import custom Observable implementations such as ArrayObservable or ForkJoinObservable. * Rx.ts: importing from rxjs/Rx is no longer available. Upcoming backwards compat solution will allow that * _throw: _throw is now exported as throwError * websocket: WebSocketSubject will now JSON serialize all messages sent over it by default, to return to the old behavior, pass a config setting of serializer: x => x like so: websocket({ url, serializer: x => x }) * operators: Pipeable operators must now be imported from rxjs like so: import { map, filter, switchMap } from 'rxjs/operators';. No deep imports. * if: if is now exported as iif * never: no longer exported. Use the NEVER constant instead. * ajax: Ajax observable should be imported from rxjs/ajax. * testing observables: HotObservable and ColdObservable, and other testing support types are no longer exported directly. * schedulers: Scheduler instances have changed names to be suffixed with Scheduler, (e.g. asap -> asapScheduler) * webSocket: webSocket creator function now exported from rxjs/websocket as websocket. * Symbol.observable: RxJS will no longer be polyfilling Symbol.observable. That should be done by an actual polyfill library. This is to prevent duplication of code, and also to prevent having modules with side-effects in rxjs. * symbols: Symbols are no longer exported directly from modules such as rxjs/symbol/observable please use Symbol.observable and Symbol.iterator (polyfills may be required) * distinct: Using distinct requires a Set implementation and must be polyfilled in older runtimes * groupBy: Older runtimes will require Map to be polyfilled to use groupBy * asap: Old runtimes must polyfill Promise in order to use ASAP scheduling.

Visit https://jsfix.live/about-jsfix to learn more about how JSFIX works.

If you would like to provide feedback to the JSFIX developers, then please leave a comment on this pull request.