Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-observable

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-observable - npm Package Versions

2345

3.0.0-rc.2

Diff

evertbouw
published 3.0.0-rc.1 •

Changelog

Source

3.0.0-rc.1 (2023-12-14)

3.0.0 brings support for Redux 5. Please see the Redux 5.0.0 changelog for required changes. Of note is that action types are now required to be strings, and the type of actions are now unknown.

We recommend using Redux-Toolkit if you aren't already. The action creators give a nice match property you can use to filter actions instead of the ofType operator. This will do proper type narrowing if you are using TypeScript.

const increment = createAction<number>("counter/increment");

const myEpic = action$ => action$.pipe(
    filter(incrementAsync.match),

<a name="2.0.0"></a>

jayphelps
published 2.0.0 •

Changelog

Source

2.0.0 (2021-06-24)

2.0.0 brings support for RxJS v7, newer TypeScript support, and a few bug fixes (see previous pre-releases.) Of note is BREAKING CHANGE that action$.ofType() has been removed in favor of a pipeable operator you can import import { ofType } from 'redux-observable';

<a name="2.0.0-rc.2"></a>

jayphelps
published 2.0.0-rc.2 •

Changelog

Source

2.0.0-rc.2 (2021-05-11)

Bug Fixes

  • dependencies: rxjs and tslib are now listed as dependencies (#748) (e1580d7)

<a name="2.0.0-rc.1"></a>

jayphelps
published 2.0.0-rc.1 •

Changelog

Source

2.0.0-rc.1 (2021-05-07)

Bug Fixes

  • types: Type system now requires ofType operator to have at least one action type passed in, fixes #689 (#690) (72182ec)

Features

  • ofType: Add warning for nullsy typescloses #607 (ecf3f21)
  • rxjs7: add rxjs 7 compatibility (a4932a1), closes #735

BREAKING CHANGES

  • rxjs7: Uses typescript 4.2.2 and tslib 2.1.0 (same libs as rxjs 7). @typescript-eslint/eslint-plugin and @typescript-eslint/parser has been updated to 4.22.0 to run linter properly with new ts version, new troublesome linter rules added.

<a name="2.0.0-alpha.0"></a>

jayphelps
published 2.0.0-alpha.0 •

Changelog

Source

2.0.0-alpha.0 (2019-11-14)

feature

  • ofType: Type inference for ofType, removal of ActionsObservable in favor of just Observable (#681) (16f083d)

  • Convert project to Typescript and add es2015 build target (#672) (ba4699e), closes #672

BREAKING CHANGES

  • ofType: ActionsObservable existed so we could provide an ofType() method to the prototype of action$, before RxJS had pipeable operators. Now that pipeable operators have been out for quite some time we are removing ActionsObservable in favor or using the pipeable ofType() instead.
// BEFORE
function someEpic(action$) {
  return action$
    .ofType('PING')
    .mapTo({ type: 'PONG' });
}

// AFTER
import { ofType } from 'redux-observable';
import { mapTo } from 'rxjs/operators';
function someEpic(action$) {
  return action$.pipe(
    ofType('PING')
    mapTo({ type: 'PONG' })
  );
}
  • the TS type definition for combineEpics() no longer accepts any unsafe overloads. Cast to any if you need to provide unsafe/untyped Epics.

<a name="1.2.0"></a>

jayphelps
published 1.2.0 •

Changelog

Source

1.2.0 (2019-09-17)

Bug Fixes

  • build: Internally, don't mix ES Module and CommonJS syntax for warning utilities so that Rollup builds don't require special handling of redux-observable. (#663) (376dc5b)

<a name="1.1.0"></a>

jayphelps
published 1.1.0 •

Changelog

Source

1.1.0 (2019-03-26)

Bug Fixes

  • createEpicMiddleware: Don't share a scheduler queue with anyone else's RxJS code, fixes #624 (#625) (e5bae19)

<a name="1.0.0"></a>

jayphelps
published 1.0.0 •

Changelog

Source

1.0.0 (2018-06-21)

It's here! 1.0 brings support for RxJS v6 and Redux v4. To help migrate from pre-1.0 versions, we've written a migration guide to help you: https://redux-observable.js.org/MIGRATION.html

Is something missing from the migration guide? Let us know or make a PR!

Bug Fixes

  • typings: Epic type parameter for State (third type param) now defaults to any instead of void (03e69cc)

<a name="1.0.0-beta.2"></a>

jayphelps
published 1.0.0-beta.2 •

Changelog

Source

1.0.0-beta.2 (2018-06-16)

Features

  • adapters: remove adapters support (87a5f86)

BREAKING CHANGES

  • adapters: Support for adapters has been removed. Adapters were previously used to transform the action$ Observable into some other stream-library primitive; like Most.js, Bacon, RxJS v4, etc. While rarely used, if you would like this functionality the MIGRATION.md guide gives an example: https://redux-observable.js.org/MIGRATION.html#setting-up-the-middleware

<a name="1.0.0-beta.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc