Skip to content

Latest commit

 

History

History
347 lines (204 loc) · 12.6 KB

CHANGELOG.md

File metadata and controls

347 lines (204 loc) · 12.6 KB

7.0.1 (2021-07-13)

Fixes

  • With Jest, pass errors to done in observe. (8acf083)

7.0.0 (2021-05-08)

Changes

  • Upgrade to RxJS version 7. (fc98cde)

6.0.1 (2020-06-22)

Changes

  • Added rxjs-report-usage.

6.0.0 (2020-03-26)

Breaking changes

  • Use strict equality - toStrictEqual - by default for Jest. (c12ce82)

5.0.6 (2020-03-26)

Fixes

  • Revert defaulting Jest to toStrictEqual (c12ce82), as it was a breaking change.
  • Allow caller-specified configurations to override default and framework-specific configurations. (e4f5930)

5.0.5 (2020-03-20)

Changes

  • Fix links to RxJS documentation in README.md. (469b780)
  • Use strict equality - toStrictEqual - by default for Jest. (c12ce82)

5.0.4 (2019-12-14)

Fixes

  • The observe helper now reports assertions that fail within finalize operators. (66e4093)

5.0.3 (2019-09-14)

Fixes

  • Fix the incorrect patching within fakeSchedulers. (e1d9c83)

5.0.2 (2019-04-23)

Fixes

  • Call circularDeepEqual instead of deepEqual so that higher-order observables are asserted correctly. (cdb43eb)

5.0.1 (2019-04-01)

Non-breaking changes

  • Changed a parameter name from unsubscription to subscription better reflect that subscription can now be used, too. See this RxJS PR. (ac61708)

5.0.0 (2018-12-16)

Breaking changes

  • Upgrade to AVA 1.0. In that version, breaking changes were made to AVA's exports. The major version bump for rxjs-marbles reflects this; there are no changes to rxjs-marbles functionality in this release. (2dab29b)

4.3.5 (2018-11-12)

Bug fixes

  • Check for Jasmine's withContext at runtime. (24a0715)

4.3.4 (2018-11-11)

Bug fixes

  • Overwrite the Jasmine and Jest assert options. (24a0715)

4.3.3 (2018-11-11)

Bug fixes

  • Use Jasmine assertions for the rxjs-marbles/jasmine import location. (36771ca)

4.3.2 (2018-11-02)

Build

  • Replace lodash with fast-equals to avoid require calls in the ES module distributions. (5909ebc)

4.3.1 (2018-07-30)

Build

  • Update lodash to avoid security warning from David.

4.3.0 (2018-06-24)

Features

  • Add fakeSchedulers helpers for all frameworks. (54b86de)

4.2.1 (2018-06-10)

Bug fixes

  • Support the asapScheduler in fakeSchedulers. (e510698)

4.2.0 (2018-06-09)

Features

  • Add a fakeSchedulers helper for non-marble tests in Jasmine (with Angular) and Jest. (01cfbb3)

4.1.0 (2018-05-19)

Features

  • Add an observe helper for non-marble tests in Jasmine, Jest and Mocha. (9c38cce)

4.0.2 (2018-05-18)

Bug fixes

4.0.1 (2018-05-18)

Bug fixes

  • Support explicit durations in the context's time method. (4a7ac1d)

4.0.0 (2018-05-17)

Breaking changes

  • Default to using TestScheduler.run. See the RxJS documentation for an explanation of the new behaviour and of the breaking changes.

  • Added a run property to the configuration settings - it defaults to true.

  • The configure function now returns an object containing a marbles function (and a cases function, for the framework-specific imports) that has the specified configuration applied. For example, to continue using the now deprecated behaviour, you would make these changes:

    - import { cases, marbles } from "rxjs-marbles/mocha";
    + import { configure } from "rxjs-marbles/mocha";
    + const { cases, marbles } = configure({ run: false });
  • The following context methods and properties can only be used with configure({ run: false }):

    • autoFlush
    • bind
    • configure
    • reframe
    • teardown

3.0.1 (2018-04-26)

Bug fixes

  • Preserve the this context in the marbles callback. (be32253)

3.0.0 (2018-04-25)

Breaking changes

  • Upgrade to RxJS version 6.
  • Rename the UMD global to rxjsMarbles.

2.4.1 (2018-04-11)

Bug fixes

  • reframe: Fix import case. (651fe31)

2.4.0 (2018-04-11)

Features

  • reframe: Add reframe to the Context to allow amount of virtual time per frame/character to be specified. (15ef0e9)

2.3.3 (2018-03-29)

Bug fixes

  • bind: Ensure teardown always happens for each bind. (19caa51)

2.3.2 (2018-03-05)

Bug fixes

  • marbles: Return whatever the supplied func returns. (dde5031)

2.3.1 (2018-02-15)

Bug fixes

  • matcher: Support undefined values in stringify. (f156dab)

2.3.0 (2017-12-21)

Features

  • Jest: Use Jest's matcher for the marbles assertion. (3721847)

2.2.0 (2017-11-30)

Features

  • bind: Add a bind method for binding non-test schedulers to the context's TestScheduler. (3a7963c)

2.1.0 (2017-10-08)

Features

2.0.0 (2017-09-11)

Breaking changes

  • context: Remove the unintended public testScheduler property (it was an alias for the public scheduler property). (83032e9)

Features

  • context: Add support for preventing the automatic flushing of the test scheduler. (5f9ff6a)

Build

  • Update dependencies.

1.6.0 (2017-08-08)

Features

  • expect: Add support for unsubscription strings. (a9a839d)

1.5.2 (2017-07-29)

Documentation

  • Minor documentation changes.

1.5.1 (2017-07-24)

Documentation

  • Updated interfaces in README.

1.5.0 (2017-07-24)

Features

  • string expectations: Expectations can be passed as marble strings or hot/cold observables. (99fc0df)

1.4.0 (2017-07-23)

Features

  • AVA and Jest: Add support for AVA and Jest. (abcf069)

1.3.2 (2017-07-23)

Documentation

  • Minor documentation changes.

1.3.1 (2017-07-22)

Documentation

  • Correct missing plan call in Tape example. (7400890)

1.3.0 (2017-07-22)

Feature

  • Tape: Distribute Tape boilerplate in rxjs-marbles/tape. (95580f3)

1.2.0 (2017-07-22)

Feature

  • context: Assert test observable args and subscriptions. (024cc16)

1.1.0 (2017-07-21)

Feature

  • context: Expose the scheduler. (8774ca1)

1.0.2 (2017-07-21)

Documentation

  • Trivial documentation changes.

1.0.1 (2017-07-20)

Documentation

  • Trivial documentation changes.