Skip to content

Releases: hirezio/auto-spies

v6.0.0

31 Aug 22:49
Compare
Choose a tag to compare

6.0.0 (2020-08-31)

Bug Fixes

  • createspyfromclass: stop spying on Function.prototype methods (1463dd4)
  • jasmine: change dep to jasmine-core and update version to 3.6.0 (e7294e7), closes #24
  • jasmine-given: fix @hirez_io/jasmine-given ts errors for vs code (144114c)
  • promises: fix rejectWith flaky behavior (fd4e75f)

chore

  • asyncspyable: remove @AsyncSpyable decorator (3b05547)
  • observer-spy: remove observer-spy (2c14283)

Code Refactoring

  • functionspy: rename createSpyFunction to createFunctionSpy (cddfce4)
  • types: rename types to the new convension with Spy as suffix (7825f56)

Continuous Integration

  • node: remove support for node 8 (ce98f7f)

BREAKING CHANGES

  • createspyfromclass: in case you were counting on spying on Function.prototype methods, this is no
    longer supported. this change will decrease the performance cost as well
  • observer-spy: remove observerSpy and recordObservable from index.ts
  • types: in case anyone uses the internal types like PromiseSpyMethod.. now it's
    PromiseMethodSpy / MethodSpy / ObservableMethodSpy etc
  • node: removed node 8 checks from ci server
  • functionspy: createSpyFunction is no longer available
  • asyncspyable: @AsyncSpyable is removed

v5.4.0

09 Feb 14:18
Compare
Choose a tag to compare

5.4.0 (2020-02-09)

Features

  • functions: exported createFunctionSpy (3519111)

v5.3.0

09 Feb 11:54
Compare
Choose a tag to compare

5.3.0 (2020-02-09)

Features

  • observables: added ObserverSpy (0c7ae6e)

v5.2.1

06 Feb 13:24
Compare
Choose a tag to compare

5.2.1 (2020-02-06)

Bug Fixes

  • observables: add .d.ts files from sub dirs (79de402)

v5.2.0

06 Feb 13:08
Compare
Choose a tag to compare

5.2.0 (2020-02-06)

Features

  • observables: added recordObservable (68eac44)

v5.1.0

05 Jan 20:34
Compare
Choose a tag to compare

5.1.0 (2020-01-05)

Features

  • observables: added returnSubject to observable (8a753ce)

v5.0.2

10 Sep 19:37
Compare
Choose a tag to compare

5.0.2 (2019-09-10)

Bug Fixes

  • create-spy-from-class: fixed prototype scanning in newer versions (b732e0c), closes #16

v5.0.1

17 Jul 00:45
Compare
Choose a tag to compare

5.0.1 (2019-07-17)

Bug Fixes

  • error: fixed mustBeCalledWith error message (2d740e9)
  • typescript: changed ts peerDep range to support newer Angular (7443299), closes #15 #9

v5.0.0

20 Jun 15:17
Compare
Choose a tag to compare

5.0.0 (2019-06-20)

Code Refactoring

  • mocks: changed throwOnMismatch to mustBeCalledWith (c8d02bf)

BREAKING CHANGES

  • mocks: The calledWith method doesn't return an object with "throwOnMismatch()" anymore

v4.1.2

20 Jun 09:52
Compare
Choose a tag to compare

4.1.2 (2019-06-20)

Bug Fixes

  • errors: formatted log messages in mocks (ca692bf)